| Summary: | 4.1-R with Adaptec and Vinum crashes on periodic daily | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Roman Shterenzon <roman> |
| Component: | kern | Assignee: | Greg Lehey <grog> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.1-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Roman Shterenzon
2000-10-19 03:30:01 UTC
You don't say how vinum if configured. RAID 5 by any chance? It looks exactly like something I ran into a while back with a 29160 based system. In my casual glancing at the various "control blocks" being used it looked like outstanding requests complete after the parent data structure is freed (at least the pointers are NULL). This was all a little while ago and the details are a little sketchy. Only RAID 5 exhibited the problem. I'm running the array as RAID 0 with no problems. -- Andy Newman, Principal Software Engineer, Silverbrook Research On Fri, 20 Oct 2000, Andy Newman wrote:
> You don't say how vinum if configured. RAID 5 by any chance? It looks
> exactly like something I ran into a while back with a 29160 based
> system.
> In my casual glancing at the various "control blocks" being used it
> looked
> like outstanding requests complete after the parent data structure is
> freed
> (at least the pointers are NULL). This was all a little while ago and
> the
> details are a little sketchy. Only RAID 5 exhibited the problem. I'm
> running the array as RAID 0 with no problems.
Yes, it's running RAID-5.
But, glance at kdb session advises that could be a SCSI related problem,
rather than vinum one.
--Roman Shterenzon, UNIX System Administrator and Consultant
[ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ]
It's all like this: 10 Oct 2000 03:27:00.396050 *** vinum started *** 10 Oct 2000 03:27:00.451028 list=20 11 Oct 2000 03:27:00.448167 *** vinum started *** 11 Oct 2000 03:27:00.491222 list=20 13 Oct 2000 03:27:00.467605 *** vinum started *** 13 Oct 2000 03:27:00.612045 list=20 14 Oct 2000 03:27:00.920054 *** vinum started *** 14 Oct 2000 03:27:00.945208 list=20 15 Oct 2000 03:27:00.500731 *** vinum started *** 15 Oct 2000 03:27:00.579603 list=20 16 Oct 2000 03:27:00.993321 *** vinum started *** 16 Oct 2000 03:27:01.108604 list=20 16 Oct 2000 12:26:33.018523 *** vinum started *** 16 Oct 2000 12:26:33.026764 list=20 16 Oct 2000 13:17:12.713388 *** vinum started *** 16 Oct 2000 13:17:12.732628 list=20 17 Oct 2000 03:27:01.103576 *** vinum started *** 17 Oct 2000 03:27:01.159431 list=20 18 Oct 2000 03:27:00.940111 *** vinum started *** 18 Oct 2000 03:27:00.971216 list=20 19 Oct 2000 03:27:01.055413 *** vinum started *** 19 Oct 2000 03:27:01.092888 list=20 20 Oct 2000 03:27:00.560548 *** vinum started *** 20 Oct 2000 03:27:00.616001 list=20 21 Oct 2000 03:27:00.034316 *** vinum started *** 21 Oct 2000 03:27:00.034989 list=20 22 Oct 2000 03:27:00.085521 *** vinum started *** 22 Oct 2000 03:27:00.086109 list=20 22 Oct 2000 09:46:48.130050 *** vinum started *** 22 Oct 2000 09:46:48.133477 list=20 22 Oct 2000 09:47:07.565852 *** vinum started *** 22 Oct 2000 09:47:07.566309 list=20 Vinum list command: 3 drives: D d1 State: up=09Device /dev/da0s2e=09Avail: 0/32953 MB = (0%) D d2 State: up=09Device /dev/da1s2e=09Avail: 0/32953 MB = (0%) D d3 State: up=09Device /dev/da2s2e=09Avail: 0/32953 MB = (0%) 1 volumes: V raid5 State: up=09Plexes: 1=09Size: 64 GB 1 plexes: P raid5.p0 R5 State: up=09Subdisks: 3=09Size: 64 GB 3 subdisks: S raid5.p0.s0 State: up=09PO: 0 B Size: 32 GB S raid5.p0.s1 State: up=09PO: 512 kB Size: 32 GB S raid5.p0.s2 State: up=09PO: 1024 kB Size: 32 GB The complete (requested by Greg) kdb session: Script started on Sun Oct 22 10:00:33 2000 matrix#=09gdb -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 ar= e welcome to change it and/or distribute copies of it under certain condition= s. 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=09=3D 0x54 fault code=09=09=3D supervisor write, page not present instruction pointer=09=3D 0x8:0xc150fc67 stack pointer=09 =3D 0x10:0xc0277394 frame pointer=09 =3D 0x10:0xc02773b0 code segment=09=09=3D base rx0, limit 0xfffff, type 0x1b =09=09=09=3D DPL 0, pres 1, def32 1, gran 1 processor eflags=09=3D interrupt enabled, resume, IOPL =3D 0 current process=09=09=3D Idle interrupt mask=09=09=3D bio=20 trap number=09=09=3D 12 panic: page fault syncing disks...=20 Fatal trap 12: page fault while in kernel mode fault virtual address=09=3D 0x30 fault code=09=09=3D supervisor read, page not present instruction pointer=09=3D 0x8:0xc01e2e50 stack pointer=09 =3D 0x10:0xc02771cc frame pointer=09 =3D 0x10:0xc02771d0 code segment=09=09=3D base rx0, limit 0xfffff, type 0x1b =09=09=09=3D DPL 0, pres 1, def32 1, gran 1 processor eflags=09=3D interrupt enabled, resume, IOPL =3D 0 current process=09=09=3D Idle interrupt mask=09=09=3D bio=20 trap number=09=09=3D 12 panic: page fault Uptime: 6m22s Fatal trap 12: page fault while in kernel mode fault virtual address=09=3D 0x54 fault code=09=09=3D supervisor write, page not present instruction pointer=09=3D 0x8:0xc150fc67 stack pointer=09 =3D 0x10:0xc0276ab0 frame pointer=09 =3D 0x10:0xc0276acc code segment=09=09=3D base rx0, limit 0xfffff, type 0x1b =09=09=09=3D DPL 0, pres 1, def32 1, gran 1 processor eflags=09=3D interrupt enabled, resume, IOPL =3D 0 current process=09=09=3D Idle interrupt mask=09=09=3D bio cam=20 trap number=09=09=3D 12 panic: page fault Uptime: 6m22s Fatal trap 12: page fault while in kernel mode fault virtual address=09=3D 0x54 fault code=09=09=3D supervisor write, page not present instruction pointer=09=3D 0x8:0xc150fc67 stack pointer=09 =3D 0x10:0xc0276394 frame pointer=09 =3D 0x10:0xc02763b0 code segment=09=09=3D base rx0, limit 0xfffff, type 0x1b =09=09=09=3D DPL 0, pres 1, def32 1, gran 1 processor eflags=09=3D interrupt enabled, resume, IOPL =3D 0 current process=09=09=3D Idle interrupt mask=09=09=3D bio cam=20 trap number=09=09=3D 12 panic: page fault Uptime: 6m22s Fatal trap 12: page fault while in kernel mode fault virtual address=09=3D 0x54 fault code=09=09=3D supervisor write, page not present instruction pointer=09=3D 0x8:0xc150fc67 stack pointer=09 =3D 0x10:0xc0275c78 frame pointer=09 =3D 0x10:0xc0275c94 code segment=09=09=3D base rx0, limit 0xfffff, type 0x1b =09=09=09=3D DPL 0, pres 1, def32 1, gran 1 processor eflags=09=3D interrupt enabled, resume, IOPL =3D 0 current process=09=09=3D Idle interrupt mask=09=09=3D bio cam=20 trap number=09=09=3D 12 panic: page fault Uptime: 6m22s Fatal trap 12: page fault while in kernel mode fault virtual address=09=3D 0x54 fault code=09=09=3D supervisor write, page not present instruction pointer=09=3D 0x8:0xc150fc67 stack pointer=09 =3D 0x10:0xc027555c frame pointer=09 =3D 0x10:0xc0275578 code segment=09=09=3D base rx0, limit 0xfffff, type 0x1b =09=09=09=3D DPL 0, pres 1, def32 1, gran 1 processor eflags=09=3D interrupt enabled, resume, IOPL =3D 0 current process=09=09=3D Idle interrupt mask=09=09=3D bio cam=20 trap number=09=09=3D 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 49= 4 493 492 491 490 489 488 487 486 485 484 483 482 481 480 479 478 477 476 4= 75 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 41= 9 418 417 416 415 414 413 412 411 410 409 408 407 406 405 404 403 402 401 4= 00 399 398 397 396 395 394 393 392 391 390 389 388 387 386 385 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 34= 4 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 326 3= 25 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 26= 9 268 267 266 265 264 263 262 261 260 259 258 257 256 255 254 253 252 251 2= 50 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 19= 4 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 1= 75 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 11= 9 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 1= 00 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=20 --- #0 boot (howto=3D260) at ../../kern/kern_shutdown.c:302 302=09=09=09dumppcb.pcb_cr3 =3D rcr3(); (kgdb) f 1 #1 0xc0153d38 in poweroff_wait (junk=3D0xc026f22f, howto=3D0x0) at ../../k= ern/kern_shutdown.c:552 552=09=09boot(bootopt); (kgdb) bt #0 boot (howto=3D0x104) at ../../kern/kern_shutdown.c:302 #1 0xc0153d38 in poweroff_wait (junk=3D0xc026f22f, howto=3D0x0) at ../../k= ern/kern_shutdown.c:552 #2 0xc0236d35 in trap_fatal (frame=3D0xc027551c, eva=3D0x54) at ../../i386= /i386/trap.c:927 #3 0xc0236a0d in trap_pfault (frame=3D0xc027551c, usermode=3D0x0, eva=3D0x= 54) at ../../i386/i386/trap.c:820 #4 0xc023660b in trap (frame=3D{tf_fs =3D 0xc0270010, tf_es =3D 0xc0150010= , tf_ds =3D 0x6c0010, tf_edi =3D 0xc16e6420,=20 tf_esi =3D 0xc16e6400, tf_ebp =3D 0xc0275578, tf_isp =3D 0xc0275548, = tf_ebx =3D 0xc208e040, tf_edx =3D 0x0,=20 tf_ecx =3D 0x56e0001, tf_eax =3D 0xff9373bf, tf_trapno =3D 0xc, tf_er= r =3D 0x2, tf_eip =3D 0xc150fc67, tf_cs =3D 0x8,=20 tf_eflags =3D 0x10246, tf_esp =3D 0xc16e6420, tf_ss =3D 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/v= inum/vinuminterrupt.c:199 #6 0xc0178d6b in biodone (bp=3D0xc16e6420) at ../../kern/vfs_bio.c:2637 #7 0xc0126bb9 in dadone (periph=3D0xc14ca700, done_ccb=3D0xc183ac00) at ..= /../cam/scsi/scsi_da.c:1246 #8 0xc0122aff in camisr (queue=3D0xc0298690) 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=3D0xc027590c) at ../../cam/c= am_xpt.c:3389 #11 0xc0127081 in dashutdown (arg=3D0x0, howto=3D0x104) at ../../cam/scsi/s= csi_da.c:1538 #12 0xc0153984 in boot (howto=3D0x104) at ../../kern/kern_shutdown.c:297 #13 0xc0153d38 in poweroff_wait (junk=3D0xc026f22f, howto=3D0x0) at ../../k= ern/kern_shutdown.c:552 #14 0xc0236d35 in trap_fatal (frame=3D0xc0275c38, eva=3D0x54) at ../../i386= /i386/trap.c:927 #15 0xc0236a0d in trap_pfault (frame=3D0xc0275c38, usermode=3D0x0, eva=3D0x= 54) at ../../i386/i386/trap.c:820 #16 0xc023660b in trap (frame=3D{tf_fs =3D 0x10, tf_es =3D 0xc0150010, tf_d= s =3D 0x6c0010, tf_edi =3D 0xc16e7820,=20 tf_esi =3D 0xc16e7800, tf_ebp =3D 0xc0275c94, tf_isp =3D 0xc0275c64, = tf_ebx =3D 0xc208e100, tf_edx =3D 0x0,=20 tf_ecx =3D 0x56b0001, tf_eax =3D 0xff9373bf, tf_trapno =3D 0xc, tf_er= r =3D 0x2, tf_eip =3D 0xc150fc67, tf_cs =3D 0x8,=20 tf_eflags =3D 0x10246, tf_esp =3D 0xc16e7820, tf_ss =3D 0xc14bd000}) = at ../../i386/i386/trap.c:426 #17 0xc150fc67 in complete_rqe () at /usr/src/sys/modules/vinum/../../dev/v= inum/vinuminterrupt.c:199 #18 0xc0178d6b in biodone (bp=3D0xc16e7820) at ../../kern/vfs_bio.c:2637 #19 0xc0126bb9 in dadone (periph=3D0xc14ca700, done_ccb=3D0xc14dc000) at ..= /../cam/scsi/scsi_da.c:1246 #20 0xc0122aff in camisr (queue=3D0xc0298690) 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=3D0xc0276028) at ../../cam/c= am_xpt.c:3389 #23 0xc0127081 in dashutdown (arg=3D0x0, howto=3D0x104) at ../../cam/scsi/s= csi_da.c:1538 #24 0xc0153984 in boot (howto=3D0x104) at ../../kern/kern_shutdown.c:297 #25 0xc0153d38 in poweroff_wait (junk=3D0xc026f22f, howto=3D0x0) at ../../k= ern/kern_shutdown.c:552 #26 0xc0236d35 in trap_fatal (frame=3D0xc0276354, eva=3D0x54) at ../../i386= /i386/trap.c:927 #27 0xc0236a0d in trap_pfault (frame=3D0xc0276354, usermode=3D0x0, eva=3D0x= 54) at ../../i386/i386/trap.c:820 #28 0xc023660b in trap (frame=3D{tf_fs =3D 0xc0270010, tf_es =3D 0xc0150010= , tf_ds =3D 0x6c0010, tf_edi =3D 0xc16e8c20,=20 tf_esi =3D 0xc16e8c00, tf_ebp =3D 0xc02763b0, tf_isp =3D 0xc0276380, = tf_ebx =3D 0xc208e1c0, tf_edx =3D 0x0,=20 tf_ecx =3D 0x5680001, tf_eax =3D 0xff9373bf, tf_trapno =3D 0xc, tf_er= r =3D 0x2, tf_eip =3D 0xc150fc67, tf_cs =3D 0x8,=20 tf_eflags =3D 0x10246, tf_esp =3D 0xc16e8c20, tf_ss =3D 0xc14bd000}) = at ../../i386/i386/trap.c:426 #29 0xc150fc67 in complete_rqe () at /usr/src/sys/modules/vinum/../../dev/v= inum/vinuminterrupt.c:199 #30 0xc0178d6b in biodone (bp=3D0xc16e8c20) at ../../kern/vfs_bio.c:2637 #31 0xc0126bb9 in dadone (periph=3D0xc14ca700, done_ccb=3D0xc1835800) at ..= /../cam/scsi/scsi_da.c:1246 #32 0xc0122aff in camisr (queue=3D0xc0298690) 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=3D0xc0276744) at ../../cam/c= am_xpt.c:3389 #35 0xc0127081 in dashutdown (arg=3D0x0, howto=3D0x104) at ../../cam/scsi/s= csi_da.c:1538 #36 0xc0153984 in boot (howto=3D0x104) at ../../kern/kern_shutdown.c:297 #37 0xc0153d38 in poweroff_wait (junk=3D0xc026f22f, howto=3D0x0) at ../../k= ern/kern_shutdown.c:552 #38 0xc0236d35 in trap_fatal (frame=3D0xc0276a70, eva=3D0x54) at ../../i386= /i386/trap.c:927 #39 0xc0236a0d in trap_pfault (frame=3D0xc0276a70, usermode=3D0x0, eva=3D0x= 54) at ../../i386/i386/trap.c:820 #40 0xc023660b in trap (frame=3D{tf_fs =3D 0xc0270010, tf_es =3D 0xc0150010= , tf_ds =3D 0x6c0010, tf_edi =3D 0xc16e8020,=20 tf_esi =3D 0xc16e8000, tf_ebp =3D 0xc0276acc, tf_isp =3D 0xc0276a9c, = tf_ebx =3D 0xc208e280, tf_edx =3D 0x0,=20 tf_ecx =3D 0x5650001, tf_eax =3D 0xff9373bf, tf_trapno =3D 0xc, tf_er= r =3D 0x2, tf_eip =3D 0xc150fc67, tf_cs =3D 0x8,=20 tf_eflags =3D 0x10246, tf_esp =3D 0xc16e8020, tf_ss =3D 0xc14bd000}) = at ../../i386/i386/trap.c:426 #41 0xc150fc67 in complete_rqe () at /usr/src/sys/modules/vinum/../../dev/v= inum/vinuminterrupt.c:199 #42 0xc0178d6b in biodone (bp=3D0xc16e8020) at ../../kern/vfs_bio.c:2637 #43 0xc0126bb9 in dadone (periph=3D0xc14ca700, done_ccb=3D0xc1658c00) at ..= /../cam/scsi/scsi_da.c:1246 #44 0xc0122aff in camisr (queue=3D0xc0298690) 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=3D0xc0276e60) at ../../cam/c= am_xpt.c:3389 #47 0xc0127081 in dashutdown (arg=3D0x0, howto=3D0x104) at ../../cam/scsi/s= csi_da.c:1538 #48 0xc0153984 in boot (howto=3D0x104) at ../../kern/kern_shutdown.c:297 #49 0xc0153d38 in poweroff_wait (junk=3D0xc026f22f, howto=3D0x0) at ../../k= ern/kern_shutdown.c:552 #50 0xc0236d35 in trap_fatal (frame=3D0xc027718c, eva=3D0x30) at ../../i386= /i386/trap.c:927 #51 0xc0236a0d in trap_pfault (frame=3D0xc027718c, usermode=3D0x0, eva=3D0x= 30) at ../../i386/i386/trap.c:820 #52 0xc023660b in trap (frame=3D{tf_fs =3D 0x680010, tf_es =3D 0x680010, tf= _ds =3D 0xc0140010, tf_edi =3D 0x0,=20 tf_esi =3D 0xc02af7e0, tf_ebp =3D 0xc02771d0, tf_isp =3D 0xc02771b8, = tf_ebx =3D 0xc028959c, tf_edx =3D 0x688440,=20 tf_ecx =3D 0x3, tf_eax =3D 0x0, tf_trapno =3D 0xc, tf_err =3D 0x0, tf= _eip =3D 0xc01e2e50, tf_cs =3D 0x8,=20 ---Type <return> to continue, or q <return> to quit--- tf_eflags =3D 0x10202, tf_esp =3D 0x0, tf_ss =3D 0xc02771ec}) at ../.= =2E/i386/i386/trap.c:426 #53 0xc01e2e50 in acquire_lock (lk=3D0xc028959c) at ../../ufs/ffs/ffs_softd= ep.c:265 #54 0xc01e7012 in softdep_fsync_mountdev (vp=3D0xd41c0000) at ../../ufs/ffs= /ffs_softdep.c:3788 #55 0xc01eb04a in ffs_fsync (ap=3D0xc0277244) at ../../ufs/ffs/ffs_vnops.c:= 134 #56 0xc01e9d72 in ffs_sync (mp=3D0xc14cc000, waitfor=3D0x2, cred=3D0xc10c06= 80, p=3D0xc02af7e0) at vnode_if.h:537 #57 0xc018092f in sync (p=3D0xc02af7e0, uap=3D0x0) at ../../kern/vfs_syscal= ls.c:544 #58 0xc0153787 in boot (howto=3D0x100) at ../../kern/kern_shutdown.c:224 #59 0xc0153d38 in poweroff_wait (junk=3D0xc026f22f, howto=3D0x0) at ../../k= ern/kern_shutdown.c:552 #60 0xc0236d35 in trap_fatal (frame=3D0xc0277354, eva=3D0x54) at ../../i386= /i386/trap.c:927 #61 0xc0236a0d in trap_pfault (frame=3D0xc0277354, usermode=3D0x0, eva=3D0x= 54) at ../../i386/i386/trap.c:820 #62 0xc023660b in trap (frame=3D{tf_fs =3D 0xc0270010, tf_es =3D 0xc0150010= , tf_ds =3D 0x680010, tf_edi =3D 0xc16e9588,=20 tf_esi =3D 0xc16e9400, tf_ebp =3D 0xc02773b0, tf_isp =3D 0xc0277380, = tf_ebx =3D 0xc208e340, tf_edx =3D 0x0,=20 tf_ecx =3D 0x5610001, tf_eax =3D 0xff9773bf, tf_trapno =3D 0xc, tf_er= r =3D 0x2, tf_eip =3D 0xc150fc67, tf_cs =3D 0x8,=20 tf_eflags =3D 0x10246, tf_esp =3D 0xc16e9588, tf_ss =3D 0xc14bd000}) = at ../../i386/i386/trap.c:426 #63 0xc150fc67 in complete_rqe () at /usr/src/sys/modules/vinum/../../dev/v= inum/vinuminterrupt.c:199 #64 0xc0178d6b in biodone (bp=3D0xc16e9588) at ../../kern/vfs_bio.c:2637 #65 0xc0126bb9 in dadone (periph=3D0xc14ca700, done_ccb=3D0xc1808400) at ..= /../cam/scsi/scsi_da.c:1246 #66 0xc0122aff in camisr (queue=3D0xc0298690) 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=3D0xc16e9588) at ../../kern/vfs_bio.c:2637 2637=09=09=09(*bp->b_iodone) (bp); (kgdb) print bp $1 =3D (struct buf *) 0xc16e9588 (kgdb) print *bp->b_iodone $2 =3D {void ()} 0xc150f6ac <complete_rqe> (kgdb) down #63 0xc150fc67 in complete_rqe () at /usr/src/sys/modules/vinum/../../dev/v= inum/vinuminterrupt.c:199 199=09} (kgdb) list 194=09=09=09VOL[rq->volplex.volno].active--;=09 /* another request finis= hed */ 195=09=09 biodone(ubp);=09=09=09=09 /* top level buffer completed */ 196=09=09 freerq(rq);=09=09=09=09=09 /* return the request storage */ 197=09=09} 198=09 } 199=09} 200=09 201=09/* Free a request block and anything hanging off it */ 202=09void 203=09freerq(struct request *rq) (kgdb) down #62 0xc023660b in trap (frame=3D{tf_fs =3D 0xc0270010, tf_es =3D 0xc0150010= , tf_ds =3D 0x680010, tf_edi =3D 0xc16e9588,=20 tf_esi =3D 0xc16e9400, tf_ebp =3D 0xc02773b0, tf_isp =3D 0xc0277380, = tf_ebx =3D 0xc208e340, tf_edx =3D 0x0,=20 tf_ecx =3D 0x5610001, tf_eax =3D 0xff9773bf, tf_trapno =3D 0xc, tf_er= r =3D 0x2, tf_eip =3D 0xc150fc67, tf_cs =3D 0x8,=20 tf_eflags =3D 0x10246, tf_esp =3D 0xc16e9588, tf_ss =3D 0xc14bd000}) = at ../../i386/i386/trap.c:426 426=09=09=09=09(void) trap_pfault(&frame, FALSE, eva); (kgdb) up 2 #64 0xc0178d6b in biodone (bp=3D0xc16e9588) at ../../kern/vfs_bio.c:2637 2637=09=09=09(*bp->b_iodone) (bp); (kgdb) up #65 0xc0126bb9 in dadone (periph=3D0xc14ca700, done_ccb=3D0xc1808400) at ..= /../cam/scsi/scsi_da.c:1246 1246=09=09=09biodone(bp); (kgdb) print bp $3 =3D (struct buf *) 0xc16e9588 (kgdb) print *bp $4 =3D { b_hash =3D { le_next =3D 0x0,=20 le_prev =3D 0x0 },=20 b_vnbufs =3D { tqe_next =3D 0x0,=20 tqe_prev =3D 0x0 },=20 b_freelist =3D { tqe_next =3D 0x0,=20 tqe_prev =3D 0x0 },=20 b_act =3D { tqe_next =3D 0xc16e9820,=20 tqe_prev =3D 0xc14bd000 },=20 b_flags =3D 0x204,=20 b_qindex =3D 0x0,=20 b_xflags =3D 0x0,=20 b_lock =3D { lk_interlock =3D { lock_data =3D 0x0 },=20 lk_flags =3D 0x400,=20 lk_sharecount =3D 0x0,=20 lk_waitcount =3D 0x0,=20 lk_exclusivecount =3D 0x1,=20 lk_prio =3D 0x14,=20 lk_wmesg =3D 0xc0257a24 "bufwait",=20 lk_timo =3D 0x0,=20 lk_lockholder =3D 0x5 },=20 b_error =3D 0x0,=20 b_bufsize =3D 0x2000,=20 b_bcount =3D 0x2000,=20 b_resid =3D 0x0,=20 b_dev =3D 0xc15cd880,=20 b_data =3D 0xcbdcc000 "=C0A\002",=20 b_kvabase =3D 0x0,=20 b_kvasize =3D 0x0,=20 b_lblkno =3D 0x0,=20 b_blkno =3D 0x2b08149,=20 b_offset =3D 0x0,=20 b_iodone =3D 0xc150f6ac <complete_rqe>,=20 b_iodone_chain =3D 0x0,=20 b_vp =3D 0x0,=20 b_dirtyoff =3D 0x0,=20 b_dirtyend =3D 0x0,=20 b_rcred =3D 0xffffffff,=20 b_wcred =3D 0xffffffff,=20 b_pblkno =3D 0x2f07c0e,=20 b_saveaddr =3D 0x0,=20 b_driver1 =3D 0x0,=20 b_driver2 =3D 0x0,=20 b_caller1 =3D 0x0,=20 b_caller2 =3D 0x0,=20 b_pager =3D { pg_spc =3D 0x0,=20 pg_reqpage =3D 0x0 },=20 b_cluster =3D { cluster_head =3D { tqh_first =3D 0x0,=20 tqh_last =3D 0x0 },=20 cluster_entry =3D { tqe_next =3D 0x0,=20 tqe_prev =3D 0x0 ---Type <return> to continue, or q <return> to quit--- } },=20 b_pages =3D {0x0 <repeats 32 times>},=20 b_npages =3D 0x0,=20 b_dep =3D { lh_first =3D 0x0 },=20 b_chain =3D { parent =3D 0x0,=20 count =3D 0x0 } } (kgdb) quit matrix#=09^D=08=08exit Script done on Sun Oct 22 10:02:36 2000 --Roman Shterenzon, UNIX System Administrator and Consultant [ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ] 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 rx0, 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 rx0, 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 rx0, 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 rx0, 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 rx0, 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 rx0, 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 <return> to continue, or q <return> 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 <complete_rqe> (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 <complete_rqe>, 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 <return> to continue, or q <return> to quit--- } }, b_pages = {0x0 <repeats 32 times>}, 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 When I had this problem and had a (very) brief debug session the panic was occurring on a dereference of the parent pointer in the buffer. Are there assumptions about completion ordering? (I didn't read the vinum code so excuse me if this is a stupid question). Or is it just an artifact odd SCSI interaction? -- Andy Newman, Principal Software Engineer, Silverbrook Research I took another dump today, it crashed in the same place: #63 0xc150fc67 in complete_rqe () at /usr/src/sys/modules/vinum/../../dev/vinum/vinuminterrupt.c:199 #64 0xc0178d6b in biodone (bp=0xc1caf820) at ../../kern/vfs_bio.c:2637 #65 0xc0126bb9 in dadone (periph=0xc14ca700, done_ccb=0xc184c800) at ../../cam/scsi/scsi_da.c:1246 --Roman Shterenzon, UNIX System Administrator and Consultant [ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ] Responsible Changed From-To: freebsd-bugs->grog grog is Mr. Vinum. Hi, See also PR kern/21148 I ran into very similar problems. I could track the crash in periodic daily to the /etc/security script and the find statement within, checking for files with setuid bit set. I could crash the machine reproducable, just by calling find /the/vinum/fs/mountpoint It, too, happened as soon as there has been a bit of data on the fs (~ 70 GB). Best regards, Daniel -- IRCnet: Mr-Spock - Soon I will be free, then hungry. - *Daniel Lang * dl@leo.org * +49 89 289 25735 * http://www.leo.org/~dl/* On Fri, 10 Nov 2000, Daniel Lang wrote: ..snip.. > I could crash the machine reproducable, just by calling > find /the/vinum/fs/mountpoint Please, contact grog@lemis.com with some crash analysis http://www.vinumvm.org/vinum/how-to-debug.html Unfortunately I used those disks for raid-1 setup, so I cannot post any additional information. So, if Greg will need some additional information you will be able to supply it. Any ideas when this thing began? Our server worked flawlessly for one month, then the problems began. I suspect that it had something to do with some fs fill watermark. What scsi (if any) adapters do you have? I had one guy (and me) look at the stack trace and it looks like the stack was smashed. At least the man page's BUGS section should state that RAID-5 is not stable yet. --Roman Shterenzon, UNIX System Administrator and Consultant [ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ] State Changed From-To: open->closed PR does not contain requested information, but contains so much extraneous and mutilated matter that it appears unsalvageable. |