TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

can't unload module 2.3.99 and autoload



I've got kernel 2.3.99pre5 work (great). I tried runing my ipchains script
and it failed, which I thought was strange since I compiled support for
it. So I manually loaded ipchains module and bang it worked fine. So then
I flushed the ipchains and rmmod teh ipchains and tried stuff with
iptables. So now I want to go back to my script, but I can't get the
iptables modules to unload. I flushed the iptables with -F

 cat /proc/modules
ppp_async               6028   1 (autoclean)
serial                 41264   1 (autoclean)
ppp_generic            12956   2 (autoclean) [ppp_async]
slhc                    4960   1 (autoclean) [ppp_generic]
ipt_MASQUERADE          1288   1 (autoclean)
iptable_nat            11968   0 [ipt_MASQUERADE]
ip_conntrack           11044   1 [ipt_MASQUERADE iptable_nat]
ip_tables              11120   4 [ipt_MASQUERADE iptable_nat]
ide-cd                 24080   1 (autoclean)
cdrom                  26716   0 (autoclean) [ide-cd]
awe_wave              155296   1
sb                      5256   1
sb_lib                 33972   0 [sb]
uart401                 6544   1 [sb_lib]
sound                  57612   0 [awe_wave sb sb_lib uart401]
soundcore               3588   6 [sb_lib sound]
autofs                 11636   1 (autoclean)
isa-pnp                27688   0 (autoclean) [serial awe_wave sb]
 
but if I run rmmod on any of the tables related modules, I get Device or
resource busy. I don't wanna reboot. 

Also, why didn't ipchains module load automatically when I first ran
ipchains stuff?

Or is there a nice program to generate iptables script to make this issue
boot?

Thanks,

Ben