Subject: Re: uvm_fault
To: None <pavel.cahyna@st.mff.cuni.cz>
From: None <segv@netctl.net>
List: current-users
Date: 01/28/2006 12:53:27
On Sat, 28 Jan 2006 10:33:23 +0100
Pavel Cahyna <pavel.cahyna@st.mff.cuni.cz> wrote:

> On Sat, Jan 28, 2006 at 01:58:53AM +0000, segv@netctl.net wrote:
> > Hi, I have a script that sets up a chroot environment under /opt/sandbox by
> > calling 'mount_null' to
> > mount /bin, /sbin, /lib, /usr/bin, /usr/sbin, /usr/lib, etc
> > under /opt/sandbox. When some of the directories are exported via NFS and I
> > call this scripts on the server that exports those directories, I get a
> > kernel panic. This is on a pretty recent NetBSD-current.
> > 
> > uvm_fault(0xcace89a0, 0, 0, 1) -> 0xe
> > kernel: supervisor trap page fault, code = 0
> > Stopped in pid 543.1 (mountd) at 0: invalid address
> > db{0}>bt
> 
> Is it on i386?
> if it is, please try  "bt $ebp" instead.  Do it with a kernel compiled
> with debugging symbols ( makeoptions DEBUG="-g"). Also try to save crash
> dump with "reboot 0x104" after you are done in ddb.
> 
> Pavel

This is on dual Pentium 3 machine
Kernel was compiled with '-O3 -march=pentium3 -mmmx -msse -mfpmath=sse'

db> bt $ebp
mountd_set_exports_list(cb5bfe14,cabab420,0,0,0) at
netbsd:mountd_set_exports_list+0xc7 sys_nfssvc
(cabab420,cb5bff64,cb5bff5c,cb579828,0) at netbsd:sys_nfssvc+0x16f syscall_plain
() at netbsd:syscall_plain+0x85 --- syscall (number 155) ---
oxbbb0b5af:

I also have a crash dump, but I don't know how to debug it. Would anyone be
interested in looking at it??