Re: if_ath breaks s3 suspend/resume [Was: ACPI S3 wakeup problem (beeeeeeeeep)]

From: Kevin Oberman <oberman_at_es.net>
Date: Wed, 09 May 2007 11:43:35 -0700
> Date: Wed, 9 May 2007 13:33:40 +0200
> From: Alexander Leidinger <Alexander_at_Leidinger.net>
> Sender: owner-freebsd-current_at_freebsd.org
> 
> Quoting Louis Kowolowski <louisk_at_cryptomonkeys.com> (Tue, 8 May 2007 23:38:51 -0700):
> 
> > On Tue, May 08, 2007 at 09:04:49PM -0700, Sam Leffler wrote:
> > > Harald Schmalzbauer wrote:
> > > > Am Dienstag, 8. Mai 2007 schrieb Harald Schmalzbauer:
> > > >> Hello,
> > > >>
> > > >> I found the sysctl "debug.acpi.resume_beep" and enabled it.
> > > >> When I send my Vaio SRX41p sleeping with acpiconf -s3 it never waked up
> > > >> again. Now with this sysctl enabled I hear a continuing beep, but the 
> > > >> hard drive stays powered down, also the LCD keeps unlit.
> > > >>
> > > >> Any hints how I can find out what's going wrong?
> > > >> Tuning hw.acpi.reset_video doesn't change anything.
> > > > 
> > > > Again, the fabulous handbook gave me the hint to remove all devices from
> > > > the kernel and dynamically load them.
> > > > This revealse if_ath as the culprit. (the last I tried after usb, 
> > > > fwohci, pcm, ichsmb)
> > > > 
> > > > Could this be related to the interrupt strom problems with ath (I often 
> > > > get storm warnings, all drivers share IRQ9 on this laptop)?
> > > 
> > > Unclear but there's been an outstanding complaint against ath related to
> > > suspend for a while.  Specifically if you touch certain registers in the
> > > h/w after the chip has been put to sleep you can hang the pci bus.  I've
> > > asked people that can reproduce the problem to narrow down the code path
> > > by which the driver is entered but w/o luck.
> > > 
> > I don't know for sure, but I think I might be seeing a similar issue with
> > atheros, but during bootup instead of suspend.  It's not reproducable in a
> > reliable fashion, but sometimes I get a hang during bootup shortly after 
> > ath0 is brought up.  I also see an interupt storm on irq11, which I believe 
> > is also shared by ichsmb (at least on my Thinkpad T60p).
> 
> AOL! Very hard hang. I have to remove the power supply and the battery
> from my laptop then. I also get a message sometimes on the console (Sam
> knows about it). The IRQ is also shared with something else, I think (I
> have to look this up).

I knew there was a reason to not put if_ath in the kernel. (Actually, I
want it out of the kernel so I can be sure the radio is not transmitting
in flight or eating battery when I am on a wire or have no available AP.

On another note, you don't need to pull power/battery to do a hard reset
on any remotely modern laptop. Just press and hold the power button for
5 seconds and your system will power down.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman_at_es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751

Received on Wed May 09 2007 - 16:59:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:09 UTC