Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2006 18:06:51 -0800
From:      Sam Leffler <sam@errno.com>
To:        Nate Lawson <nate@root.org>
Cc:        Stepan Zastupov <redchrom@gmail.com>, freebsd-current@freebsd.org
Subject:   Re: cbb hangs during suspend if ath card active
Message-ID:  <4585F7BB.9010704@errno.com>
In-Reply-To: <4585BAF3.1010504@root.org>
References:  <20061214234849.GA1062@stepan.ispsystem.net>	<4584708B.3020902@root.org>	<20061217214408.GA902@stepan.ispsystem.net> <4585BAF3.1010504@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Nate Lawson wrote:
> Stepan Zastupov wrote:
>> On Sat, Dec 16, 2006 at 02:17:47PM -0800, Nate Lawson wrote:
>>> Stepan Zastupov wrote:
>>>> Does anyone still work on this problem?
>>>> (http://lists.freebsd.org/pipermail/freebsd-current/2006-July/064550.html)
>>>>
>>>> I incure the same problems. If need testing I can help with it.
>>> Just comment out this line in ath_stop() in if_ath.c:
>>>     // ath_hal_setpower(sc->sc_ah, HAL_PM_FULL_SLEEP);
> 
>> It is already commented out in current and doesn't help. Card wont work
>> even if it inserted after suspend and resume.
>>
> 
> That's something different then.  I was talking about the suspend
> process hanging if the card is inserted and active.  But ejecting it
> would allow the process to continue and after resume, re-inserting it
> worked fine.
> 

What Nate is referring to is that on many ath parts if you "power down"
the MAC then any pci references to registers outside the PCI clock
domain will hang the bus.  Not putting the chip in "full sleep" is a
hack as it means it'll continue to draw full power after the interface
is marked down.  Something is causing the driver to be entered and
registers accessed when not intended/expected.  I haven't been able to
make this happen on any of my laptops (most have ACPI problems s.t.
suspend/resume doesn't work right) so haven't had a test case to
debug--and noone with the problem has been able to provide the needed info.

	Sam




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4585F7BB.9010704>