Messages in this thread | | | Date | Mon, 17 May 2004 01:02:48 +1000 | From | Andrew Lau <> | Subject | Re: Atmel at76c50x PCMCIA 2.6.6 kernel panic |
| |
Thanks Simon,
The patch got it going again. One other problem I'd like to bring to your attention is that your driver doesn't seem to be too APM-happy. If I eject the PCMCIA card and attempt to (lid-)suspend my Thinkpad R40 immediately the system can enter a hard lockup. I have to wait about 10 seconds after ejection if I want to safely suspend.
Cheers, Andrew "Netsnipe" Lau
On Tue, May 11, 2004 at 03:23:07PM +0100, Simon Kelley wrote: > Andrew Lau wrote: > >Hi Simon and co., > > > >My Atmel AT76C502AR_D 802.11b PCMCIA card was previously working fine > >under the 2.6.5 kernel via the atmel/atmel_cs modules. However, since > >upgrading to 2.6.6 I now get a kernel panic whenever I insert my card > >and hotplug (2004-03-29) attempts to upload the 0.7-1 version of Simon's > >firmware <http://thekelleys.org.uk/atmel/>. I've provided as much > >debugging information as I can below, so feel free to let me know if > >I've missed out on anything. > > > >Thanks in advanced, > >Andrew "Netsnipe" Lau > > > >PS: Please CC: me as I'm not on LKML. > > > > Sorry 'bout that: I believe that this is a casualty of ongoing > driver-model changes. I have the following patch which purports to work > around the problem. Please could you try i and let me know: > > > Cheers, > > Simon. > > --- linux.orig/drivers/net/wireless/atmel_cs.c > +++ linux/drivers/net/wireless/atmel_cs.c > @@ -350,6 +350,9 @@ static struct { > > static struct device atmel_device = { > .bus_id = "pcmcia", > + .kobj = { > + .k_name = "atmel_cs" > + } > }; > > static void atmel_config(dev_link_t *link) >
-- --------------------------------------------------------------------------- Andrew "Netsnipe" Lau <http://www.cse.unsw.edu.au/~alau/> Debian GNU/Linux Maintainer & UNSW Computing Students' Society President - "Nobody expects the Debian Inquisition! Our two weapons are fear and surprise...and ruthless efficiency!" --------------------------------------------------------------------------- [unhandled content-type:application/pgp-signature] | |