[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#513504: flash-kernel should handle LVM roots better



Package: flash-kernel
Version: 2.12
Severity: critical
Justification: breaks the whole system

LVM roots are not handled well. If one specifies an LVM root in /etc/fstab in the form of /dev/vg/lv (e.g. /dev/VG-n2100/root_lv) then the system will fail to boot. Instead, one must use the /dev/mapper/VG-vg-lv form in fstab.

The problem, according to waldi/maks on #debian-kernel is that the /dev/vg/lv form devices are just symlinks to the /dev/mapper devices. These symlinks do not exist when initramfs goes to mount the root. (If I /understood correctly).

A workaround, according to tbm, would be to have flash-kernel canonicalise LVM devices to their /dev/mapper/... form - I gather.

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates'), (500, 'unstable')
Architecture: armel (armv5tel)

Kernel: Linux 2.6.26-1-iop32x
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages flash-kernel depends on:
ii  devio                         1.2-1      correctly read (or write) a region
ii  initramfs-tools               0.92o      tools for generating an initramfs

flash-kernel recommends no packages.

Versions of packages flash-kernel suggests:
pn  uboot-mkimage                 <none>     (no description available)

-- debconf information exclude



Reply to: