From mboxrd@z Thu Jan 1 00:00:00 1970 From: Date: Sat, 04 Jun 2011 23:16:24 -0000 Subject: No subject Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org "Evidently, some BIOSes have their ASPM support misconfigured and thus problems can arise if the PCI-E link power mode is dropped on an unsupported device. There are a few mentions of hangs and other issues under Linux associated with this power management feature. It's not really a surprise though that the BIOSes would be misconfigured given all of the other BIOS-related problems under Linux and the once very poor suspend-and-resume support due to all of the workarounds and hacks that BIOS/hardware vendors have done to cater towards Microsoft Windows power management. In this case, it seems a large number of mobile systems are supporting ASPM but not properly advertising the support via the standard BIOS ACPI FADT (Fixed ACPI Description Table). Some Linux drivers even forcibly disable ASPM on Linux (e.g. this kernel patch)." Would someone please take charge of testing an unmodified ath9k (ie, without my APSM disable fix) and try reverting this kernel patch? Thanks, Adrian On 25 February 2011 04:02, Jonathan Nieder wrote: > (just cc-ing some people listed in MAINTAINERS) > Hi, > > Tony Houghton wrote: > >> With 2.6.37 I can not use suspend on my Compaq/HP 311c (Intel Atom >> N270/NVidia Ion LE). Originally the machine just kept locking up without >> even blanking the display when I tried to suspend (using the GNOME menu >> or by shutting the lid). I upgraded upower and gnome-power-manager etc >> to experimental and after that the machine suspended OK but could not >> resume. The backlight came on but the screen stayed blank and I could >> not get to a console or anything with Alt+Fn. > [...] >> I tried replacing network-manager with wicd but that crashed the system >> when it connected instead of when disconnected. > [...] >> While testing different kernels I found it would crash at different >> times, usually before the screen turned off for suspending, but >> sometimes it would crash on resuming and occasionally it locked up while >> booting, but it's always a complete lock-up ie the keyboard is >> completely responsive, including caps lock, the mouse won't move if the >> display is still on, and the only way out is to hold down the power >> button. > [...] >> I haven't tried looking in logs because the crashes are so severe I >> don't think they'd be able to record anything useful. But using git >> bisect I think I have tracked down the change that started causing this >> problem: >> >> 53bc7aa08b48e5cd745f986731cc7dc24eef2a9f is the first bad commit >> commit 53bc7aa08b48e5cd745f986731cc7dc24eef2a9f >> Author: Vivek Natarajan >> Date: =A0 Mon Apr 5 14:48:04 2010 +0530 >> >> =A0 =A0 ath9k: Add support for newer AR9285 chipsets. >> >> =A0 =A0 This patch adds support for a modified newer version of AR9285 >> =A0 =A0 chipsets. >> >> =A0 =A0 Signed-off-by: Vivek Natarajan >> =A0 =A0 Signed-off-by: John W. Linville > > The adaptor is an AR9285[1]. > > That commit is based against v2.6.33 and was merged in v2.6.35-rc1 > > $ git describe 53bc7aa08b48e5cd745f986731cc7dc24eef2a9f > v2.6.33-3523-g53bc7aa > $ git name-rev --tags 53bc7aa08b48e5cd745f986731cc7dc24eef2a9f > 53bc7aa08b48e5cd745f986731cc7dc24eef2a9f tags/v2.6.35-rc1~473^2~167^2~346 > > Any ideas for tracking this down? > > Thanks, > Jonathan > > [1] >> 84: udi =3D '/org/freedesktop/Hal/devices/pci_168c_2b' >> =A0 pci.device_protocol =3D 0 =A0(0x0) =A0(int) >> =A0 pci.vendor =3D 'Atheros Communications Inc.' =A0(string) >> =A0 info.vendor =3D 'Atheros Communications Inc.' =A0(string) >> =A0 pci.product =3D 'AR9285 Wireless Network Adapter >> (PCI-Express)' =A0(string) linux.sysfs_path =3D >> '/sys/devices/pci0000:00/0000:00:15.0/0000:03:00.0' =A0(strin g) >> =A0 info.parent =3D '/org/freedesktop/Hal/devices/pci_10de_ac6' =A0(stri= ng) >> =A0 info.linux.driver =3D 'ath9k' =A0(string) >> =A0 pci.subsys_vendor =3D 'Hewlett-Packard Company' =A0(string) >> =A0 linux.hotplug_type =3D 2 =A0(0x2) =A0(int) >> =A0 linux.subsystem =3D 'pci' =A0(string) >> =A0 info.subsystem =3D 'pci' =A0(string) >> =A0 info.product =3D 'AR9285 Wireless Network Adapter >> (PCI-Express)' =A0(string) info.udi =3D >> '/org/freedesktop/Hal/devices/pci_168c_2b' =A0(string) >> pci.linux.sysfs_path =3D >> '/sys/devices/pci0000:00/0000:00:15.0/0000:03:00.0' =A0(string) >> pci.product_id =3D 43 =A0(0x2b) =A0(int) pci.vendor_id =3D 5772 =A0(0x16= 8c) >> (int) pci.subsys_product_id =3D 12352 =A0(0x3040) =A0(int) >> pci.subsys_vendor_id =3D 4156 =A0(0x103c) =A0(int) pci.device_class =3D = 2 >> (0x2) =A0(int) pci.device_subclass =3D 128 =A0(0x80) =A0(int) > -- > To unsubscribe from this list: send the line "unsubscribe linux-wireless"= in > the body of a message to majordomo at vger.kernel.org > More majordomo info at =A0http://vger.kernel.org/majordomo-info.html >