Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connection timeout 4c0a6035
2019-09-19, 08:14
Post: #7
RE: Connection timeout 4c0a6035
(2019-09-19 04:40)NiKiZe Wrote:  qemu comes with an iPXE rom.
you can chain to a newer version of iPXE, but your issue is that your distro don't update packages.
I will try to be clearer - do build a new ipxe ROM for qemu from the latest sources.
When you start qemu, use the options to provide the path to your new ipxe rom - which is an option that you can provide on the cmd line, or as option in libvirt if that is what you are using.

You should also file a bug report, and tell your distro to upgrade to recent iPXE - and make sure it works as you described in your usecase (it's probably not tested much with 2 nics)

Thanks for your response. I can see several ROMs inside qemu-kvm so the question is which one I need to build?

[root@localhost qemu-kvm]# pwd
/usr/share/qemu-kvm

[root@localhost qemu-kvm]# ls -ltr pxe*
lrwxrwxrwx. 1 root root 20 Sep 18 21:45 pxe-pcnet.rom -> ../ipxe/10222000.rom
lrwxrwxrwx. 1 root root 20 Sep 18 21:45 pxe-ne2k_pci.rom -> ../ipxe/10ec8029.rom
lrwxrwxrwx. 1 root root 20 Sep 18 21:45 pxe-e1000.rom -> ../ipxe/8086100e.rom
lrwxrwxrwx. 1 root root 20 Sep 18 21:45 pxe-virtio.rom -> ../ipxe/1af41000.rom
lrwxrwxrwx. 1 root root 20 Sep 18 21:45 pxe-rtl8139.rom -> ../ipxe/10ec8139.rom

[root@localhost ipxe]# ls -ltr
total 1536
-rw-r--r--. 1 root root 262144 Aug 9 05:41 10222000.rom
-rw-r--r--. 1 root root 262144 Aug 9 05:41 10ec8139.rom
-rw-r--r--. 1 root root 262144 Aug 9 05:41 10ec8029.rom
-rw-r--r--. 1 root root 262144 Aug 9 05:41 8086100e.rom
-rw-r--r--. 1 root root 262144 Aug 9 05:41 1af41000.rom
-rw-r--r--. 1 root root 262144 Aug 9 05:41 808610d3.rom
[root@localhost ipxe]# pwd
/usr/share/ipxe

Since each of these ROMs are used for different interface model type, I tried to find what is being used in my case? my VM is getting created using virsh create input.xml command and in this input.xml file, following setting is used.
Please let me know if this setting is OK or so should it be replaced with virtio?

<model type='rtl8139'/>

Above setting means, I have to build pxe-rtl8139.rom and replace it at /usr/share/qemu-kvm location by removing the symbolic link and placing the file. However this will be overwritten if new ipxe-qemu-kvm package is applied so better option would be to give rom file location in domain xml file that is used by "virsh create" command.

<rom bar='on' file='/tmp/pxe-rtl8139.rom'/>

For building rom file with latest ipxe, I am going to use below steps, please confirm if this is correct.

cd /tmp
git clone git://git.ipxe.org/ipxe.git
cd ipxe/src
make bin/pxe-rtl8139.rom
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Connection timeout 4c0a6035 - abhiniveshjain - 2019-09-19 08:14



User(s) browsing this thread: 3 Guest(s)