From owner-freebsd-stable@FreeBSD.ORG Mon Mar 6 09:27:46 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06EB216A420 for ; Mon, 6 Mar 2006 09:27:46 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7B4543D46 for ; Mon, 6 Mar 2006 09:27:45 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id A10361A4E14 for ; Mon, 6 Mar 2006 01:27:45 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id EEB7551FEB; Mon, 6 Mar 2006 04:27:43 -0500 (EST) Date: Mon, 6 Mar 2006 04:27:43 -0500 From: Kris Kennaway To: freebsd-stable@freebsd.org Message-ID: <20060306092743.GA18697@xor.obsecurity.org> References: <20060306084222.GE57165@ugai.uvd-omsk.su> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sm4nu43k4a2Rpi4c" Content-Disposition: inline In-Reply-To: <20060306084222.GE57165@ugai.uvd-omsk.su> User-Agent: Mutt/1.4.2.1i Subject: Re: 6.1-PRERELEASE nfs root troubles X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2006 09:27:46 -0000 --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--