All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Chadd <adrian@freebsd.org>
To: Jonathan Nieder <jrnieder@gmail.com>
Cc: ath9k-devel@lists.ath9k.org, Tony Houghton <h@realh.co.uk>,
	linux-wireless <linux-wireless@vger.kernel.org>,
	Vivek Natarajan <vnatarajan@atheros.com>,
	"Luis R. Rodriguez" <lrodriguez@atheros.com>,
	Jouni Malinen <jmalinen@atheros.com>,
	Vasanthakumar Thiagarajan <vasanth@atheros.com>,
	Senthil Balasubramanian <senthilkumar@atheros.com>
Subject: Re: ath9k causes lockups since kernel 2.6.35
Date: Mon, 27 Jun 2011 18:33:59 +0800	[thread overview]
Message-ID: <BANLkTincVgqqQ4mb7idV=r19n+6kjQBahg@mail.gmail.com> (raw)
In-Reply-To: <20110224200203.GB17412@elie>

Hi guys,

This article just popped up, wrt Linux APSM handling changes and some
rather negative effects..

http://www.phoronix.com/scan.php?page=article&item=linux_2638_aspm&num=2

The commit is: 2f671e2dbff6eb5ef4e2600adbec550c13b8fe72

>From the article:

"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 <jrnieder@gmail.com> 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 <vnatarajan@atheros.com>
>> Date:   Mon Apr 5 14:48:04 2010 +0530
>>
>>     ath9k: Add support for newer AR9285 chipsets.
>>
>>     This patch adds support for a modified newer version of AR9285
>>     chipsets.
>>
>>     Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com>
>>     Signed-off-by: John W. Linville <linville@tuxdriver.com>
>
> 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 = '/org/freedesktop/Hal/devices/pci_168c_2b'
>>   pci.device_protocol = 0  (0x0)  (int)
>>   pci.vendor = 'Atheros Communications Inc.'  (string)
>>   info.vendor = 'Atheros Communications Inc.'  (string)
>>   pci.product = 'AR9285 Wireless Network Adapter
>> (PCI-Express)'  (string) linux.sysfs_path =
>> '/sys/devices/pci0000:00/0000:00:15.0/0000:03:00.0'  (strin g)
>>   info.parent = '/org/freedesktop/Hal/devices/pci_10de_ac6'  (string)
>>   info.linux.driver = 'ath9k'  (string)
>>   pci.subsys_vendor = 'Hewlett-Packard Company'  (string)
>>   linux.hotplug_type = 2  (0x2)  (int)
>>   linux.subsystem = 'pci'  (string)
>>   info.subsystem = 'pci'  (string)
>>   info.product = 'AR9285 Wireless Network Adapter
>> (PCI-Express)'  (string) info.udi =
>> '/org/freedesktop/Hal/devices/pci_168c_2b'  (string)
>> pci.linux.sysfs_path =
>> '/sys/devices/pci0000:00/0000:00:15.0/0000:03:00.0'  (string)
>> pci.product_id = 43  (0x2b)  (int) pci.vendor_id = 5772  (0x168c)
>> (int) pci.subsys_product_id = 12352  (0x3040)  (int)
>> pci.subsys_vendor_id = 4156  (0x103c)  (int) pci.device_class = 2
>> (0x2)  (int) pci.device_subclass = 128  (0x80)  (int)
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

WARNING: multiple messages have this Message-ID (diff)
From: Adrian Chadd <adrian@freebsd.org>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k causes lockups since kernel 2.6.35
Date: Mon, 27 Jun 2011 18:33:59 +0800	[thread overview]
Message-ID: <BANLkTincVgqqQ4mb7idV=r19n+6kjQBahg@mail.gmail.com> (raw)
In-Reply-To: <20110224200203.GB17412@elie>

Hi guys,

This article just popped up, wrt Linux APSM handling changes and some
rather negative effects..

http://www.phoronix.com/scan.php?page=article&item=linux_2638_aspm&num=2

The commit is: 2f671e2dbff6eb5ef4e2600adbec550c13b8fe72

  parent reply	other threads:[~2011-06-27 10:34 UTC|newest]

Thread overview: 91+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-24 18:20 ath9k causes lockups since kernel 2.6.33 Tony Houghton
2011-02-24 20:02 ` ath9k causes lockups since kernel 2.6.35 Jonathan Nieder
2011-02-24 20:02   ` [ath9k-devel] " Jonathan Nieder
2011-02-25  7:51   ` Mohammed Shafi
2011-02-25  7:51     ` Mohammed Shafi
2011-02-25  8:44     ` Mohammed Shafi
2011-02-25  8:44       ` Mohammed Shafi
2011-02-25 14:47     ` Tony Houghton
2011-02-25 14:47       ` Tony Houghton
2011-02-25 16:07       ` Mohammed Shafi
2011-02-25 16:07         ` Mohammed Shafi
2011-02-25 16:57         ` Tony Houghton
2011-02-25 16:57           ` Tony Houghton
2011-02-26 18:35           ` Tony Houghton
2011-02-26 18:35             ` Tony Houghton
2011-02-28  5:36             ` Mohammed Shafi
2011-02-28  5:36               ` Mohammed Shafi
2011-03-02 16:30               ` Tony Houghton
2011-03-02 16:30                 ` Tony Houghton
2011-03-03  5:21                 ` Mohammed Shafi
2011-03-03  5:21                   ` Mohammed Shafi
2011-03-03 14:31                   ` Tony Houghton
2011-03-03 14:31                     ` Tony Houghton
2011-03-03 15:57                     ` Mohammed Shafi
2011-03-03 15:57                       ` Mohammed Shafi
2011-03-03 19:16                       ` Tony Houghton
2011-03-03 19:16                         ` Tony Houghton
2011-03-04 15:50                         ` Mohammed Shafi
2011-03-04 15:50                           ` Mohammed Shafi
2011-03-06 22:04                           ` Tony Houghton
2011-03-06 22:04                             ` Tony Houghton
2011-03-03  7:05             ` Vivek Natarajan
2011-03-03  7:05               ` Vivek Natarajan
2011-02-25  7:57   ` Sedat Dilek
2011-02-25  7:57     ` [ath9k-devel] " Sedat Dilek
2011-02-25 14:35     ` Tony Houghton
2011-02-25 14:35       ` [ath9k-devel] " Tony Houghton
2011-02-27  0:15   ` crocket
2011-03-14 16:48   ` Could ath9k and rt2800pci bugs be related? Tony Houghton
2011-03-15  7:47     ` Mohammed Shafi
2011-03-15 13:19       ` Tony Houghton
2011-03-15 13:35         ` Mohammed Shafi
2011-03-15 15:17           ` Tony Houghton
2011-03-15 16:17             ` Mohammed Shafi
2011-03-15 17:15               ` Tony Houghton
2011-03-16  5:09                 ` Mohammed Shafi
2011-03-15 15:24           ` Tony Houghton
2011-06-10  1:47   ` [ath9k-devel] ath9k causes lockups since kernel 2.6.35 Adrian Chadd
2011-06-10  4:52     ` Mohammed Shafi
2011-06-10  6:13       ` Adrian Chadd
2011-06-10  6:51         ` Camilo Mesias
2011-06-10  6:53           ` Adrian Chadd
2011-06-10 12:43             ` Tony Houghton
2011-06-10 13:18               ` Adrian Chadd
2011-06-10 18:47                 ` Tony Houghton
2011-06-10 21:10                   ` Adrian Chadd
2011-06-11  6:42                     ` Camilo Mesias
2011-06-11  7:12                       ` Adrian Chadd
2011-06-11  7:33                         ` Camilo Mesias
2011-06-11  7:47                           ` Camilo Mesias
2011-06-11 23:08                             ` Adrià Cereto Massagué
2011-06-12  8:01                               ` Adrian Chadd
2011-06-12  9:26                                 ` Adrià Cereto Massagué
2011-06-12 11:00                                   ` Adrian Chadd
2011-06-14  0:00                         ` Adrian Chadd
2011-06-14  0:15                           ` Jonathan Nieder
2011-06-14  0:20                             ` Jonathan Nieder
2011-06-14  0:22                               ` Adrian Chadd
2011-06-14 11:36                               ` Tony Houghton
2011-06-14 13:20                         ` Mohammed Shafi
2011-06-15  2:02                           ` Adrian Chadd
2011-06-15  9:27                             ` Camilo Mesias
2011-06-15 10:15                               ` Adrian Chadd
2011-06-22 20:31                             ` Camilo Mesias
     [not found]                           ` <20110615174451.15903ae4@toddler>
2011-06-16  4:18                             ` Mohammed Shafi
2011-06-16 12:16                               ` Tony Houghton
2011-06-16 13:03                                 ` Mohammed Shafi
2011-06-27 10:37                       ` Adrian Chadd
2011-07-12 13:46                         ` Tony Houghton
2011-07-12 15:10                           ` Adrian Chadd
2011-07-12 16:12                             ` Mohammed Shafi
2011-07-13  9:40                           ` Camilo Mesias
2011-07-14  7:02                           ` Camilo Mesias
2011-07-14 22:32                             ` Camilo Mesias
2011-07-14 23:02                               ` Jonathan Nieder
2011-06-10  6:48   ` Adrian Chadd
2011-06-10  6:48     ` [ath9k-devel] " Adrian Chadd
2011-06-13 11:00     ` Stanislaw Gruszka
2011-06-13 11:00       ` [ath9k-devel] " Stanislaw Gruszka
2011-06-27 10:33   ` Adrian Chadd [this message]
2011-06-27 10:33     ` Adrian Chadd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTincVgqqQ4mb7idV=r19n+6kjQBahg@mail.gmail.com' \
    --to=adrian@freebsd.org \
    --cc=ath9k-devel@lists.ath9k.org \
    --cc=h@realh.co.uk \
    --cc=jmalinen@atheros.com \
    --cc=jrnieder@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=lrodriguez@atheros.com \
    --cc=senthilkumar@atheros.com \
    --cc=vasanth@atheros.com \
    --cc=vnatarajan@atheros.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.