NetBSD-Bugs archive

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

Re: port-i386/44995



The following reply was made to PR port-i386/44995; it has been noted by GNATS.

From: Nat Sloss <nathanialsloss%yahoo.com.au@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-i386/44995
Date: Tue, 18 Dec 2012 11:10:01 +1100

 Hi.
 
 I would like to request a pull up for NetBSD-6 as I have experienced problems 
 with PAE (non XEN) i386 NetBSD-6 kernels.
 
 While doing a
 
  ./build.sh -U -x -X ../xsrc -j 12 release
 
 On NetBSD-6 (I'm testing out my new computer and will hopefully repeat this 
 task for 100 hours or so) i386 PAE kernel it would some times reset after 10 
 minutes or panic in make.
 
 Here is the output from ddb:
 
 fatal double fault in supervisor mode
 trap type 12 code 80000000 eip c010cce0 cd 7 eflags 10086 cr2 cbb76ffc ilevel 
 6
 db {2}> bt
 Xtrap0e(c010cce0,8,10086,10,c010cce0,8,10086,c010cce0,8) at netbsd:Xtrap03
 ?(d42138bc,d4213950,ebb77da0,1,bb517000,1b,bb7a24f2,0,ebb70010,30) at 10
 pmap_load(b3,ab,bf7f001f,bb51001f,bb517000,80684b8,bf7d4b8,bb7d25bc,0,0) at 
 netb
 sd:pmap_load+0x113
 *occurs just after or during cpu_load_pmap in pmap_load/pmap.c
 
 I applied the differences in 1.100 of x86/cpu.c and now the kernel wont boot 
 at all.  It crashes immediately and no backtrace can be obtained as the stack 
 pointer is invalid (0xce) and it stops displaying: system: invalid address.
 
 One of the registers points to kernel_pmap_store the eip equals (0x8) and cr2 
 is equal to cpu_load_pmap+0x3a which is right when the function pops off the 
 registers and returns.  However the stack pointer is invalid so it crashes.
 
 Are there other files that I need to alter to get the changes made in this PR 
 on NetBSD-6 as although my new machine is amd64 I intend to run an i386 PAE 
 kernel as all of my other machines are i386.
 
 
 Regards,
 
 Nat.
 


Home | Main Index | Thread Index | Old Index