Hi, Apparently, loading the module random.ko in -CURRENT always panics the kernel unless the random device was not compiled in the kernel. With a 5.2-RELEASE kernel, the panic message was: WARNING: Driver mistake: destroy_dev on .... don't do that With recent GENERIC kernel cvsup'ed on Jun-20-2004: can't re-use a leaf (gengateinterval)! can't re-use a leaf (bins)! can't re-use a leaf (fastthresh) can't re-use a leaf (slowthresh) can't re-use a leaf (slowoverthersh) panic: mutex "random reseed" 0xc0a2dcc0 already initialized. cpuid = 0; Debugger("panic") stop at Debugger + 0x46: xchgl %ebx, in_Debugger.0 db> Since I always left random as a kernel module and load it in loader.conf, the system always panics if I forget to unload the module before booting the latest GENERIC kernel(for testing purpose). I'm aware of that the answer may be "don't do it, use static compiled random device instead!" However, shouldn't there be any foot-shooting prevention mechanism in the random device? I'm wondering about why this module loading panicked instead of bailing out with something like "kldload: can't load random: File exists?"Received on Sun Jun 20 2004 - 14:01:10 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:58 UTC