DragonFly kernel List (threaded) for 2007-11
Re: Kernel panic on module unload
:I'm still working with BT stack. There many questions, but one is very
:BT stack implemented by separated module, which loaded by BT device
:module. It contain protocol definitions by filling protosw and
:domain structs. All loading and registering successfull. But, when I try
:to unload module, kernel goes panic on pffasttimo or pfslowtimo, which
:To solve this problem, I just restrict unloading module, but it apply
:brakes to work, because I need reboot, when I want to change something in
:Is there more solution of this problem?
Well, one way to do your development more quickly would be to run
your module inside a virtual kernel (man vkernel). You will need
to run the vkernel with the -U option to permit module loading.
If you want to paste the code you are using to register and unregister
the protosw/domain structs I can take a look at that.