reproduceable panic remounting vinum fs's in single mode

Joan Picanyol lists-freebsd-stable at biaix.org
Tue Oct 28 10:06:27 PST 2003


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 at 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
-------------- next part --------------
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 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 /fs/bulk/mount/FreeBSD/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs
Deprecated bfd_read called at /fs/bulk/mount/FreeBSD/src/gnu/usr.bin/binutils/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	= 0x2c
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc017709e
stack pointer	        = 0x10:0xe7255d44
frame pointer	        = 0x10:0xe7255d44
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		= 390 (umount)
interrupt mask		= bio 
trap number		= 12
panic: page fault

syncing disks... 

Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x2c
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc017709e
stack pointer	        = 0x10:0xe7255a70
frame pointer	        = 0x10:0xe7255a70
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		= 390 (umount)
interrupt mask		= bio 
trap number		= 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 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 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 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 265 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 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 7 6 5 4 3 2 1 
---
#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=260)
    at /fs/bulk/mount/FreeBSD/src/sys/kern/kern_shutdown.c:316
#2  0xc0183aed in panic (fmt=0xc030552c "%s")
    at /fs/bulk/mount/FreeBSD/src/sys/kern/kern_shutdown.c:595
#3  0xc02aae6c in trap_fatal (frame=0xe7255a30, eva=44)
    at /fs/bulk/mount/FreeBSD/src/sys/i386/i386/trap.c:974
#4  0xc02aab01 in trap_pfault (frame=0xe7255a30, usermode=0, eva=44)
    at /fs/bulk/mount/FreeBSD/src/sys/i386/i386/trap.c:867
#5  0xc02aa693 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = -1036451824, 
      tf_edi = 1, tf_esi = -1036536320, tf_ebp = -416982416, 
      tf_isp = -416982436, tf_ebx = -1035785184, tf_edx = 2, tf_ecx = 522240, 
      tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1072205666, tf_cs = 8, 
      tf_eflags = 66134, tf_esp = -416982384, tf_ss = -1069610748})
    at /fs/bulk/mount/FreeBSD/src/sys/i386/i386/trap.c:466
#6  0xc017709e in devsw (dev=0x0)
    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=0xe7255b14)
    at /fs/bulk/mount/FreeBSD/src/sys/miscfs/specfs/spec_vnops.c:479
#11 0xc01be331 in spec_vnoperate (ap=0xe7255b14)
    at /fs/bulk/mount/FreeBSD/src/sys/miscfs/specfs/spec_vnops.c:119
#12 0xc0238169 in ufs_vnoperatespec (ap=0xe7255b14)
    at /fs/bulk/mount/FreeBSD/src/sys/ufs/ufs/ufs_vnops.c:2394
#13 0xc01aad5b in bwrite (bp=0xcc8f30c8) at vnode_if.h:944
#14 0xc01b0843 in vop_stdbwrite (ap=0xe7255b84)
    at /fs/bulk/mount/FreeBSD/src/sys/kern/vfs_default.c:344
#15 0xc01b0659 in vop_defaultop (ap=0xe7255b84)
    at /fs/bulk/mount/FreeBSD/src/sys/kern/vfs_default.c:152
#16 0xc01be331 in spec_vnoperate (ap=0xe7255b84)
    at /fs/bulk/mount/FreeBSD/src/sys/miscfs/specfs/spec_vnops.c:119
#17 0xc0238169 in ufs_vnoperatespec (ap=0xe7255b84)
    at /fs/bulk/mount/FreeBSD/src/sys/ufs/ufs/ufs_vnops.c:2394
#18 0xc01abcbf in vfs_bio_awrite (bp=0xcc8f30c8) at vnode_if.h:1193
#19 0xc02313f9 in ffs_fsync (ap=0xe7255bec)
    at /fs/bulk/mount/FreeBSD/src/sys/ufs/ffs/ffs_vnops.c:220
#20 0xc022fe0c in ffs_sync (mp=0xc2377a00, waitfor=2, cred=0xc149f800, 
    p=0xc036cb80) at vnode_if.h:558
#21 0xc01b598b in sync (p=0xc036cb80, uap=0x0)
    at /fs/bulk/mount/FreeBSD/src/sys/kern/vfs_syscalls.c:577
#22 0xc018342b in boot (howto=256)
    at /fs/bulk/mount/FreeBSD/src/sys/kern/kern_shutdown.c:235
#23 0xc0183aed in panic (fmt=0xc030552c "%s")
    at /fs/bulk/mount/FreeBSD/src/sys/kern/kern_shutdown.c:595
#24 0xc02aae6c in trap_fatal (frame=0xe7255d04, eva=44)
    at /fs/bulk/mount/FreeBSD/src/sys/i386/i386/trap.c:974
#25 0xc02aab01 in trap_pfault (frame=0xe7255d04, usermode=0, eva=44)
    at /fs/bulk/mount/FreeBSD/src/sys/i386/i386/trap.c:867
