On 11/10/05, Jens Holmqvist <zparta@hispan.se>
wrote:>
> hello i got a problem with my 6.0 GENERIC kernel
> i have done a kgdb on the dumps it gave out here is the output
>
> root@hispan.se>kgdb kernel.debug /usr/local/var/crash/vmcore.1
> [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:
> instruction pointer = 0x20:0xc08badd7
> stack pointer = 0x28:0xd4496cc8
> frame pointer = 0x28:0xd4496ccc
> code segment = base 0x0, limit 0xfffff, type 0x1b
> = DPL 0, pres 1, def32 1, gran 1
> processor eflags = interrupt enabled, IOPL = 0
> current process = 30 (irq19: em0)
> trap number = 30
> panic: unknown/reserved trap
> Uptime: 46m5s
> Dumping 511 MB (2 chunks)
> chunk 0: 1MB (160 pages) ... ok
> chunk 1: 511MB (130800 pages) 495 479 463 447 431 415 399 383 367
> 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95
> 79 63 47 31 15
>
> #0 doadump () at pcpu.h:165
> 165 __asm __volatile("movl %%fs:0,%0" : "=r" (td));
> (kgdb)
>
> hope this helps you help me
>
> !DSPAM:437315ac6516536821444!
>
>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to
"freebsd-stable-unsubscribe@freebsd.org"
i forgot to do a backtrace so here is a new kgdb output
root@hispan.se>kgdb kernel.debug /usr/local/var/crash/vmcore.2
[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:
instruction pointer = 0x20:0xc08badd7
stack pointer = 0x28:0xd4496cc8
frame pointer = 0x28:0xd4496ccc
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, IOPL = 0
current process = 30 (irq19: em0)
trap number = 30
panic: unknown/reserved trap
Uptime: 56m17s
Dumping 511 MB (2 chunks)
chunk 0: 1MB (160 pages) ... ok
chunk 1: 511MB (130800 pages) 495 479 463 447 431 415 399 383 367 351 335
319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15
#0 doadump () at pcpu.h:165
165 __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) quit
root@hispan.se>kgdb kernel.debug /usr/local/var/crash/vmcore.2
[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:
instruction pointer = 0x20:0xc08badd7
stack pointer = 0x28:0xd4496cc8
frame pointer = 0x28:0xd4496ccc
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, IOPL = 0
current process = 30 (irq19: em0)
trap number = 30
panic: unknown/reserved trap
Uptime: 56m17s
Dumping 511 MB (2 chunks)
chunk 0: 1MB (160 pages) ... ok
chunk 1: 511MB (130800 pages) 495 479 463 447 431 415 399 383 367 351 335
319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15
#0 doadump () at pcpu.h:165
165 __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) backtrace
#0 doadump () at pcpu.h:165
#1 0xc069d978 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399
#2 0xc069dca6 in panic (fmt=0xc0943594 "unknown/reserved trap") at
/usr/src/sys/kern/kern_shutdown.c:555
#3 0xc08c4968 in trap_fatal (frame=0xd4496c88, eva=0) at
/usr/src/sys/i386/i386/trap.c:833
#4 0xc08c43a7 in trap (frame{tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi =
-1046961280, tf_esi = 4, tf_ebp
= -733385524, tf_isp = -733385548, tf_ebx = -1046941312, tf_edx = 0, tf_ecx
= -1046941312, tf_eax = 524870, tf_trapno = 30, tf_err = 0, tf_eip -1064587817,
tf_cs = 32, tf_eflags = 524870, tf_esp = -1046941312, tf_ss -733385468}) at
/usr/src/sys/i386/i386/trap.c:629
#5 0xc08b109a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#6 0xc08badd7 in spinlock_exit () at cpufunc.h:365
#7 0xc0684a89 in ithread_loop (arg=0xc198a380) at
/usr/src/sys/kern/kern_intr.c:597
#8 0xc068387f in fork_exit (callout=0xc0684780 <ithread_loop>,
arg=0x80246,
frame=0x80246) at /usr/src/sys/kern/kern_fork.c:789
#9 0xc08b10fc in fork_trampoline () at
/usr/src/sys/i386/i386/exception.s:208
(kgdb)
hope this helps i am in the mailinglist with this email and the other email
is on the server that is crashing