From owner-freebsd-bugs@FreeBSD.ORG Wed Jan 30 09:10:01 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 61A09A62 for ; Wed, 30 Jan 2013 09:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 479C290B for ; Wed, 30 Jan 2013 09:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0U9A1Oc057875 for ; Wed, 30 Jan 2013 09:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0U9A1Ir057874; Wed, 30 Jan 2013 09:10:01 GMT (envelope-from gnats) Resent-Date: Wed, 30 Jan 2013 09:10:01 GMT Resent-Message-Id: <201301300910.r0U9A1Ir057874@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alex Verbod Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6D4D48F2 for ; Wed, 30 Jan 2013 09:03:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 2A39A8CE for ; Wed, 30 Jan 2013 09:03:38 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r0U93csx063737 for ; Wed, 30 Jan 2013 09:03:38 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r0U93bk5063736; Wed, 30 Jan 2013 09:03:37 GMT (envelope-from nobody) Message-Id: <201301300903.r0U93bk5063736@red.freebsd.org> Date: Wed, 30 Jan 2013 09:03:37 GMT From: Alex Verbod To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: kern/175694: [regression]Unknown and undocumented high RAM memory requirement prevent installation and running of FreeBSD 9.1 release on system with RAM less than 256Mb X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2013 09:10:01 -0000 >Number: 175694 >Category: kern >Synopsis: [regression]Unknown and undocumented high RAM memory requirement prevent installation and running of FreeBSD 9.1 release on system with RAM less than 256Mb >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 30 09:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Alex Verbod >Release: 9.1 release >Organization: >Environment: FreeBSD xxx.xxx.com 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39 UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: It is impossible to install FreeBSD 9.1 Release on a systems (either on a real hardware or on a virtual machines) that have less than 256 Mb of RAM(random access memory) To my best knowledge, regression came with r229997 when "device ctl" has been added to default kernel that require abnormal amount of memory and prevent to use FreeBSD as a Virtual Private Server with low memory accounts and in embedded projects. >How-To-Repeat: Use a real hardware or any virtual machine(tested on QEMU-KVM, XEN, VMware, VirtualBox) and attempt to install FreeBSD on a system with RAM set to 128 Mb. >Fix: Workaround: To be able to install and run FreeBSD 9.1 release on a system with installed memory less than 256 Mb one need to interrupt booting process by pressing "2"([Esc]ape to loader prompt) in the boot menu. then type: $ set kern.cam.ctl.disable=1 following by pressing "Enter", then type: $ boot and press "Enter" again to continue installation process. In the end of installation, jump to a shell prompt and execute following lines: $ echo -e "\n#---\nkern.cam.ctl.disable=1\n#---\n" >> /boot/loader.conf.local this will allow to start and running installed bare FreeBSD 9.1 Release even on a system with 64 Mb of RAM Suggestion for a real fix: - Remove "device ctl" from GENERIC kernel and load "ctl" kernel module dynamicaly on systems that have enough memory installed. - Set "kern.cam.ctl.disable=1" in the /boot/defaults/loader.conf as default value and overwrite it if a system can afford it. >Release-Note: >Audit-Trail: >Unformatted: