From owner-freebsd-stable@FreeBSD.ORG Fri May 6 18:14:49 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08F0316A4D4 for ; Fri, 6 May 2005 18:14:49 +0000 (GMT) Received: from dswu26.btconnect.com (dswu26.btconnect.com [193.113.154.27]) by mx1.FreeBSD.org (Postfix) with SMTP id 34BFF43D6D for ; Fri, 6 May 2005 18:14:48 +0000 (GMT) (envelope-from alan@cyclopsvision.co.uk) Received: from AJDELL9200 (actually host 11.249.3.62.in-addr.arpa) by dswu26.btconnect.com with SMTP (XT-PP) with ESMTP; Fri, 6 May 2005 19:14:44 +0100 From: "Alan Jay" To: Date: Fri, 6 May 2005 19:14:43 +0100 Organization: Cyclops Vision Limited MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcVSM3Y2mCu7S/3RQRid40pY6u7A0AAM0Mew In-Reply-To: <20050506120055.D55C616A507@hub.freebsd.org> Message-Id: <20050506181448.34BFF43D6D@mx1.FreeBSD.org> Subject: problems with setting kern.maxdsiz in /boot/loader.conf X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: alan@cyclopsvision.co.uk List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2005 18:14:49 -0000 I am running 5.4 RC4 and rebooted today after changing one of the boot-time variables (maximum data size) in /boot/loader.conf. I took it from 512MB to 2GB of RAM in order to improve the MySQL performance on the server. However, upon reboot, the following error comes up: Fatal trap 9: general protection fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x58:0x8bc stack pointer = 0x10:0xf80 frame pointer = 0x10:0x0 code segment = base 0xc00f0000, limit 0xffff, type 0x1b = DPL 0, pres 1, def32 0, gran 0 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) trap number = 9 panic: general protection fault cpuid = 0 Uptime: 1s I tried resetting kern.maxdsiz backto 512MB by pressing 6 at the boot menu and doing: unset kern.maxdsiz set kern.maxdsiz=536870912 show kern.maxdsiz - this did not have any effect - exactly the same thing happened again. Is the kern.maxdsiz now being reset or being reset by /boot/loader.conf after changing things in the loader does anyone have any ideas. Nothing else has changed on the server which is being prepared for use at the moment and was updated to 5.4 RC4 just a few days ago but which has been running fine and rebooting fine since then until this change. Any ideas? Thanks in advance Alan PS I assume the only way to remove /boot/loader.conf is to use the 2nd CD set in fixit mode and remove / edit the file after mounting the root partition.