Subject: Re: uvm_fault
To: Pavel Cahyna <pavel.cahyna@st.mff.cuni.cz>
From: None <segv@netctl.net>
List: current-users
Date: 01/29/2006 01:32:16
On Sun, 29 Jan 2006 00:35:51 +0100
Pavel Cahyna <pcah8322@artax.karlin.mff.cuni.cz> wrote:

> On Sat, Jan 28, 2006 at 12:53:27PM +0000, segv@netctl.net wrote:
> > This is on dual Pentium 3 machine
> > Kernel was compiled with '-O3 -march=pentium3 -mmmx -msse -mfpmath=sse'
> 
> Can you please recompile a kernel without those options (but still with
> makeoptions DEBUG="-g") and try again?
> 
> If you repeat the problem, please also type "show registers" in ddb before
> you do "bt $ebp".
> 
> Pavel

This time I built it with '-O2 -march=pentium3'
Exactly the same thing happens.

db{0}> show registers
ds 0x10
es 0x10
fs 0x30
gs 0x10
edi 0xcba19b40
esi 0xcb6d8e14
ebp 0xcb6d81c
ebx 0xcac8b318
edx 0xc167d9c0
ecx 0xc091d160 kernfs_vfsops
eax 0xcb974b30
eip 0
cs 0x8
eflags 0x10286
esp 0xcb6d8d10
ss 0x10
0: invalid address


and then debugging the kernel:

(gdb) list *(mountd_set_exports_list+0xc7)
0xc0365087 is in mountd_set_exports_list (/opt/src/sys/nfs/nfs_export.c:302).
297             vfs_unbusy(mp);
298
299     out_locked:
300             vput(vp);
301
302             return error;
303     }
304
305     static void
306     netexport_insert(struct netexport *ne)
(gdb)