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

Bug#551551: marked as done (support hdd-usb partition in KVM)



Your message dated Sun, 14 Mar 2010 22:58:33 +0100
with message-id <4B9D5C09.5010909@debian.org>
and subject line Re: support hdd-usb partition in KVM
has caused the Debian Bug report #551551,
regarding support hdd-usb partition in KVM
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
551551: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551551
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-initramfs
Version: 1.157.4-1

I'm having a problem booting usb-hdd images I build of Squeeze / Sid in
the recent days (haven't tried for a while before that). I'm using
live-helper and live-initramfs from git.

Basically the initramfs loops endlessly trying to find the filesystem to
mount. Originally the symptom was the same as in in #547149 . As of
live-initramfs 1.157.4-1 that error message is gone. But it wasn't the
real issue anyway.

The first this to fix is:

--- a/scripts/live
+++ b/scripts/live
@@ -611,7 +611,7 @@ is_nice_device ()
 {
        sysfs_path="${1#/sys}"

-       if /lib/udev/path_id "${sysfs_path}" | grep -E -q "ID_PATH=(usb|pci-[^-]*-(ide|scsi|usb))"
+       if /lib/udev/path_id "${sysfs_path}" | grep -E -q "ID_PATH=(usb|pci-)"
        then
                return 0
        elif echo "${sysfs_path}" | grep -q '^/block/vd[a-z]$'


Without this /dev/hda1 will not be considered: /dev/hda will be
outright skipped.

This is because the output of /lib/udev/path_id has changed and seems to
no longer include the disk type. I hope this does not introduce any
false positives. See also
http://lists.debian.org/debian-live/2009/10/msg00061.html

Once I got over that I'm stuck with get_fstype from scripts/live-helpers
that fails to find the type. fstype does not seem to detect FAT
filesystems, but I guess that this is not anything new. /lib/udev/vol_id
is missing and hence the last resort '/lib/udev/vol_id -d ${1}' doesn't
help there either.


My build system is Lenny AMD64. My target system is i386:

live-initramfs: 1.157.4-1-2-gdd987ac
live-helper: 1.0.5-2-33-g2b8a748

Config options:

  --arch i386
  --linux-flavours 686
  --syslinux-timeout 20
  --distribution sid
  --packages-lists xfce
  --binary-images usb-hdd
  --bootappend-live quiet
  --apt-recommends disabled


Testing: Any of the following two:

  kvm -hda binary.img
  qemu -hda binary.img

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen@xorcom.com
+972-50-7952406           mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com  iax:guest@local.xorcom.com/tzafrir



--- End Message ---
--- Begin Message ---
Version: 1.157.4-2

this has already been fixed in 1.157.4-2, closing.

--
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/


--- End Message ---

Reply to: