Skip to contentSkip to conversation

Antony Curtis' PCNet Patch built on MingW

Qemu-devel Garth Dahlstrom 2 participants 2 messages Aug 12, 2004 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 5 lines · Antony T Curtis

At the start of pci_pcnet_init(), can you enable the printf() statement which reports the size of the pcnet_RMD and pcnet_TMD structures?

They should both be 16 bytes.

Yup, I did that and the and got the following:
sizeof(RMD)=16, sizeof(TMD)=16
QEMU 0.6.0 monitor - type 'help' for more information (qemu) Bad SWSTYLE=0x04

so what I did to PACKED is okay....

for a sec, I thought perhaps dhcp wasn't implemented, so I I issued:
ifconfig eth0 up 10.0.2.15 gw 10.0.2.2
qemu crashes instantly when I do this with no error message, nothing in the system event logs either...

Would it be helpful if I made a diff against the PCNet patch posted on www.dad-answers.com, so you could see all the alterations I made?

-G

Signature · 3 lines
Northern.CA ===--
http://www.northern.ca/
Canada's Search Engine
#2 lore raw
Quoted 12 lines · Garth Dahlstrom
Quoted 5 lines · Antony T Curtis

At the start of pci_pcnet_init(), can you enable the printf() statement which reports the size of the pcnet_RMD and pcnet_TMD structures?

They should both be 16 bytes.

Yup, I did that and the and got the following:
sizeof(RMD)=16, sizeof(TMD)=16
QEMU 0.6.0 monitor - type 'help' for more information (qemu) Bad SWSTYLE=0x04

Quoted 6 lines

so what I did to PACKED is okay....

for a sec, I thought perhaps dhcp wasn't implemented, so I I issued:
ifconfig eth0 up 10.0.2.15 gw 10.0.2.2
qemu crashes instantly when I do this with no error message, nothing in the system event logs either...

Hmm... I am thinking that perhaps there is a bug elsewhere... Any attempt I make to use slirp has it crashing immediately - so I assume that you are using that?

Quoted 4 lines

Would it be helpful if I made a diff against the PCNet patch posted on www.dad-answers.com, so you could see all the alterations I made?

-G

Signature · 3 lines
Antony T Curtis, BSc.                   UNIX, Linux, *BSD, Networking
[email protected]            C++, J2EE, Perl, MySQL, Apache
                                        IT Consultancy.