kldload random.ko panics -CURRENT
David O'Brien
obrien at freebsd.org
Mon Jun 21 16:54:57 GMT 2004
On Mon, Jun 21, 2004 at 11:16:54AM +0200, Roman Neuhauser wrote:
> # avatar at mmlab.cse.yzu.edu.tw / 2004-06-21 00:01:04 +0800:
> > Apparently, loading the module random.ko in -CURRENT always panics the
> > kernel unless the random device was not compiled in the kernel.
>
> ...
>
> > I'm wondering about why this module loading panicked instead of
> > bailing out with something like "kldload: can't load random: File
> > exists?"
Because it isn't well written.
> When I asked about the same thing not so long ago, the answer was
> "don't do it":
> http://marc.theaimsgroup.com/?l=freebsd-hackers&m=108113056524926&w=2
Yes it is a very well know problem with devrandom. No, other drivers
don't panic when loaded and also statically compiled into the kernel.
--
-- David (obrien at FreeBSD.org)
More information about the freebsd-current
mailing list