From owner-freebsd-fs Sat Jun 24 19:29:20 2000 Delivered-To: freebsd-fs@freebsd.org Received: from camus.cybercable.fr (camus.cybercable.fr [212.198.0.200]) by hub.freebsd.org (Postfix) with SMTP id 65BB037B509 for ; Sat, 24 Jun 2000 19:29:12 -0700 (PDT) (envelope-from root@gits.dyndns.org) Received: (qmail 2761619 invoked from network); 25 Jun 2000 02:29:09 -0000 Received: from r224m65.cybercable.tm.fr (HELO gits.dyndns.org) ([195.132.224.65]) (envelope-sender ) by camus.cybercable.fr (qmail-ldap-1.03) with SMTP for ; 25 Jun 2000 02:29:09 -0000 Received: (from root@localhost) by gits.dyndns.org (8.9.3/8.9.3) id EAA54099; Sun, 25 Jun 2000 04:29:08 +0200 (CEST) (envelope-from root) Posted-Date: Sun, 25 Jun 2000 04:29:08 +0200 (CEST) To: "Mark W. Krentel" Cc: freebsd-fs@FreeBSD.ORG Subject: Fw: panic running linux binaries from ext2fs Reply-To: clefevre@citeweb.net, krentel@dreamscape.com, freebsd-emulation@FreeBSD.ORG, freebsd-fs@FreeBSD.ORG X-Face: V|+c;4!|B?E%BE^{E6);aI.[<97Zd*>^#%Y5Cxv;%Y[PT-LW3;A:fRrJ8+^k"e7@+30g0YD0*^^3jgyShN7o?a]C la*Zv'5NA,=963bM%J^o]C From: Cyrille Lefevre Date: 25 Jun 2000 04:29:06 +0200 Message-ID: Lines: 33 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "Canyonlands" Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Mark W. Krentel" 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-fs" in the body of the message