alq module kldload and kldunload and init 0 causes panic!

Dear guys;
When we kldload alq module after that kldunload and after that init 0, system gives panic!
We are using FreeBSD 9. Could anybody help in this regard?

Thanks in advance.
 
alq

Thanks for reply. I tested shutdown -p now and it crashes again. But I didn't unload it and it didn't crash.
 
Dear @wblock@, we have a module, which has
Code:
MODULE_DEPEND(mymodule, alq, 1, 1, 1)
because we are using alq API's in mymodule. When mymodule starts, it loads alq too. we don't unload alq by hand, when mymodule stops and we shutdown FreeBSD, raise the panic.
 
Last edited by a moderator:
Sorry, it's hard to understand. Is it easier to say that when your custom module has been loaded, the system always panics on shutdown? The freebsd-hackers mailing list is likely to be a better source for help.
 
I think mymodule does not cause panic, because in a fresh FreeBSD 9 or 9.1-RELEASE, if you just type: kldload alq, kldunload alq, init 0 or shutdown -p now, it will panic! Maybe it's a bug.

Our module does the same. When it comes up, it loads alq. and when it comes down, unloads alq. So after shutdown we have panic.
 
Back
Top