#26 0xc02aa693 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = -1036451824, 
      tf_edi = 1, tf_esi = -1035788288, tf_ebp = -416981692, 
      tf_isp = -416981712, tf_ebx = -1035415008, tf_edx = 1, tf_ecx = 522240, 
      tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1072205666, tf_cs = 8, 
      tf_eflags = 66134, tf_esp = -416981660, tf_ss = -1069610748})
    at /fs/bulk/mount/FreeBSD/src/sys/i386/i386/trap.c:466
#27 0xc017709e in devsw (dev=0x0)
    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=0xe7255de4)
    at /fs/bulk/mount/FreeBSD/src/sys/miscfs/specfs/spec_vnops.c:479
#32 0xc01be331 in spec_vnoperate (ap=0xe7255de4)
    at /fs/bulk/mount/FreeBSD/src/sys/miscfs/specfs/spec_vnops.c:119
#33 0xc0238169 in ufs_vnoperatespec (ap=0xe7255de4)
    at /fs/bulk/mount/FreeBSD/src/sys/ufs/ufs/ufs_vnops.c:2394
#34 0xc0237a39 in ufs_strategy (ap=0xe7255e28) at vnode_if.h:944
#35 0xc0238131 in ufs_vnoperate (ap=0xe7255e28)
 at /fs/bulk/mount/FreeBSD/src/syQuit
(kgdb) up 26
#26 0xc02aa693 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = -1036451824, 
      tf_edi = 1, tf_esi = -1035788288, tf_ebp = -416981692, 
      tf_isp = -416981712, tf_ebx = -1035415008, tf_edx = 1, tf_ecx = 522240, 
      tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1072205666, tf_cs = 8, 
      tf_eflags = 66134, tf_esp = -416981660, tf_ss = -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=0x0) 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	
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	
(kgdb) print dev
$1 = 0x0
(kgdb) quit

Script done on Tue Oct 28 18:36:50 2003
-------------- next part --------------
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 at 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX>
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: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443LX (440 LX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82443LX (440 LX) host to PCI bridge> mem 0xe0000000-0xefffffff at device 0.0 on pci0
pcib1: <Intel 82443LX (440 LX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <Intel i740 AGP SVGA controller> at 0.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x1460-0x146f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1440-0x145f irq 9 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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: <Intel 82371AB Power management controller> port 0x7000-0x700f irq 9 at device 7.3 on pci0
intpm0: I/O mapped 7000
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
intpm0: PM I/O mapped 8000 
ahc0: <Adaptec 2940 Ultra2 SCSI adapter> 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: <Intel 82550 Pro/100 Ethernet> 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: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0: <Option ROMs> at iomem 0xc8000-0xcd7ff,0xcd800-0xcefff,0xe4000-0xeffff on isa0
pmtimer0 on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <24 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
pcm0: <Yamaha OPL-SAx> at port 0x220-0x22f,0x530-0x537,0x388-0x38f,0x330-0x331,0x370-0x371 irq 5 drq 0,1 on isa0
unknown: <PNP0c01> can't assign resources
unknown: <PNP0000> can't assign resources
unknown: <PNP0303> can't assign resources
unknown: <PNP0c02> can't assign resources
unknown: <PNP0f13> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0501> can't assign resources
unknown: <PNP0700> can't assign resources
unknown: <PNP0401> can't assign resources
ad0: DMA limited to UDMA33, non-ATA66 cable or device
ad0: 38166MB <ST340810A> [77545/16/63] at ata0-master UDMA33
ad2: 38166MB <ST340810A> [77545/16/63] at ata1-master UDMA33
afd0: 239MB <IOMEGA ZIP 250 ATAPI> [239/64/32] at ata1-slave PIO3
Waiting 3 seconds for SCSI devices to settle
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST318438LW 0003> Fixed Direct Access SCSI-3 device 
da0: 80.000MB/s transfers (40.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da0: 19001MB (38914049 512 byte sectors: 255H 63S/T 2422C)
Mounting root from ufs:/dev/da1s1a
cd1 at ata0 bus 0 target 1 lun 0
cd1: <SAMSUNG CD-ROM SCR-3231 S101> Removable CD-ROM SCSI-0 device 
cd1: 16.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present
da2 at ata1 bus 0 target 1 lun 0
da2: <IOMEGA ZIP 250 51.G> Removable Direct Access SCSI-0 device 
da2: 11.000MB/s transfers
da2: Attempt to query device size failed: NOT READY, Medium not present
da1 at ahc0 bus 0 target 6 lun 0
da1: <IBM DNES-309170W SA30> Fixed Direct Access SCSI-3 device 
da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da1: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C)
cd0 at ahc0 bus 0 target 2 lun 0
cd0: <YAMAHA CRW2100S 1.0G> Removable CD-ROM SCSI-2 device 
cd0: 20.000MB/s transfers (20.000MHz, offset 7)
cd0: cd present [584896 x 512 byte records]


More information about the freebsd-stable mailing list