From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FZVmI-00008X-AR for qemu-devel@nongnu.org; Fri, 28 Apr 2006 12:25:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FZVmE-0008VU-Gj for qemu-devel@nongnu.org; Fri, 28 Apr 2006 12:25:09 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FZVmE-0008VH-BO for qemu-devel@nongnu.org; Fri, 28 Apr 2006 12:25:06 -0400 Received: from [195.34.32.101] (helo=umail.ru) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FZVpO-0003HP-Tl for qemu-devel@nongnu.org; Fri, 28 Apr 2006 12:28:23 -0400 Message-ID: <445241DE.9020909@mail.ru> From: Igor Kovalenko MIME-Version: 1.0 References: <20060427203718.GA15953@saturn.kn-bremen.de> In-Reply-To: <20060427203718.GA15953@saturn.kn-bremen.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: playing with qemu's 8139 nic and FreeBSD (loopback mode missing?) Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Fri, 28 Apr 2006 16:25:10 -0000 To: qemu-devel@nongnu.org, freebsd-emulation@freebsd.org, Igor Kovalenko Juergen Lock wrote: > I played with > qemu -monitor stdio -m 256 -cdrom 6.1-RC1-i386-disc1.iso -usb -soundhw es1370 -kernel-kqemu -net nic,model=rtl8139 -net user > and got it as far as > re0: diagnostic failed, failed to receive packet in loopback mode > (followed by a panic :) with the (experimental) patches below. > > Anyone in the mood to implement loopback mode for this nic? > > Hmm actually... I just found the original posting in the archive, > is C+ mode implemented now? If not re is probably not what I want, The rtl8139 is set up with PCI rev ID 0x20 which should be enough for OS driver to detect C+ mode features. C+ mode is OK, tested with Linux driver. > but the rl driver that it attaches without that #if 0'd (now) hunk > below doesnt seem to be able to get data thru either and I get > rl0: watchdog timeout > in dmesg, which usually means the driver doesnt receive interrupts. > > What the heck, I'll append a log of a run just doing in fixit->cdrom: > ifconfig rl0 10.0.2.15 > and then exiting (which is enough to trigger the watchdog timeout...) > I'm too lasy to test with fresh freebsd installation :) -- Kind regards, Igor V. Kovalenko