Date: 25 Jun 2000 04:09:40 +0200 From: Cyrille Lefevre <clefevre@no-spam.citeweb.net> To: emulation@FreeBSD.ORG Subject: Re: panic running linux binaries from ext2fs Message-ID: <u2eiy0ij.fsf@pc166.gits.fr> In-Reply-To: "Mark W. Krentel"'s message of "Sat, 24 Jun 2000 20:49:51 -0400 (EDT)" References: <200006250049.UAA14215@dreamscape.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"Mark W. Krentel" <krentel@dreamscape.com> writes: > I get a panic when running linux binaries directly from an ext2fs > partition. They run fine on UFS, but on ext2fs they panic. I'm > currently using linux_base-6.1 and 4.0-stable (as of May 20), but > the problem goes back to at least 3.2. See PR kern/19407. > > I don't know whether the real problem is with Linux emulation or > ext2fs or some weird combination of the two. Or maybe it's something > with kernel locking, some of the panics say "lockmgr: not exclusive > lock holder". I've asked about this before and the answer was "works > fine for me." But it happens so easily and reliably for me that I'm > just baffled about what I'm doing differently. > > I'd like to track this down, but I don't know enough about the > internals of the Linuxulator or ext2fs. But I can apply patches and > send back stack traces, if someone who knows more about the internals > can help me out. how is mounted your linux filesystem ? is it mounted to /linux or to /compat/linux ? if /linux, do you have a symlink like /compat/linux -> /linux ? how do you run your linux application ? /linux/bin/whatever or /compat/linux/bin/whatever ? /linux/bin/whatever may failed if not branded to Linux, while /compat/linux/bin/whatever should work. try "brandelf -t Linux /linux/bin/whatever" before to run /linux/bin/whatever and make the symlink /compat/linux to /linux if it doesn't exists. Cyrille. -- home:mailto:clefevre@no-spam.citeweb.net Supprimer "no-spam." pour me repondre. work:mailto:Cyrille.Lefevre@no-spam.edf.fr Remove "no-spam." to answer me back. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?u2eiy0ij.fsf>