Port-cats archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



> > >   In the meantime the cats ramdisk image could be pruned -
> > >   scsictl, mount_kernfs, restore, rcmd, chio, etc...
>
> (Although I think I'll take a closer look at the cats ramdisk
> image with the above as hints...)

I've done the above, and also commented out the Qlogic SCSI
driver, to get INSTALL kernels which are less than 5MB
uncompressed with the attached patch:

netbsd.able-INSTALL     4752759
netbsd.aout-INSTALL     4566343

Does this look OK?  I'm guessing that few have their cats systems
equipped with a Qlogic SCSI or FC controller as the only disk
controller in their system?  The patch makes it impossible to
install using the provided INSTALL kernels on such systems, so I
provide a patch for the install notes as well.

Reply-to set to port-cats.

Longer-term some of the other options should be pursued (kernel
modules and/or a stand-alone boot loader etc.).

Regards,

- Håvard
Index: sys/arch/cats/conf/INSTALL
===================================================================
RCS file: /cvsroot/src/sys/arch/cats/conf/INSTALL,v
retrieving revision 1.70
diff -u -p -r1.70 INSTALL
--- sys/arch/cats/conf/INSTALL  18 Jan 2009 16:29:30 -0000      1.70
+++ sys/arch/cats/conf/INSTALL  21 Jan 2009 12:45:32 -0000
@@ -107,7 +107,7 @@ options             COMPAT_BSDPTY   # /dev/[pt]ty?? p
 # Device options
 
 options        MEMORY_DISK_HOOKS       # boottime setup of ramdisk
-options        MEMORY_DISK_ROOT_SIZE=4400      # Size in blocks
+options        MEMORY_DISK_ROOT_SIZE=4200      # Size in blocks
 options        MEMORY_DISK_IS_ROOT     # use memory disk as root
 options        MEMORY_DISK_SERVER=0    # no userspace memory disk support
 
@@ -193,8 +193,8 @@ scsibus* at ahc?
 #scsibus* at bha?
 iha*   at pci? dev ? function ?        # Initio INIC-940/950 SCSI
 scsibus* at iha?
-isp*   at pci? dev ? function ?        # Qlogic ISP 10x0 SCSI controllers
-scsibus* at isp?
+#isp*  at pci? dev ? function ?        # Qlogic ISP 10x0 SCSI controllers
+#scsibus* at isp?
 pcscp* at pci? dev ? function ?        # AMD 53c974 PCscsi-PCI SCSI
 scsibus* at pcscp?
 siop*  at pci? dev ? function ?        # NCR 53c8xx SCSI
Index: distrib/cats/ramdisk/Makefile
===================================================================
RCS file: /cvsroot/src/distrib/cats/ramdisk/Makefile,v
retrieving revision 1.10
diff -u -p -r1.10 Makefile
--- distrib/cats/ramdisk/Makefile       18 Jan 2009 16:29:30 -0000      1.10
+++ distrib/cats/ramdisk/Makefile       21 Jan 2009 12:45:33 -0000
@@ -4,7 +4,7 @@
 .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
 
 IMAGE=         ramdisk.fs
-IMAGESIZE=     2200k
+IMAGESIZE=     2100k
 MAKEFS_FLAGS=  -f 14
 
 WARNS=         1
Index: distrib/cats/ramdisk/list
===================================================================
RCS file: /cvsroot/src/distrib/cats/ramdisk/list,v
retrieving revision 1.9
diff -u -p -r1.9 list
--- distrib/cats/ramdisk/list   6 May 2008 15:32:06 -0000       1.9
+++ distrib/cats/ramdisk/list   21 Jan 2009 12:45:33 -0000
@@ -4,7 +4,7 @@
 SRCDIRS usr.bin/less bin sbin usr.bin usr.sbin gnu/usr.bin
 
 PROG   bin/cat
-PROG   bin/chio
+#PROG  bin/chio
 PROG   bin/chmod
 PROG   bin/cp
 PROG   bin/dd
@@ -16,7 +16,7 @@ PROG  bin/mkdir
 PROG   bin/mv
 PROG   bin/pax         usr/bin/tar
 PROG   bin/pwd
-PROG   bin/rcmd
+#PROG  bin/rcmd
 PROG   bin/rm
 PROG   bin/sh
 PROG   bin/stty
@@ -39,11 +39,11 @@ PROG        sbin/mount_nfs
 PROG   sbin/newfs      sbin/mount_mfs
 PROG   sbin/ping
 PROG   sbin/reboot     sbin/halt
-PROG   sbin/restore    sbin/rrestore
+#PROG  sbin/restore    sbin/rrestore
 PROG   sbin/route
-PROG   sbin/scsictl
-PROG   sbin/shutdown
-PROG   sbin/slattach
+#PROG  sbin/scsictl
+#PROG  sbin/shutdown
+#PROG  sbin/slattach
 PROG   sbin/swapctl
 PROG   sbin/umount
 
Index: distrib/notes/cats/hardware
===================================================================
RCS file: /cvsroot/src/distrib/notes/cats/hardware,v
retrieving revision 1.5
diff -u -p -r1.5 hardware
--- distrib/notes/cats/hardware 30 Apr 2008 13:10:48 -0000      1.5
+++ distrib/notes/cats/hardware 21 Jan 2009 12:45:33 -0000
@@ -99,8 +99,6 @@ SVEC FD1000-TP
 Znyx ZX34X
 .bullet)
 .It
-Qlogic ISP [12]0x0 SCSI/FibreChannel boards
-.It
 Adaptec AHA-2910, 2915, 2920, and 2930C adapters
 .It
 Adaptec AHA-2x4x[U][2][W] cards and onboard PCI designs using the AIC-7770,


Home | Main Index | Thread Index | Old Index