atheros driver causes insomnia on breezy/ppc

Bug #22983 reported by Allison Karlitskaya
4
Affects Status Importance Assigned to Milestone
Ubuntu
Fix Released
Medium
Adam Conrad

Bug Description

((Daniel: sorry for assigning this to you but you're still the default for l-r-m
bugs in bugzilla and I don't know who the right person is.))

I made this mailing list posting some time ago --

http://lists.debian.org/debian-powerpc/2005/08/msg00074.html

I recently (10 mins ago) discovered that this problem affects the current
version of the drivers as provided by Breezy. I'll copy/paste the meat of the
posting into this bug because I like to copy and paste things.

This is a legitimate crash, but it's almost definitely a problem with
the Atheros drivers (using the latest CVS as of about 10 minutes ago).
If the interface is down (ifconfig ath0 down) then sleep is fine.

If the interface is up, then on closing the laptop, it goes to the black
going-to-sleep kernel log screen and crashes here before printing any
text. The last line of text on my screen at this point:

[ 975.6553885] adb: finished probe task...

(ie: the last line of the prior wake-up).

I have a PCMCIA card (D-Link "AirPlus Xtreme G" DWL-G650) and ejecting
it at this point usually causes the laptop to proceed to sleep
successfully (sometimes after a wait of another half minute or so).

To the original poster:

The problem can be solved by always making sure the interface is 'down'
before putting the laptop to sleep -- possibly from the pre-sleep
script. Of course, this means that when your laptop wakes up, the
interface will no longer be properly configured, but at least you won't
crash.

On my Ubuntu box (I assume Debian will be the same) I created
an /etc/power/event.d/atheros script (mode 755) with the following
content:

#!/bin/sh

PATH=/bin:/sbin:/usr/bin:/usr/sbin

if [ "$1" == "suspend" ]; then
 ifconfig ath0 down
fi

With this script in place, my laptop no longer hangs on sleep (although
it's very obviously a hack for a problem that should be properly fixed
inside the Atheros drivers).

I hope this helps.

Cheers.

On Breezy it's basically the same as my experience with CVS HEAD was.

Revision history for this message
Allison Karlitskaya (desrt) wrote :

20:58 <daniels> desrt: infinity-ish

Revision history for this message
Allison Karlitskaya (desrt) wrote :

This seems to have been fixed for breezy using the method discussed in the bug
report.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

ok, marking as fixed (even the reporter can do this)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.