logo       

Re: alpha 5.0 BOOTMFS way too fat ..: msg#00153

os.freebsd.devel.alpha

Subject: Re: alpha 5.0 BOOTMFS way too fat ..


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@xxxxxxxxxxx
> 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@xxxxxxxxxxx
with "unsubscribe freebsd-alpha" in the body of the message



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise