Re: gvinum: adding plex and subdisks to existing volume panic

2006-01-03 Thread Ludo Koren
> Lukas Ertl <[EMAIL PROTECTED]> writes:



 > I'm afraid that doesn't help me, either, as you can see there's
 > no debugging information in there (the "??" question marks
 > should be function calls actually).

 > Apparently there's a NULL pointer deref somewhere, I'll try to
 > track it down on my own.

Is there a way how can I help you (probably the question marks -
source is from another module ) or something else ?

lk

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gvinum: adding plex and subdisks to existing volume panic

2006-01-03 Thread Lukas Ertl

On Thu, 22 Dec 2005, Ludo Koren wrote:


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 0xf, 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 ?? ()


I'm afraid that doesn't help me, either, as you can see there's no 
debugging information in there (the "??" question marks should be 
function calls actually).


Apparently there's a NULL pointer deref somewhere, I'll try to track it 
down on my own.


Thanks,
le

--
Lukas Ertl http://homepage.univie.ac.at/l.ertl/
[EMAIL PROTECTED] http://people.freebsd.org/~le/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gvinum: adding plex and subdisks to existing volume panic

2005-12-22 Thread Ludo Koren

>Unfortunately, that doesn't help me at all, since there's no debugging 
>info.  Have a look at 
>.

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
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/INTIME
ACPI APIC Table: 
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
real memory  = 1071906816 (1022 MB)
avail memory = 1042771968 (994 MB)
ioapic0: Changing APIC ID to 1
ioapic0  irqs 0-23 on motherboard
netsmb_dev: loaded
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  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:  on acpi0
acpi_throttle0:  on cpu0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
agp0:  mem 
0xffa8-0xffaf,0xf000-0xf7ff irq 16 at device 2.0 on pci0
agp0: detected 892k stolen memory
agp0: aperture size is 128M
uhci0:  port 0xe800-0xe81f irq 16 at 
device 29.0 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
uhci1:  port 0xe880-0xe89f irq 19 at 
device 29.1 on pci0
usb1:  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:  port 0xec00-0xec1f irq 18 at 
device 29.2 on pci0
usb2:  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:  at device 29.7 (no driver attached)
pcib1:  at device 30.0 on pci0
pci1:  on pcib1
ahd0:  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:  port 0xd400-0xd4ff,0xd800-0xd8ff 
mem 0xff8fe000-0xff8f irq 21 at device 1.1 on pci1
aic7902: Ultra320 Wide Channel B, SCSI Id=15, PCI 33 or 66Mhz, 512 SCBs
fxp0:  port 0xdc00-0xdc3f mem 
0xff8fb000-0xff8fbfff irq 20 at device 8.0 on pci1
miibus0:  on fxp0
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:03:47:ff:6e:9f
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  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:  at device 31.3 (no driver attached)
pci0:  at device 31.5 (no driver attached)
acpi_button0:  on acpi0
fdc0:  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:  port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
pmtimer0 on isa0
sc0:  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:  at port 0x3c0-0x3df iomem 0xa-0xb 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:  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:  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:  Fixed Direct Access SCSI-3 device 
da1: 320.000MB/s transfers (160.000

Re: gvinum: adding plex and subdisks to existing volume panic

2005-12-21 Thread Lukas Ertl

On Wed, 21 Dec 2005, Ludo Koren wrote:


(kgdb) bt
#0  0xc0618252 in doadump ()
#1  0xc06187dc in boot ()
#2  0xc0618a70 in panic ()
#3  0xc07c82bc in trap_fatal ()
#4  0xc07c8023 in trap_pfault ()
#5  0xc07c7c65 in trap ()
#6  0xc07b7bba in calltrap ()
#7  0xc28d0018 in ?? ()
#8  0xc27b0010 in ?? ()


Unfortunately, that doesn't help me at all, since there's no debugging 
info.  Have a look at 
.


thanks,
le

--
Lukas Ertl http://homepage.univie.ac.at/l.ertl/
[EMAIL PROTECTED] http://people.freebsd.org/~le/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gvinum: adding plex and subdisks to existing volume panic

2005-12-21 Thread Ludo Koren
> "Lukas Ertl" == Lukas Ertl <[EMAIL PROTECTED]> writes:

Lukas Ertl> On Wed, 21 Dec 2005, Ludo Koren wrote:
>> When I try to do: # gvinum create gvinum.conf
>> 
>> it ends up in immediate panic (page fault). The gvinum.conf
>> file:

Lukas Ertl> It would be easier to track down this problem if you
Lukas Ertl> could provide the place where the panic happens or
Lukas Ertl> even better a backtrace.

# kgdb /usr/obj/usr/src/sys/GENERIC/kernel vmcore.15 
[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".
(no debugging symbols found)...Attempt to extract a component of a value that 
is not a structure pointer.
(kgdb) 
(kgdb) 
(kgdb) bt
#0  0xc0618252 in doadump ()
#1  0xc06187dc in boot ()
#2  0xc0618a70 in panic ()
#3  0xc07c82bc in trap_fatal ()
#4  0xc07c8023 in trap_pfault ()
#5  0xc07c7c65 in trap ()
#6  0xc07b7bba in calltrap ()
#7  0xc28d0018 in ?? ()
#8  0xc27b0010 in ?? ()
#9  0xc2760010 in ?? ()
#10 0xc2765800 in ?? ()
#11 0x in ?? ()
#12 0xe4db2848 in ?? ()
#13 0xe4db282c in ?? ()
#14 0xc26a8500 in ?? ()
#15 0x0001 in ?? ()
#16 0xc08e6ed0 in runq ()
#17 0x in ?? ()
#18 0x000c in ?? ()
#19 0x in ?? ()
#20 0xc09f38c5 in ?? ()
#21 0x0008 in ?? ()
#22 0x00010286 in ?? ()
#23 0xc26a8500 in ?? ()
#24 0xc261c280 in ?? ()
#25 0xe4db2ca0 in ?? ()
#26 0xc09eb422 in ?? ()
#27 0xc26a8500 in ?? ()
#28 0xc060eaa1 in free ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) 
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: gvinum: adding plex and subdisks to existing volume panic

2005-12-21 Thread Lukas Ertl

On Wed, 21 Dec 2005, Ludo Koren wrote:


When I try to do:
# gvinum create gvinum.conf

it ends up in immediate panic (page fault). The gvinum.conf file:


It would be easier to track down this problem if you could provide the 
place where the panic happens or even better a backtrace.


thanks,
le

--
Lukas Ertl http://homepage.univie.ac.at/l.ertl/
[EMAIL PROTECTED] http://people.freebsd.org/~le/
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"