Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2008 18:40:03 GMT
From:      <mike@nux.co.uk>
To:        freebsd-i386@FreeBSD.org
Subject:   Re: i386/129550: crash with PAE kernel
Message-ID:  <200812111840.mBBIe307022049@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/129550; it has been noted by GNATS.

From: <mike@nux.co.uk>
To: <bug-followup@FreeBSD.org>,
	"Mike" <mike@nux.co.uk>
Cc:  
Subject: Re: i386/129550: crash with PAE kernel
Date: Thu, 11 Dec 2008 18:01:15 -0000

 Second crash kgdb info on dump - previously the machine had been up for 
 about 8 days this time it was over 24hrs - we are going to try with a 
 generic kernel without PAE to see if this fixes the crashing.
 
 Dec 11 17:16:08 redbus-lingo1950 kernel:
 Dec 11 17:16:08 redbus-lingo1950 kernel:
 Dec 11 17:16:08 redbus-lingo1950 kernel: Fatal trap 12: page fault while in 
 kernel mode
 Dec 11 17:16:08 redbus-lingo1950 kernel: cpuid = 2; apic id = 02
 Dec 11 17:16:08 redbus-lingo1950 kernel: fault virtual address  = 0x4
 Dec 11 17:16:08 redbus-lingo1950 kernel: fault code             = supervisor 
 read, page not present
 Dec 11 17:16:08 redbus-lingo1950 kernel: instruction pointer    = 
 0x20:0xc04c4c4d
 Dec 11 17:16:08 redbus-lingo1950 kernel: stack pointer
 Dec 11 17:16:08 redbus-lingo1950 kernel: = 0x28:0xf5592a78
 Dec 11 17:16:08 redbus-lingo1950 kernel: frame pointer          = 
 0x28:0xf5592a98
 Dec 11 17:16:08 redbus-lingo1950 kernel: code segment           = base 0x0, 
 limit 0xfffff, type 0x1b
 Dec 11 17:16:08 redbus-lingo1950 kernel: = DPL 0, pres 1, def32 1, gran 1
 Dec 11 17:16:08 redbus-lingo1950 kernel: processor eflags       = interrupt 
 en
 Dec 11 17:16:08 redbus-lingo1950 kernel: ab
 
 redbus-lingo1950# cd /usr/obj/usr/src/sys/PAE
 redbus-lingo1950# kgdb kernel.debug /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:
 led, resume, IOPL = 0
 current process         = 57387 (imap)
 trap number             = 12
 panic: page fault
 cpuid = 2
 Uptime: 1d2h50m57s
 Physical memory: 8175 MB
 Dumping 432 MB: 417 401 385 369 353 337 321 305 289 273 257 241 225 209 193 
 177 161 145 129 113 97 81 65 49 33 17 1
 
 #0  doadump () at pcpu.h:195
 195             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
 (kgdb)
 
 (kgdb) backtrace
 #0  doadump () at pcpu.h:195
 #1  0xc04ed227 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
 #2  0xc04ed4e9 in panic (fmt=Variable "fmt" is not available.
 ) at /usr/src/sys/kern/kern_shutdown.c:563
 #3  0xc072f24c in trap_fatal (frame=0xf5592a38, eva=4)
     at /usr/src/sys/i386/i386/trap.c:899
 #4  0xc072f4e0 in trap_pfault (frame=0xf5592a38, usermode=0, eva=4)
     at /usr/src/sys/i386/i386/trap.c:812
 #5  0xc072fe8c in trap (frame=0xf5592a38) at 
 /usr/src/sys/i386/i386/trap.c:490
 #6  0xc071482b in calltrap () at /usr/src/sys/i386/i386/exception.s:139
 #7  0xc04c4c4d in knlist_remove_kq (knl=0xcf681ba4, kn=0xcee7e3fc,
     knlislocked=0, kqislocked=0) at /usr/src/sys/kern/kern_event.c:1615
 #8  0xc04c4d6b in knlist_remove (knl=0xcf681ba4, kn=0xcee7e3fc, islocked=0)
     at /usr/src/sys/kern/kern_event.c:1633
 #9  0xc05640d9 in filt_vfsdetach (kn=0xcee7e3fc)
     at /usr/src/sys/kern/vfs_subr.c:3933
 #10 0xc04c602b in kqueue_register (kq=0xd58b5e00, kev=0xf5592b64,
     td=0xce54f660, waitok=1) at /usr/src/sys/kern/kern_event.c:956
 #11 0xc04c63cc in kern_kevent (td=0xce54f660, fd=13, nchanges=1, nevents=0,
     k_ops=0xf5592c60, timeout=0x0) at /usr/src/sys/kern/kern_event.c:673
 #12 0xc04c6f3b in kevent (td=0xce54f660, uap=0xf5592cfc)
     at /usr/src/sys/kern/kern_event.c:594
 #13 0xc072f835 in syscall (frame=0xf5592d38)
     at /usr/src/sys/i386/i386/trap.c:1035
 #14 0xc0714890 in Xint0x80_syscall () at 
 /usr/src/sys/i386/i386/exception.s:196
 #15 0x00000033 in ?? ()
 Previous frame inner to this frame (corrupt stack?)
 (kgdb)
 (kgdb) list *0x20:0xc04c4c4d
 A syntax error in expression, near `:0xc04c4c4d'.
 (kgdb) list *0xc04c4c4d
 0xc04c4c4d is in knlist_remove_kq (/usr/src/sys/kern/kern_event.c:1615).
 1610            if (!kqislocked)
 1611                    KASSERT((kn->kn_status & (KN_INFLUX|KN_DETACHED)) == 
 KN_INFLUX,
 1612        ("knlist_remove called w/o knote being KN_INFLUX or already 
 removed"));
 1613            if (!knlislocked)
 1614                    knl->kl_lock(knl->kl_lockarg);
 1615            SLIST_REMOVE(&knl->kl_list, kn, knote, kn_selnext);
 1616            kn->kn_knlist = NULL;
 1617            if (!knlislocked)
 1618                    knl->kl_unlock(knl->kl_lockarg);
 1619            if (!kqislocked)
 (kgdb)
 



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