Bug 351 - sometimes the suse will freeze after executing the 'unload ' script in the driver source directory
: sometimes the suse will freeze after executing the 'unload ' script in the dr...
Status: VERIFIED FIXED
: IPW2100
BSS
: 0.61
: IBM SuSE
: P1 blocker
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-11-08 20:51 by
Modified: 2005-10-03 14:13 (History)


Attachments
kenrel panic (171.52 KB, image/jpeg)
2004-11-09 18:36, Xiong Crystal
Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-11-08 20:51:03
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.
------- Comment #1 From 2004-11-08 21:00:39 -------
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.
------- Comment #2 From 2004-11-08 21:04:02 -------
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))
------- Comment #3 From 2004-11-09 16:45:22 -------
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
------- Comment #4 From 2004-11-09 18:36:48 -------
Created an attachment (id=75) [details]
kenrel panic 
------- Comment #5 From 2004-11-09 21:43:18 -------
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.
------- Comment #6 From 2004-11-10 21:46:53 -------
We tried this test on James's 0.62 driver, after over 380 times of 
load/unload, the driver still works well.
------- Comment #7 From 2004-11-10 21:49:13 -------
Verified in James's 0.62/pre-0.62 version.
------- Comment #8 From 2004-11-10 23:27:48 -------
Yan Nan has tried again to load/unlad the driver about 480 times. Still not 
see the freeze. The bug should be fixed. 
------- Comment #9 From 2004-11-11 07:51:57 -------
*** Bug 348 has been marked as a duplicate of this bug. ***
------- Comment #10 From 2004-11-11 08:34:21 -------
*** Bug 354 has been marked as a duplicate of this bug. ***