All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1543163] [NEW] VMs unable to boot from network with e1000 since 2.2
@ 2016-02-08 15:01 John Doe
  2016-08-07 18:36 ` [Qemu-devel] [Bug 1543163] " John Doe
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: John Doe @ 2016-02-08 15:01 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

With KVM/QEMU version 1.4, using e1000 NIC, virtual machines boot from
network alright; they get an IP from DHCP server (machine A), then
connect to Microsoft System Center (machine B) and proceed to boot into
Windows PE, install images etc.

However, with versions at least 2.2 and 2.5, using same NIC, virtual
machines fail to boot from network; they still get an IP from A, but
then fail "contacting B using gateway (0.0.0.0). Different NICs do not
help except for i82551, which however causes problems further down the
road (presumably because there is no driver for that card in PE (based
on Windows 7/8/10)).

Note that actual physical machines work.

Wireshark reveals this:

QEMU 1.4 + Intel e1000
**********************
1) client sends DHCP discover
2) machine A answers, offers an IP, gateway and itself as next server
3) machine B answers, offers no IP, but gateway and itself as next server
4) client requests the IP
5) machine A ACKs
6) client sends unicast request for ??? to B
7) B offers (unicast) a boot file (some .com)
8) client sends another unicast request for ??? to B
9) B again offers the boot file
(then they chat a bit, B offers another file, client downloads some stuff via TFTP etc.)


QEMU 2.2/2.5 + Intel e1000
**************************
1) client sends DHCP discover
2) machine A answers, offers an IP, gateway and itself as next server
3) machine B answers, offers no IP, but gateway and itself as next server
4) client requests the IP
5) machine A ACKs
6) client sends _broadcast_ request for ??? to B
7) B offers (likewise broadcast) a boot file
8) client sends another request, this time unicast and claims "Client IP address = 0.0.0.0"
(and it basically hangs)


So, since some time after 1.4, QEMUlated machines with otherwise trusty e1000 can no longer boot from network and it might be due to different behaviour.

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1543163

Title:
  VMs unable to boot from network with e1000 since 2.2

Status in QEMU:
  New

Bug description:
  With KVM/QEMU version 1.4, using e1000 NIC, virtual machines boot from
  network alright; they get an IP from DHCP server (machine A), then
  connect to Microsoft System Center (machine B) and proceed to boot
  into Windows PE, install images etc.

  However, with versions at least 2.2 and 2.5, using same NIC, virtual
  machines fail to boot from network; they still get an IP from A, but
  then fail "contacting B using gateway (0.0.0.0). Different NICs do not
  help except for i82551, which however causes problems further down the
  road (presumably because there is no driver for that card in PE (based
  on Windows 7/8/10)).

  Note that actual physical machines work.

  Wireshark reveals this:

  QEMU 1.4 + Intel e1000
  **********************
  1) client sends DHCP discover
  2) machine A answers, offers an IP, gateway and itself as next server
  3) machine B answers, offers no IP, but gateway and itself as next server
  4) client requests the IP
  5) machine A ACKs
  6) client sends unicast request for ??? to B
  7) B offers (unicast) a boot file (some .com)
  8) client sends another unicast request for ??? to B
  9) B again offers the boot file
  (then they chat a bit, B offers another file, client downloads some stuff via TFTP etc.)

  
  QEMU 2.2/2.5 + Intel e1000
  **************************
  1) client sends DHCP discover
  2) machine A answers, offers an IP, gateway and itself as next server
  3) machine B answers, offers no IP, but gateway and itself as next server
  4) client requests the IP
  5) machine A ACKs
  6) client sends _broadcast_ request for ??? to B
  7) B offers (likewise broadcast) a boot file
  8) client sends another request, this time unicast and claims "Client IP address = 0.0.0.0"
  (and it basically hangs)

  
  So, since some time after 1.4, QEMUlated machines with otherwise trusty e1000 can no longer boot from network and it might be due to different behaviour.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1543163/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1543163] Re: VMs unable to boot from network with e1000 since 2.2
  2016-02-08 15:01 [Qemu-devel] [Bug 1543163] [NEW] VMs unable to boot from network with e1000 since 2.2 John Doe
@ 2016-08-07 18:36 ` John Doe
  2016-08-08 11:15 ` John Doe
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: John Doe @ 2016-08-07 18:36 UTC (permalink / raw)
  To: qemu-devel

Probably the same issue in different scenario: DHCP server is running on
the host machine (VMs use virtual NICs connected to a bridge) and is
also configured to do PXE, which works, but only when VMs are launched
in BIOS mode. When launched in UEFI mode using Tianocore, they fail. Now
the interesting bit is again provided by Wireshark:


BIOS mode
*********
1) VM sends DHCP discover, flag 0x0000 (Unicast)
2) DHCP replies with an offer, also 0x0000 (Unicast)
3) normal process continues


UEFI MODE
********
1) VM sends DHCP discover, flag 0x8000 (Broadcast)
2) DHCP replies with an offer, also 0x8000 (Broadcast)
3) VM ignores the offer
4) goto 1)

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1543163

Title:
  VMs unable to boot from network with e1000 since 2.2

Status in QEMU:
  New

Bug description:
  With KVM/QEMU version 1.4, using e1000 NIC, virtual machines boot from
  network alright; they get an IP from DHCP server (machine A), then
  connect to Microsoft System Center (machine B) and proceed to boot
  into Windows PE, install images etc.

  However, with versions at least 2.2 and 2.5, using same NIC, virtual
  machines fail to boot from network; they still get an IP from A, but
  then fail "contacting B using gateway (0.0.0.0). Different NICs do not
  help except for i82551, which however causes problems further down the
  road (presumably because there is no driver for that card in PE (based
  on Windows 7/8/10)).

  Note that actual physical machines work.

  Wireshark reveals this:

  QEMU 1.4 + Intel e1000
  **********************
  1) client sends DHCP discover
  2) machine A answers, offers an IP, gateway and itself as next server
  3) machine B answers, offers no IP, but gateway and itself as next server
  4) client requests the IP
  5) machine A ACKs
  6) client sends unicast request for ??? to B
  7) B offers (unicast) a boot file (some .com)
  8) client sends another unicast request for ??? to B
  9) B again offers the boot file
  (then they chat a bit, B offers another file, client downloads some stuff via TFTP etc.)

  
  QEMU 2.2/2.5 + Intel e1000
  **************************
  1) client sends DHCP discover
  2) machine A answers, offers an IP, gateway and itself as next server
  3) machine B answers, offers no IP, but gateway and itself as next server
  4) client requests the IP
  5) machine A ACKs
  6) client sends _broadcast_ request for ??? to B
  7) B offers (likewise broadcast) a boot file
  8) client sends another request, this time unicast and claims "Client IP address = 0.0.0.0"
  (and it basically hangs)

  
  So, since some time after 1.4, QEMUlated machines with otherwise trusty e1000 can no longer boot from network and it might be due to different behaviour.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1543163/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1543163] Re: VMs unable to boot from network with e1000 since 2.2
  2016-02-08 15:01 [Qemu-devel] [Bug 1543163] [NEW] VMs unable to boot from network with e1000 since 2.2 John Doe
  2016-08-07 18:36 ` [Qemu-devel] [Bug 1543163] " John Doe
