GEOM_ELI with device crypto makes root unmountable
Ari Sovijärvi
listat at apz.fi
Wed Feb 25 15:09:10 PST 2009
Hi all!
I have a Sparc64 FreeBSD 7.1 system running on Fire V100 with root on a Gmirror
device. I recently read about GELI and decided to encrypt one of the partitions
on that machine. My kernel config is basically generic with quota being the
only added option. The system worked perfectly fine, until I recompiled the
kernel with the following options added (as instructed by the handbook):
device crypto
options GEOM_ELI
With those 2 options, the system completely skips detecting almost all of the
hardware (including the HDD controller) and then fails as it can't find root.
Apparently something is very wrong, but I can't figure out what's the cause.
Any ideas?
Here's the dmesg up to the point where it can't find the root partition:
Sun Fire V100 (UltraSPARC-IIe 548MHz), No Keyboard
OpenBoot 4.0, 1024 MB memory installed, Serial #54159000.
Ethernet address 0:3:ba:3a:00:00, Host ID: 833a0000.
Executing last command: boot /pci at 1f,0/ide at d/disk at 0,0:a
Boot device: /pci at 1f,0/ide at d/disk at 0,0:a File and args:
>> FreeBSD/sparc64 boot block
Boot path: /pci at 1f,0/ide at d/disk at 0,0:a
Boot loader: /boot/loader
Consoles: Open Firmware console
Booting with sun4u support.
FreeBSD/sparc64 bootstrap loader, Revision 1.0
(root at basestar2, Fri Jan 30 22:41:13 EET 2009)
bootpath="/pci at 1f,0/ide at d/disk at 0,0:a"
Loading /boot/defaults/loader.conf
/boot/kernel/kernel data=0x491f48+0x60328 syms=[0x8+0x5f8c8+0x8+0x53869]
/boot/kernel/geom_mirror.ko text=0x36440 data=0x5c8+0x18
syms=[0x8+0x1548+0x8+0x1005]
|
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
jumping to kernel entry at 0xc0060000.
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.
--
Ari Sovijärvi
More information about the freebsd-geom
mailing list