From owner-freebsd-stable Tue Nov 19 4:26: 2 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB99C37B401; Tue, 19 Nov 2002 04:25:59 -0800 (PST) Received: from milan.hitnet.rwth-aachen.de (milan.hitnet.RWTH-Aachen.DE [137.226.181.144]) by mx1.FreeBSD.org (Postfix) with ESMTP id E988743E97; Tue, 19 Nov 2002 04:25:52 -0800 (PST) (envelope-from chris@unixpages.org) Received: from gondor.middleearth (gondor.middleearth [192.168.1.42]) by milan.hitnet.rwth-aachen.de (Postfix) with ESMTP id E42EEC1DC; Tue, 19 Nov 2002 13:25:50 +0100 (CET) Received: by gondor.middleearth (Postfix, from userid 1001) id 2D9B6154B8; Tue, 19 Nov 2002 13:25:50 +0100 (CET) Date: Tue, 19 Nov 2002 13:25:49 +0100 From: Christian Brueffer To: Thomas Quinot Cc: freebsd-stable@FreeBSD.ORG Subject: Re: apm suspend/resume panic - atapicam related Message-ID: <20021119122549.GJ11536@unixpages.org> References: <20021117032558.GF11536@unixpages.org> <20021117230520.GB31217@melusine.cuivre.fr.eu.org> <20021118135148.GH11536@unixpages.org> <20021118171053.GA82889@melusine.cuivre.fr.eu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="++alDQ2ROsODg1x+" Content-Disposition: inline In-Reply-To: <20021118171053.GA82889@melusine.cuivre.fr.eu.org> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT X-PGP-Key: http://www.unixpages.org/cbrueffer.asc Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --++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