From owner-freebsd-fs Sun Jun 25 7:47:55 2000 Delivered-To: freebsd-fs@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id A0BDC37B5DC; Sun, 25 Jun 2000 07:47:50 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.3) with ESMTP id QAA12211; Sun, 25 Jun 2000 16:47:40 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: "clemensF" Cc: Marius Bendiksen , freebsd-fs@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: sys/ufs/ufs/ufs_quota.c In-reply-to: Your message of "Sun, 25 Jun 2000 00:18:40 +0200." <20000625001840.A1017@spotteswoode.de> Date: Sun, 25 Jun 2000 16:47:39 +0200 Message-ID: <12209.961944459@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <20000625001840.A1017@spotteswoode.de>, "clemensF" writes: >> Marius Bendiksen: > >> the various quota routines, rather than a (struct proc *). As I can see >> >from the code, chkdq(), for example, should rather be using an suser() >> check upon a process structure, than testing cred->cr_uid==0. Are there >> any objections to changing this? > >this should be more portable and future-save, right? Isn't there an issue with NFS server side ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD coreteam member | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Sun Jun 25 11:14:24 2000 Delivered-To: freebsd-fs@freebsd.org Received: from mail-relay.eunet.no (mail-relay.eunet.no [193.71.71.242]) by hub.freebsd.org (Postfix) with ESMTP id 6357C37BC6F; Sun, 25 Jun 2000 11:14:18 -0700 (PDT) (envelope-from mbendiks@eunet.no) Received: from login-1.eunet.no (login-1.eunet.no [193.75.110.2]) by mail-relay.eunet.no (8.9.3/8.9.3/GN) with ESMTP id UAA86902; Sun, 25 Jun 2000 20:14:13 +0200 (CEST) (envelope-from mbendiks@eunet.no) Received: from localhost (mbendiks@localhost) by login-1.eunet.no (8.9.3/8.8.8) with ESMTP id UAA99073; Sun, 25 Jun 2000 20:14:12 +0200 (CEST) (envelope-from mbendiks@eunet.no) X-Authentication-Warning: login-1.eunet.no: mbendiks owned process doing -bs Date: Sun, 25 Jun 2000 20:14:12 +0200 (CEST) From: Marius Bendiksen To: Poul-Henning Kamp Cc: clemensF , freebsd-fs@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: sys/ufs/ufs/ufs_quota.c In-Reply-To: <12209.961944459@critter.freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org [cred->cr_uid==0] > >this should be more portable and future-save, right? > Isn't there an issue with NFS server side ? There might be. I have not looked at the NFS code. However, offhand, I do not see any reason why this should be the case, except for bugs in the code, given that any requrest with uid 0 should, at the moment, have Super powers anyway. Marius To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Sun Jun 25 11:21:20 2000 Delivered-To: freebsd-fs@freebsd.org Received: from lafontaine.cybercable.fr (lafontaine.cybercable.fr [212.198.0.202]) by hub.freebsd.org (Postfix) with SMTP id A91F237BC28 for ; Sun, 25 Jun 2000 11:19:47 -0700 (PDT) (envelope-from root@gits.dyndns.org) Received: (qmail 3060166 invoked from network); 25 Jun 2000 18:19:44 -0000 Received: from r224m65.cybercable.tm.fr (HELO gits.dyndns.org) ([195.132.224.65]) (envelope-sender ) by lafontaine.cybercable.fr (qmail-ldap-1.03) with SMTP for ; 25 Jun 2000 18:19:44 -0000 Received: (from root@localhost) by gits.dyndns.org (8.9.3/8.9.3) id UAA16003 for clefevre@citeweb.net; Sun, 25 Jun 2000 20:19:40 +0200 (CEST) (envelope-from root) Posted-Date: Sun, 25 Jun 2000 20:19:40 +0200 (CEST) To: "Mark W. Krentel" Cc: clefevre@citeweb.net, freebsd-emulation@FreeBSD.ORG, freebsd-fs@FreeBSD.ORG Reply-To: clefevre@citeweb.net, krentel@dreamscape.com, freebsd-emulation@FreeBSD.ORG Subject: Re: panic running linux binaries from ext2fs References: <200006250608.CAA15375@dreamscape.com> Reply-To: clefevre@citeweb.net 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 20:19:35 +0200 In-Reply-To: "Mark W. Krentel"'s message of "Sun, 25 Jun 2000 02:08:58 -0400 (EDT)" Message-ID: Lines: 57 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: > > 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 ? > > I use the linux_base-6.1 port, which installs some 57 Meg on > /compat/linux. But all that's on /usr, a UFS partition. > > My machine dual boots between Linux and Freebsd, so the Linux > partitions are on a different slice. I mount Linux's / partition on > /mnt, usually read-only to reduce the number of fsck's after each > panic. > > # Device Mountpoint FStype Options Dump Pass# > /dev/da0s1 /mnt ext2fs ro,noauto 0 0 > > > how do you run your linux application ? > > /linux/bin/whatever or /compat/linux/bin/whatever ? > > I'm not running the binaries in /compat/linux. I cd to /mnt/bin > (Linux's /bin) and run ./ls. I guess the problem is here. if the Linux binaries aren't branded, and not run from /compat/linux, FreeBSD run them in the FreeBSD kernel space, not the Linux kernel space. since the syscalls are differents... > > /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. > > I haven't branded them because I wasn't sure how Linux would react to > the brand. Besides, it doesn't seem to have trouble identifying that > they are Linux binaries. But I'll try the experiment tomorrow and > report if there's any difference. what says "brandelf /mnt/bin/ls" ? is there the Linux keyword somewhere ? if no, you probably need to brand them or don't complain. > All good ideas that could cause emulation to fail, but I don't see > where they would cause a panic. why don't you mount your Linux partition on top of /compat/linux ? so, you don't need to have the linux-base port installed. and all should work fine. > P.S. I know I announced this to both -emulation and -fs, but let's > restrict the follow-ups to one or the other, probably -emulation. fu2 freebsd-emulation@FreeBSD.ORG 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 From owner-freebsd-fs Mon Jun 26 11:28:30 2000 Delivered-To: freebsd-fs@freebsd.org Received: from lafontaine.cybercable.fr (lafontaine.cybercable.fr [212.198.0.202]) by hub.freebsd.org (Postfix) with SMTP id F074037B819 for ; Mon, 26 Jun 2000 11:28:26 -0700 (PDT) (envelope-from root@gits.dyndns.org) Received: (qmail 3602582 invoked from network); 26 Jun 2000 18:28:25 -0000 Received: from r224m65.cybercable.tm.fr (HELO gits.dyndns.org) ([195.132.224.65]) (envelope-sender ) by lafontaine.cybercable.fr (qmail-ldap-1.03) with SMTP for ; 26 Jun 2000 18:28:25 -0000 Received: (from root@localhost) by gits.dyndns.org (8.9.3/8.9.3) id UAA96501; Mon, 26 Jun 2000 20:28:23 +0200 (CEST) (envelope-from root) From: Cyrille Lefevre Posted-Date: Mon, 26 Jun 2000 20:28:23 +0200 (CEST) Message-Id: <200006261828.UAA96501@gits.dyndns.org> Subject: strange symlink behaviour if / terminated To: freebsd-fs@FreeBSD.ORG, freebsd-hacker@FreeBSD.ORG Date: Mon, 26 Jun 2000 20:28:23 +0200 (CEST) Reply-To: clefevre@citeweb.net Organization: ACME 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 X-Mailer: ELM [version 2.4ME+ PL77 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org preliminaries : # mkdir -p /path/name /path/to # touch /path/name/file # ln -s /path/name /path/to/symlink # mv /path/to/symlink/ /other/location ^ note the terminating slash. move the target of the symlink instead of the symlink itself. same results w/ rm -r and cp -r. slightly different results w/ rm and cp. # rm /path/to/symlink/ rm: /path/to/symlink/: is a directory # cp /path/to/symlink/ /other/location cp: /path/to/symlink/ is a directory (not copied). # rmdir -p /path/to/symlink/ remove the symlink itself instead of do nothing, such as in : # rmdir -p /path/to/symlink rmdir: /path/to/symlink: Not a directory also, strange output from rmdir -p : # mkdir -p /path/name # rmdir -p /path/name rmdir: : No such file or directory # mkdir -p /path/name/ # rmdir -p /path/name/ rmdir: /path/name: No such file or directory I don't have done these tests under some other OSes (HP-UX, Solaris, IRIX) yet, but I'm sure that they do nothing or they work on symlink itself instead of the target. 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 From owner-freebsd-fs Mon Jun 26 12: 6:25 2000 Delivered-To: freebsd-fs@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 2D06D37B51B; Mon, 26 Jun 2000 12:06:19 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id NAA69546; Mon, 26 Jun 2000 13:06:12 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id NAA25572; Mon, 26 Jun 2000 13:04:23 -0600 (MDT) Message-Id: <200006261904.NAA25572@harmony.village.org> To: clefevre@citeweb.net, freebsd-fs@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: strange symlink behaviour if / terminated In-reply-to: Your message of "Mon, 26 Jun 2000 20:31:55 +0200." <200006261831.UAA96533@gits.dyndns.org> References: <200006261831.UAA96533@gits.dyndns.org> Date: Mon, 26 Jun 2000 13:04:23 -0600 From: Warner Losh Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <200006261831.UAA96533@gits.dyndns.org> Cyrille Lefevre writes: : # mv /path/to/symlink/ /other/location : ^ note the terminating slash. Read the terminating slash as "/." and it all should make sense. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Mon Jun 26 12:10: 7 2000 Delivered-To: freebsd-fs@freebsd.org Received: from gvr.gvr.org (gvr.gvr.org [194.151.74.97]) by hub.freebsd.org (Postfix) with ESMTP id 7E64237BC8D; Mon, 26 Jun 2000 12:10:03 -0700 (PDT) (envelope-from guido@gvr.org) Received: by gvr.gvr.org (Postfix, from userid 657) id E45F5A85A; Mon, 26 Jun 2000 21:10:01 +0200 (CEST) Date: Mon, 26 Jun 2000 21:10:01 +0200 From: Guido van Rooij To: clefevre@citeweb.net, krentel@dreamscape.com, freebsd-emulation@FreeBSD.ORG Cc: freebsd-fs@FreeBSD.ORG Subject: Re: panic running linux binaries from ext2fs Message-ID: <20000626211001.A50614@gvr.gvr.org> References: <200006250608.CAA15375@dreamscape.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: ; from Cyrille Lefevre on Sun, Jun 25, 2000 at 08:19:35PM +0200 Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, Jun 25, 2000 at 08:19:35PM +0200, Cyrille Lefevre wrote: > > I guess the problem is here. if the Linux binaries aren't branded, > and not run from /compat/linux, FreeBSD run them in the FreeBSD > kernel space, not the Linux kernel space. since the syscalls are > differents... That should not be a reason for a panic...core dump okay, but not a panic. What does gdb of the crashdump say? -Guido To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Mon Jun 26 12:17:29 2000 Delivered-To: freebsd-fs@freebsd.org Received: from io.dreamscape.com (io.dreamscape.com [206.64.128.6]) by hub.freebsd.org (Postfix) with ESMTP id 5453E37B51B; Mon, 26 Jun 2000 12:17:20 -0700 (PDT) (envelope-from krentel@dreamscape.com) Received: from dreamscape.com (sA10-p35.dreamscape.com [209.4.252.227]) by io.dreamscape.com (8.9.3/8.8.4) with ESMTP id PAA09229; Mon, 26 Jun 2000 15:16:01 -0400 (EDT) X-Dreamscape-Track-A: sA10-p35.dreamscape.com [209.4.252.227] X-Dreamscape-Track-B: Mon, 26 Jun 2000 15:16:01 -0400 (EDT) Received: (from krentel@localhost) by dreamscape.com (8.9.3/8.9.3) id PAA02609; Mon, 26 Jun 2000 15:16:51 -0400 (EDT) (envelope-from krentel) Date: Mon, 26 Jun 2000 15:16:51 -0400 (EDT) From: "Mark W. Krentel" Message-Id: <200006261916.PAA02609@dreamscape.com> To: freebsd-emulation@FreeBSD.ORG Subject: Re: panic running linux binaries from ext2fs Cc: clefevre@citeweb.net, freebsd-fs@FreeBSD.ORG Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I guess the problem is here. if the Linux binaries aren't branded, > and not run from /compat/linux, FreeBSD run them in the FreeBSD > kernel space, not the Linux kernel space. since the syscalls are > differents... Ok, I've copied the Linux /mnt/bin to /mnt/brand and branded them. And running the branded version (again from ext2fs) produces the same panic. It's not a branding issue. I asked about this on -emulation several months ago. Except for static binaries, branding has not been necessary for quite some time. For dynamically-linked binaries, the Freebsd loader can identify the binary type from how the binary asks to be loaded. You can even mis-brand binaries, and all you'll get is an Abort trap, certainly not a panic. No, I don't think it's a simple misconfiguration problem. I've run the Linux versions of emacs and netscape, and everything runs fine as long as all the files are on UFS. But moving the binaries to ext2fs produces a panic. --Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Mon Jun 26 15:38:39 2000 Delivered-To: freebsd-fs@freebsd.org Received: from lafontaine.cybercable.fr (lafontaine.cybercable.fr [212.198.0.202]) by hub.freebsd.org (Postfix) with SMTP id E204537B911 for ; Mon, 26 Jun 2000 15:38:32 -0700 (PDT) (envelope-from root@gits.dyndns.org) Received: (qmail 3649212 invoked from network); 26 Jun 2000 22:38:31 -0000 Received: from r224m65.cybercable.tm.fr (HELO gits.dyndns.org) ([195.132.224.65]) (envelope-sender ) by lafontaine.cybercable.fr (qmail-ldap-1.03) with SMTP for ; 26 Jun 2000 22:38:31 -0000 Received: (from root@localhost) by gits.dyndns.org (8.9.3/8.9.3) id AAA01040; Tue, 27 Jun 2000 00:38:30 +0200 (CEST) (envelope-from root) From: Cyrille Lefevre Posted-Date: Tue, 27 Jun 2000 00:38:30 +0200 (CEST) Message-Id: <200006262238.AAA01040@gits.dyndns.org> Subject: Re: cvs update failed In-Reply-To: <200006262010.NAA16075@vashon.polstra.com> "from John Polstra at Jun 26, 2000 01:10:12 pm" To: freebsd-fs@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Date: Tue, 27 Jun 2000 00:38:29 +0200 (CEST) Cc: adrian@FreeBSD.ORG, imp@village.org, clefevre@citeweb.net Organization: ACME 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 X-Mailer: ELM [version 2.4ME+ PL77 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org John Polstra wrote: > In article <200006260319.FAA29083@gits.dyndns.org>, > Cyrille Lefevre wrote: > > > > the problem I have, is that, when I run "cvs -t update -r RELENG_4", > > I got the following message (last 4 lines) : > [...] > > cvs update: notice: main loop with CVSROOT=anoncvs@anoncvs.netbsd.org:/cvsroot > > -> Starting server: rsh anoncvs.netbsd.org -l anoncvs cvs server > > anoncvs.netbsd.org: Connection refused > > cvs [update aborted]: end of file from server (consult above messages if any) > > > > what's happen ? > > Either your CVSROOT environment variable is set incorrectly, or you > have a "CVS/Root" file somewhere in your tree that contains the wrong > value. The value listed is for NetBSD, and the NetBSD server doesn't > even like it. Thanks, that's a CVS/Root from adrian's fsck/fsck_ffs which was imported from the NetBSD source tree. I get rid of thoses CVS trees until there are incorporated w/in the FreeBSD source tree. Cyrille. -- home: mailto:clefevre@citeweb.net work: mailto:Cyrille.Lefevre@edf.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Mon Jun 26 17:22:44 2000 Delivered-To: freebsd-fs@freebsd.org Received: from ircache.net (ack.ircache.net [192.52.106.29]) by hub.freebsd.org (Postfix) with ESMTP id B185637BD89 for ; Mon, 26 Jun 2000 17:22:39 -0700 (PDT) (envelope-from wessels@ircache.net) Received: from surf.ircache.net (surf.scd.ucar.edu [128.117.28.53]) by ircache.net (8.8.6/8.8.6) with ESMTP id RAA05951 for ; Mon, 26 Jun 2000 17:22:37 -0700 (PDT) Received: from localhost (wessels@localhost) by surf.ircache.net (8.8.6/8.8.6) with ESMTP id SAA09804 for ; Mon, 26 Jun 2000 18:22:31 -0600 (MDT) Date: Mon, 26 Jun 2000 18:22:31 -0600 From: Duane Wessels To: freebsd-fs@freebsd.org Subject: vnode/inode starvation Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I have an application -- a caching proxy called Squid. When benchmarking Squid on FreeBSD-3.5, I'm seeing very high vnode (inode?) usage. After running for a few hours under peak load, all of the kernel virtual memory (?) is consumed by vnodes: Memory statistics by type Type Kern Type InUse MemUse HighUse Limit Requests Limit Limit Size(s) 256 file desc, devbuf, temp, subproc, vnodes, ifaddr, routetbl, FFS node FFS node343147 85787K 85787K 85787K 742322 1 0 256 At this point, any process that wants a new vnode is blocked. Top shows many processes in 'ffsvgt' state, and one process in 'FFS no' state. I'm using the RELENG_3 branch, sucked down on June 20: FreeBSD mr-garrison.measurement-factory.com 3.5-STABLE FreeBSD 3.5-STABLE #4: Tue Jun 20 14:15:04 MDT 2000 root@mr-garrison.measurement-factory.com:/usr/src/sys/compile/SQUID i386 I don't know a whole lot about kernel code and these sorts of low-level filesystem details. But it seems to me this is really strange. I don't unerstand why vnodes aren't being reused or freed. Does vnode reclaimation sort of rely on processes not living very long? In my case I have six squid processes that never die, each of which can touch 500,000 or more disk files. Ideas, references, explanations welcome... Duane W. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Mon Jun 26 22:47:55 2000 Delivered-To: freebsd-fs@freebsd.org Received: from mail.bastard.co.uk (node16292.a2000.nl [24.132.98.146]) by hub.freebsd.org (Postfix) with ESMTP id 9D2D937BDEE; Mon, 26 Jun 2000 22:47:48 -0700 (PDT) (envelope-from adrian@bastard.co.uk) Received: from adrian by mail.bastard.co.uk with local (Exim 3.14 #1) id 136oCd-000EVM-00; Tue, 27 Jun 2000 07:46:31 +0200 Date: Tue, 27 Jun 2000 07:46:31 +0200 From: Adrian Chadd To: Cyrille Lefevre Cc: freebsd-fs@FreeBSD.ORG, freebsd-hackers@freebsd.org, imp@village.org, clefevre@citeweb.net Subject: Re: cvs update failed Message-ID: <20000627074631.B36017@zoe.bastard.co.uk> References: <200006262010.NAA16075@vashon.polstra.com> <200006262238.AAA01040@gits.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200006262238.AAA01040@gits.dyndns.org>; from root@gits.dyndns.org on Tue, Jun 27, 2000 at 12:38:29AM +0200 Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Jun 27, 2000, Cyrille Lefevre wrote: > John Polstra wrote: > > In article <200006260319.FAA29083@gits.dyndns.org>, > > Cyrille Lefevre wrote: > > > > > > the problem I have, is that, when I run "cvs -t update -r RELENG_4", > > > I got the following message (last 4 lines) : > > [...] > > > cvs update: notice: main loop with CVSROOT=anoncvs@anoncvs.netbsd.org:/cvsroot > > > -> Starting server: rsh anoncvs.netbsd.org -l anoncvs cvs server > > > anoncvs.netbsd.org: Connection refused > > > cvs [update aborted]: end of file from server (consult above messages if any) > > > > > > what's happen ? > > > > Either your CVSROOT environment variable is set incorrectly, or you > > have a "CVS/Root" file somewhere in your tree that contains the wrong > > value. The value listed is for NetBSD, and the NetBSD server doesn't > > even like it. > > Thanks, that's a CVS/Root from adrian's fsck/fsck_ffs which was imported > from the NetBSD source tree. I get rid of thoses CVS trees until there > are incorporated w/in the FreeBSD source tree. No, the fsck wrappers came straight from NetBSD. FreeBSD's fsck was turned into fsck_ffs, and fsck comes from NetBSD. I've kept the CVS/Root entries intact for both, so people can generate a diff from the origin source trees. Adrian -- Adrian Chadd Build a man a fire, and he's warm for the rest of the evening. Set a man on fire and he's warm for the rest of his life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Mon Jun 26 23:44:23 2000 Delivered-To: freebsd-fs@freebsd.org Received: from gidora.zeta.org.au (gidora.zeta.org.au [203.26.10.25]) by hub.freebsd.org (Postfix) with SMTP id D700C37BFBA for ; Mon, 26 Jun 2000 23:44:17 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: (qmail 7966 invoked from network); 27 Jun 2000 06:44:14 -0000 Received: from unknown (HELO bde.zeta.org.au) (203.2.228.102) by gidora.zeta.org.au with SMTP; 27 Jun 2000 06:44:14 -0000 Date: Tue, 27 Jun 2000 16:44:11 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: clefevre@citeweb.net Cc: fs@FreeBSD.ORG, hacker@FreeBSD.ORG Subject: Re: strange symlink behaviour if / terminated In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 25 Jun 2000, Cyrille Lefevre wrote: This is mostly unstrange, intended behaviour. Putting a trailing slash on a symlink causes the symlink to be followed. However their are bugs in the slash handling code in rmdir -p. > preliminaries : > > # mkdir -p /path/name /path/to > # touch /path/name/file > # ln -s /path/name /path/to/symlink > > # mv /path/to/symlink/ /other/location > ^ note the terminating slash. > > move the target of the symlink instead of the symlink itself. > > same results w/ rm -r and cp -r. > > slightly different results w/ rm and cp. > > # rm /path/to/symlink/ > rm: /path/to/symlink/: is a directory > # cp /path/to/symlink/ /other/location > cp: /path/to/symlink/ is a directory (not copied). All normal results. > # rmdir -p /path/to/symlink/ > > remove the symlink itself instead of do nothing, such as in : > > # rmdir -p /path/to/symlink > rmdir: /path/to/symlink: Not a directory This actually (correctly) removes the directory and then apparently blunders on and attempts to remove the symlink. > also, strange output from rmdir -p : > > # mkdir -p /path/name > # rmdir -p /path/name > rmdir: : No such file or directory rmdir -p has the common bug of stripping the final "/". This bug is rarely seen since attempting to remove the root directory is a user error. > # mkdir -p /path/name/ > # rmdir -p /path/name/ > rmdir: /path/name: No such file or directory PR6521 is about at least some of these problems. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Tue Jun 27 3:28:13 2000 Delivered-To: freebsd-fs@freebsd.org Received: from mail.bastard.co.uk (node16292.a2000.nl [24.132.98.146]) by hub.freebsd.org (Postfix) with ESMTP id 700F237B8FE; Tue, 27 Jun 2000 03:28:05 -0700 (PDT) (envelope-from adrian@bastard.co.uk) Received: from adrian by mail.bastard.co.uk with local (Exim 3.14 #1) id 136sb4-000ExA-00; Tue, 27 Jun 2000 12:28:02 +0200 Date: Tue, 27 Jun 2000 12:28:02 +0200 From: Adrian Chadd To: Adrian Chadd Cc: Cyrille Lefevre , freebsd-fs@FreeBSD.ORG, freebsd-hackers@freebsd.org, imp@village.org, clefevre@citeweb.net Subject: Re: cvs update failed Message-ID: <20000627122802.E36017@zoe.bastard.co.uk> References: <200006262010.NAA16075@vashon.polstra.com> <200006262238.AAA01040@gits.dyndns.org> <20000627074631.B36017@zoe.bastard.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000627074631.B36017@zoe.bastard.co.uk>; from adrian@freebsd.org on Tue, Jun 27, 2000 at 07:46:31AM +0200 Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Jun 27, 2000, Adrian Chadd wrote: > On Tue, Jun 27, 2000, Cyrille Lefevre wrote: > > John Polstra wrote: > > > In article <200006260319.FAA29083@gits.dyndns.org>, > > > Cyrille Lefevre wrote: > > > > > > > > the problem I have, is that, when I run "cvs -t update -r RELENG_4", > > > > I got the following message (last 4 lines) : > > > [...] > > > > cvs update: notice: main loop with CVSROOT=anoncvs@anoncvs.netbsd.org:/cvsroot > > > > -> Starting server: rsh anoncvs.netbsd.org -l anoncvs cvs server > > > > anoncvs.netbsd.org: Connection refused > > > > cvs [update aborted]: end of file from server (consult above messages if any) > > > > > > > > what's happen ? > > > > > > Either your CVSROOT environment variable is set incorrectly, or you > > > have a "CVS/Root" file somewhere in your tree that contains the wrong > > > value. The value listed is for NetBSD, and the NetBSD server doesn't > > > even like it. > > > > Thanks, that's a CVS/Root from adrian's fsck/fsck_ffs which was imported > > from the NetBSD source tree. I get rid of thoses CVS trees until there > > are incorporated w/in the FreeBSD source tree. > > No, the fsck wrappers came straight from NetBSD. FreeBSD's fsck was turned > into fsck_ffs, and fsck comes from NetBSD. I've kept the CVS/Root entries > intact for both, so people can generate a diff from the origin source > trees. .. realising that this stuff isn't committed at all, so i'm curious how you managed to come across this.. :) Adrian -- Adrian Chadd Build a man a fire, and he's warm for the rest of the evening. Set a man on fire and he's warm for the rest of his life. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Tue Jun 27 6:49:35 2000 Delivered-To: freebsd-fs@freebsd.org Received: from hetnet.nl (net015s.hetnet.nl [194.151.104.155]) by hub.freebsd.org (Postfix) with ESMTP id BD0C437BB1B for ; Tue, 27 Jun 2000 06:49:27 -0700 (PDT) (envelope-from leonardjo@hetnet.nl) Received: from potkoffie ([195.121.129.134]) by hetnet.nl with Microsoft SMTPSVC(5.5.1877.387.38); Tue, 27 Jun 2000 15:49:24 +0200 From: "Leonard den Ottolander" To: Sascha Schumann Date: Tue, 27 Jun 2000 15:47:53 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Again:Patch concerning linux extended fs Cc: freebsd-fs@freebsd.org References: <077090602151860NET015S@hetnet.nl> In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.01d) Message-ID: <08ac62449131b60NET015S@hetnet.nl> Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Sascha, > Instead of changing all checks everytime, you might want to > use a macro: > > #define IS_DOS_EXTENDED_PARTITION(n) \ > (n == DOSPTYP_EXTENDED \ > || n == DOSPTYP_EXTENDEDX \ > || n == DOSPTYP_LINUXEXTENDED) If you check the Linux fdisk.h (fe util-linux 2.9w), you will see that they indeed use a very similair (almost identical) macro. One thing though, it is more correct to put braces around the n's, in case (n) is a compound element. This should actually be done in any macro, to prevent errors. You could of course have submitted this to the list yourself, since it is not just my concern! I will include it before I do a PR submission. Thanks anyway, Leonard. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Tue Jun 27 9:41: 2 2000 Delivered-To: freebsd-fs@freebsd.org Received: from sockratte.schell.de (polz.de [195.20.238.74]) by hub.freebsd.org (Postfix) with SMTP id 2CDA437C399 for ; Tue, 27 Jun 2000 09:40:44 -0700 (PDT) (envelope-from sascha@schumann.cx) Received: (qmail 22740 invoked from network); 27 Jun 2000 16:40:39 -0000 Received: from unknown (HELO ?10.0.0.29?) (62.54.154.140) by schell.de with SMTP; 27 Jun 2000 16:40:39 -0000 Date: Tue, 27 Jun 2000 18:39:27 +0200 (CEST) From: Sascha Schumann X-Sender: sas@eco.foo To: Leonard den Ottolander Cc: freebsd-fs@freebsd.org Subject: Re: Again:Patch concerning linux extended fs In-Reply-To: <08ac62449131b60NET015S@hetnet.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 27 Jun 2000, Leonard den Ottolander wrote: > Hi Sascha, > > > Instead of changing all checks everytime, you might want to > > use a macro: > > > > #define IS_DOS_EXTENDED_PARTITION(n) \ > > (n == DOSPTYP_EXTENDED \ > > || n == DOSPTYP_EXTENDEDX \ > > || n == DOSPTYP_LINUXEXTENDED) > > If you check the Linux fdisk.h (fe util-linux 2.9w), you will see that they > indeed use a very similair (almost identical) macro. One thing though, it is > more correct to put braces around the n's, in case (n) is a compound element. > This should actually be done in any macro, to prevent errors. > You could of course have submitted this to the list yourself, since it is not > just my concern! I will include it before I do a PR submission. Imagine, if I had sent you the most perfect macro. You would have to do nothing but to include it in your code. That is not really satisfying, isn't it. :-) (I did not really follow the thread, so the author of the patch might have been someone else.) - Sascha To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Wed Jun 28 4:24:22 2000 Delivered-To: freebsd-fs@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id CDC4F37BE89; Wed, 28 Jun 2000 04:24:14 -0700 (PDT) (envelope-from atrn@zeta.org.au) Received: from ska.bsn (ppp103.dyn145.pacific.net.au [210.23.145.103]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id VAA19492; Wed, 28 Jun 2000 21:24:03 +1000 Received: (from andy@localhost) by ska.bsn (8.9.3/8.9.3) id IAA95782; Wed, 28 Jun 2000 08:36:41 +1000 (EST) (envelope-from andy) Message-ID: <20000628083641.A95088@ska.bsn> Date: Wed, 28 Jun 2000 08:36:41 +1000 From: Andy Newman To: "Mark W. Krentel" , freebsd-emulation@FreeBSD.ORG Cc: clefevre@citeweb.net, freebsd-fs@FreeBSD.ORG Subject: Re: panic running linux binaries from ext2fs References: <200006261916.PAA02609@dreamscape.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91i In-Reply-To: <200006261916.PAA02609@dreamscape.com>; from Mark W. Krentel on Mon, Jun 26, 2000 at 03:16:51PM -0400 Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > No, I don't think it's a simple misconfiguration problem. I recall a message a while (i.e, months) ago on either -stable or -hackers concerning this. ISRT it's a VM system problem, it can't demand page off ext2fs. I didn't follow it closely (no ext2fs here) so that may not be entirely correct but sounds reasonable given the symptons. -- Chuck Berry lied about the promised land To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Wed Jun 28 11:27:38 2000 Delivered-To: freebsd-fs@freebsd.org Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226]) by hub.freebsd.org (Postfix) with ESMTP id D737237C1EB; Wed, 28 Jun 2000 11:27:22 -0700 (PDT) (envelope-from marcel@cup.hp.com) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel3.hp.com (Postfix) with ESMTP id 0976313AE; Wed, 28 Jun 2000 11:27:22 -0700 (PDT) Received: from cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com (8.9.3 (PHNE_18979)/8.9.3 SMKit7.02) with ESMTP id LAA17330; Wed, 28 Jun 2000 11:27:20 -0700 (PDT) Message-ID: <395A4389.39DC4084@cup.hp.com> Date: Wed, 28 Jun 2000 11:27:21 -0700 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Andy Newman Cc: "Mark W. Krentel" , freebsd-emulation@FreeBSD.ORG, clefevre@citeweb.net, freebsd-fs@FreeBSD.ORG Subject: Re: panic running linux binaries from ext2fs References: <200006261916.PAA02609@dreamscape.com> <20000628083641.A95088@ska.bsn> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Andy Newman wrote: > > > No, I don't think it's a simple misconfiguration problem. > > I recall a message a while (i.e, months) ago on either -stable > or -hackers concerning this. ISRT it's a VM system problem, it > can't demand page off ext2fs. I didn't follow it closely (no > ext2fs here) so that may not be entirely correct but sounds > reasonable given the symptons. This means that you can't load/run *any* binaries from an ext2 fs and not just Linux binaries, right? -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Wed Jun 28 14:37:49 2000 Delivered-To: freebsd-fs@freebsd.org Received: from pedigree.cs.ubc.ca (pedigree.cs.ubc.ca [142.103.6.50]) by hub.freebsd.org (Postfix) with ESMTP id 2FAB137C0CB for ; Wed, 28 Jun 2000 14:37:45 -0700 (PDT) (envelope-from dima@cs.ubc.ca) Received: from cascade.cs.ubc.ca (dima@cascade.cs.ubc.ca [142.103.7.7]) by pedigree.cs.ubc.ca (8.8.8/8.6.9) with ESMTP id OAA24915 for ; Wed, 28 Jun 2000 14:37:43 -0700 (PDT) From: Dmitry Brodsky Received: (dima@localhost) by cascade.cs.ubc.ca (8.9.1/8.6.12) id OAA00462 for freebsd-fs@freebsd.org; Wed, 28 Jun 2000 14:37:42 -0700 (PDT) Message-Id: <200006282137.OAA00462@cascade.cs.ubc.ca> Subject: VFS Documentation To: freebsd-fs@freebsd.org Date: Wed, 28 Jun 2000 14:37:41 -0700 (PDT) X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Greetings, I am a newbie to this list and to the FreeBSD VFS layer. I am embarking on a project of creating a stackable FS in FreeBSD 4.0, on top of ffs. Apart from the nullfs code snippets and the information in "The Design and Implementation of the 4.4 BSD Operating System" is there any other documentation about the VFS layer and how one would go about designing and building such a file system. Thanks ttyl Dima -- Dima Brodsky dima@cs.ubc.ca http://www.cs.ubc.ca/~dima 201-2366 Main Mall (604) 822-6179 (Office) Department of Computer Science (604) 822-2895 (DSG Lab) University of British Columbia, Canada (604) 822-5485 (FAX) Computers are like Old Testament gods; lots of rules and no mercy. (Joseph Campbell) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Wed Jun 28 19: 3:39 2000 Delivered-To: freebsd-fs@freebsd.org Received: from hotmail.com (f278.law9.hotmail.com [64.4.8.153]) by hub.freebsd.org (Postfix) with SMTP id 564D837BA83 for ; Wed, 28 Jun 2000 19:03:34 -0700 (PDT) (envelope-from jukesjunda@hotmail.com) Received: (qmail 41997 invoked by uid 0); 29 Jun 2000 02:03:32 -0000 Message-ID: <20000629020332.41996.qmail@hotmail.com> Received: from 128.8.96.27 by www.hotmail.com with HTTP; Wed, 28 Jun 2000 19:03:32 PDT X-Originating-IP: [128.8.96.27] From: "jukes junda" To: freebsd-fs@freebsd.org Cc: freebsd-questions@freebsd.org Subject: RAID Date: Thu, 29 Jun 2000 02:03:32 GMT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org DOes anyone have a url on RAID "HOW-TO", esp for FreeBSD? -jun ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Wed Jun 28 21: 8:36 2000 Delivered-To: freebsd-fs@freebsd.org Received: from wat-border.sentex.ca (waterloo-hespler.sentex.ca [199.212.135.66]) by hub.freebsd.org (Postfix) with ESMTP id 04A2D37B92B for ; Wed, 28 Jun 2000 21:08:31 -0700 (PDT) (envelope-from mike@sentex.net) Received: from granite.sentex.net (granite-atm.sentex.ca [209.112.4.1]) by wat-border.sentex.ca (8.9.3/8.9.3) with ESMTP id AAA13127; Thu, 29 Jun 2000 00:08:29 -0400 (EDT) (envelope-from mike@sentex.net) Received: from chimp.simianscience.com (cage.simianscience.com [64.7.134.1]) by granite.sentex.net (8.8.8/8.6.9) with SMTP id AAA22609; Thu, 29 Jun 2000 00:08:28 -0400 (EDT) From: mike@sentex.net (Mike Tancsa) To: jukesjunda@hotmail.com ("jukes junda") Cc: freebsd-fs@freebsd.org Subject: Re: RAID Date: Thu, 29 Jun 2000 04:04:07 GMT Message-ID: <395aca1a.372318335@mail.sentex.net> References: In-Reply-To: X-Mailer: Forte Agent .99e/32.227 Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 28 Jun 2000 22:04:52 -0400, in sentex.lists.freebsd.misc you wrote: >DOes anyone have a url on RAID "HOW-TO", esp for FreeBSD? man -k raid amr(4) - AMI MegaRAID PCI-SCSI RAID driver dpt(4) - DPT RAID Controller SCSI driver mlx(4) - Mylex DAC-family RAID driver mlxcontrol(8) - Mylex DAC-family RAID management utility twe(4) - 3ware Escalade ATA RAID adapter driver I have had good luck with the Mylex DAC960PL/PD using 3.51 firmware and also the twe so far has done well for me as a big RAID0 stripe on my proxy server. For software RAID, see vinum - Logical Volume Manager control program ---Mike Mike Tancsa (mdtancsa@sentex.net) Sentex Communications Corp, Waterloo, Ontario, Canada "Given enough time, 100 monkeys on 100 routers could setup a national IP network." (KDW2) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Wed Jun 28 21:15:39 2000 Delivered-To: freebsd-fs@freebsd.org Received: from mail-relay.eunet.no (mail-relay.eunet.no [193.71.71.242]) by hub.freebsd.org (Postfix) with ESMTP id 79B8C37B5AC; Wed, 28 Jun 2000 21:15:33 -0700 (PDT) (envelope-from mbendiks@eunet.no) Received: from login-1.eunet.no (login-1.eunet.no [193.75.110.2]) by mail-relay.eunet.no (8.9.3/8.9.3/GN) with ESMTP id GAA07837; Thu, 29 Jun 2000 06:15:05 +0200 (CEST) (envelope-from mbendiks@eunet.no) Received: from localhost (mbendiks@localhost) by login-1.eunet.no (8.9.3/8.8.8) with ESMTP id GAA21189; Thu, 29 Jun 2000 06:15:05 +0200 (CEST) (envelope-from mbendiks@eunet.no) X-Authentication-Warning: login-1.eunet.no: mbendiks owned process doing -bs Date: Thu, 29 Jun 2000 06:15:05 +0200 (CEST) From: Marius Bendiksen To: Marcel Moolenaar Cc: Andy Newman , "Mark W. Krentel" , freebsd-emulation@FreeBSD.ORG, clefevre@citeweb.net, freebsd-fs@FreeBSD.ORG Subject: Re: panic running linux binaries from ext2fs In-Reply-To: <395A4389.39DC4084@cup.hp.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I recall a message a while (i.e, months) ago on either -stable > > or -hackers concerning this. ISRT it's a VM system problem, it > > can't demand page off ext2fs. I didn't follow it closely (no > > ext2fs here) so that may not be entirely correct but sounds > > reasonable given the symptons. > This means that you can't load/run *any* binaries from an ext2 fs and > not just Linux binaries, right? If the above is indeed the problem, then, yes. This would mean that you could not run anything off an ext2 fs. If so, then your solution should be rather simple: add demand paging to ext2 fs. Marius To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Wed Jun 28 23: 1:39 2000 Delivered-To: freebsd-fs@freebsd.org Received: from uosis.mif.vu.lt (uosis.mif.vu.lt [193.219.42.14]) by hub.freebsd.org (Postfix) with SMTP id 5D3DA37B86C for ; Wed, 28 Jun 2000 23:01:14 -0700 (PDT) (envelope-from rn@uosis.mif.vu.lt) Received: (qmail 94455 invoked from network); 29 Jun 2000 06:01:10 -0000 Received: from localhost.mif.vu.lt (HELO LIEPA) (root@127.0.0.1) by localhost.mif.vu.lt with SMTP; 29 Jun 2000 06:01:10 -0000 Message-ID: <000d01bfe18f$6e48f030$3a3ba8c0@LIEPA> From: "Rolandas Naujikas" To: "Dmitry Brodsky" , References: <200006282137.OAA00462@cascade.cs.ubc.ca> Subject: Re: VFS Documentation Date: Thu, 29 Jun 2000 08:01:12 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org http://www.cs.columbia.edu/~ezk/research/fist/ ----- Original Message ----- From: "Dmitry Brodsky" To: Sent: Wednesday, June 28, 2000 11:37 PM Subject: VFS Documentation > Greetings, > > I am a newbie to this list and to the FreeBSD VFS layer. I am embarking > on a project of creating a stackable FS in FreeBSD 4.0, on top of ffs. > Apart from the nullfs code snippets and the information in "The Design > and Implementation of the 4.4 BSD Operating System" is there any other > documentation about the VFS layer and how one would go about designing > and building such a file system. > > Thanks > ttyl > Dima > > -- > Dima Brodsky dima@cs.ubc.ca > http://www.cs.ubc.ca/~dima > 201-2366 Main Mall (604) 822-6179 (Office) > Department of Computer Science (604) 822-2895 (DSG Lab) > University of British Columbia, Canada (604) 822-5485 (FAX) > > Computers are like Old Testament gods; lots of rules and no mercy. > (Joseph Campbell) > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-fs" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Thu Jun 29 8: 0:16 2000 Delivered-To: freebsd-fs@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 6789937B6B9; Thu, 29 Jun 2000 08:00:08 -0700 (PDT) (envelope-from atrn@zeta.org.au) Received: from ska.bsn (ppp174.dyn145.pacific.net.au [210.23.145.174]) by mailman.zeta.org.au (8.8.7/8.8.7) with ESMTP id AAA14839; Fri, 30 Jun 2000 00:59:51 +1000 Received: (from andy@localhost) by ska.bsn (8.9.3/8.9.3) id IAA98403; Thu, 29 Jun 2000 08:21:43 +1000 (EST) (envelope-from andy) Message-ID: <20000629082143.A98393@ska.bsn> Date: Thu, 29 Jun 2000 08:21:43 +1000 From: Andy Newman To: freebsd-emulation@FreeBSD.ORG Cc: freebsd-fs@FreeBSD.ORG Subject: Re: panic running linux binaries from ext2fs References: <200006261916.PAA02609@dreamscape.com> <20000628083641.A95088@ska.bsn> <395A4389.39DC4084@cup.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91i In-Reply-To: <395A4389.39DC4084@cup.hp.com>; from Marcel Moolenaar on Wed, Jun 28, 2000 at 11:27:21AM -0700 Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I recall a message a while (i.e, months) ago on either -stable > > or -hackers concerning this. ISRT it's a VM system problem, it > > can't demand page off ext2fs. I didn't follow it closely (no > > ext2fs here) so that may not be entirely correct but sounds > > reasonable given the symptons. > > This means that you can't load/run *any* binaries from an ext2 fs and > not just Linux binaries, right? I can't remember the details but the keywords "panic, ext2fs, paging" are involved. Maybe a search of the lists may help? -- Chuck Berry lied about the promised land To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Thu Jun 29 23:43: 6 2000 Delivered-To: freebsd-fs@freebsd.org Received: from io.dreamscape.com (io.dreamscape.com [206.64.128.6]) by hub.freebsd.org (Postfix) with ESMTP id 5FF0637B7B3; Thu, 29 Jun 2000 23:43:02 -0700 (PDT) (envelope-from krentel@dreamscape.com) Received: from dreamscape.com (sA19-p35.dreamscape.com [209.217.200.98]) by io.dreamscape.com (8.9.3/8.8.4) with ESMTP id CAA24143; Fri, 30 Jun 2000 02:40:10 -0400 (EDT) X-Dreamscape-Track-A: sA19-p35.dreamscape.com [209.217.200.98] X-Dreamscape-Track-B: Fri, 30 Jun 2000 02:40:10 -0400 (EDT) Received: (from krentel@localhost) by dreamscape.com (8.9.3/8.9.3) id CAA01502; Fri, 30 Jun 2000 02:40:53 -0400 (EDT) (envelope-from krentel) Date: Fri, 30 Jun 2000 02:40:53 -0400 (EDT) From: "Mark W. Krentel" Message-Id: <200006300640.CAA01502@dreamscape.com> To: marcel@cup.hp.com Subject: Re: panic running linux binaries from ext2fs Cc: freebsd-emulation@FreeBSD.ORG, freebsd-fs@FreeBSD.ORG, mbendiks@eunet.no Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > This means that you can't load/run *any* binaries from an ext2 fs and > > not just Linux binaries, right? > > If the above is indeed the problem, then, yes. This would mean that you > could not run anything off an ext2 fs. If so, then your solution should > be rather simple: add demand paging to ext2 fs. I don't normally have any Freebsd binaries on my Linux partitions. But as a test, I copied a few and ran them. It wasn't a real stress test, but ls, emacs, xv and xsnow all seemed to run ok on ext2fs. So, I guess that's not the problem. It seems to require the combination of a Linux binary and ext2fs. And it's not a complicated Linux binary. I can produce the panic with Linux's ls. On the other hand, I have successfully run the Linux versions of emacs and netscape, as long as all the files are on ufs. I know this works for other people, and that's what's so baffling. The symptoms point to me misconfiguring something. But I install linux_base-6.1 and load the module (with the linux script), and it's ready to go. There aren't any rc or sysctl variables for me to screw up. Are there any configuration options for the Linuxulator that I might have set wrong? I blew away /compat/linux and reinstalled linux_base, just to make sure it wasn't any additional libs that were the problem. Is Linux emulation or ext2fs sensitive to any kernel options (other than EXT2FS)? I'm not using soft updates, if that matters. And to make sure it wasn't bad sectors on the disk, I tried the ext2fs slice on two disks. And it panics on both. --Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Fri Jun 30 9:26:53 2000 Delivered-To: freebsd-fs@freebsd.org Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226]) by hub.freebsd.org (Postfix) with ESMTP id 0BC1137B986; Fri, 30 Jun 2000 09:26:45 -0700 (PDT) (envelope-from marcel@cup.hp.com) Received: from adlmail.cup.hp.com (adlmail.cup.hp.com [15.0.100.30]) by palrel3.hp.com (Postfix) with ESMTP id 063C87B4; Fri, 30 Jun 2000 09:26:43 -0700 (PDT) Received: from cup.hp.com (gauss.cup.hp.com [15.28.97.152]) by adlmail.cup.hp.com (8.9.3 (PHNE_18979)/8.9.3 SMKit7.02) with ESMTP id JAA17554; Fri, 30 Jun 2000 09:26:41 -0700 (PDT) Message-ID: <395CCA42.53199592@cup.hp.com> Date: Fri, 30 Jun 2000 09:26:42 -0700 From: Marcel Moolenaar Organization: Hewlett-Packard X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: "Mark W. Krentel" Cc: freebsd-emulation@FreeBSD.ORG, freebsd-fs@FreeBSD.ORG, mbendiks@eunet.no Subject: Re: panic running linux binaries from ext2fs References: <200006300640.CAA01502@dreamscape.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Mark W. Krentel" wrote: > > I don't normally have any Freebsd binaries on my Linux partitions. > But as a test, I copied a few and ran them. It wasn't a real stress > test, but ls, emacs, xv and xsnow all seemed to run ok on ext2fs. > So, I guess that's not the problem. Thanks. > It seems to require the combination of a Linux binary and ext2fs. > And it's not a complicated Linux binary. I can produce the panic > with Linux's ls. On the other hand, I have successfully run the > Linux versions of emacs and netscape, as long as all the files are > on ufs. ls might be a special case in that it may have too much FS dependent code. A kernel trace should tell us more... > Are there any configuration options for the Linuxulator that I might > have set wrong? I blew away /compat/linux and reinstalled linux_base, > just to make sure it wasn't any additional libs that were the problem. You shouldn't need any options. > Is Linux emulation or ext2fs sensitive to any kernel options (other > than EXT2FS)? I'm not using soft updates, if that matters. The linuxulator currently still depends on COMPAT_43, but that's about it, I guess. If you can send us the last dozen of lines of a ktrace/truss session, then we can start working on this... -- Marcel Moolenaar mail: marcel@cup.hp.com / marcel@FreeBSD.org tel: (408) 447-4222 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Fri Jun 30 9:43: 9 2000 Delivered-To: freebsd-fs@freebsd.org Received: from c1mailgw1.prontomail.com (c1mailgw1.prontomail.com [208.178.29.197]) by hub.freebsd.org (Postfix) with ESMTP id 7323D37B5A0 for ; Fri, 30 Jun 2000 09:43:07 -0700 (PDT) (envelope-from giffunip@asme.org) Received: by c1mailgw1.prontomail.com (NPlex 4.5.049) id 3958EAA70005938E for freebsd-fs@FreeBSD.ORG; Fri, 30 Jun 2000 09:43:05 -0700 Received: from 209.88.169.252 by SmtpServer for ; Fri, 30 Jun 2000 16:42:28 +0000 Message-ID: <395CD087.2E315F6E@asme.org> Date: Fri, 30 Jun 2000 11:53:27 -0500 From: "Pedro F. Giffuni" Organization: Universidad Nacional de Colombia X-Mailer: Mozilla 4.5 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: freebsd-fs@FreeBSD.ORG Subject: Re: panic running linux binaries from ext2fs References: <200006300640.CAA01502@dreamscape.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org FWIW, there was an article on Daemonnews.org about a new ext2fs implementation for NetBSD that started from their FFS code. http://www.daemonnews.org/200006/ext2fs.html Someone should take a look, it's completely under a BSD license, which is an excellent motivation. cheers, Pedro. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Fri Jun 30 14:19:55 2000 Delivered-To: freebsd-fs@freebsd.org Received: from hotmail.com (f10.law7.hotmail.com [216.33.237.10]) by hub.freebsd.org (Postfix) with SMTP id 55E1137B60F for ; Fri, 30 Jun 2000 14:19:53 -0700 (PDT) (envelope-from gdc_7777@hotmail.com) Received: (qmail 38256 invoked by uid 0); 30 Jun 2000 21:19:52 -0000 Message-ID: <20000630211952.38255.qmail@hotmail.com> Received: from 208.8.48.2 by www.hotmail.com with HTTP; Fri, 30 Jun 2000 14:19:52 PDT X-Originating-IP: [208.8.48.2] From: "gary crisp" To: marcel@cup.hp.com, krentel@dreamscape.com Cc: freebsd-emulation@FreeBSD.ORG, freebsd-fs@FreeBSD.ORG, mbendiks@eunet.no Subject: Re: panic running linux binaries from ext2fs Date: Fri, 30 Jun 2000 14:19:52 PDT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org what re binaries if you don't mind explaining a little to me. I'm a newnbie. gary ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message