@ 2016-08-08 11:15 ` John Doe
  2019-04-16  5:44 ` Thomas Huth
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: John Doe @ 2016-08-08 11:15 UTC (permalink / raw)
  To: qemu-devel

The UEFI PXE issue was caused by a typo in DHCP server config file; the server then did not send DHCP option, if I remember correctly, 67.
Nevertheless, that inspired me and I will further investigate the original issue with SCCM and focus on DHCP options.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1543163

Title:
  VMs unable to boot from network with e1000 since 2.2

Status in QEMU:
  New

Bug description:
  With KVM/QEMU version 1.4, using e1000 NIC, virtual machines boot from
  network alright; they get an IP from DHCP server (machine A), then
  connect to Microsoft System Center (machine B) and proceed to boot
  into Windows PE, install images etc.

  However, with versions at least 2.2 and 2.5, using same NIC, virtual
  machines fail to boot from network; they still get an IP from A, but
  then fail "contacting B using gateway (0.0.0.0). Different NICs do not
  help except for i82551, which however causes problems further down the
  road (presumably because there is no driver for that card in PE (based
  on Windows 7/8/10)).

  Note that actual physical machines work.

  Wireshark reveals this:

  QEMU 1.4 + Intel e1000
  **********************
  1) client sends DHCP discover
  2) machine A answers, offers an IP, gateway and itself as next server
  3) machine B answers, offers no IP, but gateway and itself as next server
  4) client requests the IP
  5) machine A ACKs
  6) client sends unicast request for ??? to B
  7) B offers (unicast) a boot file (some .com)
  8) client sends another unicast request for ??? to B
  9) B again offers the boot file
  (then they chat a bit, B offers another file, client downloads some stuff via TFTP etc.)

  
  QEMU 2.2/2.5 + Intel e1000
  **************************
  1) client sends DHCP discover
  2) machine A answers, offers an IP, gateway and itself as next server
  3) machine B answers, offers no IP, but gateway and itself as next server
  4) client requests the IP
  5) machine A ACKs
  6) client sends _broadcast_ request for ??? to B
  7) B offers (likewise broadcast) a boot file
  8) client sends another request, this time unicast and claims "Client IP address = 0.0.0.0"
  (and it basically hangs)

  
  So, since some time after 1.4, QEMUlated machines with otherwise trusty e1000 can no longer boot from network and it might be due to different behaviour.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1543163/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1543163] Re: VMs unable to boot from network with e1000 since 2.2
  2016-02-08 15:01 [Qemu-devel] [Bug 1543163] [NEW] VMs unable to boot from network with e1000 since 2.2 John Doe
  2016-08-07 18:36 ` [Qemu-devel] [Bug 1543163] " John Doe
  2016-08-08 11:15 ` John Doe
