--
Eugene Paskevich | *==)----------- | Plug me into
eugene@raptor.kiev.ua | -----------(==* | The Matrix
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
12-16-2008, 02:19 PM
maximilian attems
Bug#508906: Doesn't detect LVM for root=/dev/dm-X
On Tue, Dec 16, 2008 at 04:37:01PM +0200, Eugene Paskevich wrote:
> Let me start with some additional relevant info.
>
> The root fs is located on LVM and is described in
> /etc/fstab with LABEL= notation, which leads
> to the following mount output for root filesystem:
>
> > mount | grep "on / "
> /dev/dm-0 on / type ext3 (rw,noatime,errors=remount-ro)
just as quick head on.
this seems pretty much related to #489008
haven't had the time yet to look at it, so patches are welcome
just uploaded 0.92m with bunch of fixes, so that one is on todo
for next days.
kind regards
--
maks
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
12-16-2008, 02:44 PM
"Eugene Paskevich"
Bug#508906: Doesn't detect LVM for root=/dev/dm-X
On Tue, 16 Dec 2008 17:19:31 +0200, maximilian attems <max@stro.at> wrote:
On Tue, Dec 16, 2008 at 04:37:01PM +0200, Eugene Paskevich wrote:
Let me start with some additional relevant info.
The root fs is located on LVM and is described in
/etc/fstab with LABEL= notation, which leads
to the following mount output for root filesystem:
> mount | grep "on / "
/dev/dm-0 on / type ext3 (rw,noatime,errors=remount-ro)
just as quick head on.
this seems pretty much related to #489008
Unfortunately, it's not really related to that bug.
My LABEL is ROOT, so no parsing problem.
On the other hand initramfs-tools rely on mount command output which doesn't show labels in my case.
haven't had the time yet to look at it, so patches are welcome
A simple patch in attachment did the trick.
--
Eugene Paskevich | *==)----------- | Plug me into
eugene@raptor.kiev.ua | -----------(==* | The Matrix
12-16-2008, 03:39 PM
maximilian attems
Bug#508906: Doesn't detect LVM for root=/dev/dm-X
On Tue, 16 Dec 2008, Eugene Paskevich wrote:
>
> Unfortunately, it's not really related to that bug.
> My LABEL is ROOT, so no parsing problem.
> On the other hand initramfs-tools rely on mount command output which doesn't show labels in my case.
ah misunderstoody you, the bug description was totaly off.
what you were chasing is a MODULES=dep corner case.
right there more output from the box is needed, to start with:
ls /sys/block
--
maks
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
12-16-2008, 03:46 PM
"Eugene Paskevich"
Bug#508906: Doesn't detect LVM for root=/dev/dm-X
On Tue, 16 Dec 2008 18:39:06 +0200, maximilian attems <max@stro.at> wrote:
On Tue, 16 Dec 2008, Eugene Paskevich wrote:
Unfortunately, it's not really related to that bug.
My LABEL is ROOT, so no parsing problem.
On the other hand initramfs-tools rely on mount command output which
doesn't show labels in my case.
ah misunderstoody you, the bug description was totaly off.
what you were chasing is a MODULES=dep corner case.
right there more output from the box is needed, to start with:
ls /sys/block
Oh, indeed, sorry for not mentioning it.
Here is the /sys/block contents:
ls -l /sys/block/
total 0
drwxr-xr-x 5 root root 0 Dec 16 18:43 dm-0/
drwxr-xr-x 5 root root 0 Dec 16 18:43 dm-1/
drwxr-xr-x 6 root root 0 Dec 16 18:43 hda/
drwxr-xr-x 5 root root 0 Dec 16 18:43 loop0/
drwxr-xr-x 5 root root 0 Dec 16 18:43 loop1/
drwxr-xr-x 5 root root 0 Dec 16 18:43 loop2/
drwxr-xr-x 5 root root 0 Dec 16 18:43 loop3/
drwxr-xr-x 5 root root 0 Dec 16 18:43 loop4/
drwxr-xr-x 5 root root 0 Dec 16 18:43 loop5/
drwxr-xr-x 5 root root 0 Dec 16 18:43 loop6/
drwxr-xr-x 5 root root 0 Dec 16 18:43 loop7/
drwxr-xr-x 5 root root 0 Dec 16 18:43 ram0/
drwxr-xr-x 5 root root 0 Dec 16 18:43 ram1/
drwxr-xr-x 5 root root 0 Dec 16 18:43 ram10/
drwxr-xr-x 5 root root 0 Dec 16 18:43 ram11/
drwxr-xr-x 5 root root 0 Dec 16 18:43 ram12/
drwxr-xr-x 5 root root 0 Dec 16 18:43 ram13/
drwxr-xr-x 5 root root 0 Dec 16 18:43 ram14/
drwxr-xr-x 5 root root 0 Dec 16 18:43 ram15/
drwxr-xr-x 5 root root 0 Dec 16 18:43 ram2/
drwxr-xr-x 5 root root 0 Dec 16 18:43 ram3/
drwxr-xr-x 5 root root 0 Dec 16 18:43 ram4/
drwxr-xr-x 5 root root 0 Dec 16 18:43 ram5/
drwxr-xr-x 5 root root 0 Dec 16 18:43 ram6/
drwxr-xr-x 5 root root 0 Dec 16 18:43 ram7/
drwxr-xr-x 5 root root 0 Dec 16 18:43 ram8/
drwxr-xr-x 5 root root 0 Dec 16 18:43 ram9/
drwxr-xr-x 8 root root 0 Dec 16 18:43 sda/
--
Eugene Paskevich | *==)----------- | Plug me into
eugene@raptor.kiev.ua | -----------(==* | The Matrix
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
12-17-2008, 10:47 AM
maximilian attems
Bug#508906: Doesn't detect LVM for root=/dev/dm-X
On Tue, 16 Dec 2008, Eugene Paskevich wrote:
> Here is the /sys/block contents:
thanks indeed so your patch makes sense, applied it in slightly different
form to initramfs-tools repo. it is not release critical so i guess it
wont make it for lenny (if release happen soon .
http://git.debian.org/?p=kernel/initramfs-tools.git;a=summary
kind regards
--
maks
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org