From owner-freebsd-questions@FreeBSD.ORG Wed Jul 11 17:23:06 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F123516A46B for ; Wed, 11 Jul 2007 17:23:05 +0000 (UTC) (envelope-from feargal@fbi.ie) Received: from mail01.svc.cra.dublin.eircom.net (mail01.svc.cra.dublin.eircom.net [159.134.118.17]) by mx1.freebsd.org (Postfix) with SMTP id 98B5413C469 for ; Wed, 11 Jul 2007 17:23:05 +0000 (UTC) (envelope-from feargal@fbi.ie) Received: (qmail 99409 messnum 7093625 invoked from network[82.141.233.46/unknown]); 11 Jul 2007 17:23:04 -0000 Received: from unknown (HELO alatar.edhellond.fbi.ie) (82.141.233.46) by mail01.svc.cra.dublin.eircom.net (qp 99409) with SMTP; 11 Jul 2007 17:23:04 -0000 Received: from mablung.edhellond.fbi.ie (mablung.edhellond.fbi.ie [192.168.0.14]) by alatar.edhellond.fbi.ie (8.13.1/8.13.1) with ESMTP id l6BHN0u2071957 for ; Wed, 11 Jul 2007 17:23:03 GMT (envelope-from feargal@fbi.ie) Date: Wed, 11 Jul 2007 18:23:00 +0100 From: Feargal Reilly To: freebsd-questions@freebsd.org Message-ID: <20070711182300.4634e278@mablung.edhellond.fbi.ie> Organization: FBI X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.11; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Complete hang during boot at boot2 prompt X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2007 17:23:06 -0000 Hi, I have a server which went down overnight, and would not subsequently boot. A reboot was performed by facilities staff before I got to look at it so I don't know what was showing on the console. The reason for the outage is unknown, and nothing showed in /var/log/messages, other than routine ntpd time sync messages. The server in question is a Intel SR1425BK1 server running FreeBSD 6.2 amd64 GENERIC with a SATA RAID-1 array provided by an onboard LSILogic MegaRAID controller. When booted, it would pass the various BIOS screens without problem, the RAID utility would say that the array was optimal, and then FreeBSD would start to boot, but it couldn't get past boot2: >> FreeBSD/amd64 BOOT Default: 0:ad(0,a)/boot/loader boot: At this point, the server emitted a single continous beep, and nothing else happened. Keyboard input did nothing, although Ctrl-Alt-Del still worked, and at one point a heart symbol appeared after I hit keys randomly for a while. My question is, what could have caused this failure? My initial guesses were either a memory failure or a really badly corrupted boot sector, but I'm not convinced by either explanation, for reasons outlined below. I urgently needed the data to be online again, so I yanked one disk out of the machine and inserted it into another host, and took the server back to the office. There, I yanked a memory module, and it booted fine, albeit complaining about the degraded RAID array. However, when I reinserted the memory, it continued to boot. I didn't have the foresight to try it before I fiddled with the disks, but I can't imagine that it had been seated incorrectly as the server had been up for two months without problem. Also, the BIOS tests passed, although I know they aren't too in depth. I'll run sysutils/memtest anyway, and see what that throws up. Meanwhile, I inserted a replacement disk and rebuilt the RAID-1 array, and it is still booting fine, so my best guess now is a corrupted boot sector. The disk that I removed to insert into another host was ad4, which I'm guessing is the disk that it would have being trying to boot from in the first place. So a bad sector could be responsible, but it would seem to be very convenient, as there does not appear to be any other data corruption on the disk. Also, I've run a short SMART test, and everything is okay as far as it is concerned. I'm in the process of running a long test, but that won't finish before I leave the office. If it were a corrupted sector, would it be able to get to boot2? Any other suggestions as to what caused the failure? I know I've changed the conditions and may never be able to reproduce it (nor do I want to), but if I've failing hardware, I'd like a best guess as to where it is. Thanks for your time, -fr. -- Feargal Reilly, Chief Techie, FBI. PGP Key: 0xBD252C01 (expires: 2006-11-30) Web: http://www.fbi.ie/ | Tel: +353.14988588 | Fax: +353.14988489 Communications House, 11 Sallymount Avenue, Ranelagh, Dublin 6.