--On Montag, März 22, 2010 13:31:17 +0000 Chuck Short <chuck.sh...@canonical.com> wrote: > Hi, > > If possible can you do a git bisect to narrow down the change that fixed > this?
Hi, no luck trying to reproduce the failure with builds from qemu.org, in spite of keeping the call to ./configure as close as possible to that for the ubuntu package and trying several git revisions. But I think I have tracked it down to a qemu argument constructed by libvirt for the first disk (there are 2 IDE disks in my VM): -drive file=....,if=ide,index=0,boot=on Using the exact invocation found in /var/log/libvirt/qemu/nbsd501-build.log in an interactive shell (see below), the boot hangs. But omitting the "boot=on" part in the definition for the first disk starts the VM nicely. My local builds from the qemu.org git repository do not exhibit that sensitivity for the "boot=on" parameter, but strange enough I do not even get a boot loader menu with them. Instead it boots the kernel right away (difference from using seabios vs. some other bios?) Since I cannot find a "boot=..." parameter for drive specifications in the qemu manpage, maybe this is not a bug in qemu-kvm, but in libvirt instead? Below follow a libvirt xml dump of the vm and the qemu command line invocation as used by libvirt. Regards Matthias -------------------------------------------------- virsh # dumpxml nbsd501-build <domain type='qemu'> <name>nbsd501-build</name> <uuid>a873c8e9-ea78-af71-a316-52c364e10eae</uuid> <memory>1048576</memory> <currentMemory>1048576</currentMemory> <vcpu>1</vcpu> <os> <type arch='i686' machine='pc-0.11'>hvm</type> <boot dev='hd'/> </os> <features> <apic/> </features> <clock offset='utc'/> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/qemu</emulator> <disk type='file' device='cdrom'> <target dev='hdc' bus='ide'/> <readonly/> </disk> <disk type='file' device='disk'> <driver name='qemu'/> <source file='/home/adminmf/vmware/Virtual_Machines/nbsd501-build/netbsd501-build.vmdk'/> <target dev='hda' bus='ide'/> </disk> <disk type='file' device='disk'> <driver name='qemu'/> <source file='/home/adminmf/vmware/Virtual_Machines/NetBSD/Other-flat.vmdk'/> <target dev='hdb' bus='ide'/> </disk> <interface type='bridge'> <mac address='54:52:00:6c:e5:c7'/> <source bridge='br0'/> <target dev='vnet0'/> <model type='pcnet'/> </interface> <interface type='bridge'> <mac address='54:52:00:79:a7:b1'/> <source bridge='br0'/> <target dev='vnet1'/> <model type='ne2k_pci'/> </interface> <serial type='pty'> <target port='0'/> </serial> <console type='pty'> <target port='0'/> </console> <input type='mouse' bus='ps2'/> <graphics type='vnc' port='-1' autoport='yes' keymap='de'/> <video> <model type='cirrus' vram='9216' heads='1'/> </video> </devices> </domain> ------------------------------------------------------------- # "-no-kvm" omitted, local builds from qemu.org do not # support this LC_ALL=C \ PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin \ QEMU_AUDIO_DRV=none \ /usr/bin/qemu \ -M pc-0.11 \ -m 1024 \ -smp 1 \ -name nbsd501-build \ -uuid a873c8e9-ea78-af71-a316-52c364e10eae \ -chardev \ socket,id=monitor,path=/var/lib/libvirt/qemu/nbsd501-build.monitor,server,nowait \ -monitor chardev:monitor \ -no-acpi \ -boot c \ -drive \ file=/home/adminmf/vmware/Virtual_Machines/nbsd501-build/netbsd501-build.vmdk,if=ide,index=0,boot=on \ -drive \ file=/home/adminmf/vmware/Virtual_Machines/NetBSD/Other-flat.vmdk,if=ide,index=1 \ -drive if=ide,media=cdrom,index=2 \ -net nic,macaddr=54:52:00:6c:e5:c7,vlan=0,model=pcnet,name=pcnet.0 \ -net tap,fd=38,vlan=0,name=tap.0 \ -net nic,macaddr=54:52:00:79:a7:b1,vlan=1,model=ne2k_pci,name=ne2k_pci.0 \ -net tap,fd=39,vlan=1,name=tap.1 \ -chardev pty,id=serial0 \ -serial chardev:serial0 \ -parallel none \ -usb \ -vnc 127.0.0.1:0 \ -k de \ -vga cirrus -- netbsd-5.0.1/i386 guest not booting on lucid https://bugs.launchpad.net/bugs/543100 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs