From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CreGW-0003rl-9o for qemu-devel@nongnu.org; Thu, 20 Jan 2005 10:30:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CreGH-0003my-J8 for qemu-devel@nongnu.org; Thu, 20 Jan 2005 10:30:21 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CreGG-0003ga-QP for qemu-devel@nongnu.org; Thu, 20 Jan 2005 10:30:16 -0500 Received: from [194.228.2.92] (helo=smtp-out4.iol.cz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CrduA-0000Ah-3x for qemu-devel@nongnu.org; Thu, 20 Jan 2005 10:07:26 -0500 Date: Thu, 20 Jan 2005 16:07:01 +0100 (CET) From: Karel Gardas Subject: Re: [Qemu-devel] Updated 3c509 NIC patch. In-Reply-To: <1106223460.75381.6.camel@pcgem.rdg.cyberkinetica.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Antony T Curtis Cc: qemu-devel@nongnu.org On Thu, 20 Jan 2005, Antony T Curtis wrote: > On Thu, 2005-01-20 at 10:31 +0100, Karel Gardas wrote: > > On Wed, 19 Jan 2005, Antony T Curtis wrote: > > > > > Hi, > > > > > > I think I have found the bug... will be making a new patch soon. > > > > Great! Thanks! > > Actually, I have not only found the bug you encountered, but I have > found some other bugs in the implementation. > > I have also implemented a "info pnp" command. > > I have tested it with the following guests: FreeBSD 4, NetBSD 2 and > Linux (Mandrake 8) with up to 4 NICs configured (dummynet). It seems you have not fixed one of issue I've discivered and fixed in my patch: ar rcs libqemu.a exec.o translate-all.o cpu-exec.o translate.o op.o helper.o helper2.o translate-copy.o disas.o i386-dis.o gcc -o qemu vl.o osdep.o block.o readline.o monitor.o pci.o console.o block-cow.o block-qcow.o aes.o block-vmdk.o block-cloop.o block-dmg.o ide.o ne2000.o pckbd.o vga.o sb16.o dma.o audio.o noaudio.o wavaudio.o sdlaudio.o ossaudio.o fdc.o mc146818rtc.o serial.o i8259.o i8254.o pc.o cirrus_vga.o mixeng.o apic.o parallel.o pnp.o 3c509b.o gdbstub.o sdl.o slirp/cksum.o slirp/if.o slirp/ip_icmp.o slirp/ip_input.o slirp/ip_output.o slirp/slirp.o slirp/mbuf.o slirp/misc.o slirp/sbuf.o slirp/socket.o slirp/tcp_input.o slirp/tcp_output.o slirp/tcp_subr.o slirp/tcp_timer.o slirp/udp.o slirp/bootp.o slirp/debug.o slirp/tftp.o libqemu.a -lm -lz -L/usr/lib -lSDL -lpthread -lutil 3c509b.o(.text+0x10df): In function `tcm509_ioport_write': /home/karel/cvs/qemu/qemu-3c509-new-anotny-fixes/hw/3c509b.c:336: undefined reference to `TCM_STAT_ENABLE' collect2: ld returned 1 exit status make[1]: *** [qemu] Error 1 make[1]: Leaving directory `/home/karel/usr/src/cvs/qemu/qemu-3c509-new-anotny-fixes/i386-softmmu' make: *** [all] Error 1 Anyway, I'm curious how have you made it working under NetBSD 2.0. I'm just trying boot1/2.fs and bootlap1/2.fs floppies sets but 3c509 is detected only in the first and it is detected on the wrong addr/irq. The reason why I'm trying this is that I'm not able to get 3c509 working under RTEMS, which is my goal, since ne2k emulation does not work well for RTEMS 4.6.x Thanks, Karel -- Karel Gardas kgardas@objectsecurity.com ObjectSecurity Ltd. http://www.objectsecurity.com