@ 2019-04-16  5:44 ` Thomas Huth
  2019-04-16 13:39 ` John Doe
  2019-04-16 15:16 ` Thomas Huth
  4 siblings, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2019-04-16  5:44 UTC (permalink / raw)
  To: qemu-devel

Looking through old bug tickets... can you still reproduce this issue
with the latest version of QEMU? Or could we close this ticket nowadays?

** Changed in: qemu
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1543163

Title:
  VMs unable to boot from network with e1000 since 2.2

Status in QEMU:
  Incomplete

Bug description:
  With KVM/QEMU version 1.4, using e1000 NIC, virtual machines boot from
  network alright; they get an IP from DHCP server (machine A), then
  connect to Microsoft System Center (machine B) and proceed to boot
  into Windows PE, install images etc.

  However, with versions at least 2.2 and 2.5, using same NIC, virtual
  machines fail to boot from network; they still get an IP from A, but
  then fail "contacting B using gateway (0.0.0.0). Different NICs do not
  help except for i82551, which however causes problems further down the
  road (presumably because there is no driver for that card in PE (based
  on Windows 7/8/10)).

  Note that actual physical machines work.

  Wireshark reveals this:

  QEMU 1.4 + Intel e1000
  **********************
  1) client sends DHCP discover
  2) machine A answers, offers an IP, gateway and itself as next server
  3) machine B answers, offers no IP, but gateway and itself as next server
  4) client requests the IP
  5) machine A ACKs
  6) client sends unicast request for ??? to B
  7) B offers (unicast) a boot file (some .com)
  8) client sends another unicast request for ??? to B
  9) B again offers the boot file
  (then they chat a bit, B offers another file, client downloads some stuff via TFTP etc.)

  
  QEMU 2.2/2.5 + Intel e1000
  **************************
  1) client sends DHCP discover
  2) machine A answers, offers an IP, gateway and itself as next server
  3) machine B answers, offers no IP, but gateway and itself as next server
  4) client requests the IP
  5) machine A ACKs
  6) client sends _broadcast_ request for ??? to B
  7) B offers (likewise broadcast) a boot file
  8) client sends another request, this time unicast and claims "Client IP address = 0.0.0.0"
  (and it basically hangs)

  
  So, since some time after 1.4, QEMUlated machines with otherwise trusty e1000 can no longer boot from network and it might be due to different behaviour.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1543163/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1543163] Re: VMs unable to boot from network with e1000 since 2.2
  2016-02-08 15:01 [Qemu-devel] [Bug 1543163] [NEW] VMs unable to boot from network with e1000 since 2.2 John Doe
                   ` (2 preceding siblings ...)
  2019-04-16  5:44 ` Thomas Huth
@ 2019-04-16 13:39 ` John Doe
  2019-04-16 15:16 ` Thomas Huth
  4 siblings, 0 replies; 6+ messages in thread
From: John Doe @ 2019-04-16 13:39 UTC (permalink / raw)
  To: qemu-devel

I have 3.10 and I managed to boot with e1000 at least in BIOS mode. I am not sure about UEFI mode, because I get no output on "screen" for whatever, perhaps unrelated reason.
Anyway, I think we may close it for now.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1543163

Title:
  VMs unable to boot from network with e1000 since 2.2

Status in QEMU:
  Incomplete

Bug description:
  With KVM/QEMU version 1.4, using e1000 NIC, virtual machines boot from
  network alright; they get an IP from DHCP server (machine A), then
  connect to Microsoft System Center (machine B) and proceed to boot
  into Windows PE, install images etc.

  However, with versions at least 2.2 and 2.5, using same NIC, virtual
  machines fail to boot from network; they still get an IP from A, but
  then fail "contacting B using gateway (0.0.0.0). Different NICs do not
  help except for i82551, which however causes problems further down the
  road (presumably because there is no driver for that card in PE (based
  on Windows 7/8/10)).

  Note that actual physical machines work.

  Wireshark reveals this:

  QEMU 1.4 + Intel e1000
  **********************
  1) client sends DHCP discover
  2) machine A answers, offers an IP, gateway and itself as next server
  3) machine B answers, offers no IP, but gateway and itself as next server
  4) client requests the IP
  5) machine A ACKs
  6) client sends unicast request for ??? to B
  7) B offers (unicast) a boot file (some .com)
  8) client sends another unicast request for ??? to B
  9) B again offers the boot file
  (then they chat a bit, B offers another file, client downloads some stuff via TFTP etc.)

  
  QEMU 2.2/2.5 + Intel e1000
  **************************
  1) client sends DHCP discover
  2) machine A answers, offers an IP, gateway and itself as next server
  3) machine B answers, offers no IP, but gateway and itself as next server
  4) client requests the IP
  5) machine A ACKs
  6) client sends _broadcast_ request for ??? to B
  7) B offers (likewise broadcast) a boot file
  8) client sends another request, this time unicast and claims "Client IP address = 0.0.0.0"
  (and it basically hangs)

  
  So, since some time after 1.4, QEMUlated machines with otherwise trusty e1000 can no longer boot from network and it might be due to different behaviour.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1543163/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Qemu-devel] [Bug 1543163] Re: VMs unable to boot from network with e1000 since 2.2
  2016-02-08 15:01 [Qemu-devel] [Bug 1543163] [NEW] VMs unable to boot from network with e1000 since 2.2 John Doe
                   ` (3 preceding siblings ...)
  2019-04-16 13:39 ` John Doe
@ 2019-04-16 15:16 ` Thomas Huth
  4 siblings, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2019-04-16 15:16 UTC (permalink / raw)
  To: qemu-devel

