I have bumped into some truble when upgrading my primary computer from 7.2-RELEASE to 8.0-RC3. I'm running full disk encryption (exept for /boot, obviously) using geli. One encrypted device containing several partitions.
I'll illustrate the problem wih some output.
With the harddrive plugged into a different computer running 7.2R it all works fine:
Please notice all the pretty partitions. Just waiting to be mounted.
But with the same harddrive connected to a computer running 8.0-RC3, something goes bad:
And that's it. The partitions inside the geli device are not found.
Having a look at the label (still at 8.0-RC3), they are there, and decryption works. So why are they not found?
This means I'm very stuck after the first reboot in the upgrade process, since my root filesystem is inaccessible.
Does anybody have any suggestions to what might be causing this?
I'll illustrate the problem wih some output.
With the harddrive plugged into a different computer running 7.2R it all works fine:
Code:
[B]a701# uname -a[/B]
FreeBSD a701 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Fri Oct 2 12:21:39 UTC 2009 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys GENERIC i386
[B]a701# geli attach da1s1b[/B]
Enter passphrase:
[B]a701# dmesg[/B]
...
GEOM_ELI: Device da1s1b.eli created.
GEOM_ELI: Encryption: AES-CBC 256
GEOM_ELI: Crypto: software
GEOM_LABEL: Label for provider da1s1b.elia is ufsid/4873c61699a06345.
GEOM_LABEL: Label for provider da1s1b.elid is ufsid/4873c61ff022a68c.
GEOM_LABEL: Label for provider da1s1b.elie is ufsid/4873c6255c17f6a1.
GEOM_LABEL: Label for provider da1s1b.elif is ufsid/4873c62de26a02b4.
GEOM_LABEL: Label for provider da1s1b.elig is ufsid/4873c63f7b3c12a2.
[B]a701# ls /dev/da1s1b*[/B]
/dev/da1s1b /dev/da1s1b.elib /dev/da1s1b.elie
/dev/da1s1b.eli /dev/da1s1b.elic /dev/da1s1b.elif
/dev/da1s1b.elia /dev/da1s1b.elid /dev/da1s1b.elig
But with the same harddrive connected to a computer running 8.0-RC3, something goes bad:
Code:
[B]ct# uname -a[/B]
FreeBSD ct 8.0-RC3 FreeBSD 8.0-RC3 #0: Tue Nov 10 07:50:36 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
[B]ct# geli attach da0s1b[/B]
Enter passphrase:
[B]ct# dmesg[/B]
...
GEOM_ELI: Device da0s1b.eli created.
GEOM_ELI: Encryption: AES-CBC 256
GEOM_ELI: Crypto: software
[B]ct# ls /dev/da0s1b*[/B]
/dev/da0s1b /dev/da0s1b.eli
Having a look at the label (still at 8.0-RC3), they are there, and decryption works. So why are they not found?

Code:
[B]ct# bsdlabel da0s1b.eli[/B]
# /dev/da0s1b.eli:
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 964608 16 4.2BSD 2048 16384 60296
b: 819200 964624 swap
c: 624732768 0 unused 0 0 # "raw" part, don't edit
d: 1683456 1783824 4.2BSD 2048 16384 28552
e: 880640 3467280 4.2BSD 2048 16384 55048
f: 16384000 4347920 4.2BSD 2048 16384 28552
g: 604000848 20731920 4.2BSD 2048 16384 28552
This means I'm very stuck after the first reboot in the upgrade process, since my root filesystem is inaccessible.
Does anybody have any suggestions to what might be causing this?