From owner-freebsd-emulation@FreeBSD.ORG Fri Apr 28 16:25:05 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB56116A403 for ; Fri, 28 Apr 2006 16:25:05 +0000 (UTC) (envelope-from garrison@mail.ru) Received: from umail.ru (umail.mtu.ru [195.34.32.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE31443D48 for ; Fri, 28 Apr 2006 16:25:04 +0000 (GMT) (envelope-from garrison@mail.ru) Received: from [85.140.126.189] (HELO skyserv) by umail.ru (CommuniGate Pro SMTP 4.2b6) with ESMTP-TLS id 665370391; Fri, 28 Apr 2006 20:25:03 +0400 Received: from localhost ([127.0.0.1]) by skyserv with esmtp (Exim 4.61) (envelope-from ) id 1FZVmB-00023w-6e; Fri, 28 Apr 2006 20:25:03 +0400 Message-ID: <445241DE.9020909@mail.ru> Date: Fri, 28 Apr 2006 20:25:02 +0400 From: Igor Kovalenko User-Agent: Mail/News 1.5 (X11/20060319) MIME-Version: 1.0 To: qemu-devel@nongnu.org, freebsd-emulation@freebsd.org, Igor Kovalenko 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 Cc: Subject: Re: playing with qemu's 8139 nic and FreeBSD (loopback mode missing?) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Apr 2006 16:25:06 -0000 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