From owner-freebsd-current Wed Aug 25 9:31: 1 1999 Delivered-To: freebsd-current@freebsd.org Received: from gateway.cybernet.com (gateway.cybernet.com [192.245.33.1]) by hub.freebsd.org (Postfix) with ESMTP id D1EBB14C37 for ; Wed, 25 Aug 1999 09:30:54 -0700 (PDT) (envelope-from mtaylor@cybernet.com) Received: from spiffy.cybernet.com (spiffy.cybernet.com [192.245.33.55]) by gateway.cybernet.com (8.8.8/8.8.8) with ESMTP id MAA25351; Wed, 25 Aug 1999 12:28:24 -0400 (EDT) (envelope-from mtaylor@cybernet.com) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199908251510.IAA10546@apollo.backplane.com> Date: Wed, 25 Aug 1999 12:33:22 -0400 (EDT) Reply-To: mtaylor@cybernet.com Organization: Cybernet Systems From: "Mark J. Taylor" To: Matthew Dillon Subject: RE: New combo patch avail Cc: freebsd-current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Since I am currently experimenting with BOOTP in -current, I patched ONLY vfs_conf.c and vfs_subr.c with your rootfsid changes. Works fine in a BOOTP configuration. -current sources are as of last night. I can now boot a -current system from only a floppy disk with a (kgzipped) kernel on it! (plus some patches (see below) to rc.diskless1 where it (bogusly) temporarily mounts /usr, since it is already there (it should check for "-d /usr/bin" first), and rc.diskless2 to mfs a /var/msgs dir) -Mark Taylor Index: rc.diskless1 =================================================================== RCS file: /FreeBSD/CVS/src/etc/rc.diskless1,v retrieving revision 1.1 diff -c -2 -r1.1 rc.diskless1 *** rc.diskless1 1999/02/09 17:17:18 1.1 --- rc.diskless1 1999/08/25 16:24:32 *************** *** 48,57 **** # retargeted /etc/fstab. See instructions in /usr/share/examples/diskless. # - set `/bin/df /` - nfs_root=$8 - mount_nfs -o ro ${nfs_root}/usr /usr ! chkerr $? "mount of /usr" # Figure out our interface and IP. # --- 48,61 ---- # retargeted /etc/fstab. See instructions in /usr/share/examples/diskless. # ! nfs_root="" ! if [ ! -d /usr/bin ]; then ! set `/bin/df /` ! nfs_root=$8 ! mount_nfs -o ro ${nfs_root}/usr /usr + chkerr $? "mount of /usr" + fi + # Figure out our interface and IP. # *************** *** 62,66 **** echo "Interface $bootp_ifc IP-Address $bootp_ipa" ! umount /usr # retarget /conf/ME --- 66,72 ---- echo "Interface $bootp_ifc IP-Address $bootp_ipa" ! if [ ! -z $nfs_root ]; then ! umount /usr ! fi # retarget /conf/ME Index: rc.diskless2 =================================================================== RCS file: /FreeBSD/CVS/src/etc/rc.diskless2,v retrieving revision 1.2 diff -c -2 -r1.2 rc.diskless2 *** rc.diskless2 1999/02/10 18:08:16 1.2 --- rc.diskless2 1999/08/25 16:26:56 *************** *** 14,17 **** --- 14,18 ---- mount_mfs -s ${var_tmp_sectors:=65536} -T qp120at dummy /var/tmp mount_mfs -s ${var_spool_sectors:=65536} -T qp120at dummy /var/spool + mount_mfs -s ${var_msgs_sectors:=2048} -T qp120at dummy /var/msgs chmod 755 /var/run chmod 755 /var/db On 25-Aug-99 Matthew Dillon wrote: > A new combo patch is now avaiable: > > http://www.backplane.com/FreeBSD4/ > first section, multipatch-2.diff hotlink. > > The fixes are too numerous to mention. Portions of the patch may be > committed by Alan or dg at any time so anyone who uses the above should > beware. Also included is other work discussed by Alan, DG, and I, not > classified as a 'bug fix', such as the removal of vnode->v_lastr. > > This patch should be considered experimental, mainly due to the BOOTP > related patches which mess around with the rootfsid. > > There may be slight (temporary) degredation in I/O performance due > to lack of tuning of the new sequential detection code. > > The patch includes everything not committed to date including bug fixes > to NFS, VN, CCD, BOOTP, mmap/dirty lockups, and so on. Performance > improvements to NFS, mmap (faults), and certain filesystem I/O ops have > also been made. > > -Matt > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message