From owner-freebsd-current@FreeBSD.ORG Sat May 3 01:17:03 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 079C137B401 for ; Sat, 3 May 2003 01:17:03 -0700 (PDT) Received: from ns3.safety.net (ns3.safety.net [216.40.201.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 754DB43F85 for ; Sat, 3 May 2003 01:17:02 -0700 (PDT) (envelope-from cbiffle@safety.net) Received: from localhost (rs.rackshack.net.safety.net [216.40.201.32]) by ns3.safety.net (8.10.2/8.10.2) with ESMTP id h438H1A17417 for ; Sat, 3 May 2003 01:17:01 -0700 From: "Cliff L. Biffle" To: current@freebsd.org Date: Sat, 3 May 2003 01:18:05 -0700 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200305030118.05738.cbiffle@safety.net> Subject: Panic in ata_dmastart after suspend/resume X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2003 08:17:03 -0000 After an S4 ACPI suspend, my system has panicked on resume in ata_dmastart.= =20 The system is normally capable of resuming just peachily, and I haven't=20 updated the kernel or world in the past few days and it's worked fine until= =20 just now. :-) I'm -not- using my ata-suspend patch to ata-disk.c, just to rule that out u= p=20 front. :-) I'm updating my sources to see if I can reproduce the bug with HEAD. In th= e=20 meantime, I hope this information proves useful to someone. =2DCliff L. Biffle panic: ata_dmasetup: transfer active on this device! panic messages: =2D-- panic: ata_dmasetup: transfer active on this device! syncing disks, buffers remaining... 1607 1607 1607 1607 1607 1607 1607 1607= =20 1607 1607 1607 1607 1607 1607 1607 1607 1607 1607 1607 ad0: READ command=20 timeout tag=3D0 serv=3D0 - resetting ata0: resetting devices .. done 1607 ad0: READ command timeout tag=3D0 serv=3D0 - resetting ata0: resetting devices .. done giving up on 392 buffers Uptime: 14h14m51s Dumping 159 MB ata0: resetting devices .. done [CTRL-C to abort] [CTRL-C to abort] 16 32 48 64 80 96 112 128 144 =2D-- #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:238 238 dumping++; #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:238 #1 0xc027f218 in boot (howto=3D256) at /usr/src/sys/kern/kern_shutdown.c:3= 70 #2 0xc027f514 in panic () at /usr/src/sys/kern/kern_shutdown.c:543 #3 0xc0199104 in ata_dmastart (ch=3D0xc1c05a00,=20 data=3D0xc85f8000 "q=EB\r", '\220' , "=BE", count=3D1= 2288,=20 dir=3D1) at /usr/src/sys/dev/ata/ata-dma.c:226 #4 0xc018fd5c in ata_pci_dmastart (ch=3D0xc1c05a00,=20 data=3D0xc85f8000 "q=EB\r", '\220' , "=BE", count=3D1= 2288,=20 dir=3D1) at /usr/src/sys/dev/ata/ata-pci.c:418 #5 0xc0199f31 in ad_transfer (request=3D0xc24eb7c0) at /usr/src/sys/dev/ata/ata-disk.c:478 #6 0xc0189227 in ata_start (ch=3D0xc1c05a00) at /usr/src/sys/dev/ata/ata-all.c:640 #7 0xc019991a in adstrategy (bp=3D0x0) at /usr/src/sys/dev/ata/ata-disk.c:= 286 #8 0xc024d685 in g_disk_start (bp=3D0xc2b42800) at /usr/src/sys/geom/geom_disk.c:239 #9 0xc024f62a in g_io_schedule_down (tp=3D0xc0c6c000) at /usr/src/sys/geom/geom_io.c:348 #10 0xc024f8f9 in g_down_procbody () at /usr/src/sys/geom/geom_kern.c:112 #11 0xc026c307 in fork_exit (callout=3D0xc024f8e0 , arg=3D= 0x0,=20 frame=3D0xc999ed48) at /usr/src/sys/kern/kern_fork.c:793