Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2002 13:25:49 +0100
From:      Christian Brueffer <chris@unixpages.org>
To:        Thomas Quinot <thomas@FreeBSD.ORG>
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: apm suspend/resume panic - atapicam related
Message-ID:  <20021119122549.GJ11536@unixpages.org>
In-Reply-To: <20021118171053.GA82889@melusine.cuivre.fr.eu.org>
References:  <20021117032558.GF11536@unixpages.org> <20021117230520.GB31217@melusine.cuivre.fr.eu.org> <20021118135148.GH11536@unixpages.org> <20021118171053.GA82889@melusine.cuivre.fr.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Mon, Nov 18, 2002 at 06:10:53PM +0100, Thomas Quinot wrote:
> 
> It would also be interesting to know whether the problem appears with
> atapicam enabled and atapicd disabled. Might be an unforeseen
> interaction between the two of them.
> 

The panic also appears with atapicam enabled and atapicd disabled.

Here's a panic from a kernel with your patch:

ata0: resetting ata ch=0xc15a9000, dev=1 .. ndev=1 done
ata1: resetting ata ch=0xc15d0f00, dev=4 .. ndev=c ata1-slave: ATAPI identify retries exceeded
done
atapicam0: null ATA params!
Nov 19 12:52:39 fangorn /kernel: resumed from suspended mode (slept 00:00:08)

fangorn#

Fatal trap 12: page fault while in kernel mode
fault virtual address:  = 0x0
fault code              = supervidor read, page not present
instruction pointer     = 0x8:0xc0155023
stack pointer           = 0x10:0xc032x988
frame pointer           = 0x10:0xc032x994
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = Idle
interrupt mask          = cam
kernel: type 12 trap, code=0
Stopped at      atapi_queue_cmd+0x57:   movb    0(%eax),%cl
db> atapicam0: null ATA params!

db> tr
atapi_queue_cmd(c15d0f50,c171f118,c16ea084,24,11,ea60,c015a77c,c171f100,6c0000) at atapi_queue_cmd+0x57
atapi_action(c1660fc0,c1663c00,c16ea000,1,1) at atapi_action+0x4ae
xpt_run_dev_sendq(c1660f80) at xpt_run_dev_sendq+0x1cb
xpt_release_devq_device(c16ea000,1,1,c032ca6c,c018de89) at xpt_release_devq_device+0xda
xpt_release_devq_timeout(c16ea000,400000,0,0,ffffffff) at xpt_release_devq_timeout+0x10
softclock(0,10,10,10,ffffffff) at softclock+0xd1
doreti_swi(10,f24,2,3febf9ff,756e6547) at doreti_swi+0xf
idle_loop() at idle_loop+0x1d
db>


- Christian

-- 
http://www.unixpages.org			chris@unixpages.org
GPG Pub-Key    : www.unixpages.org/cbrueffer.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D
GPG Key ID     : 0xA0ED982D

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE92i3NbHYXjKDtmC0RAll3AKC8sh4WHo9ixuqjHBhn+ioKaREfVQCcD569
ZJCp9238RGxy9uYD5TQuOTQ=
=yxS3
-----END PGP SIGNATURE-----

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