Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Sep 2003 22:28:43 +0300
From:      "Vladimir I. Chukharev" <chu@h33.erkki.ton.tut.fi>
To:        freebsd-stable@freebsd.org
Subject:   Re: reboot after panic: ata_dmasetup:...
Message-ID:  <3F6DFBEB.90609@h33.erkki.ton.tut.fi>
In-Reply-To: <3F6CC5DE.6070003@h33.erkki.ton.tut.fi>
References:  <3F6CC5DE.6070003@h33.erkki.ton.tut.fi>

next in thread | previous in thread | raw e-mail | index | archive | help
Vladimir I. Chukharev wrote:

> Hi.
>
> If anybody wants to dig into a kernel crash, I placed the files from 
> /var/crash
> on http://h33.erkki.ton.tut.fi/chu/crash/
> all.log from the last hour before and the boot time after the crash  
> is also there,
> as well as kernel config file (SVAK) and kernel.debug.
> I can add whatever you need for better debugging on request. :)
>
> The box was building world, and some ports also, and I was using gimp 
> before
> the crash.
>
> $ uname -a
> FreeBSD svak.h33.erkki.ton.tut.fi 4.9-PRERELEASE FreeBSD 
> 4.9-PRERELEASE #12: Wed Sep 10 22:50:46 EEST 2003     
> root@svak.h33.erkki.ton.tut.fi:/usr/obj/usr/src/sys/SVAK  i386
>
> The kernel crashes do not happen often to me, not at all...
>
> Best regards,
> V.Chukharev
>
A small addition.

V.Chukharev

 $ sudo gdb -k /usr/obj/usr/src/sys/SVAK/kernel.debug /var/crash/vmcore.0
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/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c 
line 2627 in elfstab_build_psymtabs
Deprecated bfd_read called at 
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c 
line 933 in fill_symbuf

IdlePTD at phsyical address 0x00415000
initial pcb at physical address 0x00360640
panicstr: ata_dmasetup: transfer active on this device!
panic messages:
---
panic: ata_dmasetup: transfer active on this device!

syncing disks... ad0: SERVICE timeout tag=0 s=51 e=04
ad0: invalidating queued requests
ad0: no request for tag=0
ad0: invalidating queued requests
127 15 8 8 8 8 8 8 8 24 5 5 5 5 5 5 5 11 2 2 2 2 2 2 2 6 2 2 2 2 2 2 2 2 
2 2 2 2 2 2 2 2 2 2 2 2
giving up on 2 buffers
Uptime: 1h56m56s

dumping to dev #ad/0x40001, offset 530560
dump ata0: resetting devices .. ad0: invalidating queued requests
done
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 63 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 [CTRL-C to abort] 7 6 5 4 3 2 1 0
---
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
487             if (dumping++) {
(kgdb) bt
#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1  0xc016db00 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316
#2  0xc016df34 in poweroff_wait (junk=0xc02d8d80, howto=455)
    at /usr/src/sys/kern/kern_shutdown.c:595
#3  0xc013bae8 in ata_dmastart (atadev=0xc15b9230, data=0xc8840000 "", 
count=8192, dir=1)
    at /usr/src/sys/dev/ata/ata-dma.c:1374
#4  0xc013d1b6 in ad_transfer (request=0xc1704200) at 
/usr/src/sys/dev/ata/ata-disk.c:524
#5  0xc0134293 in ata_start (ch=0xc15b9200) at 
/usr/src/sys/dev/ata/ata-all.c:681
#6  0xc013cbb4 in adstrategy (bp=0xc693df58) at 
/usr/src/sys/dev/ata/ata-disk.c:307
#7  0xc0177c59 in diskstrategy (bp=0xc693df58) at 
/usr/src/sys/kern/subr_disk.c:251
#8  0xc01a8ce1 in spec_strategy (ap=0xd1e8ad58) at 
/usr/src/sys/miscfs/specfs/spec_vnops.c:479
#9  0xc01a86dd in spec_vnoperate (ap=0xd1e8ad58)
    at /usr/src/sys/miscfs/specfs/spec_vnops.c:119
#10 0xc0232565 in ufs_vnoperatespec (ap=0xd1e8ad58) at 
/usr/src/sys/ufs/ufs/ufs_vnops.c:2394
#11 0xc0231e35 in ufs_strategy (ap=0xd1e8adbc) at vnode_if.h:944
#12 0xc023252d in ufs_vnoperate (ap=0xd1e8adbc) at 
/usr/src/sys/ufs/ufs/ufs_vnops.c:2376
#13 0xc01993d7 in cluster_read (vp=0xd2028e40, filesize=8603, lblkno=1, 
size=8192, cred=0x0,
    totread=8603, seqcount=2, bpp=0xd1e8ae50) at vnode_if.h:944
#14 0xc022a9bf in ffs_read (ap=0xd1e8ae74) at 
/usr/src/sys/ufs/ufs/ufs_readwrite.c:267
#15 0xc01a4960 in vn_read (fp=0xc16ee0c0, uio=0xd1e8aee0, 
cred=0xc17eb200, flags=0,
    p=0xd1f5a100) at vnode_if.h:334
#16 0xc017d933 in dofileread (p=0xd1f5a100, fp=0xc16ee0c0, fd=3, 
buf=0x8080000, nbyte=8603,
    offset=-1, flags=0) at /usr/src/sys/sys/file.h:147
#17 0xc017d7f7 in read (p=0xd1f5a100, uap=0xd1e8af80) at 
/usr/src/sys/kern/sys_generic.c:117
#18 0xc02b377d in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
tf_edi = 134742016,
      tf_esi = 8603, tf_ebp = -1077938896, tf_isp = -773279788, tf_ebx = 
3, tf_edx = 19,
      tf_ecx = 134671136, tf_eax = 3, tf_trapno = 12, tf_err = 2, tf_eip 
= 134630456,
      tf_cs = 31, tf_eflags = 663, tf_esp = -1077938940, tf_ss = 47})
    at /usr/src/sys/i386/i386/trap.c:1175
#19 0xc02a7595 in Xint0x80_syscall ()
#20 0x804a4ab in ?? ()
#21 0x804813e in ?? ()
(kgdb)



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