From owner-freebsd-bugs Mon Aug 7 12:20:10 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 71FE337B785 for ; Mon, 7 Aug 2000 12:20:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA88550; Mon, 7 Aug 2000 12:20:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Mon, 7 Aug 2000 12:20:05 -0700 (PDT) Message-Id: <200008071920.MAA88550@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Mark W. Krentel" Subject: Re: kern/19407: Panic running linux binary on ext2fs Reply-To: "Mark W. Krentel" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/19407; it has been noted by GNATS. From: "Mark W. Krentel" To: bde@zeta.org.au Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: kern/19407: Panic running linux binary on ext2fs Date: Mon, 7 Aug 2000 15:12:55 -0400 (EDT) Ok, I've cvsup'd to 4.1-R, applied the patch, rebuilt world and kernel, and done more tests. I beat on it with "ls -lR" and "find | xargs ls", I ran emacs, xv, xsnow, xboard, all from the ext2 partition, and I've been unable to induce a panic. Then, I removed the patch, reran the tests and got a panic almost immediately. Finally, I put the patch back in, beat on it some more and no panic. So, I'm satisfied that you've identified the cause of the panic and that your patch fixes it. Good job! And remember that I'm running 4.1, so I have rev 1.21 of ext2_lookup.c (your patch was for rev 1.24). From looking at the RCS diffs, I don't think it's a problem, but you would know better than me. But I'm still seeing the problem where ls or readdir returns too few files. So this must be a separate problem. And it happens on both ext2 and cdrom partitions, so maybe it's in the Linuxulator. I'll try looking at the source code. I guess it's the Linux readdir(3) library calling getdents(2) in the Linuxulator, is that right? > I didn't try the program, but linux-ls -R works right on a linux partition > and on a cdrom here. Again, I can't figure out what I'm doing differently. Do you have a machine with a local ext2 partition? What version of Linux do you have? You're running -current with the linux_base-6.1 port? I searched the open PR's and found a few more involving panics on ext2 partitions. One stands out as being very similar. PR i386/15074 -- Two different panics when running Linux binaries on Athlon Three more may be related, or maybe not. PR kern/10581 -- Kernel panic while using find on an ext2 filesystem. PR kern/10594 -- EXT2FS mount problems PR gnu/15892 -- NFS-exported ext2 file system makes Linux crash P.S. What does "legyenek boldogok akik akarnak" mean? It didn't rot13 to anything meaningful. --Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message