2012-02-27 12:06:56 |
Mårten Thornberg |
bug |
|
|
added bug |
2012-02-27 12:07:44 |
Mårten Thornberg |
description |
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
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: dmraid 1.0.0.rc16-4.1ubuntu6 [modified: sbin/dmraid-activate usr/share/initramfs-tools/scripts/local-top/dmraid]
ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
Date: Mon Feb 27 12:59:55 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120201.2)
ProcEnviron:
PATH=(custom, user)
LANG=sv_SE.UTF-8
SHELL=/bin/bash
SourcePackage: dmraid
UpgradeStatus: Upgraded to precise on 2012-02-21 (5 days ago) |
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.
---
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: dmraid 1.0.0.rc16-4.1ubuntu6 [modified: sbin/dmraid-activate usr/share/initramfs-tools/scripts/local-top/dmraid]
ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
Date: Mon Feb 27 12:59:55 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120201.2)
ProcEnviron:
PATH=(custom, user)
LANG=sv_SE.UTF-8
SHELL=/bin/bash
SourcePackage: dmraid
UpgradeStatus: Upgraded to precise on 2012-02-21 (5 days ago) |
|
2012-02-27 19:11:25 |
Mårten Thornberg |
description |
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.
---
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: dmraid 1.0.0.rc16-4.1ubuntu6 [modified: sbin/dmraid-activate usr/share/initramfs-tools/scripts/local-top/dmraid]
ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
Date: Mon Feb 27 12:59:55 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120201.2)
ProcEnviron:
PATH=(custom, user)
LANG=sv_SE.UTF-8
SHELL=/bin/bash
SourcePackage: dmraid
UpgradeStatus: Upgraded to precise on 2012-02-21 (5 days ago) |
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.
I might have identified problems with 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"). That does not fix the boot issue since dmraid-activate is not called befoore mounting root.
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.
---
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: dmraid 1.0.0.rc16-4.1ubuntu6 [modified: sbin/dmraid-activate usr/share/initramfs-tools/scripts/local-top/dmraid]
ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
Date: Mon Feb 27 12:59:55 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120201.2)
ProcEnviron:
PATH=(custom, user)
LANG=sv_SE.UTF-8
SHELL=/bin/bash
SourcePackage: dmraid
UpgradeStatus: Upgraded to precise on 2012-02-21 (5 days ago) |
|
2012-02-27 19:24:27 |
Mårten Thornberg |
summary |
dmraid-activate fails to activate (fakeraid) root device during boot |
(fakeraid) root device not activated during boot |
|
2012-02-29 22:08:51 |
Mårten Thornberg |
description |
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.
I might have identified problems with 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"). That does not fix the boot issue since dmraid-activate is not called befoore mounting root.
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.
---
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: dmraid 1.0.0.rc16-4.1ubuntu6 [modified: sbin/dmraid-activate usr/share/initramfs-tools/scripts/local-top/dmraid]
ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
Date: Mon Feb 27 12:59:55 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120201.2)
ProcEnviron:
PATH=(custom, user)
LANG=sv_SE.UTF-8
SHELL=/bin/bash
SourcePackage: dmraid
UpgradeStatus: Upgraded to precise on 2012-02-21 (5 days ago) |
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.
---
The problems are:
* There are no initramfs hooks for kpartx, so kpartx is not available during boot.
the following files are needed:
/sbin/kpartx
/lib/udev/kpartx_id
/lib/udev/dmsetup_env
/lib/udev/rules.d/95-kpartx.rules
* The hook for dmraid udev rules is wrong:
The script /usr/share/initramfs-tools/hooks/dmraid
tries to add:
/lib/udev/rules.d/85-dmraid.rules
but the existing file is called:
/lib/udev/rules.d/97-dmraid.rules
After fixing the above two issues, system boots normally.
* dmraid-activate is sometimes called with full device name
dmraid-activate expecte device name withouth "/dev/", e.g. "sda" not "/dev/sda". However the script
/usr/share/initramfs-tools/scripts/local-top/dmraid
calls dmraid-activate using the full device name and path.
* 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, and that part of the script does not affect my system.
---
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: dmraid 1.0.0.rc16-4.1ubuntu6 [modified: sbin/dmraid-activate usr/share/initramfs-tools/scripts/local-top/dmraid]
ProcVersionSignature: Ubuntu 3.2.0-17.26-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
Date: Mon Feb 27 12:59:55 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120201.2)
ProcEnviron:
PATH=(custom, user)
LANG=sv_SE.UTF-8
SHELL=/bin/bash
SourcePackage: dmraid
UpgradeStatus: Upgraded to precise on 2012-02-21 (5 days ago) |
|
2012-03-01 21:13:41 |
Phillip Susi |
bug |
|
|
added subscriber Colin Watson |
2012-03-01 21:13:59 |
Phillip Susi |
dmraid (Ubuntu): importance |
Undecided |
High |
|
2012-03-01 21:13:59 |
Phillip Susi |
dmraid (Ubuntu): status |
New |
Triaged |
|
2012-03-01 21:14:26 |
Phillip Susi |
tags |
amd64 apport-bug boot fakeraid precise |
amd64 apport-bug boot fakeraid precise regression-potential |
|
2012-03-03 15:53:54 |
Zorael |
bug |
|
|
added subscriber Zorael |
2012-03-03 18:59:01 |
Roman Plessl |
bug |
|
|
added subscriber Roman Plessl |
2012-03-10 12:11:00 |
AraKs |
bug |
|
|
added subscriber AraKs |
2012-03-11 15:15:54 |
Jim Rorie |
bug |
|
|
added subscriber Jim Rorie |
2012-03-12 04:04:26 |
Ryan Beasley |
bug |
|
|
added subscriber Ryan Beasley |
2012-03-13 09:24:42 |
Wouter van der Graaf |
bug |
|
|
added subscriber Wouter van der Graaf |
2012-03-13 18:17:19 |
Phillip Susi |
branch linked |
|
lp:~psusi/ubuntu/precise/dmraid/fix-initramfs-hook |
|
2012-03-13 18:20:38 |
Phillip Susi |
dmraid (Ubuntu): status |
Triaged |
In Progress |
|
2012-03-13 18:20:41 |
Phillip Susi |
dmraid (Ubuntu): assignee |
|
Phillip Susi (psusi) |
|
2012-03-14 19:19:34 |
Shannon VanWagner |
bug |
|
|
added subscriber Shannon VanWagner |
2012-03-15 16:30:14 |
Launchpad Janitor |
dmraid (Ubuntu): status |
In Progress |
Fix Released |
|
2012-03-15 16:48:17 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/dmraid |
|
2012-03-15 18:57:16 |
Ryan Beasley |
attachment added |
|
hacky kpartx initramfs hook https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/941874/+attachment/2877093/+files/kpartx |
|
2012-03-16 14:01:38 |
Phillip Susi |
bug task added |
|
multipath-tools (Ubuntu) |
|
2012-03-16 14:01:45 |
Phillip Susi |
multipath-tools (Ubuntu): status |
New |
Triaged |
|
2012-03-16 14:01:48 |
Phillip Susi |
multipath-tools (Ubuntu): importance |
Undecided |
High |
|
2012-03-16 14:01:51 |
Phillip Susi |
multipath-tools (Ubuntu): assignee |
|
Phillip Susi (psusi) |
|
2012-03-16 14:07:38 |
Phillip Susi |
multipath-tools (Ubuntu): status |
Triaged |
Incomplete |
|
2012-03-19 16:27:38 |
Mårten Thornberg |
attachment added |
|
/usr/share/initramfs-tools/hooks/kpartx https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/941874/+attachment/2898387/+files/kpartx |
|
2012-03-19 18:29:54 |
Phillip Susi |
multipath-tools (Ubuntu): status |
Incomplete |
Triaged |
|
2012-03-23 02:46:01 |
Phillip Susi |
branch linked |
|
lp:~psusi/ubuntu/precise/multipath-tools/fix-dmraid |
|
2012-03-23 04:58:09 |
Dave Conniff |
bug |
|
|
added subscriber Dave Conniff |
2012-03-23 15:47:38 |
Phillip Susi |
dmraid (Ubuntu): status |
Fix Released |
In Progress |
|
2012-03-23 15:47:41 |
Phillip Susi |
multipath-tools (Ubuntu): status |
Triaged |
In Progress |
|
2012-03-26 10:13:38 |
Oli |
bug |
|
|
added subscriber Oli |
2012-03-30 20:27:54 |
David Schweikert |
bug |
|
|
added subscriber David Schweikert |
2012-03-31 02:19:14 |
Phillip Susi |
dmraid (Ubuntu): importance |
High |
Critical |
|
2012-03-31 02:19:16 |
Phillip Susi |
multipath-tools (Ubuntu): importance |
High |
Critical |
|
2012-03-31 02:21:08 |
Adam Conrad |
dmraid (Ubuntu): milestone |
|
ubuntu-12.04 |
|
2012-03-31 02:21:18 |
Adam Conrad |
multipath-tools (Ubuntu): milestone |
|
ubuntu-12.04 |
|
2012-03-31 22:55:14 |
Launchpad Janitor |
dmraid (Ubuntu): status |
In Progress |
Fix Released |
|
2012-03-31 22:55:23 |
Launchpad Janitor |
multipath-tools (Ubuntu): status |
In Progress |
Fix Released |
|
2012-03-31 23:29:29 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/multipath-tools |
|
2012-05-03 06:30:25 |
Roman Plessl |
removed subscriber Roman Plessl |
|
|
|
2012-05-13 17:16:04 |
Sergio |
bug |
|
|
added subscriber Sergio |
2012-08-04 07:52:57 |
Laurie Kell |
bug |
|
|
added subscriber Laurie Kell |
2012-09-24 20:27:13 |
Jim Rorie |
removed subscriber Jim Rorie |
|
|
|
2013-01-12 00:14:50 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/raring-proposed/dmraid |
|
2013-07-18 12:03:33 |
Ebbex |
bug |
|
|
added subscriber Ebbex |