Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 2003 10:14:34 +0100
From:      Yann Berthier <yb@sainte-barbe.org>
To:        current@freebsd.org
Subject:   panic: ata_dmasetup: transfer active on this device!
Message-ID:  <20030305091434.GA801@hsc.fr>

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

   Hello,

   My laptop freeze *systematically* while resuming from suspend mode
   (ACPI) with recent (as of yesterday) kernels. I experienced the same
   problem with old (January 25th) kernels, but only from time to time
   (once every 3-5 times I would say)

   PS: there is no disk activity when i suspend the laptop (in the sense
   of: the disk led is off, and i stop all disk consuming activities).
   But seeing the panic message, it seems this is not actually true ;-)
   PPS: my world is not in sync with the new kernel, i'm a bit reluctant
   to sync with a kernel no more being able to resume. But perhaps this
   is the root of my problem

   Anybody else experiencing that ?

   Here is a backtrace:

Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-undermydesk-freebsd"...
panic: bdwrite: buffer is not busy
panic messages:
---
panic: ata_dmasetup: transfer active on this device!

syncing disks, buffers remaining... panic: bdwrite: buffer is not busy
Uptime: 3h16m31s
Dumping 255 MB
ata0: resetting devices ..
done
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240
---
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:239
239		dumping++;
(kgdb) where
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:239
#1  0xc02b6222 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:371
#2  0xc02b6483 in panic () at /usr/src/sys/kern/kern_shutdown.c:542
#3  0xc02fc43d in bdwrite (bp=0xc767d580) at /usr/src/sys/kern/vfs_bio.c:994
#4  0xc03b85e1 in ffs_update (vp=0xc28af920, waitfor=0)
    at /usr/src/sys/ufs/ffs/ffs_inode.c:125
#5  0xc03cdaef in ffs_fsync (ap=0xcd17dac8)
    at /usr/src/sys/ufs/ffs/ffs_vnops.c:314
#6  0xc03cca47 in ffs_sync (mp=0xc2731000, waitfor=2, cred=0xc0eb2e80, 
    td=0xc04dd680) at vnode_if.h:612
#7  0xc031269b in sync (td=0xc04dd680, uap=0x0)
    at /usr/src/sys/kern/vfs_syscalls.c:138
#8  0xc02b5e0c in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:280
#9  0xc02b6483 in panic () at /usr/src/sys/kern/kern_shutdown.c:542
#10 0xc019c763 in ata_dmastart (atadev=0x0, data=0x0, count=0, dir=0)
    at /usr/src/sys/dev/ata/ata-dma.c:254
#11 0xc019da21 in ad_transfer (request=0xc265e600)
    at /usr/src/sys/dev/ata/ata-disk.c:494
#12 0xc018f569 in ata_start (ch=0xc2602300) at /usr/src/sys/dev/ata/ata-all.c:678
#13 0xc019d3b2 in adstrategy (bp=0x0) at /usr/src/sys/dev/ata/ata-disk.c:300
#14 0xc027b0dc in g_disk_start (bp=0xc2a1b000)
    at /usr/src/sys/geom/geom_disk.c:225
#15 0xc027deb6 in g_io_schedule_down (tp=0xc0ec8000)
    at /usr/src/sys/geom/geom_io.c:427
#16 0xc027e338 in g_down_procbody () at /usr/src/sys/geom/geom_kern.c:111
#17 0xc02a0fd3 in fork_exit (callout=0xc027e310 <g_down_procbody>, arg=0x0, 
    frame=0x0) at /usr/src/sys/kern/kern_fork.c:871

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




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