Incorrectly identify blockdevice for mmcblkXpY

Bug #556441 reported by yope
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: initramfs-tools

When installing on a system that has SD-card deices named mmcblkXpY (X=card number, Y=partition), the function deb_add_modules() contained in the file /usr/share/initramfs-tools/hook-functions incorrectly strips off the whole "XpY" part of the device, ending up with the string "mmcblk" in variable $block, and exits complaining that it cannot find /sys/block/mmcblk.

This occured while installing "lucid" on a iMX515 evaluation board and selecting /dev/mmcblk1p1 as root partition.

Revision history for this message
Colin Watson (cjwatson) wrote :

Looks like Oliver fixed this last week:

initramfs-tools (0.92bubuntu72) lucid; urgency=low

  * make sure we can use mmc cards for / and add a proper sysfs handler,
    (mmc always uses numbering in the device name like mmcblk[0-9]p[0-n], make
    sure hook-functions only cuts off the partition but not the device number)

 -- Oliver Grawert <email address hidden> Wed, 14 Apr 2010 11:40:30 +0200

Changed in initramfs-tools (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.