Subject: Re: kernel protection fault trap while booting on amd64
To: Kurt Schreiner <ks@ub.uni-mainz.de>
From: Andrew Doran <ad@netbsd.org>
List: current-users
Date: 11/27/2007 17:03:30
Hi,

On Tue, Nov 27, 2007 at 03:44:13PM +0100, Kurt Schreiner wrote:

> a kernel compiled to empty obj-dir from current -current crashes
> during boot after root fs is found:
> 
> boot device: sd0
> root on sd0a dumps on sd0b
> root file system type: ffs
> kernel: protection fault trap, code=0
> Stopped in pid 2.1 (sh) at      netbsd:fxsave:  fxsavel
> db{1}> bt
> fxsave() at netbsd:fxsave
> fpusave_cpu() at netbsd:fpusave_cpu+0x82
> fpusave_lwp() at netbsd:fpusave_lwp+0x92
> cpu_lwp_fork() at netbsd:cpu_lwp_fork+0x41
> lwp_create() at netbsd:lwp_create+0x1c5
> fork1() at netbsd:fork1+0x41e
> sys___vfork14() at netbsd:sys___vfork14+0x35
> syscall() at netbsd:syscall+0x190
> db{1}> mach cpu 0
> using CPU 0
> db{1}> bt
> _kernel_lock() at netbsd:_kernel_lock+0xef
> DDB lost frame for netbsd:Xsoftclock+0x1a, trying 0xffff80004fa68e10
> Xsoftclock() at netbsd:Xsoftclock+0x1a
> --- interrupt ---
> 0x286:
> db{1}> 

I believe that Christos just fixed this.

Andrew