From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 24 08:50:39 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9113516A4BF for ; Wed, 24 Sep 2003 08:50:39 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 355E344017 for ; Wed, 24 Sep 2003 08:50:18 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h8OFoIFY006542 for ; Wed, 24 Sep 2003 08:50:18 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h8OFoIL8006541; Wed, 24 Sep 2003 08:50:18 -0700 (PDT) (envelope-from gnats) Resent-Date: Wed, 24 Sep 2003 08:50:18 -0700 (PDT) Resent-Message-Id: <200309241550.h8OFoIL8006541@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, eugen@kuzbass.ru Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 643FB16A4B3 for ; Wed, 24 Sep 2003 08:49:13 -0700 (PDT) Received: from grosbein.pp.ru (D00015.dialonly.kemerovo.su [213.184.66.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65B7644005 for ; Wed, 24 Sep 2003 08:47:36 -0700 (PDT) (envelope-from eugen@grosbein.pp.ru) Received: from grosbein.pp.ru (smmsp@localhost [127.0.0.1]) by grosbein.pp.ru (8.12.9p1/8.12.9) with ESMTP id h8OFg7ZQ000534 for ; Wed, 24 Sep 2003 23:42:07 +0800 (KRAST) (envelope-from eugen@grosbein.pp.ru) Received: (from eugen@localhost) by grosbein.pp.ru (8.12.9p1/8.12.9/Submit) id h8OFct3W000458; Wed, 24 Sep 2003 23:38:55 +0800 (KRAST) (envelope-from eugen) Message-Id: <200309241538.h8OFct3W000458@grosbein.pp.ru> Date: Wed, 24 Sep 2003 23:38:55 +0800 (KRAST) From: Eugene Grosbein To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/57174: 4.9-PRERELEASE panic: ata_dmasetup: transfer active on this device! X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: eugen@kuzbass.ru List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2003 15:50:39 -0000 >Number: 57174 >Category: kern >Synopsis: 4.9-PRERELEASE panic: ata_dmasetup: transfer active on this device! >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 24 08:50:17 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Eugene Grosbein >Release: FreeBSD >Organization: Svyaz Service JSC >Environment: System: FreeBSD grosbein.pp.ru 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #20: Wed Sep 24 21:03:53 KRAST 2003 eu@grosbein.pp.ru:/usr/local/obj/usr/local/src/sys/DADV i386 CPUTYPE=i686 and no other optimizations >Description: Today I've upgraded my early 4.9-PRERELEASE to RELENG_4, after I've received 4.9-BETA announcement. Full cycle was completed: make builworld, make kernel, make installworld, mergemaster. I decided to make index of my local copy of Maxim Moshkow library (4.6Gb of texts) using following command: glimpseindex -H /home/moshkow/.g -B -b -f -M 256 -n -t /home/moshkow I use glimpse-4.12.6 that was built 17 Jun 2002 using ports. It started to work making heavy load to my system, both of CPU and hard drive. Meantime I went online using pppd and started to surf the web using lynx. Suddenly my previously rock-stable system crashed. Here comes GDB backtrace. GNU gdb 4.18 (FreeBSD) Copyright 1998 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-unknown-freebsd"...Deprecated bfd_read called at /usr/local/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs Deprecated bfd_read called at /usr/local/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf IdlePTD at phsyical address 0x003c5000 initial pcb at physical address 0x0031baa0 panicstr: ata_dmasetup: transfer active on this device! panic messages: --- panic: ata_dmasetup: transfer active on this device! syncing disks... ad2: WRITE command timeout tag=1 serv=0 - resetting ad2: invalidating queued requests ata1: resetting devices .. ad2: invalidating queued requests done ad2: no request for tag=2 ad2: invalidating queued requests 67 43 43 43 43 43 43 43 59 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 43 ad2: READ command timeout tag=2 serv=0 - resetting ad2: invalidating queued requests ata1: resetting devices .. ad2: invalidating queued requests done 43 ad2: no request for tag=2 ad2: invalidating queued requests 0xc7c562f8 1: dev:#ad/0x20017, flags:20000000, blkno:27213840, lblkno:27213840 0xc7c3d388 2: dev:#ad/0x20017, flags:20000000, blkno:27249392, lblkno:27249392 0xc7c3bc30 3: dev:#ad/0x20017, flags:20000000, blkno:26315504, lblkno:26315504 0xc7c2810c 4: dev:#ad/0x20017, flags:20000000, blkno:26402832, lblkno:26402832 0xc7c260a0 5: dev:#ad/0x20017, flags:20000000, blkno:27123728, lblkno:27123728 0xc7c1cb7c 6: dev:#ad/0x20017, flags:20000000, blkno:26697168, lblkno:26697168 0xc7c0ef04 7: dev:#ad/0x20017, flags:20000000, blkno:26729952, lblkno:26729952 0xc7c0d8f8 8: dev:#ad/0x20017, flags:20000000, blkno:26348288, lblkno:26348288 0xc7c09588 9: dev:#ad/0x20017, flags:20000000, blkno:16605456, lblkno:16605456 0xc7c00978 10: dev:#ad/0x20017, flags:20000000, blkno:26312720, lblkno:26312720 0xc7bfe674 11: dev:#ad/0x20017, flags:20000000, blkno:27310672, lblkno:27310672 0xc7bd2cbc 12: dev:#ad/0x20017, flags:21021024, blkno:16580688, lblkno:16580688 0xc7bd1be0 13: dev:#ad/0x20017, flags:20000000, blkno:27037472, lblkno:27037472 0xc7b98d78 14: dev:#ad/0x20017, flags:20000000, blkno:26763280, lblkno:26763280 giving up on 14 buffers Uptime: 18m25s /dev/vmmon: Module vmmon: unloaded dumping to dev #ad/0x20011, offset 128 dump ata1: resetting devices .. ad2: invalidating queued requests done 319 318 317 316 315 314 313 312 311 310 309 308 307 306 305 304 303 302 301 300 299 298 297 296 295 294 293 292 291 290 289 288 287 286 285 284 283 282 281 280 279 278 277 276 275 274 273 272 271 270 269 268 267 266 265 264 263 262 261 260 259 258 257 256 255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 6! 3 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 --- #0 dumpsys () at /usr/local/src/sys/kern/kern_shutdown.c:487 487 if (dumping++) { (kgdb) bt #0 dumpsys () at /usr/local/src/sys/kern/kern_shutdown.c:487 #1 0xc0161278 in boot (howto=256) at /usr/local/src/sys/kern/kern_shutdown.c:316 #2 0xc01616c5 in panic ( fmt=0xc0291120 "ata_dmasetup: transfer active on this device!") at /usr/local/src/sys/kern/kern_shutdown.c:595 #3 0xc01335fc in ata_dmastart (atadev=0xc13e5530, data=0xcc5da000
, count=131072, dir=1) at /usr/local/src/sys/dev/ata/ata-dma.c:1374 #4 0xc013556f in ad_service (adp=0xc1402400, change=1) at /usr/local/src/sys/dev/ata/ata-disk.c:787 #5 0xc0134c6f in ad_transfer (request=0xc20b4f80) at /usr/local/src/sys/dev/ata/ata-disk.c:499 #6 0xc012bda7 in ata_start (ch=0xc13e5500) at /usr/local/src/sys/dev/ata/ata-all.c:681 #7 0xc01346c8 in adstrategy (bp=0xc7b91b58) at /usr/local/src/sys/dev/ata/ata-disk.c:307 #8 0xc016b501 in diskstrategy (bp=0xc7b91b58) at /usr/local/src/sys/kern/subr_disk.c:251 #9 0xc019ce4f in spec_strategy (ap=0xcf70acb4) at /usr/local/src/sys/miscfs/specfs/spec_vnops.c:479 #10 0xc019c7f5 in spec_vnoperate (ap=0xcf70acb4) at /usr/local/src/sys/miscfs/specfs/spec_vnops.c:119 #11 0xc0202e3d in ufs_vnoperatespec (ap=0xcf70acb4) ---Type to continue, or q to quit--- at /usr/local/src/sys/ufs/ufs/ufs_vnops.c:2394 #12 0xc020270d in ufs_strategy (ap=0xcf70acf8) at vnode_if.h:944 #13 0xc0202e05 in ufs_vnoperate (ap=0xcf70acf8) at /usr/local/src/sys/ufs/ufs/ufs_vnops.c:2376 #14 0xc0188c07 in bwrite (bp=0xc7b91b58) at vnode_if.h:944 #15 0xc018e95b in vop_stdbwrite (ap=0xcf70ad34) at /usr/local/src/sys/kern/vfs_default.c:344 #16 0xc018e771 in vop_defaultop (ap=0xcf70ad34) at /usr/local/src/sys/kern/vfs_default.c:152 #17 0xc0202e05 in ufs_vnoperate (ap=0xcf70ad34) at /usr/local/src/sys/ufs/ufs/ufs_vnops.c:2376 #18 0xc0188fa6 in bawrite (bp=0xc7b91b58) at vnode_if.h:1193 #19 0xc018df77 in cluster_wbuild (vp=0xcfa43cc0, size=8192, start_lbn=23452, len=16) at /usr/local/src/sys/kern/vfs_cluster.c:945 #20 0xc018da92 in cluster_write (bp=0xc7c67c64, filesize=192118784, seqcount=127) at /usr/local/src/sys/kern/vfs_cluster.c:576 #21 0xc01fc33f in ffs_write (ap=0xcf70ae74) at /usr/local/src/sys/ufs/ufs/ufs_readwrite.c:570 #22 0xc0198c42 in vn_write (fp=0xc1f65c80, uio=0xcf70aee0, cred=0xc195b700, flags=0, p=0xcf63f220) at vnode_if.h:363 #23 0xc0171096 in dofilewrite (p=0xcf63f220, fp=0xc1f65c80, fd=11, buf=0x18570000, nbyte=8192, offset=-1, flags=0) at /usr/local/src/sys/sys/file.h:163 #24 0xc0170f47 in write (p=0xcf63f220, uap=0xcf70af80) ---Type to continue, or q to quit--- at /usr/local/src/sys/kern/sys_generic.c:329 #25 0xc0272301 in syscall2 (frame={tf_fs = 408354863, tf_es = 672333871, tf_ds = -1078001617, tf_edi = 408354816, tf_esi = 672345944, tf_ebp = -1077958108, tf_isp = -814698540, tf_ebx = 672270316, tf_edx = 672345944, tf_ecx = 0, tf_eax = 4, tf_trapno = 0, tf_err = 2, tf_eip = 672229000, tf_cs = 31, tf_eflags = 659, tf_esp = -1077958152, tf_ss = 47}) at /usr/local/src/sys/i386/i386/trap.c:1175 #26 0xc0265345 in Xint0x80_syscall () #27 0x2811432d in ?? () #28 0x28114295 in ?? () #29 0x281110a6 in ?? () #30 0x280fbcb5 in ?? () #31 0x8055146 in ?? () #32 0x8051b68 in ?? () #33 0x8052603 in ?? () #34 0x8050510 in ?? () #35 0x804ad64 in ?? () #36 0x8049361 in ?? () (kgdb) q Here comes /var/run/dmesg.boot Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.9-PRERELEASE #20: Wed Sep 24 21:03:53 KRAST 2003 eu@grosbein.pp.ru:/usr/local/obj/usr/local/src/sys/DADV Timecounter "i8254" frequency 1193165 Hz CPU: Intel Celeron (902.03-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383f9ff real memory = 335478784 (327616K bytes) config> flags atkbd 0x0 config> quit avail memory = 322236416 (314684K bytes) Preloaded elf kernel "kernel" at 0xc03a6000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc03a609c. VESA: v2.0, 4096k memory, flags:0x1, mode table:0xc00c0e38 (c0000e38) VESA: S3 Incorporated Trio3D. Pentium Pro MTRR support enabled Using $PIR table, 8 entries at 0xc00fdef0 apm0: on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xe000-0xe01f irq 11 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uscanner0: Hewlett-Packard HP ScanJet 2200C, rev 1.10/1.00, addr 2 uhid0: American Power Conversion Back-UPS 500 FW: 6.5.I USB FW: c1 , rev 1.10/1.00, addr 3, iclass 3/0 intpm0: port 0x5000-0x500f irq 9 at device 7.3 on pci0 intpm0: I/O mapped 5000 intpm0: intr IRQ 9 enabled revision 0 smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped 4000 fxp0: port 0xe400-0xe43f mem 0xe5000000-0xe50fffff,0xe5100000-0xe5100fff irq 10 at device 15.0 on pci0 fxp0: Ethernet address 00:90:27:a7:5c:72 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: