From owner-freebsd-alpha Sun Oct 27 14:17:49 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C9BB37B401; Sun, 27 Oct 2002 14:17:46 -0800 (PST) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1A0C43E75; Sun, 27 Oct 2002 14:17:45 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id RAA20590; Sun, 27 Oct 2002 17:17:45 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g9RMHFf19003; Sun, 27 Oct 2002 17:17:15 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15804.26091.441347.376760@grasshopper.cs.duke.edu> Date: Sun, 27 Oct 2002 17:17:15 -0500 (EST) To: re@FreeBSD.ORG Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: alpha 5.0 BOOTMFS way too fat .. In-Reply-To: <15804.23096.674450.355772@grasshopper.cs.duke.edu> References: <15804.23096.674450.355772@grasshopper.cs.duke.edu> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Only after throwing out valuable things like nearly all drivers (including ahc, mlx, tga), INET6, NFSCLINET can I get a kernel which fits: % ls -l kernel.gz -rwxr-xr-x 1 gallatin wheel 1223511 Oct 27 17:10 kernel.gz* I've appended a patch against the BOOTMFS that make release currently generates. Are there any binutils options to make things smaller which we're not currently using? Maybe we need to go to a three-floppy install? (loader on first floppy, kernel on second, drivers on third) Drew Andrew Gallatin writes: > > I don't know if its the new toolchain, or if its general kernel bloat, > but a 5.0 BOOTMFS is nowhere near fitting onto a floppy: > > % ls -lR /mnt/ > total 1205 > drwxr-xr-x 2 root wheel 512 Oct 25 21:37 boot/ > -rw------- 1 root wheel 1228800 Oct 25 21:37 kernel.gz > > /mnt/boot: > total 198 > -rw-r--r-- 1 root wheel 640 Oct 25 21:37 device.hints > -r-xr-xr-x 1 root wheel 196128 Oct 25 21:37 loader* > -rw-r--r-- 1 root wheel 229 Oct 25 21:37 loader.rc > > And the size of BOOTMFS is: > > % ls -l kernel.gz > -rwxr-xr-x 1 gallatin wheel 1396562 Oct 27 16:17 kernel.gz* > > > I'm going to start trying to throw things over the side to lighten the > load, but I'm a little unsure how the driver floppy works. > > May I jettison all drivers which are modules? Or do I need to keep > all possible scsi drivers required to boot the machine (in case we > booted from a SCSI CD)? Or does a different kernel get used for CD > boots? Or can /boot/loader make itself useful and load the drivers? > > Thanks, > > Drew > > PS: My peeking at this in no way represents a commitment. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-alpha" in the body of the message --- BOOTMFS.release Sun Oct 27 16:27:38 2002 +++ BOOTMFS Sun Oct 27 17:10:24 2002 @@ -47,13 +47,13 @@ # AlphaServer 1200 (Tincup) options INET #InterNETworking -options INET6 #IPv6 communications protocols +#options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem -options UFS_ACL #Support for access control lists +#options UFS_ACL #Support for access control lists options MD_ROOT #MD is a potential root device -options NFSCLIENT #Network Filesystem Client +#options NFSCLIENT #Network Filesystem Client options CD9660 #ISO 9660 Filesystem -options PSEUDOFS #Pseudo-filesystem framework +#options PSEUDOFS #Pseudo-filesystem framework options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 #Compatible with FreeBSD4 options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI @@ -73,9 +73,9 @@ device atapicd # ATAPI CDROM drives # SCSI Controllers -device ahc # AHA2940 and onboard AIC7xxx devices +#device ahc # AHA2940 and onboard AIC7xxx devices device isp # Qlogic family -device mpt # LSI-Logic MPT-Fusion +#device mpt # LSI-Logic MPT-Fusion device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') # SCSI peripherals @@ -85,7 +85,7 @@ device cd # CD # RAID controllers -device mlx # Mylex DAC960 family +#device mlx # Mylex DAC960 family # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller @@ -93,7 +93,7 @@ device psm # PS/2 mouse device vga # VGA video card driver -device tga # TGA video card driver +#device tga # TGA video card driver # syscons is the default console driver, resembling an SCO console @@ -109,7 +109,7 @@ # PCI Ethernet NICs. # PCI Ethernet NICs that use the common MII bus controller code. -device miibus # MII bus support +#device miibus # MII bus support # Pseudo devices - the number indicates how many units to allocated. device loop # Network loopback To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message