Re: [Qemu-devel] Can you commit the pcnet patch ?

2005-07-21 Thread Lars Munch
On Wed, Jul 20, 2005 at 12:32:10PM +0200, Ludovic Drolez wrote: Hi ! I've tried the latest AMD pcnet patch (made by Antony T Curtis) with qemu 0.7 because I was tired of the sloooww PXE booting of my QEMU. For exemple, to load a linux kernel + initrd over TFTP, it takes 4m30s with a

Re: [Qemu-devel] Can you commit the pcnet patch ?

2005-07-21 Thread Christian MICHON
Hi Filip, On 7/20/05, Filip Navara wrote: Hmm, I used it on Windows some time ago... did it work ? I manage to update and compile the patch for qemu 0.7.0 and windows host (see attached file). I added some #ifdef and followed Paul's hint of yesterday (thx Paul :) ). It compiles fine, but all

Re: [Qemu-devel] Can you commit the pcnet patch ?

2005-07-21 Thread Paul Brook
On Thursday 21 July 2005 08:29, Lars Munch wrote: On Wed, Jul 20, 2005 at 12:32:10PM +0200, Ludovic Drolez wrote: Hi ! I've tried the latest AMD pcnet patch (made by Antony T Curtis) with qemu 0.7 because I was tired of the sloooww PXE booting of my QEMU. For exemple, to load a linux

Re: [Qemu-devel] Can you commit the pcnet patch ?

2005-07-21 Thread Ludovic Drolez
Christian MICHON wrote: = Probing pci nic... [lancepci]pcnet32.c: Found lancepci, Vendor=0x1022 Device=0x2000 lancepci: 52:54:00:12:34:56 at ioaddr C020, No MII tranceiver found! = Very strange... I had no

Re: [Qemu-devel] Can you commit the pcnet patch ?

2005-07-21 Thread Antony T Curtis
On Thu, 2005-07-21 at 15:49 +0200, Christian MICHON wrote: I tried using pxe (at least the probe) to get more diagnostics regarding this pcnet failure. Based on the windows host patches I posted earlier on, I get this message: = Probing pci

Re: [Qemu-devel] Can you commit the pcnet patch ?

2005-07-21 Thread Filip Navara
Filip Navara wrote: Christian MICHON wrote: Hi Filip, On 7/20/05, Filip Navara wrote: Hmm, I used it on Windows some time ago... did it work ? I manage to update and compile the patch for qemu 0.7.0 and windows host (see attached file). I added some #ifdef and followed Paul's hint

Re: [Qemu-devel] Can you commit the pcnet patch ?

2005-07-21 Thread Fabrice Bellard
Paul Brook wrote: On Thursday 21 July 2005 08:29, Lars Munch wrote: On Wed, Jul 20, 2005 at 12:32:10PM +0200, Ludovic Drolez wrote: Hi ! I've tried the latest AMD pcnet patch (made by Antony T Curtis) with qemu 0.7 because I was tired of the sloooww PXE booting of my QEMU. For exemple, to

Re: [Qemu-devel] Can you commit the pcnet patch ?

2005-07-21 Thread Christian MICHON
On 7/21/05, Filip Navara wrote: Ok, I lost the compilation patch ... but the other one is here: www.volny.cz/xnavara/pcnet.c.diff the qemu instance still crashes. I'm using plain http://ftp.sh.cvut.cz/MIRRORS/slax/SLAX-5.0.x/special-editions/slax-frodo-5.0.6.iso for testing. As soon as

[Qemu-devel] Can you commit the pcnet patch ?

2005-07-20 Thread Ludovic Drolez
Hi ! I've tried the latest AMD pcnet patch (made by Antony T Curtis) with qemu 0.7 because I was tired of the sloooww PXE booting of my QEMU. For exemple, to load a linux kernel + initrd over TFTP, it takes 4m30s with a ne2000, and 1m35s with the PCNET card. I had no problems with this

Re: [Qemu-devel] Can you commit the pcnet patch ?

2005-07-20 Thread Paul Brook
On Wednesday 20 July 2005 11:32, Ludovic Drolez wrote: Hi ! I've tried the latest AMD pcnet patch (made by Antony T Curtis) with qemu 0.7 because I was tired of the sloooww PXE booting of my QEMU. For exemple, to load a linux kernel + initrd over TFTP, it takes 4m30s with a ne2000, and 1m35s

Re: [Qemu-devel] Can you commit the pcnet patch ?

2005-07-20 Thread Ludovic Drolez
Paul Brook wrote: A reference URL would be handy. I assume you mean: http://dad-answers.com/qemu/patches/AMD-PCNET-II/qemu-pcnet.patch6.gz Yes, this one ! -- Ludovic DROLEZ ___ Qemu-devel mailing list Qemu-devel@nongnu.org

Re: [Qemu-devel] Can you commit the pcnet patch ?

2005-07-20 Thread Christian MICHON
anyway, this patch as it is fails on v0.7.0 needs re-alignment badly... if you've an updated patch, could you post it, please ? Thx Christian On 7/20/05, Ludovic Drolez [EMAIL PROTECTED] wrote: Paul Brook wrote: A reference URL would be handy. I assume you mean:

Re: [Qemu-devel] Can you commit the pcnet patch ?

2005-07-20 Thread Christian MICHON
Yes, this one ! I think I understand now why it's not in the mainline yet. This is only for linux hosts. I doesn't compile (yet :) ) on Windows hosts. I already tapped into the patch to see if I can make it work on Windows. Christian ___

Re: [Qemu-devel] Can you commit the pcnet patch ?

2005-07-20 Thread Christian MICHON
When I try to replace bcmp (inexistant in mingw32) with memcmp inside pcnet.h, like this: int result = (!CSR_DRCVPA(s)) !bcmp(hdr-ether_dhost, padr, 6); into int result = (!CSR_DRCVPA(s)) !bcmp(hdr-ether_dhost, padr, 6); I get the following error: In file included from

Re: [Qemu-devel] Can you commit the pcnet patch ?

2005-07-20 Thread Filip Navara
Christian MICHON wrote: Yes, this one ! I think I understand now why it's not in the mainline yet. This is only for linux hosts. I doesn't compile (yet :) ) on Windows hosts. I already tapped into the patch to see if I can make it work on Windows. Christian Hmm, I used it on

Re: [Qemu-devel] Can you commit the pcnet patch ?

2005-07-20 Thread Paul Brook
I get the following error: In file included from C:/dev/msys/1.0/home/xian/qemu-0.7.0/hw/pcnet.c:64: C:/dev/msys/1.0/home/xian/qemu-0.7.0/hw/pcnet.h: In function `padr_match': C:/dev/msys/1.0/home/xian/qemu-0.7.0/hw/pcnet.h:531: error: dereferencing pointer to incomplete type ... struct