From owner-freebsd-stable@FreeBSD.ORG Tue Oct 28 11:58:36 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE48D16A4CE for ; Tue, 28 Oct 2003 11:58:36 -0800 (PST) Received: from grummit.biaix.org (86.Red-213-97-212.pooles.rima-tde.net [213.97.212.86]) by mx1.FreeBSD.org (Postfix) with SMTP id BA04943F3F for ; Tue, 28 Oct 2003 11:58:34 -0800 (PST) (envelope-from joan@grummit.biaix.org) Received: (qmail 38233 invoked by uid 1000); 28 Oct 2003 19:53:07 -0000 Date: Tue, 28 Oct 2003 20:53:07 +0100 From: Joan Picanyol To: freebsd-stable@freebsd.org Message-ID: <20031028195307.GA38083@grummit.biaix.org> Mail-Followup-To: freebsd-stable@freebsd.org, grog@lemis.com References: <20031028180053.GA342@grummit.biaix.org> <20031028182018.GA2465@rot13.obsecurity.org> <20031028185214.GA7743@grummit.biaix.org> <20031028194625.GA36808@grummit.biaix.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline In-Reply-To: <20031028194625.GA36808@grummit.biaix.org> User-Agent: Mutt/1.4.1i Subject: Re: reproduceable panic remounting vinum fs's in single mode X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2003 19:58:37 -0000 --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline * Joan Picanyol [20031028 20:47]: > * Joan Picanyol [20031028 19:53]: > I've followed the procedure at > http://www.vinumvm.org/vinum/how-to-debug.html, and now I have some > more symbols (look at #28, #29 and #30). Oops, attached now. qvb -- pica --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="kernel.gdb.1" Content-Transfer-Encoding: quoted-printable Script started on Tue Oct 28 20:42:36 2003 GNU gdb 4.18 (FreeBSD)=0D Copyright 1998 Free Software Foundation, Inc.=0D GDB is free software, covered by the GNU General Public License, and you ar= e=0D welcome to change it and/or distribute copies of it under certain condition= s.=0D Type "show copying" to see the conditions.=0D There is absolutely no warranty for GDB. Type "show warranty" for details.= =0D This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read cal= led at /fs/bulk/mount/FreeBSD/src/gnu/usr.bin/binutils/gdb/../../../../cont= rib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs=0D Deprecated bfd_read called at /fs/bulk/mount/FreeBSD/src/gnu/usr.bin/binuti= ls/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf=0D =0D IdlePTD at phsyical address 0x004c6000=0D initial pcb at physical address 0x00357220=0D panicstr: page fault=0D panic messages:=0D ---=0D Fatal trap 12: page fault while in kernel mode=0D fault virtual address =3D 0x2c=0D fault code =3D supervisor read, page not present=0D instruction pointer =3D 0x8:0xc017709e=0D stack pointer =3D 0x10:0xe7255d44=0D frame pointer =3D 0x10:0xe7255d44=0D code segment =3D base 0x0, limit 0xfffff, type 0x1b=0D =3D DPL 0, pres 1, def32 1, gran 1=0D processor eflags =3D interrupt enabled, resume, IOPL =3D 0=0D current process =3D 390 (umount)=0D interrupt mask =3D bio =0D trap number =3D 12=0D panic: page fault=0D =0D syncing disks... =0D =0D Fatal trap 12: page fault while in kernel mode=0D fault virtual address =3D 0x2c=0D fault code =3D supervisor read, page not present=0D instruction pointer =3D 0x8:0xc017709e=0D stack pointer =3D 0x10:0xe7255a70=0D frame pointer =3D 0x10:0xe7255a70=0D code segment =3D base 0x0, limit 0xfffff, type 0x1b=0D =3D DPL 0, pres 1, def32 1, gran 1=0D processor eflags =3D interrupt enabled, resume, IOPL =3D 0=0D current process =3D 390 (umount)=0D interrupt mask =3D bio =0D trap number =3D 12=0D panic: page fault=0D Uptime: 9m2s=0D =0D dumping to dev #da/0x30001, offset 1200524=0D dump 512 511 510 509 508 507 506 505 504 503 502 501 500 499 498 497 496 49= 5 494 493 492 491 490 489 488 487 486 485 484 483 482 481 480 479 478 477 4= 76 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 42= 0 419 418 417 416 415 414 413 412 411 410 409 408 407 406 405 404 403 402 4= 01 400 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 34= 5 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 329 328 327 3= 26 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 27= 0 269 268 267 266 265 264 263 262 261 260 259 258 257 256 255 254 253 252 2= 51 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 19= 5 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 1= 76 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 12= 0 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 1= 01 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 =0D ---=0D #0 dumpsys () at /fs/bulk/mount/FreeBSD/src/sys/kern/kern_shutdown.c:487=0D 487 if (dumping++) {=0D (kgdb) f 1=0D #1 0xc01836a0 in boot (howto=3D0x104) at /fs/bulk/mount/FreeBSD/src/sys/ke= rn/kern_shutdown.c:316=0D 316 dumpsys();=0D (kgdb) bt=0D #0 dumpsys () at /fs/bulk/mount/FreeBSD/src/sys/kern/kern_shutdown.c:487=0D #1 0xc01836a0 in boot (howto=3D0x104) at /fs/bulk/mount/FreeBSD/src/sys/ke= rn/kern_shutdown.c:316=0D #2 0xc0183aed in panic (fmt=3D0xc030552c "%s") at /fs/bulk/mount/FreeBSD/s= rc/sys/kern/kern_shutdown.c:595=0D #3 0xc02aae6c in trap_fatal (frame=3D0xe7255a30, eva=3D0x2c) at /fs/bulk/m= ount/FreeBSD/src/sys/i386/i386/trap.c:974=0D #4 0xc02aab01 in trap_pfault (frame=3D0xe7255a30, usermode=3D0x0, eva=3D0x= 2c)=0D at /fs/bulk/mount/FreeBSD/src/sys/i386/i386/trap.c:867=0D #5 0xc02aa693 in trap (frame=3D{tf_fs =3D 0x10, tf_es =3D 0x10, tf_ds =3D = 0xc2390010, tf_edi =3D 0x1, tf_esi =3D 0xc237b600, =0D tf_ebp =3D 0xe7255a70, tf_isp =3D 0xe7255a5c, tf_ebx =3D 0xc2432c20, = tf_edx =3D 0x2, tf_ecx =3D 0x7f800, tf_eax =3D 0x0, =0D tf_trapno =3D 0xc, tf_err =3D 0x0, tf_eip =3D 0xc017709e, tf_cs =3D 0= x8, tf_eflags =3D 0x10256, tf_esp =3D 0xe7255a90, =0D tf_ss =3D 0xc03f0904}) at /fs/bulk/mount/FreeBSD/src/sys/i386/i386/tr= ap.c:466=0D #6 0xc017709e in devsw (dev=3D0x0) at /fs/bulk/mount/FreeBSD/src/sys/kern/= kern_conf.c:76=0D #7 0xc03f0904 in launch_requests (rq=3D0xc247f280, reviveok=3D0x0)=0D at /fs/bulk/mount/FreeBSD/src/sys/modules/vinum/../../dev/vinum/vinumre= quest.c:433=0D #8 0xc03f05ea in vinumstart (bp=3D0xcc8f30c8, reviveok=3D0x0)=0D at /fs/bulk/mount/FreeBSD/src/sys/modules/vinum/../../dev/vinum/vinumre= quest.c:291=0D #9 0xc03f0446 in vinumstrategy (bp=3D0xcc8f30c8)=0D at /fs/bulk/mount/FreeBSD/src/sys/modules/vinum/../../dev/vinum/vinumre= quest.c:164=0D #10 0xc01be935 in spec_strategy (ap=3D0xe7255b14) at /fs/bulk/mount/FreeBSD= /src/sys/miscfs/specfs/spec_vnops.c:479=0D #11 0xc01be331 in spec_vnoperate (ap=3D0xe7255b14) at /fs/bulk/mount/FreeBS= D/src/sys/miscfs/specfs/spec_vnops.c:119=0D #12 0xc0238169 in ufs_vnoperatespec (ap=3D0xe7255b14) at /fs/bulk/mount/Fre= eBSD/src/sys/ufs/ufs/ufs_vnops.c:2394=0D #13 0xc01aad5b in bwrite (bp=3D0xcc8f30c8) at vnode_if.h:944=0D #14 0xc01b0843 in vop_stdbwrite (ap=3D0xe7255b84) at /fs/bulk/mount/FreeBSD= /src/sys/kern/vfs_default.c:344=0D #15 0xc01b0659 in vop_defaultop (ap=3D0xe7255b84) at /fs/bulk/mount/FreeBSD= /src/sys/kern/vfs_default.c:152=0D #16 0xc01be331 in spec_vnoperate (ap=3D0xe7255b84) at /fs/bulk/mount/FreeBS= D/src/sys/miscfs/specfs/spec_vnops.c:119=0D #17 0xc0238169 in ufs_vnoperatespec (ap=3D0xe7255b84) at /fs/bulk/mount/Fre= eBSD/src/sys/ufs/ufs/ufs_vnops.c:2394=0D #18 0xc01abcbf in vfs_bio_awrite (bp=3D0xcc8f30c8) at vnode_if.h:1193=0D #19 0xc02313f9 in ffs_fsync (ap=3D0xe7255bec) at /fs/bulk/mount/FreeBSD/src= /sys/ufs/ffs/ffs_vnops.c:220=0D #20 0xc022fe0c in ffs_sync (mp=3D0xc2377a00, waitfor=3D0x2, cred=3D0xc149f8= 00, p=3D0xc036cb80) at vnode_if.h:558=0D #21 0xc01b598b in sync (p=3D0xc036cb80, uap=3D0x0) at /fs/bulk/mount/FreeBS= D/src/sys/kern/vfs_syscalls.c:577=0D #22 0xc018342b in boot (howto=3D0x100) at /fs/bulk/mount/FreeBSD/src/sys/ke= rn/kern_shutdown.c:235=0D #23 0xc0183aed in panic (fmt=3D0xc030552c "%s") at /fs/bulk/mount/FreeBSD/s= rc/sys/kern/kern_shutdown.c:595=0D #24 0xc02aae6c in trap_fatal (frame=3D0xe7255d04, eva=3D0x2c) at /fs/bulk/m= ount/FreeBSD/src/sys/i386/i386/trap.c:974=0D #25 0xc02aab01 in trap_pfault (frame=3D0xe7255d04, usermode=3D0x0, eva=3D0x= 2c)=0D at /fs/bulk/mount/FreeBSD/src/sys/i386/i386/trap.c:867=0D #26 0xc02aa693 in trap (frame=3D{tf_fs =3D 0x10, tf_es =3D 0x10, tf_ds =3D = 0xc2390010, tf_edi =3D 0x1, tf_esi =3D 0xc2432000, =0D tf_ebp =3D 0xe7255d44, tf_isp =3D 0xe7255d30, tf_ebx =3D 0xc248d220, = tf_edx =3D 0x1, tf_ecx =3D 0x7f800, tf_eax =3D 0x0, =0D tf_trapno =3D 0xc, tf_err =3D 0x0, tf_eip =3D 0xc017709e, tf_cs =3D 0= x8, tf_eflags =3D 0x10256, tf_esp =3D 0xe7255d64, =0D tf_ss =3D 0xc03f0904}) at /fs/bulk/mount/FreeBSD/src/sys/i386/i386/tr= ap.c:466=0D #27 0xc017709e in devsw (dev=3D0x0) at /fs/bulk/mount/FreeBSD/src/sys/kern/= kern_conf.c:76=0D #28 0xc03f0904 in launch_requests (rq=3D0xc2428280, reviveok=3D0x0)=0D at /fs/bulk/mount/FreeBSD/src/sys/modules/vinum/../../dev/vinum/vinumre= quest.c:433=0D #29 0xc03f05ea in vinumstart (bp=3D0xcc8f0dc4, reviveok=3D0x0)=0D at /fs/bulk/mount/FreeBSD/src/sys/modules/vinum/../../dev/vinum/vinumre= quest.c:291=0D #30 0xc03f0446 in vinumstrategy (bp=3D0xcc8f0dc4)=0D at /fs/bulk/mount/FreeBSD/src/sys/modules/vinum/../../dev/vinum/vinumre= quest.c:164=0D #31 0xc01be935 in spec_strategy (ap=3D0xe7255de4) at /fs/bulk/mount/FreeBSD= /src/sys/miscfs/specfs/spec_vnops.c:479=0D #32 0xc01be331 in spec_vnoperate (ap=3D0xe7255de4) at /fs/bulk/mount/FreeBS= D/src/sys/miscfs/specfs/spec_vnops.c:119=0D #33 0xc0238169 in ufs_vnoperatespec (ap=3D0xe7255de4) at /fs/bulk/mount/Fre= eBSD/src/sys/ufs/ufs/ufs_vnops.c:2394=0D #34 0xc0237a39 in ufs_strategy (ap=3D0xe7255e28) at vnode_if.h:944=0D #35 0xc0238131 in ufs_vnoperate (ap=3D0xe7255e28) at /fs/bulk/mount/FreeBSD= /src/sys/ufs/ufs/ufs_vnops.c:2376=0D #36 0xc01aad5b in bwrite (bp=3D0xcc8f0dc4) at vnode_if.h:944=0D #37 0xc01b0843 in vop_stdbwrite (ap=3D0xe7255e8c) at /fs/bulk/mount/FreeBSD= /src/sys/kern/vfs_default.c:344=0D #38 0xc01b0659 in vop_defaultop (ap=3D0xe7255e8c) at /fs/bulk/mount/FreeBSD= /src/sys/kern/vfs_default.c:152=0D #39 0xc0238131 in ufs_vnoperate (ap=3D0xe7255e8c) at /fs/bulk/mount/FreeBSD= /src/sys/ufs/ufs/ufs_vnops.c:2376=0D #40 0xc01abcbf in vfs_bio_awrite (bp=3D0xcc8f0dc4) at vnode_if.h:1193=0D #41 0xc02313f9 in ffs_fsync (ap=3D0xe7255ef4) at /fs/bulk/mount/FreeBSD/src= /sys/ufs/ffs/ffs_vnops.c:220=0D #42 0xc022fd27 in ffs_sync (mp=3D0xc2377a00, waitfor=3D0x2, cred=3D0xc149f8= 00, p=3D0xd4ade5a0) at vnode_if.h:558=0D #43 0xc01b598b in sync (p=3D0xd4ade5a0, uap=3D0xe7255f80) at /fs/bulk/mount= /FreeBSD/src/sys/kern/vfs_syscalls.c:577=0D #44 0xc02ab0dd in syscall2 (frame=3D{tf_fs =3D 0x2f, tf_es =3D 0x2f, tf_ds = =3D 0x2f, tf_edi =3D 0xbfbffde4, tf_esi =3D 0xbfbffdf0, =0D tf_ebp =3D 0xbfbffd90, tf_isp =3D 0xe7255fd4, tf_ebx =3D 0xbfbffde4, = tf_edx =3D 0x0, tf_ecx =3D 0x0, tf_eax =3D 0x24, =0D tf_trapno =3D 0xc, tf_err =3D 0x2, tf_eip =3D 0x804ab68, tf_cs =3D 0x= 1f, tf_eflags =3D 0x292, tf_esp =3D 0xbfbffd54, =0D tf_ss =3D 0x2f}) at /fs/bulk/mount/FreeBSD/src/sys/i386/i386/trap.c:1= 175=0D #45 0xc029e195 in Xint0x80_syscall ()=0D #46 0x8048141 in ?? ()=0D (kgdb) quit=0D Script done on Tue Oct 28 20:42:56 2003 --G4iJoqBmSsgzjUCe--