[Bug 16795] New: atheros driver causes insomnia on breezy/ppc

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Sun Oct 2 00:59:27 UTC 2005


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=16795
Ubuntu (laptop) | linux-restricted-modules

           Summary: atheros driver causes insomnia on breezy/ppc
           Product: Ubuntu
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Keywords: laptop
          Severity: normal
          Priority: P2
         Component: linux-restricted-modules
        AssignedTo: daniel.stone at ubuntu.com
        ReportedBy: desrt at desrt.ca
         QAContact: kernel-bugs at lists.ubuntu.com


((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.

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the kernel-bugs mailing list