From owner-freebsd-bugs@FreeBSD.ORG Wed Mar 17 15:10:25 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2CB116A4CF for ; Wed, 17 Mar 2004 15:10:25 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5B6543D39 for ; Wed, 17 Mar 2004 15:10:25 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2HNAPbv079336 for ; Wed, 17 Mar 2004 15:10:25 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2HNAPPv079335; Wed, 17 Mar 2004 15:10:25 -0800 (PST) (envelope-from gnats) Date: Wed, 17 Mar 2004 15:10:25 -0800 (PST) Message-Id: <200403172310.i2HNAPPv079335@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Kris Kennaway Subject: Re: kern/64378: exec of linux binary in pxeboot diskless nfs root system causes panic X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Kris Kennaway List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2004 23:10:26 -0000 The following reply was made to PR kern/64378; it has been noted by GNATS. From: Kris Kennaway To: mark wolgemuth Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/64378: exec of linux binary in pxeboot diskless nfs root system causes panic Date: Wed, 17 Mar 2004 15:07:53 -0800 On Wed, Mar 17, 2004 at 09:37:41AM -0800, mark wolgemuth wrote: > FreeBSD nonuts 5.2.1-RELEASE-p1 FreeBSD 5.2.1-RELEASE-p1 #9: Tue Mar 16 12:45:00 EST 2004 root@demon.tek.eease.com:/usr/src/sys/i386/compile/NETBOOT i386 > >Description: > Kernel is loaded over pxeboot + nfs. Root and usr are mounted over NFS from Netapp. > Modules linux and linprocfs are loaded via loader.conf. > System comes up ok, but execution of a linux binary, eg. "/compat/linux/sbin/ldconfig" causes panic. Instruction ptr is at "Xpage". > I have union mounted /compat/linux under a read/write mounted fs (md in this case) so that /compat/linux/etc/ld.so.cache can be written, to rule out that problem. Since /compat/linux is writeable, so is /compat/linux/var also. > >How-To-Repeat: > Boot a diskless i386 system using pxeboot and root and usr on read-only nfs. > Load linux kernel module. Try to run /compat/linux/ldconfig. Sounds like it could be a few things: * Stale kernel modules; they need to be built from the same sources as your kernel * Known unionfs bugs (see the manpage). It's not clear whether you're using unionfs or the union mount option. * Something else :) Please obtain a debugging traceback of the panic as described in: http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html This is required in order to proceed with evaluating this PR. Kris