From owner-freebsd-questions@FreeBSD.ORG Wed Mar 24 17:33:27 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F5D51065673 for ; Wed, 24 Mar 2010 17:33:27 +0000 (UTC) (envelope-from cjk32@cam.ac.uk) Received: from ppsw-5.csi.cam.ac.uk (ppsw-5.csi.cam.ac.uk [131.111.8.135]) by mx1.freebsd.org (Postfix) with ESMTP id 66B3C8FC0A for ; Wed, 24 Mar 2010 17:33:27 +0000 (UTC) X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from nat1.cjkey.org.uk ([88.97.163.220]:28395 helo=[192.168.2.59]) by ppsw-5.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.155]:465) with esmtpsa (PLAIN:cjk32) (TLSv1:DHE-RSA-AES256-SHA:256) id 1NuUSM-0005Yx-Gj (Exim 4.70) for freebsd-questions@freebsd.org (return-path ); Wed, 24 Mar 2010 17:33:26 +0000 Message-ID: <4BAA4CE5.7030104@cam.ac.uk> Date: Wed, 24 Mar 2010 17:33:25 +0000 From: Christopher Key User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4BA78BF3.2090102@cam.ac.uk> In-Reply-To: <4BA78BF3.2090102@cam.ac.uk> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Unable to boot FreeBSD 8.0 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, 24 Mar 2010 17:33:27 -0000 Christopher Key wrote: > Hello, > > I'm using FreeBSD 7.2, and am attempting to update to 8.0. > > > I've been through the standard, > > make buildworld > make buildkernel > make installkernel > > but cannot get the newly installed kernel to boot. The system freezes > as soon as the loader tries to boot the kernel. It doesn't even get as > far as the copyright message: > > Type '?' for a list of commands, 'help' for more detailed help. > OK boot -Dd > \ > > Problem solved. Hopefully the answer might be of use to others, as it doesn't seem too uncommon a situation. I'm using a serial console. By default, FreeBSD 7 had both uart and sio compiled into the kernel, but device.hints gave configuration info for sio only. FreeBSD 8 removed sio support completely, leaving uart only. As device.hints contains nothing about uart, there was no serial device available for the console. The system was infact starting to boot quite happily, albeit without any console output, but wasn't completeing due to geom_mirror not having been loaded. The solution was simply to change hint.sio.[01].* to hint.uart.[01].* in device.hints, and to change ttyd0 to ttyu0 in /etc/ttys. Christopher Key