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

--++alDQ2ROsODg1x+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Nov 18, 2002 at 06:10:53PM +0100, Thomas Quinot wrote:
>=20
> 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.
>=20

The panic also appears with atapicam enabled and atapicd disabled.

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

ata0: resetting ata ch=3D0xc15a9000, dev=3D1 .. ndev=3D1 done
ata1: resetting ata ch=3D0xc15d0f00, dev=3D4 .. ndev=3Dc 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:0=
8)

fangorn#

Fatal trap 12: page fault while in kernel mode
fault virtual address:  =3D 0x0
fault code              =3D supervidor read, page not present
instruction pointer     =3D 0x8:0xc0155023
stack pointer           =3D 0x10:0xc032x988
frame pointer           =3D 0x10:0xc032x994
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, def32 1, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D Idle
interrupt mask          =3D cam
kernel: type 12 trap, code=3D0
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,6c0=
000) 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

--=20
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

--++alDQ2ROsODg1x+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

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

--++alDQ2ROsODg1x+--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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