Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Dec 2005 13:07:32 +0100 (CET)
From:      Ludo Koren <lk@tempest.sk>
To:        le@FreeBSD.org
Cc:        freebsd-stable@FreeBSD.org, freebsd-geom@FreeBSD.org
Subject:   Re: gvinum: adding plex and subdisks to existing volume panic
Message-ID:  <200512221207.jBMC7WfC007322@lk.tempest.sk>
In-Reply-To: <Pine.WNT.4.64.0512212205310.3700@korben> (message from Lukas Ertl on Wed, 21 Dec 2005 22:06:25 %2B0100)
References:  <8764pi7778.fsf@lk.tempest.sk> <Pine.WNT.4.64.0512211748400.3452@korben> <87u0d25fw1.fsf@lk.tempest.sk> <Pine.WNT.4.64.0512212205310.3700@korben>

next in thread | previous in thread | raw e-mail | index | archive | help

>Unfortunately, that doesn't help me at all, since there's no debugging 
>info.  Have a look at 
><http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-kld.html>.

sorry I realized it late...

Here is the info:

Script started on Thu Dec 22 12:25:56 2005
501 gw|/var/crash>kgdb /usr/obj/usr/src/sys/INTIME/kernel.debug vmcore.17
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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-marcel-freebsd".

Unread portion of the kernel message buffer:
Copyright (c) 1992-2005 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 5.4-STABLE #0: Thu Dec 22 10:41:32 CET 2005
    root@gw.intime.sk:/usr/obj/usr/src/sys/INTIME
ACPI APIC Table: <INTEL  D845GBV >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 1.60GHz (1599.96-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf12  Stepping = 2
  Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory  = 1071906816 (1022 MB)
avail memory = 1042771968 (994 MB)
ioapic0: Changing APIC ID to 1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
netsmb_dev: loaded
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <INTEL D845GBV> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82845G (845G GMCH) SVGA controller> mem 0xffa80000-0xffafffff,0xf0000000-0xf7ffffff irq 16 at device 2.0 on pci0
agp0: detected 892k stolen memory
agp0: aperture size is 128M
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xe800-0xe81f irq 16 at device 29.0 on pci0
usb0: <Intel 82801DB (ICH4) USB controller USB-A> 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
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0xe880-0xe89f irq 19 at device 29.1 on pci0
usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0xec00-0xec1f irq 18 at device 29.2 on pci0
usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib1
ahd0: <Adaptec 39320 Ultra320 SCSI adapter> port 0xde00-0xdeff,0xd000-0xd0ff mem 0xff8fc000-0xff8fdfff irq 22 at device 1.0 on pci1
aic7902: Ultra320 Wide Channel A, SCSI Id=15, PCI 33 or 66Mhz, 512 SCBs
ahd1: <Adaptec 39320 Ultra320 SCSI adapter> port 0xd400-0xd4ff,0xd800-0xd8ff mem 0xff8fe000-0xff8fffff irq 21 at device 1.1 on pci1
aic7902: Ultra320 Wide Channel B, SCSI Id=15, PCI 33 or 66Mhz, 512 SCBs
fxp0: <Intel 82801DB (ICH4) Pro/100 VE Ethernet> port 0xdc00-0xdc3f mem 0xff8fb000-0xff8fbfff irq 20 at device 8.0 on pci1
miibus0: <MII bus> on fxp0
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:03:47:ff:6e:9f
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pci0: <multimedia, audio> at device 31.5 (no driver attached)
acpi_button0: <Sleep Button> on acpi0
fdc0: <floppy drive controller> port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3,0x3f0-0x3f1 irq 6 drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1599956116 Hz quality 800
Timecounters tick every 10.000 msec
Waiting 5 seconds for SCSI devices to settle
sa0 at ahd0 bus 0 target 10 lun 0
sa0: <HP C5683A C005> Removable Sequential Access SCSI-2 device 
sa0: 40.000MB/s transfers (20.000MHz, offset 32, 16bit)
da0 at ahd0 bus 0 target 3 lun 0
da0: <SEAGATE ST373207LW 0004> Fixed Direct Access SCSI-3 device 
da0: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da0: 70007MB (143374744 512 byte sectors: 255H 63S/T 8924C)
da1 at ahd0 bus 0 target 9 lun 0
da1: <IBM IC35L073UWDY10-0 S25F> Fixed Direct Access SCSI-3 device 
da1: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled
da1: 70007MB (143374805 512 byte sectors: 255H 63S/T 8924C)
da2 at ahd1 bus 0 target 1 lun 0
da2: <IBM IC35L018UWD210-0 S5BS> Fixed Direct Access SCSI-3 device 
da2: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da2: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
da3 at ahd1 bus 0 target 8 lun 0
da3: <IBM IC35L073UWDY10-0 S23C> Fixed Direct Access SCSI-3 device 
da3: 320.000MB/s transfers (160.000MHz, offset 127, 16bit), Tagged Queueing Enabled
da3: 70007MB (143374805 512 byte sectors: 255H 63S/T 8924C)
GEOM_VINUM: plex request failed for gvinum/plex/usr.p1[READ(offset=4096, length=512)]
GEOM_VINUM: plex request failed for gvinum/plex/usr.p1[READ(offset=4096, length=512)]
GEOM_VINUM: plex request failed for gvinum/plex/usr.p1[READ(offset=0, length=512)]
GEOM_VINUM: plex request failed for gvinum/plex/usr.p1[READ(offset=512, length=512)]
GEOM_VINUM: plex request failed for gvinum/plex/usr.p1[READ(offset=0, length=512)]
Mounting root from ufs:/dev/gvinum/root
<118>Enter full pathname of shell or RETURN for /bin/sh: 
<118># 
<118>/etc/rc.d
<118># 
<118>kernel dumps on /dev/da2s1b
<118># 
<118>/dev/gvinum/root on / (ufs, local, read-only)
<118>devfs on /dev (devfs, local)
<118># 


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x40
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc07339c9
stack pointer	        = 0x10:0xe5f9e840
frame pointer	        = 0x10:0xe5f9e848
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		= 2 (g_event)
trap number		= 12
panic: page fault
Uptime: 2m32s
Dumping 1022 MB
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496 512 528 544 560 576 592 608 624 640 656 672 688 704 720 736 752 768 784 800 816 832 848 864 880 896 912 928 944 960 976 992 1008

#0  doadump () at pcpu.h:160
160	pcpu.h: No such file or directory.
	in pcpu.h
(kgdb) add-symbol-file /usr/src/sys/modules/geom/geom_vinum/geom_vinum.ko 0xc072 a9b8
add symbol table from file "/usr/src/sys/modules/geom/geom_vinum/geom_vinum.ko" at
	.text_addr = 0xc072a9b8
(y or n) y
Reading symbols from /usr/src/sys/modules/geom/geom_vinum/geom_vinum.ko...done.
(kgdb) bt
#0  doadump () at pcpu.h:160
#1  0xc04eaf44 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:412
#2  0xc04eb1d8 in panic (fmt=0xc060fcbc "%s")
    at /usr/src/sys/kern/kern_shutdown.c:568
#3  0xc05ec2f0 in trap_fatal (frame=0xe5f9e800, eva=64)
    at /usr/src/sys/i386/i386/trap.c:822
#4  0xc05ec057 in trap_pfault (frame=0xe5f9e800, usermode=0, eva=64)
    at /usr/src/sys/i386/i386/trap.c:737
#5  0xc05ebcb9 in trap (frame=
      {tf_fs = -1040646120, tf_es = -1037893616, tf_ds = -1038024688, tf_edi = -1038012416, tf_esi = 0, tf_ebp = -436606904, tf_isp = -436606932, tf_ebx = -1038077952, tf_edx = 1, tf_ecx = -1066995504, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1066190391, tf_cs = 8, tf_eflags = 66182, tf_esp = -1038077952, tf_ss = -1038516864}) at /usr/src/sys/i386/i386/trap.c:427
