Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Nov 2005 11:35:59 +0100
From:      Jens Holmqvist <zparta@gmail.com>
To:        Jens Holmqvist <zparta@hispan.se>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: kernel problem
Message-ID:  <3b41db850511100235m38ddc14fhbc3d04598ee55efc@mail.gmail.com>
In-Reply-To: <437315AE.4010405@hispan.se>
References:  <437315AE.4010405@hispan.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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 =3D 0x20:0xc08badd7
> stack pointer =3D 0x28:0xd4496cc8
> frame pointer =3D 0x28:0xd4496ccc
> code segment =3D base 0x0, limit 0xfffff, type 0x1b
> =3D DPL 0, pres 1, def32 1, gran 1
> processor eflags =3D interrupt enabled, IOPL =3D 0
> current process =3D 30 (irq19: em0)
> trap number =3D 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" : "=3Dr" (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 ar=
e
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 =3D 0x20:0xc08badd7
stack pointer =3D 0x28:0xd4496cc8
frame pointer =3D 0x28:0xd4496ccc
code segment =3D base 0x0, limit 0xfffff, type 0x1b
=3D DPL 0, pres 1, def32 1, gran 1
processor eflags =3D interrupt enabled, IOPL =3D 0
current process =3D 30 (irq19: em0)
trap number =3D 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" : "=3Dr" (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 ar=
e
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 =3D 0x20:0xc08badd7
stack pointer =3D 0x28:0xd4496cc8
frame pointer =3D 0x28:0xd4496ccc
code segment =3D base 0x0, limit 0xfffff, type 0x1b
=3D DPL 0, pres 1, def32 1, gran 1
processor eflags =3D interrupt enabled, IOPL =3D 0
current process =3D 30 (irq19: em0)
trap number =3D 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" : "=3Dr" (td));
(kgdb) backtrace
#0 doadump () at pcpu.h:165
#1 0xc069d978 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:39=
9
#2 0xc069dca6 in panic (fmt=3D0xc0943594 "unknown/reserved trap") at
/usr/src/sys/kern/kern_shutdown.c:555
#3 0xc08c4968 in trap_fatal (frame=3D0xd4496c88, eva=3D0) at
/usr/src/sys/i386/i386/trap.c:833
#4 0xc08c43a7 in trap (frame=3D
{tf_fs =3D 8, tf_es =3D 40, tf_ds =3D 40, tf_edi =3D -1046961280, tf_esi =
=3D 4, tf_ebp
=3D -733385524, tf_isp =3D -733385548, tf_ebx =3D -1046941312, tf_edx =3D 0=
, tf_ecx
=3D -1046941312, tf_eax =3D 524870, tf_trapno =3D 30, tf_err =3D 0, tf_eip =
=3D
-1064587817, tf_cs =3D 32, tf_eflags =3D 524870, tf_esp =3D -1046941312, tf=
_ss =3D
-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=3D0xc198a380) at
/usr/src/sys/kern/kern_intr.c:597
#8 0xc068387f in fork_exit (callout=3D0xc0684780 <ithread_loop>, arg=3D0x80=
246,
frame=3D0x80246) 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



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