misc/132129: Device crypto makes the kernel unbootable
Ari Sovijärvi
apz at flipperit.net
Thu Feb 26 07:00:12 PST 2009
>Number: 132129
>Category: misc
>Synopsis: Device crypto makes the kernel unbootable
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 26 15:00:11 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Ari Sovijärvi
>Release: FreeBSD 7.1-RELEASE-p3
>Organization:
-
>Environment:
FreeBSD basestar2 7.1-RELEASE-p3 FreeBSD 7.1-RELEASE-p3 #3: Thu Feb 26 01:13:12 EET 2009 root at basestar2:/usr/obj/usr/src/sys/RAINFALL sparc64
>Description:
I was following handbook's advice on enabling geom_eli and recompiled the kernel with the following line added to the default config:
device crypto
The resulting kernel seems to skip hardware detection (including HDDs) and then fails as it has no root device. From what I gather from the mailing lists, others have also hit this bug, but it seems to only happen on some platforms, so far I have found posts about it happening on sparc64 and PowerPC.
Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.1-RELEASE-p3 #2: Wed Feb 25 22:05:18 EET 2009
root at basestar2:/usr/obj/usr/src/sys/RAINFALL
Timecounter "tick" frequency 548000000 Hz quality 1000
real memory = 1073741824 (1024 MB)
avail memory = 1035673600 (987 MB)
cpu0: Sun Microsystems UltraSparc-IIe Processor (548.00 MHz CPU)
kbd0 at kbdmux0
nexus0: <Open Firmware Nexus device>
cryptosoft1: <software crypto> mem
0x1fe00000000-0x1fe0000ffff,0x1fe01000000-0x1fe010
cryptosoft0: <software crypto> on nexus0
nexus0: <syscons> type unknown (no driver attached)
Timecounters tick every 1.000 msec
Trying to mount root from ufs:/dev/mirror/raid0a
Manual root filesystem specification:
<fstype>:<device> Mount <device> using filesystem <fstype>
eg. ufs:/dev/da0a
? List valid disk boot devices
<empty line> Abort manual input
mountroot> ufs:/dev/mirror/raid0a
Trying to mount root from ufs:/dev/mirror/raid0a
Manual root filesystem specification:
<fstype>:<device> Mount <device> using filesystem <fstype>
eg. ufs:/dev/da0a
? List valid disk boot devices
<empty line> Abort manual input
mountroot>
panic: Root mount failed, startup aborted.
>How-To-Repeat:
Recompile the kernel on sparc64 or ppc with 'device crypto' added to the configuration, boot the new kernel.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list