Marvin Renich
2010-Sep-04 22:13 UTC
[Pkg-xen-devel] Bug#595531: xen-utils-common: boot="d" does not boot from CD (documentation issue?)
Package: xen-utils-common Version: 4.0.0-1 Severity: normal This is an offshoot of Bug#588888, but is really a separate issue. It appears that with hvmloader, the disk device names presented to the vm must by from a specific set that hvmloader knows how to emulate. Names like hd[a-c] and sd[a-c] work, but sr0 does not. While this makes sense, when you think about what hvmloader is doing, it is not obvious. So, the cdrom must be named hdc (sdc might also work; I haven't tried it). Second, for some phy: names (on the host side) you must use the full /dev/xxxx, while for others, you can omit the /dev/. I have not figured out what the rules are. The following works (the vm boots from the cd in the physical drive): disk = [ 'phy:mapper/sparks1-xen1,sda,w', 'phy:/dev/sr0,hdc:cdrom,r' ] Both sda and hdc show up in the vm, and sda has the correct contents, even though its phy: does _not_ include /dev/. But this does not (note the missing /dev/ for hdc): disk = [ 'phy:mapper/sparks1-xen1,sda,w', 'phy:sr0,hdc:cdrom,r' ] And this does not (note sr0 insted of hdc): disk = [ 'phy:mapper/sparks1-xen1,sda,w', 'phy:/dev/sr0,sr0:cdrom,r' ] ...Marvin -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages xen-utils-common depends on: ii gawk 1:3.1.7.dfsg-5 GNU awk, a pattern scanning and pr ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip ii udev 160-1 /dev/ and hotplug management daemo ii xenstore-utils 4.0.1~rc6-1 Xenstore utilities for Xen xen-utils-common recommends no packages. xen-utils-common suggests no packages. -- Configuration Files: /etc/xen/xend-config.sxp changed [not included] -- no debconf information
Thomas Goirand
2010-Sep-04 23:39 UTC
[Pkg-xen-devel] Bug#595531: Bug#595531: xen-utils-common: boot="d" does not boot from CD (documentation issue?)
Marvin Renich wrote:> Package: xen-utils-common > Version: 4.0.0-1 > Severity: normal > > This is an offshoot of Bug#588888, but is really a separate issue. > > It appears that with hvmloader, the disk device names presented to the > vm must by from a specific set that hvmloader knows how to emulate. > Names like hd[a-c] and sd[a-c] work, but sr0 does not. While this makes > sense, when you think about what hvmloader is doing, it is not obvious. > So, the cdrom must be named hdc (sdc might also work; I haven't tried > it). > > Second, for some phy: names (on the host side) you must use the full > /dev/xxxx, while for others, you can omit the /dev/. I have not figured > out what the rules are. > > The following works (the vm boots from the cd in the physical drive): > > disk = [ 'phy:mapper/sparks1-xen1,sda,w', > 'phy:/dev/sr0,hdc:cdrom,r' ] > > Both sda and hdc show up in the vm, and sda has the correct contents, > even though its phy: does _not_ include /dev/. > > But this does not (note the missing /dev/ for hdc): > > disk = [ 'phy:mapper/sparks1-xen1,sda,w', > 'phy:sr0,hdc:cdrom,r' ] > > And this does not (note sr0 insted of hdc): > > disk = [ 'phy:mapper/sparks1-xen1,sda,w', > 'phy:/dev/sr0,sr0:cdrom,r' ] > > ...MarvinHi Marvin, I have attached my config file, for which I have received comments from people from Citrix. Would that be ok if I just add this as an example config file? Feel free to comment on it as well, or to send me a corrected version, so that we have a good example shipped with the package... Thomas P.S: I'll upload a new version to SID only after the current one is migrated to Squeeze anyway. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: hvm-vm-config-example URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20100905/50927480/attachment.txt>
Apparently Analagous Threads
- Can''t boot HVM Win2k8 R2 x64 DVD ISO (Viridian?)
- Question Fe and BE device
- win-xp guest after reboot: could not open disk image /dev/sr0: mo medium found and extreme sluggisch
- xend (12, ''Cannot allocate memory'')
- Re: QemuDomainObjEndJob called when libvirtd is started and libvirt insists qemu is using the wrong disk source.