[lwlan-user] linux-wlan-ng 0.2.5 and linux 2.4.34 panic on disconnect

Tim Southerwood ts at dionic.net
Thu Jan 11 16:30:13 EST 2007


Hi,

Yes - really 2.4.34 :) I have a good reason - it's a black box device
and a key device driver is only available on 2.4.

Now, I have a little problem - a Dlink USB 802.11b device I have works
fine with linux_wlan_ng 0.2.5, compiled on linux 2.4.34 with gcc 3.4.3,
(as is the rest of the kernel) all on Redhat 7.3...

... until I unplug the device that is. Depending on the motherboard (I
have 3 systems), either 1 in 2 times, 1 in 6-8 times or apparently never
on the 3rd system, when the device is unplugged, a few seconds later the
kernel panics in an interrupt handler, usually with the current task
being the swapper. I have insufficient debugging enabled and I haven't
yet identified which interrupt handler.

Now, I apologise, but I haven't yet re-tested with a vanilla kernel
(mine is patched in few key areas) nor have I gone to town enabling
debugging... These are things I plan to attack tomorrow. I'm a bit green
at device driver programming, though I've made a little progress with
fixing another driver this week... I'm certainly in a good position to
chuck some printk's in to aid debugging...

Thusly, I would be most grateful for a few pointers as to how to go
about diagnosing this.

I've had this device working fine under 2.4.29 (also moderately patched)
so I don't believe the hardware is dodgey... Or perhaps I should be
looking at the USB host driver instead as it seems system dependant?

Thanks in advance for any pointers or ideas :)

Cheers

Tim


More information about the Linux-wlan-user mailing list