#6  0xc05dc52a in calltrap () at /usr/src/sys/i386/i386/exception.s:140
#7  0xc1f90018 in ?? ()
#8  0xc2230010 in ?? ()
#9  0xc2210010 in ?? ()
#10 0xc2213000 in ?? ()
#11 0x00000000 in ?? ()
#12 0xe5f9e848 in ?? ()
#13 0xe5f9e82c in ?? ()
#14 0xc2203000 in ?? ()
---Type <return> to continue, or q <return> to quit---
#15 0x00000001 in ?? ()
#16 0xc066f0d0 in runq ()
#17 0x00000000 in ?? ()
#18 0x0000000c in ?? ()
#19 0x00000000 in ?? ()
#20 0xc07339c9 in gv_update_plex_state ()
#21 0x00000008 in ?? ()
#22 0x00010286 in ?? ()
#23 0xc2203000 in ?? ()
#24 0xc2197d80 in ?? ()
#25 0xe5f9eca0 in ?? ()
#26 0xc072b526 in gv_config ()
#27 0xc2203000 in ?? ()
#28 0x0222ee56 in ?? ()
#29 0xe5f9e86c in ?? ()
#30 0xc203b9d0 in ?? ()
#31 0xc203b030 in ?? ()
#32 0xc203b8a0 in ?? ()
#33 0xc2031c90 in ?? ()
#34 0x00000000 in ?? ()
#35 0xc1fc2600 in ?? ()
#36 0xe5f9e898 in ?? ()
#37 0xc0467ada in ahd_action (sim=0xc2203000, ccb=0x0)
---Type <return> to continue, or q <return> to quit---
    at /usr/src/sys/dev/aic7xxx/aic79xx_osm.c:552
Previous frame inner to this frame (corrupt stack?)
(kgdb) q
502 gw|/var/crash>exit

Script done on Thu Dec 22 12:26:54 2005



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512221207.jBMC7WfC007322>