From owner-freebsd-bugs@FreeBSD.ORG Wed Mar 17 09:40:21 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 039D716A4CE for ; Wed, 17 Mar 2004 09:40:21 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D826C43D1F for ; Wed, 17 Mar 2004 09:40:20 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2HHeKbv023502 for ; Wed, 17 Mar 2004 09:40:20 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2HHeK5U023500; Wed, 17 Mar 2004 09:40:20 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 17 Mar 2004 09:40:20 -0800 (PST) Resent-Message-Id: <200403171740.i2HHeK5U023500@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, mark wolgemuth Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6638C16A4CE for ; Wed, 17 Mar 2004 09:37:41 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61E4B43D1F for ; Wed, 17 Mar 2004 09:37:41 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i2HHbf72064515 for ; Wed, 17 Mar 2004 09:37:41 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id i2HHbfUf064514; Wed, 17 Mar 2004 09:37:41 -0800 (PST) (envelope-from nobody) Message-Id: <200403171737.i2HHbfUf064514@www.freebsd.org> Date: Wed, 17 Mar 2004 09:37:41 -0800 (PST) From: mark wolgemuth To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: 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 List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2004 17:40:21 -0000 >Number: 64378 >Category: kern >Synopsis: exec of linux binary in pxeboot diskless nfs root system causes panic >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 17 09:40:20 PST 2004 >Closed-Date: >Last-Modified: >Originator: mark wolgemuth >Release: 5.2.1-RELEASE-p1 >Organization: employease, inc. >Environment: 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. >Fix: >Release-Note: >Audit-Trail: >Unformatted: