From owner-freebsd-bugs Sun Oct 22 1:20:10 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2DB8437B479 for ; Sun, 22 Oct 2000 01:20:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id BAA03433; Sun, 22 Oct 2000 01:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Sun, 22 Oct 2000 01:20:02 -0700 (PDT) Message-Id: <200010220820.BAA03433@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Roman Shterenzon Subject: Re: kern/22103: 4.1-R with Adaptec and Vinum crashes on periodic daily Reply-To: Roman Shterenzon Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/22103; it has been noted by GNATS. From: Roman Shterenzon To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: kern/22103: 4.1-R with Adaptec and Vinum crashes on periodic daily Date: Sun, 22 Oct 2000 10:12:17 +0200 Script started on Sun Oct 22 10:00:33 2000 matrix# gdb -k /usr/src/sys/compile/MATRIX/kernel.debug vmcore.0 GNU gdb 4.18 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"... IdlePTD 3219456 initial pcb at 29a720 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0x54 fault code = supervisor write, page not present instruction pointer = 0x8:0xc150fc67 stack pointer = 0x10:0xc0277394 frame pointer = 0x10:0xc02773b0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = Idle interrupt mask = bio trap number = 12 panic: page fault syncing disks... Fatal trap 12: page fault while in kernel mode fault virtual address = 0x30 fault code = supervisor read, page not present instruction pointer = 0x8:0xc01e2e50 stack pointer = 0x10:0xc02771cc frame pointer = 0x10:0xc02771d0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = Idle interrupt mask = bio trap number = 12 panic: page fault Uptime: 6m22s Fatal trap 12: page fault while in kernel mode fault virtual address = 0x54 fault code = supervisor write, page not present instruction pointer = 0x8:0xc150fc67 stack pointer = 0x10:0xc0276ab0 frame pointer = 0x10:0xc0276acc code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = Idle interrupt mask = bio cam trap number = 12 panic: page fault Uptime: 6m22s Fatal trap 12: page fault while in kernel mode fault virtual address = 0x54 fault code = supervisor write, page not present instruction pointer = 0x8:0xc150fc67 stack pointer = 0x10:0xc0276394 frame pointer = 0x10:0xc02763b0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = Idle interrupt mask = bio cam trap number = 12 panic: page fault Uptime: 6m22s Fatal trap 12: page fault while in kernel mode fault virtual address = 0x54 fault code = supervisor write, page not present instruction pointer = 0x8:0xc150fc67 stack pointer = 0x10:0xc0275c78 frame pointer = 0x10:0xc0275c94 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = Idle interrupt mask = bio cam trap number = 12 panic: page fault Uptime: 6m22s Fatal trap 12: page fault while in kernel mode fault virtual address = 0x54 fault code = supervisor write, page not present instruction pointer = 0x8:0xc150fc67 stack pointer = 0x10:0xc027555c frame pointer = 0x10:0xc0275578 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = Idle interrupt mask = bio cam trap number = 12 panic: page fault Uptime: 6m22s dumping to dev #da/0x20001, offset 774 dump 511 510 509 508 507 506 505 504 503 502 501 500 499 498 497 496 495 494 493 492 491 490 489 488 487 486 485 484 483 482 481 480 479 478 477 476 475 474 473 472 471 470 469 468 467 466 465 464 463 462 461 460 459 458 457 456 455 454 453 452 451 450 449 448 447 446 445 444 443 442 441 440 439 438 437 436 435 434 433 432 431 430 429 428 427 426 425 424 423 422 421 420 419 418 417 416 415 414 413 412 411 410 409 408 407 406 405 404 403 402 401 400 399 398 397 396 395 394 393 392 391 390 389 388 387 386 38 5 384 383 382 381 380 379 378 377 376 375 374 373 372 371 370 369 368 367 366 365 364 363 362 361 360 359 358 357 356 355 354 353 352 351 350 349 348 347 346 345 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 325 324 323 322 321 320 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 26! 5 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 1 37 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 7 6 5 4 3 2 1 0 --- #0 boot (howto=260) at ../../kern/kern_shutdown.c:302 302 dumppcb.pcb_cr3 = rcr3(); (kgdb) f 1 #1 0xc0153d38 in poweroff_wait (junk=0xc026f22f, howto=0x0) at ../../kern/kern_shutdown.c:552 552 boot(bootopt); (kgdb) bt #0 boot (howto=0x104) at ../../kern/kern_shutdown.c:302 #1 0xc0153d38 in poweroff_wait (junk=0xc026f22f, howto=0x0) at ../../kern/kern_shutdown.c:552 #2 0xc0236d35 in trap_fatal (frame=0xc027551c, eva=0x54) at ../../i386/i386/trap.c:927 #3 0xc0236a0d in trap_pfault (frame=0xc027551c, usermode=0x0, eva=0x54) at ../../i386/i386/trap.c:820 #4 0xc023660b in trap (frame={tf_fs = 0xc0270010, tf_es = 0xc0150010, tf_ds = 0x6c0010, tf_edi = 0xc16e6420, tf_esi = 0xc16e6400, tf_ebp = 0xc0275578, tf_isp = 0xc0275548, tf_ebx = 0xc208e040, tf_edx = 0x0, tf_ecx = 0x56e0001, tf_eax = 0xff9373bf, tf_trapno = 0xc, tf_err = 0x2, tf_eip = 0xc150fc67, tf_cs = 0x8, tf_eflags = 0x10246, tf_esp = 0xc16e6420, tf_ss = 0xc14bd000}) at ../../i386/i386/trap.c:426 During symbol reading, inner block (0xc1505000-0xc150500a) not inside outer block (0xc150bc0c-0xc150c3c2). During symbol reading, block at 0xc15050d4 out of order. #5 0xc150fc67 in complete_rqe () at /usr/src/sys/modules/vinum/../../dev/vinum/vinuminterrupt.c:199 #6 0xc0178d6b in biodone (bp=0xc16e6420) at ../../kern/vfs_bio.c:2637 #7 0xc0126bb9 in dadone (periph=0xc14ca700, done_ccb=0xc183ac00) at ../../cam/scsi/scsi_da.c:1246 #8 0xc0122aff in camisr (queue=0xc0298690) at ../../cam/cam_xpt.c:6319 #9 0xc0122911 in swi_cambio () at ../../cam/cam_xpt.c:6222 #10 0xc011fd10 in xpt_polled_action (start_ccb=0xc027590c) at ../../cam/cam_xpt.c:3389 #11 0xc0127081 in dashutdown (arg=0x0, howto=0x104) at ../../cam/scsi/scsi_da.c:1538 #12 0xc0153984 in boot (howto=0x104) at ../../kern/kern_shutdown.c:297 #13 0xc0153d38 in poweroff_wait (junk=0xc026f22f, howto=0x0) at ../../kern/kern_shutdown.c:552 #14 0xc0236d35 in trap_fatal (frame=0xc0275c38, eva=0x54) at ../../i386/i386/trap.c:927 #15 0xc0236a0d in trap_pfault (frame=0xc0275c38, usermode=0x0, eva=0x54) at ../../i386/i386/trap.c:820 #16 0xc023660b in trap (frame={tf_fs = 0x10, tf_es = 0xc0150010, tf_ds = 0x6c0010, tf_edi = 0xc16e7820, tf_esi = 0xc16e7800, tf_ebp = 0xc0275c94, tf_isp = 0xc0275c64, tf_ebx = 0xc208e100, tf_edx = 0x0, tf_ecx = 0x56b0001, tf_eax = 0xff9373bf, tf_trapno = 0xc, tf_err = 0x2, tf_eip = 0xc150fc67, tf_cs = 0x8, tf_eflags = 0x10246, tf_esp = 0xc16e7820, tf_ss = 0xc14bd000}) at ../../i386/i386/trap.c:426 #17 0xc150fc67 in complete_rqe () at /usr/src/sys/modules/vinum/../../dev/vinum/vinuminterrupt.c:199 #18 0xc0178d6b in biodone (bp=0xc16e7820) at ../../kern/vfs_bio.c:2637 #19 0xc0126bb9 in dadone (periph=0xc14ca700, done_ccb=0xc14dc000) at ../../cam/scsi/scsi_da.c:1246 #20 0xc0122aff in camisr (queue=0xc0298690) at ../../cam/cam_xpt.c:6319 #21 0xc0122911 in swi_cambio () at ../../cam/cam_xpt.c:6222 #22 0xc011fd10 in xpt_polled_action (start_ccb=0xc0276028) at ../../cam/cam_xpt.c:3389 #23 0xc0127081 in dashutdown (arg=0x0, howto=0x104) at ../../cam/scsi/scsi_da.c:1538 #24 0xc0153984 in boot (howto=0x104) at ../../kern/kern_shutdown.c:297 #25 0xc0153d38 in poweroff_wait (junk=0xc026f22f, howto=0x0) at ../../kern/kern_shutdown.c:552 #26 0xc0236d35 in trap_fatal (frame=0xc0276354, eva=0x54) at ../../i386/i386/trap.c:927 #27 0xc0236a0d in trap_pfault (frame=0xc0276354, usermode=0x0, eva=0x54) at ../../i386/i386/trap.c:820 #28 0xc023660b in trap (frame={tf_fs = 0xc0270010, tf_es = 0xc0150010, tf_ds = 0x6c0010, tf_edi = 0xc16e8c20, tf_esi = 0xc16e8c00, tf_ebp = 0xc02763b0, tf_isp = 0xc0276380, tf_ebx = 0xc208e1c0, tf_edx = 0x0, tf_ecx = 0x5680001, tf_eax = 0xff9373bf, tf_trapno = 0xc, tf_err = 0x2, tf_eip = 0xc150fc67, tf_cs = 0x8, tf_eflags = 0x10246, tf_esp = 0xc16e8c20, tf_ss = 0xc14bd000}) at ../../i386/i386/trap.c:426 #29 0xc150fc67 in complete_rqe () at /usr/src/sys/modules/vinum/../../dev/vinum/vinuminterrupt.c:199 #30 0xc0178d6b in biodone (bp=0xc16e8c20) at ../../kern/vfs_bio.c:2637 #31 0xc0126bb9 in dadone (periph=0xc14ca700, done_ccb=0xc1835800) at ../../cam/scsi/scsi_da.c:1246 #32 0xc0122aff in camisr (queue=0xc0298690) at ../../cam/cam_xpt.c:6319 #33 0xc0122911 in swi_cambio () at ../../cam/cam_xpt.c:6222 #34 0xc011fd10 in xpt_polled_action (start_ccb=0xc0276744) at ../../cam/cam_xpt.c:3389 #35 0xc0127081 in dashutdown (arg=0x0, howto=0x104) at ../../cam/scsi/scsi_da.c:1538 #36 0xc0153984 in boot (howto=0x104) at ../../kern/kern_shutdown.c:297 #37 0xc0153d38 in poweroff_wait (junk=0xc026f22f, howto=0x0) at ../../kern/kern_shutdown.c:552 #38 0xc0236d35 in trap_fatal (frame=0xc0276a70, eva=0x54) at ../../i386/i386/trap.c:927 #39 0xc0236a0d in trap_pfault (frame=0xc0276a70, usermode=0x0, eva=0x54) at ../../i386/i386/trap.c:820 #40 0xc023660b in trap (frame={tf_fs = 0xc0270010, tf_es = 0xc0150010, tf_ds = 0x6c0010, tf_edi = 0xc16e8020, tf_esi = 0xc16e8000, tf_ebp = 0xc0276acc, tf_isp = 0xc0276a9c, tf_ebx = 0xc208e280, tf_edx = 0x0, tf_ecx = 0x5650001, tf_eax = 0xff9373bf, tf_trapno = 0xc, tf_err = 0x2, tf_eip = 0xc150fc67, tf_cs = 0x8, tf_eflags = 0x10246, tf_esp = 0xc16e8020, tf_ss = 0xc14bd000}) at ../../i386/i386/trap.c:426 #41 0xc150fc67 in complete_rqe () at /usr/src/sys/modules/vinum/../../dev/vinum/vinuminterrupt.c:199 #42 0xc0178d6b in biodone (bp=0xc16e8020) at ../../kern/vfs_bio.c:2637 #43 0xc0126bb9 in dadone (periph=0xc14ca700, done_ccb=0xc1658c00) at ../../cam/scsi/scsi_da.c:1246 #44 0xc0122aff in camisr (queue=0xc0298690) at ../../cam/cam_xpt.c:6319 #45 0xc0122911 in swi_cambio () at ../../cam/cam_xpt.c:6222 #46 0xc011fd10 in xpt_polled_action (start_ccb=0xc0276e60) at ../../cam/cam_xpt.c:3389 #47 0xc0127081 in dashutdown (arg=0x0, howto=0x104) at ../../cam/scsi/scsi_da.c:1538 #48 0xc0153984 in boot (howto=0x104) at ../../kern/kern_shutdown.c:297 #49 0xc0153d38 in poweroff_wait (junk=0xc026f22f, howto=0x0) at ../../kern/kern_shutdown.c:552 #50 0xc0236d35 in trap_fatal (frame=0xc027718c, eva=0x30) at ../../i386/i386/trap.c:927 #51 0xc0236a0d in trap_pfault (frame=0xc027718c, usermode=0x0, eva=0x30) at ../../i386/i386/trap.c:820 #52 0xc023660b in trap (frame={tf_fs = 0x680010, tf_es = 0x680010, tf_ds = 0xc0140010, tf_edi = 0x0, tf_esi = 0xc02af7e0, tf_ebp = 0xc02771d0, tf_isp = 0xc02771b8, tf_ebx = 0xc028959c, tf_edx = 0x688440, tf_ecx = 0x3, tf_eax = 0x0, tf_trapno = 0xc, tf_err = 0x0, tf_eip = 0xc01e2e50, tf_cs = 0x8, ---Type to continue, or q to quit--- tf_eflags = 0x10202, tf_esp = 0x0, tf_ss = 0xc02771ec}) at ../../i386/i386/trap.c:426 #53 0xc01e2e50 in acquire_lock (lk=0xc028959c) at ../../ufs/ffs/ffs_softdep.c:265 #54 0xc01e7012 in softdep_fsync_mountdev (vp=0xd41c0000) at ../../ufs/ffs/ffs_softdep.c:3788 #55 0xc01eb04a in ffs_fsync (ap=0xc0277244) at ../../ufs/ffs/ffs_vnops.c:134 #56 0xc01e9d72 in ffs_sync (mp=0xc14cc000, waitfor=0x2, cred=0xc10c0680, p=0xc02af7e0) at vnode_if.h:537 #57 0xc018092f in sync (p=0xc02af7e0, uap=0x0) at ../../kern/vfs_syscalls.c:544 #58 0xc0153787 in boot (howto=0x100) at ../../kern/kern_shutdown.c:224 #59 0xc0153d38 in poweroff_wait (junk=0xc026f22f, howto=0x0) at ../../kern/kern_shutdown.c:552 #60 0xc0236d35 in trap_fatal (frame=0xc0277354, eva=0x54) at ../../i386/i386/trap.c:927 #61 0xc0236a0d in trap_pfault (frame=0xc0277354, usermode=0x0, eva=0x54) at ../../i386/i386/trap.c:820 #62 0xc023660b in trap (frame={tf_fs = 0xc0270010, tf_es = 0xc0150010, tf_ds = 0x680010, tf_edi = 0xc16e9588, tf_esi = 0xc16e9400, tf_ebp = 0xc02773b0, tf_isp = 0xc0277380, tf_ebx = 0xc208e340, tf_edx = 0x0, tf_ecx = 0x5610001, tf_eax = 0xff9773bf, tf_trapno = 0xc, tf_err = 0x2, tf_eip = 0xc150fc67, tf_cs = 0x8, tf_eflags = 0x10246, tf_esp = 0xc16e9588, tf_ss = 0xc14bd000}) at ../../i386/i386/trap.c:426 #63 0xc150fc67 in complete_rqe () at /usr/src/sys/modules/vinum/../../dev/vinum/vinuminterrupt.c:199 #64 0xc0178d6b in biodone (bp=0xc16e9588) at ../../kern/vfs_bio.c:2637 #65 0xc0126bb9 in dadone (periph=0xc14ca700, done_ccb=0xc1808400) at ../../cam/scsi/scsi_da.c:1246 #66 0xc0122aff in camisr (queue=0xc0298690) at ../../cam/cam_xpt.c:6319 #67 0xc0122911 in swi_cambio () at ../../cam/cam_xpt.c:6222 #68 0xc022d0e0 in splz_swi () (kgdb) up 63 #64 0xc0178d6b in biodone (bp=0xc16e9588) at ../../kern/vfs_bio.c:2637 2637 (*bp->b_iodone) (bp); (kgdb) print bp $1 = (struct buf *) 0xc16e9588 (kgdb) print *bp->b_iodone $2 = {void ()} 0xc150f6ac (kgdb) down #63 0xc150fc67 in complete_rqe () at /usr/src/sys/modules/vinum/../../dev/vinum/vinuminterrupt.c:199 199 } (kgdb) list 194 VOL[rq->volplex.volno].active--; /* another request finished */ 195 biodone(ubp); /* top level buffer completed */ 196 freerq(rq); /* return the request storage */ 197 } 198 } 199 } 200 201 /* Free a request block and anything hanging off it */ 202 void 203 freerq(struct request *rq) (kgdb) down #62 0xc023660b in trap (frame={tf_fs = 0xc0270010, tf_es = 0xc0150010, tf_ds = 0x680010, tf_edi = 0xc16e9588, tf_esi = 0xc16e9400, tf_ebp = 0xc02773b0, tf_isp = 0xc0277380, tf_ebx = 0xc208e340, tf_edx = 0x0, tf_ecx = 0x5610001, tf_eax = 0xff9773bf, tf_trapno = 0xc, tf_err = 0x2, tf_eip = 0xc150fc67, tf_cs = 0x8, tf_eflags = 0x10246, tf_esp = 0xc16e9588, tf_ss = 0xc14bd000}) at ../../i386/i386/trap.c:426 426 (void) trap_pfault(&frame, FALSE, eva); (kgdb) up 2 #64 0xc0178d6b in biodone (bp=0xc16e9588) at ../../kern/vfs_bio.c:2637 2637 (*bp->b_iodone) (bp); (kgdb) up #65 0xc0126bb9 in dadone (periph=0xc14ca700, done_ccb=0xc1808400) at ../../cam/scsi/scsi_da.c:1246 1246 biodone(bp); (kgdb) print bp $3 = (struct buf *) 0xc16e9588 (kgdb) print *bp $4 = { b_hash = { le_next = 0x0, le_prev = 0x0 }, b_vnbufs = { tqe_next = 0x0, tqe_prev = 0x0 }, b_freelist = { tqe_next = 0x0, tqe_prev = 0x0 }, b_act = { tqe_next = 0xc16e9820, tqe_prev = 0xc14bd000 }, b_flags = 0x204, b_qindex = 0x0, b_xflags = 0x0, b_lock = { lk_interlock = { lock_data = 0x0 }, lk_flags = 0x400, lk_sharecount = 0x0, lk_waitcount = 0x0, lk_exclusivecount = 0x1, lk_prio = 0x14, lk_wmesg = 0xc0257a24 "bufwait", lk_timo = 0x0, lk_lockholder = 0x5 }, b_error = 0x0, b_bufsize = 0x2000, b_bcount = 0x2000, b_resid = 0x0, b_dev = 0xc15cd880, b_data = 0xcbdcc000 "ÀA\002", b_kvabase = 0x0, b_kvasize = 0x0, b_lblkno = 0x0, b_blkno = 0x2b08149, b_offset = 0x0, b_iodone = 0xc150f6ac , b_iodone_chain = 0x0, b_vp = 0x0, b_dirtyoff = 0x0, b_dirtyend = 0x0, b_rcred = 0xffffffff, b_wcred = 0xffffffff, b_pblkno = 0x2f07c0e, b_saveaddr = 0x0, b_driver1 = 0x0, b_driver2 = 0x0, b_caller1 = 0x0, b_caller2 = 0x0, b_pager = { pg_spc = 0x0, pg_reqpage = 0x0 }, b_cluster = { cluster_head = { tqh_first = 0x0, tqh_last = 0x0 }, cluster_entry = { tqe_next = 0x0, tqe_prev = 0x0 ---Type to continue, or q to quit--- } }, b_pages = {0x0 }, b_npages = 0x0, b_dep = { lh_first = 0x0 }, b_chain = { parent = 0x0, count = 0x0 } } (kgdb) quit matrix# ^Dexit Script done on Sun Oct 22 10:02:36 2000 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message