From owner-freebsd-stable@FreeBSD.ORG Tue Oct 28 10:06:27 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 3663216A4CE for ; Tue, 28 Oct 2003 10:06:27 -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 64A7C43FE5 for ; Tue, 28 Oct 2003 10:06:22 -0800 (PST) (envelope-from joan@grummit.biaix.org) Received: (qmail 899 invoked by uid 1000); 28 Oct 2003 18:00:53 -0000 Date: Tue, 28 Oct 2003 19:00:53 +0100 From: Joan Picanyol To: freebsd-stable@freebsd.org Message-ID: <20031028180053.GA342@grummit.biaix.org> Mail-Followup-To: freebsd-stable@freebsd.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: 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 18:06:27 -0000 --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I can reproduce this one at my will. If I shutdown to single mode, and then do something in the lines of: mount -ura; umount -a; mount -a; mount -ura; umount -a; exit I get a couple device busy messages, ps axl only shows vinum daemon and mgetty /dev/cuaa1 (18:59:03 <~>) 0 $ uname -a FreeBSD grummit.biaix.org 4.9-RELEASE FreeBSD 4.9-RELEASE #1: Tue Oct 28 16:29:40 CET 2003 joan@grummit.biaix.org:/fs/tmp/mount/tmp/build/obj/fs/bulk/mount/FreeBSD/src/sys/GRUMMIT i386 dmesg & trace attached. I have no idea on how to get any more info, will wait for instructions. qvb -- pica --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="kernel.gdb" Content-Transfer-Encoding: quoted-printable Script started on Tue Oct 28 18:34:21 2003 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 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"...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 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 IdlePTD at phsyical address 0x004c6000 initial pcb at physical address 0x00357220 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address =3D 0x2c fault code =3D supervisor read, page not present instruction pointer =3D 0x8:0xc017709e stack pointer =3D 0x10:0xe7255d44 frame pointer =3D 0x10:0xe7255d44 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 390 (umount) interrupt mask =3D bio=20 trap number =3D 12 panic: page fault syncing disks...=20 Fatal trap 12: page fault while in kernel mode fault virtual address =3D 0x2c fault code =3D supervisor read, page not present instruction pointer =3D 0x8:0xc017709e stack pointer =3D 0x10:0xe7255a70 frame pointer =3D 0x10:0xe7255a70 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 390 (umount) interrupt mask =3D bio=20 trap number =3D 12 panic: page fault Uptime: 9m2s dumping to dev #da/0x30001, offset 1200524 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=20 --- #0 dumpsys () at /fs/bulk/mount/FreeBSD/src/sys/kern/kern_shutdown.c:487 487 if (dumping++) { (kgdb) where #0 dumpsys () at /fs/bulk/mount/FreeBSD/src/sys/kern/kern_shutdown.c:487 #1 0xc01836a0 in boot (howto=3D260) at /fs/bulk/mount/FreeBSD/src/sys/kern/kern_shutdown.c:316 #2 0xc0183aed in panic (fmt=3D0xc030552c "%s") at /fs/bulk/mount/FreeBSD/src/sys/kern/kern_shutdown.c:595 #3 0xc02aae6c in trap_fatal (frame=3D0xe7255a30, eva=3D44) at /fs/bulk/mount/FreeBSD/src/sys/i386/i386/trap.c:974 #4 0xc02aab01 in trap_pfault (frame=3D0xe7255a30, usermode=3D0, eva=3D44) at /fs/bulk/mount/FreeBSD/src/sys/i386/i386/trap.c:867 #5 0xc02aa693 in trap (frame=3D{tf_fs =3D 16, tf_es =3D 16, tf_ds =3D -103= 6451824,=20 tf_edi =3D 1, tf_esi =3D -1036536320, tf_ebp =3D -416982416,=20 tf_isp =3D -416982436, tf_ebx =3D -1035785184, tf_edx =3D 2, tf_ecx = =3D 522240,=20 tf_eax =3D 0, tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D -1072205666,= tf_cs =3D 8,=20 tf_eflags =3D 66134, tf_esp =3D -416982384, tf_ss =3D -1069610748}) at /fs/bulk/mount/FreeBSD/src/sys/i386/i386/trap.c:466 #6 0xc017709e in devsw (dev=3D0x0) at /fs/bulk/mount/FreeBSD/src/sys/kern/kern_conf.c:76 #7 0xc03f0904 in ?? () #8 0xc03f05ea in ?? () #9 0xc03f0446 in ?? () #10 0xc01be935 in spec_strategy (ap=3D0xe7255b14) at /fs/bulk/mount/FreeBSD/src/sys/miscfs/specfs/spec_vnops.c:479 #11 0xc01be331 in spec_vnoperate (ap=3D0xe7255b14) at /fs/bulk/mount/FreeBSD/src/sys/miscfs/specfs/spec_vnops.c:119 #12 0xc0238169 in ufs_vnoperatespec (ap=3D0xe7255b14) at /fs/bulk/mount/FreeBSD/src/sys/ufs/ufs/ufs_vnops.c:2394 #13 0xc01aad5b in bwrite (bp=3D0xcc8f30c8) at vnode_if.h:944 #14 0xc01b0843 in vop_stdbwrite (ap=3D0xe7255b84) at /fs/bulk/mount/FreeBSD/src/sys/kern/vfs_default.c:344 #15 0xc01b0659 in vop_defaultop (ap=3D0xe7255b84) at /fs/bulk/mount/FreeBSD/src/sys/kern/vfs_default.c:152 #16 0xc01be331 in spec_vnoperate (ap=3D0xe7255b84) at /fs/bulk/mount/FreeBSD/src/sys/miscfs/specfs/spec_vnops.c:119 #17 0xc0238169 in ufs_vnoperatespec (ap=3D0xe7255b84) at /fs/bulk/mount/FreeBSD/src/sys/ufs/ufs/ufs_vnops.c:2394 #18 0xc01abcbf in vfs_bio_awrite (bp=3D0xcc8f30c8) at vnode_if.h:1193 #19 0xc02313f9 in ffs_fsync (ap=3D0xe7255bec) at /fs/bulk/mount/FreeBSD/src/sys/ufs/ffs/ffs_vnops.c:220 #20 0xc022fe0c in ffs_sync (mp=3D0xc2377a00, waitfor=3D2, cred=3D0xc149f800= ,=20 p=3D0xc036cb80) at vnode_if.h:558 #21 0xc01b598b in sync (p=3D0xc036cb80, uap=3D0x0) at /fs/bulk/mount/FreeBSD/src/sys/kern/vfs_syscalls.c:577 #22 0xc018342b in boot (howto=3D256) at /fs/bulk/mount/FreeBSD/src/sys/kern/kern_shutdown.c:235 #23 0xc0183aed in panic (fmt=3D0xc030552c "%s") at /fs/bulk/mount/FreeBSD/src/sys/kern/kern_shutdown.c:595 #24 0xc02aae6c in trap_fatal (frame=3D0xe7255d04, eva=3D44) at /fs/bulk/mount/FreeBSD/src/sys/i386/i386/trap.c:974 #25 0xc02aab01 in trap_pfault (frame=3D0xe7255d04, usermode=3D0, eva=3D44) at /fs/bulk/mount/FreeBSD/src/sys/i386/i386/trap.c:867 #26 0xc02aa693 in trap (frame=3D{tf_fs =3D 16, tf_es =3D 16, tf_ds =3D -103= 6451824,=20 tf_edi =3D 1, tf_esi =3D -1035788288, tf_ebp =3D -416981692,=20 tf_isp =3D -416981712, tf_ebx =3D -1035415008, tf_edx =3D 1, tf_ecx = =3D 522240,=20 tf_eax =3D 0, tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D -1072205666,= tf_cs =3D 8,=20 tf_eflags =3D 66134, tf_esp =3D -416981660, tf_ss =3D -1069610748}) at /fs/bulk/mount/FreeBSD/src/sys/i386/i386/trap.c:466 #27 0xc017709e in devsw (dev=3D0x0) at /fs/bulk/mount/FreeBSD/src/sys/kern/kern_conf.c:76 #28 0xc03f0904 in ?? () #29 0xc03f05ea in ?? () #30 0xc03f0446 in ?? () #31 0xc01be935 in spec_strategy (ap=3D0xe7255de4) at /fs/bulk/mount/FreeBSD/src/sys/miscfs/specfs/spec_vnops.c:479 #32 0xc01be331 in spec_vnoperate (ap=3D0xe7255de4) at /fs/bulk/mount/FreeBSD/src/sys/miscfs/specfs/spec_vnops.c:119 #33 0xc0238169 in ufs_vnoperatespec (ap=3D0xe7255de4) at /fs/bulk/mount/FreeBSD/src/sys/ufs/ufs/ufs_vnops.c:2394 #34 0xc0237a39 in ufs_strategy (ap=3D0xe7255e28) at vnode_if.h:944 #35 0xc0238131 in ufs_vnoperate (ap=3D0xe7255e28) at /fs/bulk/mount/FreeBSD/src/syQuit (kgdb) up 26 #26 0xc02aa693 in trap (frame=3D{tf_fs =3D 16, tf_es =3D 16, tf_ds =3D -103= 6451824,=20 tf_edi =3D 1, tf_esi =3D -1035788288, tf_ebp =3D -416981692,=20 tf_isp =3D -416981712, tf_ebx =3D -1035415008, tf_edx =3D 1, tf_ecx = =3D 522240,=20 tf_eax =3D 0, tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D -1072205666,= tf_cs =3D 8,=20 tf_eflags =3D 66134, tf_esp =3D -416981660, tf_ss =3D -1069610748}) at /fs/bulk/mount/FreeBSD/src/sys/i386/i386/trap.c:466 466 (void) trap_pfault(&frame, FALSE, eva); (kgdb) frame frame->tf_ebp frame->tf_eip #0 devsw (dev=3D0x0) at /fs/bulk/mount/FreeBSD/src/sys/kern/kern_conf.c:77 77 if (dev->si_devsw) (kgdb) list 72 SYSCTL_INT(_debug, OID_AUTO, free_devt, CTLFLAG_RW, &free_devt, 0, ""); 73=09 74 struct cdevsw * 75 devsw(dev_t dev) 76 { 77 if (dev->si_devsw) 78 return (dev->si_devsw); 79 return(cdevsw[major(dev)]); 80 } 81=09 (kgdb) print dev $1 =3D 0x0 (kgdb) quit Script done on Tue Oct 28 18:36:50 2003 --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=dmesg 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-RELEASE #1: Tue Oct 28 16:29:40 CET 2003 joan@grummit.biaix.org:/fs/tmp/mount/tmp/build/obj/fs/bulk/mount/FreeBSD/src/sys/GRUMMIT Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (299.94-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x634 Stepping = 4 Features=0x80f9ff real memory = 536870912 (524288K bytes) avail memory = 517292032 (505168K bytes) Preloaded elf kernel "kernel" at 0xc04a7000. Preloaded elf module "vinum.ko" at 0xc04a709c. VESA: v2.0, 8192k memory, flags:0x1, mode table:0xc036c160 (1000040) VESA: Intel740 Super VGA netsmb_dev: loaded Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 8 entries at 0xc00fdf40 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xe0000000-0xefffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1460-0x146f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x1440-0x145f irq 9 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 intpm0: port 0x7000-0x700f irq 9 at device 7.3 on pci0 intpm0: I/O mapped 7000 intpm0: intr IRQ 9 enabled revision 0 smbus0: on intsmb0 intpm0: PM I/O mapped 8000 ahc0: port 0x1000-0x10ff mem 0xd0020000-0xd0020fff irq 11 at device 14.0 on pci0 aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs fxp0: port 0x1400-0x143f mem 0xd0000000-0xd001ffff,0xd0021000-0xd0021fff irq 9 at device 16.0 on pci0 fxp0: Ethernet address 00:02:b3:bd:b3:d1 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: