NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/45447: panic in kern_sleepq.c



The following reply was made to PR kern/45447; it has been noted by GNATS.

From: Andreas Gustafsson <gson%gson.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/45447: panic in kern_sleepq.c
Date: Tue, 28 Feb 2012 18:07:25 +0200

 I recently got a similar crash on my test system, built from sources
 dated 2012.02.17.23.58.36:
 
   rump/rumpkern/t_lwproc (435/499): 8 test cases
       inherit: uvm_fault(0xc1640000, 0x10000, 2) -> 0xe
   fatal page fault in supervisor mode
   trap type 6 code 2 eip c06a67c6 cs 8 eflags 282 cr2 100cc ilevel 8
   panic: trap
   cpu0: Begin traceback...
   vpanic(c0e80399,c47aeb78,c47aeb78,2,e,1,c168400b,0,0,1) at netbsd:vpanic
   trap() at netbsd:trap+0x278
   --- trap (number 6) ---
   
sleepq_insert(c0f876e4,c18ff7e0,c0f4cfec,c09c89b1,c152bd40,0,c47aec2c,c099d099,c14bbb40,c15e9710)
 at netbsd:sleepq_insert+0xc4
   
sleepq_enqueue(c0f876e4,7a061084,c0e771dd,c0f4cfec,c47aec2c,c0671e1f,c47aec5c,c099d20f,c15e9710,10)
 at netbsd:sleepq_enqueue+0x163
   
lwp_park(0,bb827080,c47aecac,c09d6d60,19,bb600184,4,c18ff7e0,c1846004,bb97a008) 
at netbsd:lwp_park+0x13c
   
sys____lwp_park50(c18ff7e0,c47aecec,c47aed14,c09d6db4,c18ff7e0,c18ff7e0,1,0,c18ff7e0,0)
 at netbsd:sys____lwp_park50+0x8d
   
sy_call(c0f36a18,c18ff7e0,c47aecec,c47aed14,c18ff7e0,c1800000,0,0,bb827080,bb827080)
 at c09d6cab
   
syscall(c47aed48,bbb500b3,bb6000ab,bfbf001f,bba8001f,bb802ec4,bb600000,bb7ffc94,bbab2178,bb827070)
 at netbsd:syscall+0x196
   cpu0: End traceback...
 
 A disk image containing the complete system including a kernel crash
 dump, a kernel with full debug symbols (built using "build.sh -V
 MKDEBUG=yes -V DBG=-g"), and source is available for downloading at:
 
    http://www.gson.org/netbsd/bugs/i386-debug-2012.02.17.23.58.36.img.gz
 
 The compressed image is around 850 MB in size and decompresses to 4 GB.
 
 To debug the problem, download and gunzip the disk image, and then
 boot it with
 
   qemu -snapshot -nographic -hda i386-debug-2012.02.17.23.58.36.img
 
 Note that you don't need to be running to i386 port, or even NetBSD,
 to do this.
 
 Log in as root (there is no password).  To help gdb find the kernel
 sources, type:
 
   mkdir -p /tmp/bracket/build/2012.02.17.23.58.36-i386-debug
   ln -s /usr/src /tmp/bracket/build/2012.02.17.23.58.36-i386-debug/src
 
 Then type:
 
   cd /var/crash
   gunzip netbsd*
   gdb /netbsd
   target kvm netbsd.0.core
   where
 
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index