diff options
author | adrian <adrian@FreeBSD.org> | 2013-03-02 08:12:41 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-03-02 08:12:41 +0000 |
commit | f77596bc521b671974f181500d0c32e3836d24ab (patch) | |
tree | 8fec5ff20005a2e63f6c543dde0d2283693dceee | |
parent | 4c5c303d09338e8dee2f5b87db2a9c5e75f9a337 (diff) | |
download | FreeBSD-src-f77596bc521b671974f181500d0c32e3836d24ab.zip FreeBSD-src-f77596bc521b671974f181500d0c32e3836d24ab.tar.gz |
Disable the ctl driver in GENERIC.
It unfortunately steals a fair chunk of RAM at startup even if it's not
actively used, which prevents FreeBSD VMs of 128MB from successfully
booting and running.
-rw-r--r-- | UPDATING | 7 | ||||
-rw-r--r-- | sys/amd64/conf/GENERIC | 2 | ||||
-rw-r--r-- | sys/i386/conf/GENERIC | 2 |
3 files changed, 9 insertions, 2 deletions
@@ -26,6 +26,13 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 10.x IS SLOW: disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20130301: + The ctl device has been disabled in GENERIC for i386 and amd64. + This was done due to the extra memory being allocated at system + initialisation time by the ctl driver which was only used if + a CAM target device was created. This makes a FreeBSD system + unusable on 128MB or less of RAM. + 20130208: A new compression method (lz4) has been merged to -HEAD. Please refer to zpool-features(7) for more information. diff --git a/sys/amd64/conf/GENERIC b/sys/amd64/conf/GENERIC index 5819a0d..3988195 100644 --- a/sys/amd64/conf/GENERIC +++ b/sys/amd64/conf/GENERIC @@ -138,7 +138,7 @@ device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct ATA/SCSI access) device ses # Enclosure Services (SES and SAF-TE) -device ctl # CAM Target Layer +#device ctl # CAM Target Layer # RAID controllers interfaced to the SCSI subsystem device amr # AMI MegaRAID diff --git a/sys/i386/conf/GENERIC b/sys/i386/conf/GENERIC index 47af43b..3a98ded 100644 --- a/sys/i386/conf/GENERIC +++ b/sys/i386/conf/GENERIC @@ -146,7 +146,7 @@ device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct ATA/SCSI access) device ses # Enclosure Services (SES and SAF-TE) -device ctl # CAM Target Layer +#device ctl # CAM Target Layer # RAID controllers interfaced to the SCSI subsystem device amr # AMI MegaRAID |