Bugzilla – Bug 351
sometimes the suse will freeze after executing the 'unload ' script in the driver source directory
Last modified: 2005-10-03 14:13:30
You need to log in before you can comment on or make changes to this bug.
Encounter this on Suse9.2 RC2, 2.6.8-22-default kernel, IBM R50. steps: 1,% cd <DRIVER_SRC_DIR> % make % make install 2,% ./load % iwconfig eth1 essid test channel 6 % iwconfig we can see driver is set to ad-hoc mode. % ./unload Then, after the driver unloaded, the laptop sometimes freezes, without any message displayed. If it doesn't freeze, then repeat step 2 for several times,you will be able to reproduce this. We test this on IBM R50, Compaq X1000 and sony PCG-Z1, they all freeze after trying step 2 for several times.
a little modification to the previous description: Encounter this on Suse9.2 RC2, 2.6.8-22-default kernel, IBM R50. steps: 1,% cd <DRIVER_SRC_DIR> % make % make install 2,% ./load % iwconfig eth1 mode ad-hoc % iwconfig eth1 essid test channel 6 % iwconfig we can see driver is set to ad-hoc mode. % ./unload Then, after the driver unloaded, the laptop sometimes freezes, without any message displayed. If it doesn't freeze, then repeat step 2 for several times,you will be able to reproduce this. We test this on IBM R50, Compaq X1000 and sony PCG-Z1, they all freeze after trying step 2 for several times.
Run the following script can reproduce the freeze easily: # i=0; while true; do sleep 1; modprobe ipw2100; iwconfig eth1 mode ad-hoc; iwconfig eth1 essid abcd channel 6; sleep 1; ((i=i+1)); echo $i; modprobe -r ipw2100; sleep 1; done The system will freeze just after several times. ((Setting channel also has some problems, pls see bug #352))
Couple of other data points: 1. Even a simpler scenario will reproduce this freeze on 0.61: # i=0; while true; do sleep 1; modprobe ipw2100; sleep 1; ((i=i+1)); echo $i; modprobe -r ipw2100; sleep 1; done 2. The same scenario could not produce a freeze in 0.60. I ran the above loop for over 100 iterations, and didn't see the freeze. ------------------ My machine is Suse9.2 RC2, 2.6.8-22-default kernel, Averatec 5110H
Created an attachment (id=75) [details] kenrel panic
Correction to comment #3. I was in fact able to reproduce this freeze on version 0.60 (happened after about 100 loads/unloads of the ipw2100 module.) So this is not exclusive to version 0.61.
We tried this test on James's 0.62 driver, after over 380 times of load/unload, the driver still works well.
Verified in James's 0.62/pre-0.62 version.
Yan Nan has tried again to load/unlad the driver about 480 times. Still not see the freeze. The bug should be fixed.
*** Bug 348 has been marked as a duplicate of this bug. ***
*** Bug 354 has been marked as a duplicate of this bug. ***