kern/64378: exec of linux binary in pxeboot diskless nfs root system causes panic

mark wolgemuth mark at node.to
Wed Mar 17 09:40:21 PST 2004


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


More information about the freebsd-bugs mailing list