Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2006 04:27:43 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: 6.1-PRERELEASE nfs root troubles
Message-ID:  <20060306092743.GA18697@xor.obsecurity.org>
In-Reply-To: <20060306084222.GE57165@ugai.uvd-omsk.su>
References:  <20060306084222.GE57165@ugai.uvd-omsk.su>

next in thread | previous in thread | raw e-mail | index | archive | help

--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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-PRERELE=
ASE
> kernel with help of etherboot.
> i've built custom kernel with `sudo make -j4 buildkernel KERNCONF=3DDISKL=
ESS
> CPUTYPE=3Dpentium-mmx -DNO_MODULES' and attached config.
> kernell loads off tftp server fine, detecting devices, but traps, when tr=
ying
> to mount root fs from nfs server.
> i've managed to get copy of console messages, which i attach to this mess=
age.
> 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
>=20
>=20
> Fatal trap 18: integer divide fault while in kernel mode
> instruction pointer	=3D 0x20:0xc0542ca9
> stack pointer	        =3D 0x28:0xc315b7e0
> frame pointer	        =3D 0x28:0xc315b880
> code segment		=3D base 0x0, limit 0xfffff, type 0x1b
> 			=3D DPL 0, pres 1, def32 1, gran 1
> processor eflags	=3D interrupt enabled, resume, IOPL =3D 0
> current process		=3D 1 (swapper)
> [thread pid 1 tid 100007 ]
> Stopped at      0xc0542ca9 =3D 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

--sm4nu43k4a2Rpi4c
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (FreeBSD)

iD8DBQFEDACPWry0BWjoQKURApKBAKCoQPIHtGA79Z+PnmG9lFaGXORs0gCg6jCw
HLS50OwsVJ5iQ5nektS8r2g=
=OkMe
-----END PGP SIGNATURE-----

--sm4nu43k4a2Rpi4c--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060306092743.GA18697>