Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2004 09:37:41 -0800 (PST)
From:      mark wolgemuth <mark@node.to>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/64378: exec of linux binary in pxeboot diskless nfs root system causes panic 
Message-ID:  <200403171737.i2HHbfUf064514@www.freebsd.org>
Resent-Message-ID: <200403171740.i2HHeK5U023500@freefall.freebsd.org>

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

>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:



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