Date: Wed, 17 Mar 2004 15:10:25 -0800 (PST) From: Kris Kennaway <kris@obsecurity.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/64378: exec of linux binary in pxeboot diskless nfs root system causes panic Message-ID: <200403172310.i2HNAPPv079335@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/64378; it has been noted by GNATS. From: Kris Kennaway <kris@obsecurity.org> To: mark wolgemuth <mark@node.to> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403172310.i2HNAPPv079335>