Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 2008 08:29:58 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Nate Lawson <nate@root.org>
Cc:        Alexander Motin <mav@FreeBSD.org>, freebsd-acpi@FreeBSD.org, freebsd-amd64@FreeBSD.org, =?UTF-8?B?U8O4cmVuIA==?= =?UTF-8?B?U2NobWlkdA==?= <sos@FreeBSD.org>
Subject:   Re: Semi-working patch for amd64 suspend/resume
Message-ID:  <4945EB56.1060608@yandex.ru>
In-Reply-To: <49442375.4010401@root.org>
References:  <1224616985.00027652.1224606603@10.7.7.3> <1224728582.00028075.1224715806@10.7.7.3> <4932F34C.1040804@FreeBSD.org> <4944115C.5020403@lissyara.su> <494420C4.80702@lissyara.su> <49442375.4010401@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Nate Lawson wrote:
>> #7  0xffffffff80551631 in device_attach (dev=0xffffff000772fb00) at
>> bus_if.h:46
>> #8  0xffffffff805529ea in bus_generic_attach (dev=Variable "dev" is not
>> available.
>> ) at /usr/src/sys/kern/subr_bus.c:2953
>> #9  0xffffffff8024c2f7 in ata_identify (dev=0xffffff0001559a00) at
>> /usr/src/sys/dev/ata/ata-all.c:713
>> #10 0xffffffff80254d22 in ata_sata_phy_event (context=Variable "context"
>> is not available.
>> ) at /usr/src/sys/dev/ata/ata-sata.c:69
>> #11 0xffffffff8056155a in taskqueue_run (queue=0xffffff0001499780) at
>> /usr/src/sys/kern/subr_taskqueue.c:282
>> #12 0xffffffff80561802 in taskqueue_thread_loop (arg=Variable "arg" is
>> not available.
> 
> ATA should be disabling its SATA PHY task during suspend, then
> re-enabling it after resume. Looks like it doesn't do this.

It seems that resuming of ATA controller is already done.
AHCI interrupts are enabled and PHY state was changed.
And task are doing attach of hot-plugged device..
So, Alex, can you show output of a kgdb command:
(kgdb) p "%s", msgbufp->msg_ptr

-- 
WBR, Andrey V. Elsukov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4945EB56.1060608>