Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 2010 17:33:25 +0000
From:      Christopher Key <cjk32@cam.ac.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: Unable to boot FreeBSD 8.0
Message-ID:  <4BAA4CE5.7030104@cam.ac.uk>
In-Reply-To: <4BA78BF3.2090102@cam.ac.uk>
References:  <4BA78BF3.2090102@cam.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BAA4CE5.7030104>