From owner-freebsd-stable@FreeBSD.ORG Sat May 14 20:19:56 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 598C316A4CE for ; Sat, 14 May 2005 20:19:56 +0000 (GMT) Received: from srv94-187.ip-tech.ch (srv94-187.ip-tech.ch [195.129.94.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB4EB43D60 for ; Sat, 14 May 2005 20:19:54 +0000 (GMT) (envelope-from rduffner@ip-tech.ch) Received: (qmail 24207 invoked by uid 503); 14 May 2005 20:19:51 -0000 Received: from unknown (HELO blade1-3.iptech.localdomain) (10.10.1.250) by 0 with AES256-SHA encrypted SMTP; 14 May 2005 20:19:51 -0000 Received: (qmail 31417 invoked by uid 408); 14 May 2005 20:19:52 -0000 Message-ID: <20050514201952.31416.qmail@blade1-3.iptech.localdomain> References: <4283862D.1060401@ip-tech.ch> <20050513152513.Y30976@carver.gumbysoft.com> In-Reply-To: <20050513152513.Y30976@carver.gumbysoft.com> From: "rduffner" To: Doug White Date: Sat, 14 May 2005 22:19:52 +0200 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org Subject: Re: Problem booting 5.4 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 May 2005 20:19:56 -0000 Doug White writes: > On Thu, 12 May 2005, Rainer Duffner wrote: > >> Hi, >> >> I installed FreeBSD5.4 on a server with a 3ware 7006-2 controller and >> two 120GB disks as RAID1 >> I cannot boot this install. (I get some kind of panic or endless loop, >> but the display is re-painted so fast I cannot read it). >> What I *can* do is insert my SuSE9.2-pro cd1, boot from that and at the >> grub-menu say "boot from harddisk". >> That boots FreeBSD. >> >> On advice from IRC, I tried: >> # boot0cfg -B twed0 >> >> -which leads to this output >> >> boot0cfg: write_mbr: /dev/twed0: No such file or directory > > This is a erroneous message. The actual problem is: > > 484 boot0cfg NAMI "/dev/twed0" > 484 boot0cfg RET open -1 errno 1 Operation not permitted > > This is a known problem with certain MBR layouts. To work around this > problem, set: > > sysctl kern.geom.debugflags=16 > > then try your boot0cfg. There's a protection mechanism that sometimes gets > confused by certain partition table layouts. Flag 16 disables that > protection. I don't recommend running this unless you are explicitly > trying to updating something in a partition table-like area; its very easy > to destroy your system with the flag set! I booted from CD and ran the boot0cfg "offline" - however, this worked only on one server. I have two more identical servers that now just beep endlessly at the F1-prompt. I was told it is a geometry problem, but what else can I do? cheers, Rainer