Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 1999 12:33:22 -0400 (EDT)
From:      "Mark J. Taylor" <mtaylor@cybernet.com>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   RE: New combo patch avail
Message-ID:  <XFMail.990825123322.mtaylor@cybernet.com>
In-Reply-To: <199908251510.IAA10546@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990825123322.mtaylor>