Date: Mon, 23 May 2005 08:38:04 -0400 From: "Robin P. Blanchard" <robin.blanchard@gactr.uga.edu> To: "Doug White" <dwhite@gumbysoft.com> Cc: stable@freebsd.org Subject: RE: RELENG_5 panic Message-ID: <9B5C1FCAFB35084787C21EFFFA78DD9EF13698@EBE1.gc.nat>
next in thread | raw e-mail | index | archive | help
Here's what I could get out of dmesg, and looking again at the dump # dmesg -M /usr/local/var/adm/crash/vmcore.44 -N /boot/kernel/kernel=20 kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid =3D 0; apic id =3D 00 fault virtual address =3D 0x24 fault code =3D supervisor read, page not present instruction pointer =3D 0x8:0xc0504808 stack pointer =3D 0x10:0xc7ac0c08 frame pointer =3D 0x10:0xc7ac0c3c code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D resume, IOPL =3D 0 current process =3D 27 (swi5: clock sio) trap number =3D 12 panic: page fault cpuid =3D 0 Uptime: 3d6h59m25s Dumping 127 MB 16 32 48 64 80 96 112 root@robinpb [/usr/obj/usr/src/sys/fastipsec]# kgdb kernel.debug /usr/local/var/adm/crash/vmcore.44=20 [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". #0 doadump () at pcpu.h:160 160 __asm __volatile("movl %%fs:0,%0" : "=3Dr" (td)); (kgdb) l *0xc0504808 0xc0504808 is in turnstile_wait = (/usr/src/sys/kern/subr_turnstile.c:245). 240 /* 241 * Pick up the lock that td is blocked on. 242 */ 243 ts =3D td->td_blocked; 244 MPASS(ts !=3D NULL); 245 tc =3D TC_LOOKUP(ts->ts_lockobj); 246 mtx_lock_spin(&tc->tc_lock); 247 248 /* 249 * This thread may not be blocked on this = turnstile anymore (kgdb)=20 --------------------------------------- Robin P. Blanchard Systems Integration Specialist Georgia Center for Continuing Education fon: 706.542.2404 < > fax: 706.542.6546 --------------------------------------- =20 > -----Original Message----- > From: Doug White [mailto:dwhite@gumbysoft.com]=20 > Sent: Sunday, May 22, 2005 3:20 PM > To: Robin P. Blanchard > Cc: stable@freebsd.org > Subject: Re: RELENG_5 panic >=20 > On Sat, 21 May 2005, Robin P. Blanchard wrote: >=20 > > # uname -a > > FreeBSD robinpb.homeip.net 5.4-STABLE FreeBSD 5.4-STABLE=20 > #0: Tue May=20 > > 17 > > 00:30:47 EDT 2005 > > root@bsdfs5.gactr.uga.edu:/usr/obj/usr/src/sys/fastipsec i386 > > > > # kgdb kernel.debug /usr/local/var/adm/crash/vmcore.44 > > [GDB will not be able to debug user-mode threads:=20 > /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=20 > License, and=20 > > you are welcome to change it and/or distribute copies of it=20 > under certain conditions. > > Type "show copying" to see the conditions. > > There is absolutely no warranty for GDB. Type "show=20 > warranty" for details. > > This GDB was configured as "i386-marcel-freebsd". > > #0 doadump () at pcpu.h:160 > > 160 __asm __volatile("movl %%fs:0,%0" : "=3Dr" (td)); > > (kgdb) bt full > > #0 doadump () at pcpu.h:160 > > No locals. > > #1 0xc04dd58c in boot (howto=3D260) at=20 > /usr/src/sys/kern/kern_shutdown.c:410 > > first_buf_printf =3D 1 > > #2 0xc04ddccd in panic (fmt=3D0xc066e594 "%s") at > > /usr/src/sys/kern/kern_shutdown.c:566 > > bootopt =3D 260 > > newpanic =3D 0 > > buf =3D "page fault", '\0' <repeats 245 times> >=20 > can you try to fish the trap output from msgbuf? That or use=20 > dmesg's -N and -M options to extract it from the crashdump. >=20 > > #3 0xc0641e92 in trap_fatal (frame=3D0xc7ac0bc8, eva=3D36) at > > /usr/src/sys/i386/i386/trap.c:817 > > code =3D 16 > > type =3D 12 > > ss =3D 16 > > esp =3D 0 > > softseg =3D {ssd_base =3D 0, ssd_limit =3D 1048575,=20 > ssd_type =3D 27,=20 > > ssd_dpl =3D 0, ssd_p =3D 1, > > ssd_xx =3D 0, ssd_xx1 =3D 0, ssd_def32 =3D 1, ssd_gran =3D 1} > > #4 0xc0642535 in trap (frame=3D > > {tf_fs =3D 24, tf_es =3D -1066598384, tf_ds =3D=20 > -1066532848, tf_edi =3D=20 > > -1053916800, tf_esi =3D -1049515008, tf_ebp =3D -945025988, tf_isp = =3D=20 > > -945026060, tf_ebx =3D -1053916800, tf_edx =3D -1053937024,=20 > tf_ecx =3D 56,=20 > > tf_eax =3D 0, tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D=20 > -1068480504, tf_cs =3D=20 > > 8, tf_eflags =3D 65683, tf_esp =3D -1053914880, tf_ss =3D 582}) at > > /usr/src/sys/i386/i386/trap.c:255 > > p =3D (struct proc *) 0xc12e754c > > sticks =3D 3241036032 > > i =3D 0 > > ucode =3D 0 > > type =3D 12 > > code =3D 0 > > eva =3D 36 > > #5 0xc062da3a in calltrap () at=20 > > /usr/src/sys/i386/i386/exception.s:140 > > No locals. > > #6 0x00000018 in ?? () > > No symbol table info available. > > #7 0xc06d0010 in ipq () > > No symbol table info available. > > #8 0xc06e0010 in sc_buffer.3 () > > No symbol table info available. > > #9 0xc12e8180 in ?? () > > No symbol table info available. > > #10 0xc171ac00 in ?? () > > No symbol table info available. > > #11 0xc7ac0c3c in ?? () > > No symbol table info available. > > #12 0xc7ac0bf4 in ?? () > > No symbol table info available. > > #13 0xc12e8180 in ?? () > > No symbol table info available. > > #14 0xc12e3280 in ?? () > > No symbol table info available. > > #15 0x00000038 in ?? () > > No symbol table info available. > > #16 0x00000000 in ?? () > > No symbol table info available. > > #17 0x0000000c in ?? () > > No symbol table info available. > > #18 0x00000000 in ?? () > > No symbol table info available. > > #19 0xc0504808 in turnstile_wait (ts=3D0xc12e3280, = lock=3D0xc06d022c, > > owner=3D0xc171ac00) > > at /usr/src/sys/kern/subr_turnstile.c:243 > > tc =3D (struct turnstile_chain *) 0xc06cb770 > > td1 =3D (struct thread *) 0xc12e8180 #20 0xc04d2b7f in=20 > > _mtx_lock_sleep (m=3D0xc06d022c, td=3D0xc12e8180, opts=3D0, = file=3D0x0,=20 > > line=3D0) > > at /usr/src/sys/kern/kern_mutex.c:552 > > ts =3D (struct turnstile *) 0x0 > > owner =3D (struct thread *) 0xc171ac00 > > v =3D 0 > > #21 0xc058a592 in tcp_isn_tick (xtp=3D0x0) at=20 > > /usr/src/sys/netinet/tcp_subr.c:1380 > > projected_offset =3D 0 > > #22 0xc04ed069 in softclock (dummy=3D0x0) at > > /usr/src/sys/kern/kern_timeout.c:279 > > c_func =3D (void (*)(void *)) 0xc058a4d0 <tcp_isn_tick> > > c_arg =3D (void *) 0x0 > > c_flags =3D 14 > > c =3D (struct callout *) 0x0 > > bucket =3D (struct callout_tailq *) 0xc39ba4a8 > > steps =3D 14 > > depth =3D 2 > > mpcalls =3D 2 > > gcalls =3D 0 > > wakeup_cookie =3D 14 > > #23 0xc04c460a in ithread_loop (arg=3D0xc12fd500) at > > /usr/src/sys/kern/kern_intr.c:547 > > ih =3D (struct intrhand *) 0xc12e2c80 > > p =3D (struct proc *) 0xc12e754c > > count =3D 0 > > warming =3D 5000 > > warned =3D 0 > > #24 0xc04c32c2 in fork_exit (callout=3D0xc04c4550 <ithread_loop>,=20 > > arg=3D0x0, > > frame=3D0x0) > > at /usr/src/sys/kern/kern_fork.c:791 > > p =3D (struct proc *) 0xc12e754c > > #25 0xc062da9c in fork_trampoline () at > > /usr/src/sys/i386/i386/exception.s:209 > > No locals. > > (kgdb) > > > > > > > > --------------------------------------- > > Robin P. Blanchard > > Systems Integration Specialist > > Georgia Center for Continuing Education > > fon: 706.542.2404 <-> fax: 706.542.6546 > > --------------------------------------- > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list=20 > > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to=20 > "freebsd-stable-unsubscribe@freebsd.org" > > >=20 > --=20 > Doug White | FreeBSD: The Power to Serve > dwhite@gumbysoft.com | www.FreeBSD.org >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9B5C1FCAFB35084787C21EFFFA78DD9EF13698>