Hello,<div>It works when I choose different driver for the 2 NIC. It could have been a nice work arrount if I do not had to </div><div>use virtio driver for both NIC.</div><div>Any idea how I could use virtio in the 2 NIC and get bootindex works properly ?</div>

<div><br></div><div>Thanks in advance </div><div><br><div class="gmail_quote">2011/9/29 Gleb Natapov <span dir="ltr"><<a href="mailto:gleb@redhat.com">gleb@redhat.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">On Thu, Sep 29, 2011 at 11:30:08AM +0200, Romain Vrignaud wrote:<br>
> We see the right bootindex option as I want to boot on gPXE from my second<br>
> NIC (mac=52:54:00:28:ca:e6).<br>
> The problem is that during my VM boot process, seabios initialise gPXE for<br>
> my 2 NIC.<br>
> But then gPXE try to boot (DHCP request) on the first NIC rather than on the<br>
> second one.<br>
><br>
> It always try to boot first on the first PCI device (00:03.0 instead of<br>
> 00:04.0).<br>
><br>
> I don't really know if the problem comes from gPXE or Seabios but I have<br>
> exactly the same problem when I try with Ubuntu's etherboot rom.<br>
><br>
><br>
</div>It is likely gPXE problem. If the option rom found on the first card<br>
initializes both rtl cards it finds instead of only the one it was<br>
loaded from then bootindex will not work correctly. Can you try with<br>
two different nic models (rtl8139 and e1000 for instance) and see if<br>
boot order works correctly for you?<br>
<div class="im"><br>
> I got this problem with Ubuntu latest qemu-kvm<br>
> (0.14.1+noroms-0ubuntu3.11.04.1) / seabios (0.6.2-0ubuntu1) and etherboot<br>
> (5.4.4-7ubuntu2) and Fedora qemu-kvm (qemu-kvm-0.15.0-4.fc15.x86_64) /<br>
> Seabios (seabios-bin-0.6.2-2.fc15.noarch)  and gPXE<br>
> (gpxe-roms-qemu-1.0.1-4.fc15.noarch).<br>
><br>
> I also recompiled latest Seabios (pre-0.6.3-20110929) trunk and gPXE<br>
> (1.0.1+) from Git : the behaviour is exactly the same. I tried with<br>
> different NIC driver (virtio and rtl8139) with also same behavior.<br>
><br>
> Do you have any idea where my problem can come from ?<br>
><br>
> Thanks in advance for any advice.<br>
><br>
> Regards,<br>
><br>
> Romain Vrignaud<br>
<br>
</div>> _______________________________________________<br>
> SeaBIOS mailing list<br>
> <a href="mailto:SeaBIOS@seabios.org">SeaBIOS@seabios.org</a><br>
> <a href="http://www.seabios.org/mailman/listinfo/seabios" target="_blank">http://www.seabios.org/mailman/listinfo/seabios</a><br>
<font color="#888888"><br>
<br>
--<br>
                        Gleb.<br>
</font></blockquote></div><br></div>