Ok, thanks for checking. Closing now.

** Changed in: qemu
       Status: Incomplete => Fix Released

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1543163

Title:
  VMs unable to boot from network with e1000 since 2.2

Status in QEMU:
  Fix Released

Bug description:
  With KVM/QEMU version 1.4, using e1000 NIC, virtual machines boot from
  network alright; they get an IP from DHCP server (machine A), then
  connect to Microsoft System Center (machine B) and proceed to boot
  into Windows PE, install images etc.

  However, with versions at least 2.2 and 2.5, using same NIC, virtual
  machines fail to boot from network; they still get an IP from A, but
  then fail "contacting B using gateway (0.0.0.0). Different NICs do not
  help except for i82551, which however causes problems further down the
  road (presumably because there is no driver for that card in PE (based
  on Windows 7/8/10)).

  Note that actual physical machines work.

  Wireshark reveals this:

  QEMU 1.4 + Intel e1000
  **********************
  1) client sends DHCP discover
  2) machine A answers, offers an IP, gateway and itself as next server
  3) machine B answers, offers no IP, but gateway and itself as next server
  4) client requests the IP
  5) machine A ACKs
  6) client sends unicast request for ??? to B
  7) B offers (unicast) a boot file (some .com)
  8) client sends another unicast request for ??? to B
  9) B again offers the boot file
  (then they chat a bit, B offers another file, client downloads some stuff via TFTP etc.)

  
  QEMU 2.2/2.5 + Intel e1000
  **************************
  1) client sends DHCP discover
  2) machine A answers, offers an IP, gateway and itself as next server
  3) machine B answers, offers no IP, but gateway and itself as next server
  4) client requests the IP
  5) machine A ACKs
  6) client sends _broadcast_ request for ??? to B
  7) B offers (likewise broadcast) a boot file
  8) client sends another request, this time unicast and claims "Client IP address = 0.0.0.0"
  (and it basically hangs)

  
  So, since some time after 1.4, QEMUlated machines with otherwise trusty e1000 can no longer boot from network and it might be due to different behaviour.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1543163/+subscriptions

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-04-16 15:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-08 15:01 [Qemu-devel] [Bug 1543163] [NEW] VMs unable to boot from network with e1000 since 2.2 John Doe
2016-08-07 18:36 ` [Qemu-devel] [Bug 1543163] " John Doe
2016-08-08 11:15 ` John Doe
2019-04-16  5:44 ` Thomas Huth
2019-04-16 13:39 ` John Doe
2019-04-16 15:16 ` Thomas Huth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.