Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Mar 2013 08:12:41 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r247615 - in head: . sys/amd64/conf sys/i386/conf
Message-ID:  <201303020812.r228Cflx002877@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303020812.r228Cflx002877>