From owner-freebsd-questions@FreeBSD.ORG Thu May 5 23:19:50 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D72F16A4CE for ; Thu, 5 May 2005 23:19:50 +0000 (GMT) Received: from buxton.digitalspy.co.uk (ds14.digitalspy.co.uk [212.42.14.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id B304243D91 for ; Thu, 5 May 2005 23:19:49 +0000 (GMT) (envelope-from alan_jay_uk@yahoo.co.uk) Received: from AJDELL9200 (213-78-6-149.uk.onetel.net.uk [213.78.6.149]) by buxton.digitalspy.co.uk (Postfix) with ESMTP id C01C254860 for ; Fri, 6 May 2005 00:19:48 +0100 (BST) From: "Alan Jay" To: Date: Fri, 6 May 2005 00:19:45 +0100 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcVRyIc337E8w0HRTNqaMOglKZbsfg== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Message-Id: <20050505231948.C01C254860@buxton.digitalspy.co.uk> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: Disable loader.conf when booting? Can't boot because of it .. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2005 23:19:50 -0000 > On Thursday 31 March 2005 08:36 am, Daniel Johansson wrote: > > Hi, I really need some help here. I'm running a raid0, with > > vinum, and read the errata about adding geom_vinum_load="YES" > > to loader.conf because vinim_start="YES" in rc.conf paniced my > > system when booting. I'm running 5.3-RELEASE and the errata > > mentioned that one too. > > > > So I added gvinum to loader.conf and now I can't boot. All I > > get is a lot of scrolling text that says something about gvinum > > error, can't remember the exact message but it can't boot > > anyway. Tried single mode to delete this line but can't boot > > into single mode either. Tried disable-module geom_vinum in the > > loader but that didn't help either. It loaded the module > > anyway. > > > > So I'm really desperate here .. is there any way to tell my > > system to completly ignore loader.conf when booting so that I > > at least can access the system and edit loader.conf? > > > > Please CC to me if you reply. > I'm not sure if you can disable loader.conf during boot (would be > a cool thing to know, though). The only thing I know to do is > boot from a live filesystem or from the install floppies and > ttyv2(?) to get a shell. You can then mount your > slices/partitions and comment the vinum_start line out. > HTH, > WizLayer Hi, Anyone have any other ideas I colleague of mine added a line to /boot/loader.conf I 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 1) 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. 2) The above error message is not similar to ones reported by other users who set their maxdsiz too high. I have subsequently also tried to overwrite from the loader the memory variable to no effect I always get the above error and even going back to the original generic kernel does not help. We are running 5.4-RC4 on this machine. Just to make things worse the machine is in a remote data center so getting in a rebooting with a CD is possible but requires a long drive in :-) Is there any way to unset the settings placed in the /boot/loader.conf while in the interactive loader which is obviously loaded after /boot/loader.conf I assume there is no way to overwrite the /boot/loader.conf with a nul file? Any thoughts gratefully received. ALan