This bug still exists in Precise.
I have installed Precise Pangolin Alpha 2 to a fakeraid stripe, but ubuntu
fails to boot after install.
When choosing recovery option, the boot process times out waiting for root
device and drops to busybox shell.
Running "dmraid -ay" and exiting busybox resumes boot and it continues normally.
I've added a script in /etc/initramfs-tools/script/local-top/ that run
"dmraid -ay" as a solution.
The problem seems to be with the dmraid-activate script.
For example, it expects a device name without "/dev/" (e.g. "sda") however it
is being called from /usr/share/initramfs-tools/scripts/local-top/dmraid script
with the full device name ("e.g. "/dev/sda"). Fixing that didn't solve the boot
issue since the the activate_array function in dmraid-activate does not seem to
work either.
---
There might also be antoher bug on line 100 in dmraid-activate (in the awk
script):
# Heximal to decimal conversion array
for (i = 0; i <= 9; i++) hex2dec[i] = i
hex2dec["a"] = 10; hex2dec["b"] = 11; hex2dec["c"] = 12
hex2dec["e"] = 13; hex2dec["d"] = 14; hex2dec["f"] = 15;
Element "e" and "d" appears to have been switched. I'm not entirely sure
what the script is trying to do though.
---
root@pongo:~# lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04
root@pongo:~# uname -a
Linux pongo 3.2.0-17-generic #26-Ubuntu SMP Fri Feb 17 21:35:49 UTC 2012 x86_64
x86_64 x86_64 GNU/Linux
root@pongo:~# apt-cache policy dmraid
dmraid:
Installerad: 1.0.0.rc16-4.1ubuntu6
Kandidat: 1.0.0.rc16-4.1ubuntu6
Versionstabell:
*** 1.0.0.rc16-4.1ubuntu6 0
500 http://se.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/373520
Title:
dmraid 1.0.0.rc15-6ubuntu2 amd64 + NVRAID boot fails
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/373520/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs