Author: adrian
Date: Sat Mar  2 08:12:41 2013
New Revision: 247615
URL: http://svnweb.freebsd.org/changeset/base/247615

Log:
  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.

Modified:
  head/UPDATING
  head/sys/amd64/conf/GENERIC
  head/sys/i386/conf/GENERIC

Modified: head/UPDATING
==============================================================================
--- head/UPDATING       Sat Mar  2 06:55:55 2013        (r247614)
+++ head/UPDATING       Sat Mar  2 08:12:41 2013        (r247615)
@@ -26,6 +26,13 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 10
        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.

Modified: head/sys/amd64/conf/GENERIC
==============================================================================
--- head/sys/amd64/conf/GENERIC Sat Mar  2 06:55:55 2013        (r247614)
+++ head/sys/amd64/conf/GENERIC Sat Mar  2 08:12:41 2013        (r247615)
@@ -138,7 +138,7 @@ device              sa              # Sequential Access 
(tape et
 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

Modified: head/sys/i386/conf/GENERIC
==============================================================================
--- head/sys/i386/conf/GENERIC  Sat Mar  2 06:55:55 2013        (r247614)
+++ head/sys/i386/conf/GENERIC  Sat Mar  2 08:12:41 2013        (r247615)
@@ -146,7 +146,7 @@ device              sa              # Sequential Access 
(tape et
 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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to