6.1-PRERELEASE nfs root troubles

Kris Kennaway kris at obsecurity.org
Mon Mar 6 09:27:46 UTC 2006


On Mon, Mar 06, 2006 at 02:42:22PM +0600, sergey akifiev wrote:
> currently i'm trying to setup diskless client, which netboots 6.1-PRERELEASE
> kernel with help of etherboot.
> i've built custom kernel with `sudo make -j4 buildkernel KERNCONF=DISKLESS
> CPUTYPE=pentium-mmx -DNO_MODULES' and attached config.
> kernell loads off tftp server fine, detecting devices, but traps, when trying
> to mount root fs from nfs server.
> i've managed to get copy of console messages, which i attach to this message.
> any help appreciated. and... pls forgive my bad english :-)

Try adding to your kernel

options INVARIANTS
options INVARIANT_SUPPORT

> Trying to mount root from nfs:
> NFS ROOT: 94.1.0.85:/usr/diskless
> 
> 
> Fatal trap 18: integer divide fault while in kernel mode
> instruction pointer	= 0x20:0xc0542ca9
> stack pointer	        = 0x28:0xc315b7e0
> frame pointer	        = 0x28:0xc315b880
> code segment		= base 0x0, limit 0xfffff, type 0x1b
> 			= DPL 0, pres 1, def32 1, gran 1
> processor eflags	= interrupt enabled, resume, IOPL = 0
> current process		= 1 (swapper)
> [thread pid 1 tid 100007 ]
> Stopped at      0xc0542ca9 = mountnfs+0x139:    idivl   %ecx,%eax
> db> ~

After you have rebuilt your kernel, please post the panic (which may
be different now), and do 'wh' at the prompt.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060306/b8ee60ed/attachment.bin


More information about the freebsd-stable mailing list