Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 May 2003 01:18:05 -0700
From:      "Cliff L. Biffle" <cbiffle@safety.net>
To:        current@freebsd.org
Subject:   Panic in ata_dmastart after suspend/resume
Message-ID:  <200305030118.05738.cbiffle@safety.net>

next in thread | raw e-mail | index | archive | help
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' <repeats 13 times>, "=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' <repeats 13 times>, "=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 <g_down_procbody>, arg=3D=
0x0,=20
    frame=3D0xc999ed48) at /usr/src/sys/kern/kern_fork.c:793



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