Skip to contentSkip to conversation

qemu 0.9.0 win32 PXE boot can't work

Qemu-devel 姚春林 3 participants 5 messages Jul 19, 2007 – Jul 20, 2007

lore
Share & tools
lore

姚春林

author
#0 lore raw

I am using tftpd32 on xp as server.
qemu 0.9.0-win32 can't boot from nic.

I have tried use vmware .It is OK.

so I download etherboot iso image from rom-o-matic use the pcnet32 nic card. this iso can boot vmware use PXE.
but when I boot qemu-win32 use this iso.It tell me "No Ip Address".

The qemu use -net nic,model=pcnet -net tap.

I have used ethereal capture the packets on tap device. The DHCP offer packet is sent.

who can help me?

#1 lore raw
Quoted 10 lines · ???

I am using tftpd32 on xp as server.
qemu 0.9.0-win32 can't boot from nic.
I have tried use vmware .It is OK.
so I download etherboot iso image from rom-o-matic use the pcnet32 nic card. this iso can boot vmware use PXE.
but when I boot qemu-win32 use this iso.It tell me "No Ip Address". The qemu use -net nic,model=pcnet -net tap.
I have used ethereal capture the packets on tap device.
The DHCP offer packet is sent.
who can help me?

Can you try using the other nic types? I'm most interested in the results with the rtl8139 model.

Regards,

Anthony Liguori

author
#2 lore raw
Quoted 4 lines

Can you try using the other nic types? I'm most interested in the results with the rtl8139 model.

I have used rtl8139 the first time.Does not work.

I think the etherboot is OK. because I can use it to boot from vmware. and the ethereal captured the DHCP offer packet on tap nic. How the tap-win32 and qemu deal with this packet?
I can't trace it.

#3 lore raw
Quoted 10 lines · ???

Can you try using the other nic types? I'm most interested in the results with the rtl8139 model.

I have used rtl8139 the first time.Does not work.
I think the etherboot is OK. because I can use it to boot from vmware. and the ethereal captured the DHCP offer packet on tap nic. How the tap-win32 and qemu deal with this packet?
I can't trace it.

You're using tap-win32? I have no idea how well tap-win32 works with PXE... That would be my suspicion.

Regards,

Anthony Liguori

#4 lore raw
In reply to 姚春林
Quoted 8 lines · 姚春林
Quoted 2 lines

Can you try using the other nic types? I'm most interested in the results with the rtl8139 model.

I have used rtl8139 the first time.Does not work.

I think the etherboot is OK. because I can use it to boot from vmware. and the ethereal captured the DHCP offer packet on tap nic. How the tap-win32 and qemu deal with this packet?

qemu doesn't do anything with the network traffic. It just passes it on to your host OS. This is almost certainly a bug in your host networking configuration. i.e. you don't have a dhcp server listening on that interface. Configure it exactly the same as you would on a real network/machine.

Paul