Public bug reported:

Binary package hint: etherboot

in kvm-pxe (tested with version 5.4.4-1ubuntu1)
the rom are located here:

/usr/share/kvm/pxe-e1000.bin
/usr/share/kvm/pxe-ne2k_pci.bin
/usr/share/kvm/pxe-pcnet.bin
/usr/share/kvm/pxe-rtl8139.bin
/usr/share/kvm/pxe-virtio.bin

KVM is looking for those files in /usr/share/qemu:


# cd /
# /usr/bin/kvm -S -M pc-0.12 -cpu qemu32 -enable-kvm -m 256 -smp 1 -name test 
-uuid 8765045f-966c-64b6-b8ac-eef7890d36fd -chardev 
socket,id=monitor,path=/var/lib/libvirt/qemu/test.monitor,server,nowait 
-monitor chardev:monitor -boot nc -drive 
file=/var/lib/libvirt/images/test.img,if=virtio,index=0,boot=on,format=raw -net 
nic,macaddr=52:54:00:36:8f:62,vlan=0,model=virtio,name=e1000.0 -net 
tap,fd=46,vlan=0,name=tap.0 -chardev pty,id=serial0 -serial chardev:serial0 
-parallel none -usb -vnc 127.0.0.1:0 -vga cirrus
char device redirected to /dev/pts/2
TUNGETIFF ioctl() failed: Bad file descriptor
TUNSETOFFLOAD ioctl() failed: Bad file descriptor
pci_add_option_rom: failed to find romfile "pxe-virtio.bin"

last line.
if I
# ln -s /usr/share/kvm/pxe-virtio.bin /usr/share/qemu/pxe-virtio.bin
# /usr/bin/kvm -S -M pc-0.12 -cpu qemu32 -enable-kvm -m 256 -smp 1 -name test 
-uuid 8765045f-966c-64b6-b8ac-eef7890d36fd -chardev 
socket,id=monitor,path=/var/lib/libvirt/qemu/test.monitor,server,nowait 
-monitor chardev:monitor -boot nc -drive 
file=/var/lib/libvirt/images/test.img,if=virtio,index=0,boot=on,format=raw -net 
nic,macaddr=52:54:00:36:8f:62,vlan=0,model=virtio,name=e1000.0 -net 
tap,fd=46,vlan=0,name=tap.0 -chardev pty,id=serial0 -serial chardev:serial0 
-parallel none -usb -vnc 127.0.0.1:0 -vga cirrus
char device redirected to /dev/pts/2
TUNGETIFF ioctl() failed: Bad file descriptor
TUNSETOFFLOAD ioctl() failed: Bad file descriptor

it work.

** Affects: etherboot (Ubuntu)
     Importance: Undecided
         Status: New

-- 
kvm expect PXE rom to be in /usr/share/qemu
https://bugs.launchpad.net/bugs/566832
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

Reply via email to