From owner-freebsd-emulation@FreeBSD.ORG Sun Apr 23 20:38:30 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 08F6116A400 for ; Sun, 23 Apr 2006 20:38:30 +0000 (UTC) (envelope-from joe@tao.org.uk) Received: from mailhost.tao.org.uk (transwarp.tao.org.uk [87.74.4.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6295A43D53 for ; Sun, 23 Apr 2006 20:38:28 +0000 (GMT) (envelope-from joe@tao.org.uk) Received: from genius.tao.org.uk (genius.tao.org.uk [87.74.4.41]) by mailhost.tao.org.uk (Postfix) with ESMTP id 27E606345 for ; Sun, 23 Apr 2006 21:38:12 +0100 (BST) Received: by genius.tao.org.uk (Postfix, from userid 100) id 2997C4054; Sun, 23 Apr 2006 21:38:23 +0100 (BST) Date: Sun, 23 Apr 2006 21:38:23 +0100 From: Josef Karthauser To: freebsd-emulation@freebsd.org Message-ID: <20060423203823.GA1111@genius.tao.org.uk> References: <20051121150641.GA714@genius.tao.org.uk> <20060417162115.GJ42376@genius.tao.org.uk> <20060419133708.GA946@genius.tao.org.uk> <20060421091534.GA11958@genius.tao.org.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0OAP2g/MAC+5xKAE" Content-Disposition: inline In-Reply-To: <20060421091534.GA11958@genius.tao.org.uk> User-Agent: Mutt/1.5.11 Subject: Re: vmware3 on FreeBSD 6 and raw disks? 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: Sun, 23 Apr 2006 20:38:30 -0000 --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Yay, I just managed to get vmware3 to boot my WinXP image from /dev/md0. Huzzar! I'll post a patch when I've tidied it up a bit. Joe p.s. there appears a network problem; when vmware starts up it displays a message that I've never seen before: "invaid host-only ip address. failyed to configure ethernet0". If you've got a working network stack with vmware under FreeBSD-6, can you please let me know? Thanks On Fri, Apr 21, 2006 at 10:15:34AM +0100, Josef Karthauser wrote: > For the record, I now know why raw disks don't work for FreeBSD 6 > any more. The code that was put in the linuxlator to gloss over > the fact that linux drives are block devices, but that we don't > have block devices any more, was disabled in sys/compat/linux/linux_stats= =2Ec > by phk on 15-Mar-05! I'll try and get it reinstated. >=20 > Joe >=20 > On Wed, Apr 19, 2006 at 02:37:08PM +0100, Josef Karthauser wrote: > > Is there anyone here using vmware on FreeBSD 6? I can't get raw disk > > support to work. Is this just my setup, or is this universal? I'd > > really appreciate some feed back. If you're not using raw disks, how > > are you using vmware3? Do you have tips on how to boot off a drive > > image in a file? --=20 Josef Karthauser (joe@tao.org.uk) http://www.josef-k.net/ Physics Particle Theory (student) http://www.pact.cpes.sussex.ac.uk/ =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D An eclectic mix of fact an= d theory. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --0OAP2g/MAC+5xKAE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iEYEARECAAYFAkRL5bcACgkQXVIcjOaxUBZ5cACgs8Zpxap0LoEFEbigp9ubORgC aksAn174CTYYtDo2xMjs0nUJgR2JdClW =pZZb -----END PGP SIGNATURE----- --0OAP2g/MAC+5xKAE-- From owner-freebsd-emulation@FreeBSD.ORG Mon Apr 24 11:02:46 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 49BFA16A402 for ; Mon, 24 Apr 2006 11:02:46 +0000 (UTC) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3F6A43D6E for ; Mon, 24 Apr 2006 11:02:37 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3OB2b2D035428 for ; Mon, 24 Apr 2006 11:02:37 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3OB2aLb035422 for freebsd-emulation@freebsd.org; Mon, 24 Apr 2006 11:02:36 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 24 Apr 2006 11:02:36 GMT Message-Id: <200604241102.k3OB2aLb035422@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Cc: Subject: Current problem reports assigned to you 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: Mon, 24 Apr 2006 11:02:46 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/09/22] kern/21463 emulation Linux compatability mode should not allow f [2002/11/07] kern/45023 emulation [linux] [patch] flexlm does not run with f [2003/09/24] kern/57192 emulation [linux] [hang] linux-ibm-java1.4 freeze f [2005/01/25] ports/76644 emulation FreeBSD 5.3 will freeze or crash when run o [2005/02/19] kern/77710 emulation [linux] Linux page fault sigcontext infor o [2005/12/27] ports/90958 emulation linux-* are not built on amd64 o [2006/01/17] ports/91911 emulation [PATCH]: x11-toolkits/linux-gtk2: distfil o [2006/02/09] ports/93106 emulation acroread7 cannot locate /usr/local/bin/lp o [2006/03/20] ports/94714 emulation linux-pango fails to install: failed depe 9 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [1999/04/16] kern/11165 emulation [ibcs2] IBCS2 doesn't work correctly with f [2001/08/14] kern/29698 emulation [linux] [patch] linux ipcs doesn'work f [2002/06/12] kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLIN o [2002/08/11] kern/41543 emulation [patch] feature request: easier wine/w23 o [2003/08/21] kern/55835 emulation [linux] [patch] Linux IPC emulation missi f [2004/10/19] ports/72865 emulation emulators/vmware3 crashes on 5.3-STABLE a [2004/10/20] kern/72920 emulation [linux]: path "prefixing" is not done on o [2004/11/10] kern/73777 emulation [linux] [patch] linux emulation: root dir o [2006/01/04] kern/91293 emulation [svr4] [patch] *Experimental* Update to t o [2006/01/25] ports/92330 emulation linux-pango fails to install o [2006/02/01] kern/92671 emulation [patch] [linux] Fix for Maple 10: impleme 11 problems total. From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 26 21:15:52 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 AF0F316A401 for ; Wed, 26 Apr 2006 21:15:52 +0000 (UTC) (envelope-from gwk-fbsd@mnet-mail.de) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AEC443D45 for ; Wed, 26 Apr 2006 21:15:51 +0000 (GMT) (envelope-from gwk-fbsd@mnet-mail.de) Received: from mail01.m-online.net (svr21.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 601CA71AB9 for ; Wed, 26 Apr 2006 23:15:50 +0200 (CEST) X-Auth-Info: RLhXdlYsddkqux/K5Lzy2p7yvQaxeSWEk+/4olWKKJ8= Received: from [192.168.1.100] (ppp-82-135-91-152.mnet-online.de [82.135.91.152]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.m-online.net (Postfix) with ESMTP id 254189067B for ; Wed, 26 Apr 2006 23:15:50 +0200 (CEST) From: "Georg-W. Koltermann" To: freebsd-emulation@freebsd.org Content-Type: text/plain Date: Wed, 26 Apr 2006 23:15:50 +0200 Message-Id: <1146086150.1589.33.camel@localhost.eu.mscsoftware.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: linuxulator blues -- need guidance or tutor for hacking 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: Wed, 26 Apr 2006 21:15:52 -0000 Hi, I am recently having severe trouble using FreeBSD as a viable platform for work. I need access so some commercial software that is only available for Linux, not FreeBSD. Some of it worked earlier on, but new versions all *don't* work. And I need them for work :-( Soooo... I think I will try to find some spare time (besides kids) and try my skills at hacking to make stuff work. But I'm not a kernel hacker by any means, so I need a helping hand. And I also can't make promises as to how much time I will find. If it doesn't work out in the end, I might have to swap FreeBSD for some Linux distro, as much as I would hate that idea. So is anybody out there that would be willing to help me fix the linuxulator to a point where it works for me again? Details: Oracle: Version 9.0.1 works, but later versions (specifically 10) abort. The symptom is that sqlplus, when trying to start the database, prints "lost contact". Upon tracing with ktrace you see that it starts up an oracle process which then fails rather immediately. The trace file has hardly useful info: *** 2006-04-25 21:41:05.306 kgepop: no error frame to pop to for error 27141 *** 2006-04-25 21:41:05.307 ksedmp: internal or fatal error VMWare: Version 2.x and apparently 3.x work, but later versions are nonexistent. I need to run WinXP which does not want to work with my VMWare2. I also sometimes need to run ready-made images for VMWare 5 that are provided to me. I currently have QEMU set up which lets me at least run WinXP for office tasks, but this doesn't solve the problem of running ready-made VMWare 5 images. Besides it's quite a bit slower than VMWare, and also causes strange aborts of the Windows Explorer, e.g., from time to time. IBM DB2: That one never worked for me. However, it becomes more and more important for my work. I really need to get it going. For DB2 the error message is (once you surmount installation, or copy it from a Linux machine after installation[you need a recent Linux userland, too]) some internal error code during DB2 instance creation. No detail information. If I ktrace it I do see some system calls failing with EINVAL, though (linux_setitimer, if I recall correctly). Anyone to help me with these? Anyone that I at least can send emails to when I get stuck with hacking or simply run out of ideas what I might try next? -- Regards, Georg. From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 26 21:41:15 2006 Return-Path: X-Original-To: freebsd-emulation@hub.freebsd.org Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33B9A16A400; Wed, 26 Apr 2006 21:41:15 +0000 (UTC) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02EED43D48; Wed, 26 Apr 2006 21:41:15 +0000 (GMT) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (glewis@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3QLfEEo085142; Wed, 26 Apr 2006 21:41:14 GMT (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3QLfE9V085138; Wed, 26 Apr 2006 21:41:14 GMT (envelope-from glewis) Date: Wed, 26 Apr 2006 21:41:14 GMT From: Greg Lewis Message-Id: <200604262141.k3QLfE9V085138@freefall.freebsd.org> To: glewis@FreeBSD.org, freebsd-java@FreeBSD.org, freebsd-emulation@FreeBSD.org Cc: Subject: Re: ports/87571: java/jdk15: Port-Installation Java 1.5 FreeBSD RC1 6.0 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: Wed, 26 Apr 2006 21:41:15 -0000 Synopsis: java/jdk15: Port-Installation Java 1.5 FreeBSD RC1 6.0 Responsible-Changed-From-To: freebsd-java->freebsd-emulation Responsible-Changed-By: glewis Responsible-Changed-When: Wed Apr 26 21:37:20 UTC 2006 Responsible-Changed-Why: The problem here isn't the jdk15 port. Here is what is happening: The jdk15 port is pulling in the linux-sun-jdk14 port as a dependency (to bootstrap itself) which is in turn pulling in linux_base-8 as a dependency (the current default linux_base). linux_base-8 will fail on amd64 as it tries to set ${ARCH}, which fails in a sub-make. The problem is described completely in this email message: http://www.freebsd.org/cgi/getmsg.cgi?fetch=41567+0+/usr/local/www/db/text/2006/freebsd-java/20060416.freebsd-java A viable workaround is to install linux_base-8 separately and then return to jdk15 install. http://www.freebsd.org/cgi/query-pr.cgi?pr=87571 From owner-freebsd-emulation@FreeBSD.ORG Thu Apr 27 09:27:07 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 7A93416A400 for ; Thu, 27 Apr 2006 09:27:07 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2EE043D48 for ; Thu, 27 Apr 2006 09:27:05 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5CE4C.dip.t-dialin.net [84.165.206.76]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k3R9KTHC041340; Thu, 27 Apr 2006 11:20:29 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k3R9Qv49011197; Thu, 27 Apr 2006 11:26:57 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Thu, 27 Apr 2006 11:26:57 +0200 Message-ID: <20060427112657.r389mscji8400ok8@netchild.homeip.net> X-Priority: 3 (Normal) Date: Thu, 27 Apr 2006 11:26:57 +0200 From: Alexander Leidinger To: "Georg-W. Koltermann" References: <1146086150.1589.33.camel@localhost.eu.mscsoftware.com> In-Reply-To: <1146086150.1589.33.camel@localhost.eu.mscsoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org Subject: Re: linuxulator blues -- need guidance or tutor for hacking 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: Thu, 27 Apr 2006 09:27:07 -0000 Quoting "Georg-W. Koltermann" (from Wed, 26 =20 Apr 2006 23:15:50 +0200): > Hi, > > I am recently having severe trouble using FreeBSD as a viable platform > for work. I need access so some commercial software that is only > available for Linux, not FreeBSD. Some of it worked earlier on, but new > versions all *don't* work. And I need them for work :-( > > Soooo... I think I will try to find some spare time (besides kids) and > try my skills at hacking to make stuff work. But I'm not a kernel > hacker by any means, so I need a helping hand. And I also can't make > promises as to how much time I will find. If it doesn't work out in the > end, I might have to swap FreeBSD for some Linux distro, as much as I > would hate that idea. > > So is anybody out there that would be willing to help me fix the > linuxulator to a point where it works for me again? The Google Summer of Code is starting soon. And updating the =20 linuxolator is one topic where pre-poposal communication has already =20 started with someone who already knows a little bit about the =20 linuxolator. So I strongly assume there will be a student working on =20 this as a SoC project. [Failing applications] Would you be willing to test his patches this summer? They may panic =20 your box, screw your filesystem or do some other nasty things to your =20 machine in the worst case... > Anyone to help me with these? Anyone that I at least can send emails to > when I get stuck with hacking or simply run out of ideas what I might > try next? We don't have an active linuxolator guru ATM. If you don't want to =20 rely on the SoC project, the only solution is to just start and ask =20 around in case you're stuck. You may or may not get an answer (someone =20 may or may not know the answer). BTW: we're in the process of updating the default linux base port to a =20 newer one (we're waiting for 6.1 release, since the ports tree is =20 still not completely open for sweeping commits). So at the end of the =20 summer the linuxolator will provide a different experience than it =20 provides currently. Bye, Alexander. --=20 http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 If anything can't go wrong it will. From owner-freebsd-emulation@FreeBSD.ORG Thu Apr 27 20:42:43 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 08FEC16A403 for ; Thu, 27 Apr 2006 20:42:43 +0000 (UTC) (envelope-from qemu-l@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6236343D49 for ; Thu, 27 Apr 2006 20:42:40 +0000 (GMT) (envelope-from qemu-l@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn [127.0.0.1]) by gwyn.kn-bremen.de (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k3RKgdsU002111 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 27 Apr 2006 22:42:39 +0200 Received: from saturn.kn-bremen.de (uucp@localhost) by gwyn.kn-bremen.de (8.13.4/8.13.4/Submit) with UUCP id k3RKgdiI002109; Thu, 27 Apr 2006 22:42:39 +0200 Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.3/8.13.1) with ESMTP id k3RKbK4n017298; Thu, 27 Apr 2006 22:37:20 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.3/8.13.1/Submit) id k3RKbJWJ017297; Thu, 27 Apr 2006 22:37:19 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Thu, 27 Apr 2006 22:37:19 +0200 To: qemu-devel@nongnu.org, freebsd-emulation@freebsd.org Message-ID: <20060427203718.GA15953@saturn.kn-bremen.de> Mail-Followup-To: qemu-devel@nongnu.org, freebsd-emulation@freebsd.org, Igor Kovalenko Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Igor Kovalenko Subject: 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: Thu, 27 Apr 2006 20:42:43 -0000 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, 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...) Index: qemu/hw/rtl8139.c @@ -31,6 +31,9 @@ /* debug RTL8139 card */ //#define DEBUG_RTL8139 1 +#if 1 +#define DEBUG_RTL8139 1 +#endif /* debug RTL8139 card C+ mode only */ //#define DEBUG_RTL8139CP 1 @@ -512,6 +516,19 @@ eeprom->output <<= 1; if (eeprom->tick == 16) { +#if 1 + // the FreeBSD drivers (rl and re) don't explicitly toggle + // CS between reads (or does setting Cfg9346 to 0 count too?), + // so we need to enter wait-for-command state here + eeprom->mode = Chip9346_enter_command_mode; + eeprom->input = 0; + eeprom->tick = 0; + +#if defined(DEBUG_RTL8139) + printf("eeprom: +++ end of read, awaiting next command\n"); +#endif +#else + // original behaviour ++eeprom->address; eeprom->address &= EEPROM_9346_ADDR_MASK; eeprom->output = eeprom->contents[eeprom->address]; @@ -521,6 +538,7 @@ printf("eeprom: +++ read next address 0x%02x data=0x%04x\n", eeprom->address, eeprom->output); #endif +#endif } break; @@ -1103,6 +1121,11 @@ /* prepare eeprom */ s->eeprom.contents[0] = 0x8129; +#if 1 + // PCI vendor and device ID should be mirrored here + s->eeprom.contents[1] = 0x10ec; + s->eeprom.contents[2] = 0x8139; +#endif memcpy(&s->eeprom.contents[7], s->macaddr, 6); /* mark all status registers as owned by host */ @@ -1130,6 +1153,14 @@ s->clock_enabled = 0; #else s->TxConfig |= HW_REVID(1, 1, 1, 0, 1, 0, 0); // RTL-8139C HasLWake +#if 0 + // apparently bit 23 should be part of HW_REVID too + // [this, together with the other changes, make FreeBSD guests detect + // the nic as re instead of rl, but the probe fails (and I get a panic) + // because it does a test in loopback mode (TxLoopBack) which apparently + // is not implemented here yet] + s->TxConfig |= 0x800000; +#endif s->clock_enabled = 1; #endif $ qemu -monitor stdio -m 2256 -cdrom 6.1-RC1-i386-disc1.iso -usb -soundhw es1370 -net nic,model=rtl8139 -net user QEMU 0.8.0 monitor - type 'help' for more information (qemu) RTL8139: Set IRQ line 16 to 0 (0000 0000) RTL8139: TxConfig read val=0x74000000 RTL8139: TxConfig read val=0x74000000 RTL8139: TxConfig read val=0x74000000 RTL8139: ChipCmd write val=0x00000010 RTL8139: ChipCmd reset RTL8139: Set IRQ line 16 to 0 (0000 0000) RTL8139: receiver buffer is empty RTL8139: ChipCmd read val=0x0001 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 === eeprom: begin access, enter command mode RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 1 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 2 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 read val=0x8a RTL8139: Cfg9346 write val=0x8e eeprom: +++ wires CS=1 SK=1 DI=1 DO=0 eeprom: tick 3 eedi=1 eedo=0 eeprom: +++ synchronized, begin command read RTL8139: Cfg9346 read val=0x8e RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 read val=0x8a RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 read val=0x8a RTL8139: Cfg9346 write val=0x8e eeprom: +++ wires CS=1 SK=1 DI=1 DO=0 eeprom: tick 1 eedi=1 eedo=0 RTL8139: Cfg9346 read val=0x8e RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 read val=0x8a RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 2 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 3 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 4 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 5 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 6 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 7 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 8 eedi=0 eedo=0 RTL8139: eeprom command 0x80 RTL8139: eeprom read from address 0x00 data=0x8129 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 1 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 2 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 3 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 4 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 5 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 6 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 7 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 8 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 9 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 10 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 11 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 12 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 13 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 14 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 15 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 16 eedi=0 eedo=0 eeprom: +++ end of read, awaiting next command RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 write val=0x00 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 1 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 2 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8b eeprom: +++ wires CS=1 SK=0 DI=1 DO=1 RTL8139: Cfg9346 read val=0x8b RTL8139: Cfg9346 write val=0x8f eeprom: +++ wires CS=1 SK=1 DI=1 DO=1 eeprom: tick 3 eedi=1 eedo=1 eeprom: +++ synchronized, begin command read RTL8139: Cfg9346 read val=0x8f RTL8139: Cfg9346 write val=0x8b eeprom: +++ wires CS=1 SK=0 DI=1 DO=1 RTL8139: Cfg9346 read val=0x8b RTL8139: Cfg9346 write val=0x8b eeprom: +++ wires CS=1 SK=0 DI=1 DO=1 RTL8139: Cfg9346 read val=0x8b RTL8139: Cfg9346 write val=0x8f eeprom: +++ wires CS=1 SK=1 DI=1 DO=1 eeprom: tick 1 eedi=1 eedo=1 RTL8139: Cfg9346 read val=0x8f RTL8139: Cfg9346 write val=0x8b eeprom: +++ wires CS=1 SK=0 DI=1 DO=1 RTL8139: Cfg9346 read val=0x8b RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 2 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 3 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 4 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 5 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8b eeprom: +++ wires CS=1 SK=0 DI=1 DO=1 RTL8139: Cfg9346 read val=0x8b RTL8139: Cfg9346 write val=0x8f eeprom: +++ wires CS=1 SK=1 DI=1 DO=1 eeprom: tick 6 eedi=1 eedo=1 RTL8139: Cfg9346 read val=0x8f RTL8139: Cfg9346 write val=0x8b eeprom: +++ wires CS=1 SK=0 DI=1 DO=1 RTL8139: Cfg9346 read val=0x8b RTL8139: Cfg9346 write val=0x8b eeprom: +++ wires CS=1 SK=0 DI=1 DO=1 RTL8139: Cfg9346 read val=0x8b RTL8139: Cfg9346 write val=0x8f eeprom: +++ wires CS=1 SK=1 DI=1 DO=1 eeprom: tick 7 eedi=1 eedo=1 RTL8139: Cfg9346 read val=0x8f RTL8139: Cfg9346 write val=0x8b eeprom: +++ wires CS=1 SK=0 DI=1 DO=1 RTL8139: Cfg9346 read val=0x8b RTL8139: Cfg9346 write val=0x8b eeprom: +++ wires CS=1 SK=0 DI=1 DO=1 RTL8139: Cfg9346 read val=0x8b RTL8139: Cfg9346 write val=0x8f eeprom: +++ wires CS=1 SK=1 DI=1 DO=1 eeprom: tick 8 eedi=1 eedo=1 RTL8139: eeprom command 0x87 RTL8139: eeprom read from address 0x07 data=0x5452 RTL8139: Cfg9346 read val=0x8e RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 1 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 2 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 3 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 4 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 5 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 6 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 7 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 8 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 9 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 10 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 11 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 12 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 13 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 14 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 15 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 16 eedi=0 eedo=1 eeprom: +++ end of read, awaiting next command RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 write val=0x00 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 1 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 2 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 read val=0x8a RTL8139: Cfg9346 write val=0x8e eeprom: +++ wires CS=1 SK=1 DI=1 DO=0 eeprom: tick 3 eedi=1 eedo=0 eeprom: +++ synchronized, begin command read RTL8139: Cfg9346 read val=0x8e RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 read val=0x8a RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 read val=0x8a RTL8139: Cfg9346 write val=0x8e eeprom: +++ wires CS=1 SK=1 DI=1 DO=0 eeprom: tick 1 eedi=1 eedo=0 RTL8139: Cfg9346 read val=0x8e RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 read val=0x8a RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 2 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 3 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 4 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 read val=0x8a RTL8139: Cfg9346 write val=0x8e eeprom: +++ wires CS=1 SK=1 DI=1 DO=0 eeprom: tick 5 eedi=1 eedo=0 RTL8139: Cfg9346 read val=0x8e RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 read val=0x8a RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 6 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 7 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 8 eedi=0 eedo=0 RTL8139: eeprom command 0x88 RTL8139: eeprom read from address 0x08 data=0x1200 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 1 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 2 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 3 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 4 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 5 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 6 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 7 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 8 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 9 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 10 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 11 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 12 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 13 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 14 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 15 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 16 eedi=0 eedo=0 eeprom: +++ end of read, awaiting next command RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 write val=0x00 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 1 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 2 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 read val=0x8a RTL8139: Cfg9346 write val=0x8e eeprom: +++ wires CS=1 SK=1 DI=1 DO=0 eeprom: tick 3 eedi=1 eedo=0 eeprom: +++ synchronized, begin command read RTL8139: Cfg9346 read val=0x8e RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 read val=0x8a RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 read val=0x8a RTL8139: Cfg9346 write val=0x8e eeprom: +++ wires CS=1 SK=1 DI=1 DO=0 eeprom: tick 1 eedi=1 eedo=0 RTL8139: Cfg9346 read val=0x8e RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 read val=0x8a RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 2 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 3 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 4 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 read val=0x8a RTL8139: Cfg9346 write val=0x8e eeprom: +++ wires CS=1 SK=1 DI=1 DO=0 eeprom: tick 5 eedi=1 eedo=0 RTL8139: Cfg9346 read val=0x8e RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 read val=0x8a RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 6 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 7 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 read val=0x8a RTL8139: Cfg9346 write val=0x8e eeprom: +++ wires CS=1 SK=1 DI=1 DO=0 eeprom: tick 8 eedi=1 eedo=0 RTL8139: eeprom command 0x89 RTL8139: eeprom read from address 0x09 data=0x5634 RTL8139: Cfg9346 read val=0x8e RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 1 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 2 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 3 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 4 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 5 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 6 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 7 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 8 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 9 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 10 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 11 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 12 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 13 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 14 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 15 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 16 eedi=0 eedo=0 eeprom: +++ end of read, awaiting next command RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 write val=0x00 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 1 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 2 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 read val=0x8a RTL8139: Cfg9346 write val=0x8e eeprom: +++ wires CS=1 SK=1 DI=1 DO=0 eeprom: tick 3 eedi=1 eedo=0 eeprom: +++ synchronized, begin command read RTL8139: Cfg9346 read val=0x8e RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 read val=0x8a RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 read val=0x8a RTL8139: Cfg9346 write val=0x8e eeprom: +++ wires CS=1 SK=1 DI=1 DO=0 eeprom: tick 1 eedi=1 eedo=0 RTL8139: Cfg9346 read val=0x8e RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 read val=0x8a RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 2 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 3 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 4 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 5 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 6 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 read val=0x8a RTL8139: Cfg9346 write val=0x8e eeprom: +++ wires CS=1 SK=1 DI=1 DO=0 eeprom: tick 7 eedi=1 eedo=0 RTL8139: Cfg9346 read val=0x8e RTL8139: Cfg9346 write val=0x8a eeprom: +++ wires CS=1 SK=0 DI=1 DO=0 RTL8139: Cfg9346 read val=0x8a RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 8 eedi=0 eedo=0 RTL8139: eeprom command 0x82 RTL8139: eeprom read from address 0x02 data=0x8139 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 1 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 2 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 3 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 4 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 5 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 6 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 7 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 8 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 9 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 10 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 11 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 12 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 13 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 read val=0x89 RTL8139: Cfg9346 write val=0x8d eeprom: +++ wires CS=1 SK=1 DI=0 DO=1 eeprom: tick 14 eedi=0 eedo=1 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 15 eedi=0 eedo=0 RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 read val=0x8c RTL8139: Cfg9346 write val=0x88 eeprom: +++ wires CS=1 SK=0 DI=0 DO=0 RTL8139: Cfg9346 read val=0x88 RTL8139: Cfg9346 write val=0x8c eeprom: +++ wires CS=1 SK=1 DI=0 DO=0 eeprom: tick 16 eedi=0 eedo=0 eeprom: +++ end of read, awaiting next command RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 read val=0x8d RTL8139: Cfg9346 write val=0x89 eeprom: +++ wires CS=1 SK=0 DI=0 DO=1 RTL8139: Cfg9346 write val=0x00 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register write(w) val=0x8000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: ChipCmd write val=0x00000000 RTL8139: IntrMask write(w) val=0x0000 RTL8139: Set IRQ line 16 to 0 (0000 0000) RTL8139: Cfg9346 write val=0xc0 RTL8139: ioport write(l) addr=0x0 val=0x12005452 via write(b) RTL8139: ioport write(l) addr=0x4 val=0x00005634 via write(b) RTL8139: Cfg9346 write val=0x00 RTL8139: RxBuf write val=0x0f9dc008 RTL8139: TxAddr write offset=0x0 val=0x00000000 RTL8139: TxAddr write offset=0x4 val=0x00000000 RTL8139: TxAddr write offset=0x8 val=0x00000000 RTL8139: TxAddr write offset=0xc val=0x00000000 RTL8139: ChipCmd write val=0x0000000c RTL8139: ChipCmd enable receiver RTL8139: ChipCmd enable transmitter RTL8139: TxConfig write val=0x03000700 RTL8139: RxConfig write val=0x0000ff00 RTL8139: RxConfig write reset buffer size to 65536 RTL8139: RxConfig read val=0x0000ff00 RTL8139: RxConfig write val=0x0000ff02 RTL8139: RxConfig write reset buffer size to 65536 RTL8139: RxConfig write val=0x0000ff0a RTL8139: RxConfig write reset buffer size to 65536 RTL8139: RxConfig read val=0x0000ff0a RTL8139: ioport write(l) addr=0x8 val=0x00000000 via write(b) RTL8139: ioport write(l) addr=0xc val=0x00000000 via write(b) RTL8139: RxConfig write val=0x0000ff0a RTL8139: RxConfig write reset buffer size to 65536 RTL8139: ioport write(l) addr=0x8 val=0x00000000 via write(b) RTL8139: ioport write(l) addr=0xc val=0x00000000 via write(b) RTL8139: IntrMask write(w) val=0xc07f RTL8139: Set IRQ line 16 to 0 (0000 c07f) RTL8139: RxMissed clearing on write RTL8139: ChipCmd write val=0x0000000c RTL8139: ChipCmd enable receiver RTL8139: ChipCmd enable transmitter RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: Config1 write val=0x60 RTL8139: Configuration registers are write-protected RTL8139: TxAddr write offset=0x0 val=0x0f9b7530 RTL8139: TxStatus write offset=0x0 val=0x0003003c descriptor=0 RTL8139: +++ transmitting from descriptor 0 RTL8139: +++ transmit reading 60 bytes from host memory at 0x0f9b7530 RTL8139: +++ transmitted 60 bytes from descriptor 0 RTL8139: Set IRQ line 16 to 1 (0004 c07f) RTL8139: IntrStatus read(w) val=0x0004 RTL8139: IntrStatus write(w) val=0x0004 RTL8139: Set IRQ line 16 to 0 (0000 c07f) RTL8139: Set IRQ line 16 to 0 (0000 c07f) RTL8139: TxStatus read offset=0x0 val=0x0003a03c RTL8139: IntrStatus read(w) val=0x0000 RTL8139: RxConfig read val=0x0000ff0a RTL8139: ioport write(l) addr=0x8 val=0x00000000 via write(b) RTL8139: ioport write(l) addr=0xc val=0x00000000 via write(b) RTL8139: RxConfig write val=0x0000ff0e RTL8139: RxConfig write reset buffer size to 65536 RTL8139: ioport write(l) addr=0x8 val=0x80000000 via write(b) RTL8139: ioport write(l) addr=0xc val=0x00000000 via write(b) RTL8139: ChipCmd write val=0x00000000 RTL8139: IntrMask write(w) val=0x0000 RTL8139: Set IRQ line 16 to 0 (0000 0000) RTL8139: Cfg9346 write val=0xc0 RTL8139: ioport write(l) addr=0x0 val=0x12005452 via write(b) RTL8139: ioport write(l) addr=0x4 val=0x00005634 via write(b) RTL8139: Cfg9346 write val=0x00 RTL8139: RxBuf write val=0x0f9dc008 RTL8139: TxAddr write offset=0x0 val=0x00000000 RTL8139: TxAddr write offset=0x4 val=0x00000000 RTL8139: TxAddr write offset=0x8 val=0x00000000 RTL8139: TxAddr write offset=0xc val=0x00000000 RTL8139: ChipCmd write val=0x0000000c RTL8139: ChipCmd enable receiver RTL8139: ChipCmd enable transmitter RTL8139: TxConfig write val=0x03000700 RTL8139: RxConfig write val=0x0000ff00 RTL8139: RxConfig write reset buffer size to 65536 RTL8139: RxConfig read val=0x0000ff00 RTL8139: RxConfig write val=0x0000ff02 RTL8139: RxConfig write reset buffer size to 65536 RTL8139: RxConfig write val=0x0000ff0a RTL8139: RxConfig write reset buffer size to 65536 RTL8139: RxConfig read val=0x0000ff0a RTL8139: ioport write(l) addr=0x8 val=0x00000000 via write(b) RTL8139: ioport write(l) addr=0xc val=0x00000000 via write(b) RTL8139: RxConfig write val=0x0000ff0e RTL8139: RxConfig write reset buffer size to 65536 RTL8139: ioport write(l) addr=0x8 val=0x80000000 via write(b) RTL8139: ioport write(l) addr=0xc val=0x00000000 via write(b) RTL8139: IntrMask write(w) val=0xc07f RTL8139: Set IRQ line 16 to 0 (0000 c07f) RTL8139: RxMissed clearing on write RTL8139: ChipCmd write val=0x0000000c RTL8139: ChipCmd enable receiver RTL8139: ChipCmd enable transmitter RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: Config1 write val=0x60 RTL8139: Configuration registers are write-protected RTL8139: RxConfig read val=0x0000ff0e RTL8139: ioport write(l) addr=0x8 val=0x00000000 via write(b) RTL8139: ioport write(l) addr=0xc val=0x00000000 via write(b) RTL8139: RxConfig write val=0x0000ff0e RTL8139: RxConfig write reset buffer size to 65536 RTL8139: ioport write(l) addr=0x8 val=0x80000004 via write(b) RTL8139: ioport write(l) addr=0xc val=0x00000000 via write(b) RTL8139: RxConfig read val=0x0000ff0e RTL8139: ioport write(l) addr=0x8 val=0x00000000 via write(b) RTL8139: ioport write(l) addr=0xc val=0x00000000 via write(b) RTL8139: RxConfig write val=0x0000ff0e RTL8139: RxConfig write reset buffer size to 65536 RTL8139: ioport write(l) addr=0x8 val=0x80000004 via write(b) RTL8139: ioport write(l) addr=0xc val=0x40000000 via write(b) RTL8139: RxConfig read val=0x0000ff0e RTL8139: ioport write(l) addr=0x8 val=0x00000000 via write(b) RTL8139: ioport write(l) addr=0xc val=0x00000000 via write(b) RTL8139: RxConfig write val=0x0000ff0e RTL8139: RxConfig write reset buffer size to 65536 RTL8139: ioport write(l) addr=0x8 val=0x80000004 via write(b) RTL8139: ioport write(l) addr=0xc val=0x40000000 via write(b) RTL8139: TxAddr write offset=0x0 val=0x0f9b7330 RTL8139: TxStatus write offset=0x0 val=0x0003004e descriptor=0 RTL8139: +++ cannot transmit from descriptor 1: owned by host (00002000) RTL8139: transmitter queue stalled, current TxDesc = 1 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: NWayAdvert read(w) val=0x05e1 RTL8139: NWayLPAR read(w) val=0x05e1 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: NWayAdvert read(w) val=0x05e1 RTL8139: NWayLPAR read(w) val=0x05e1 RTL8139: TxAddr write offset=0x4 val=0x0f9b6e30 RTL8139: TxStatus write offset=0x4 val=0x00030056 descriptor=1 RTL8139: +++ transmitting from descriptor 1 RTL8139: +++ transmit reading 86 bytes from host memory at 0x0f9b6e30 RTL8139: +++ transmitted 86 bytes from descriptor 1 RTL8139: Set IRQ line 16 to 1 (0004 c07f) RTL8139: IntrStatus read(w) val=0x0004 RTL8139: IntrStatus write(w) val=0x0004 RTL8139: Set IRQ line 16 to 0 (0000 c07f) RTL8139: Set IRQ line 16 to 0 (0000 c07f) RTL8139: TxStatus read offset=0x0 val=0x0003004e RTL8139: IntrStatus read(w) val=0x0000 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: NWayAdvert read(w) val=0x05e1 RTL8139: NWayLPAR read(w) val=0x05e1 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: NWayAdvert read(w) val=0x05e1 RTL8139: NWayLPAR read(w) val=0x05e1 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: NWayAdvert read(w) val=0x05e1 RTL8139: NWayLPAR read(w) val=0x05e1 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: NWayAdvert read(w) val=0x05e1 RTL8139: NWayLPAR read(w) val=0x05e1 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: NWayAdvert read(w) val=0x05e1 RTL8139: NWayLPAR read(w) val=0x05e1 RTL8139: TxStatus read offset=0x0 val=0x0003004e RTL8139: RxBufPtr read val=0xfffffff0 RTL8139: ioport read(w) addr=0x3a via read(b) RTL8139: not implemented read(b) addr=0x3a RTL8139: not implemented read(b) addr=0x3b RTL8139: ioport read(w) addr=0x3a val=0x0000 RTL8139: receiver buffer is empty RTL8139: ChipCmd read val=0x000d RTL8139: ChipCmd write val=0x00000000 RTL8139: IntrMask write(w) val=0x0000 RTL8139: Set IRQ line 16 to 0 (0000 0000) RTL8139: TxAddr write offset=0x0 val=0x00000000 RTL8139: TxAddr write offset=0x4 val=0x00000000 RTL8139: Cfg9346 write val=0xc0 RTL8139: ioport write(l) addr=0x0 val=0x12005452 via write(b) RTL8139: ioport write(l) addr=0x4 val=0x00005634 via write(b) RTL8139: Cfg9346 write val=0x00 RTL8139: RxBuf write val=0x0f9dc008 RTL8139: TxAddr write offset=0x0 val=0x00000000 RTL8139: TxAddr write offset=0x4 val=0x00000000 RTL8139: TxAddr write offset=0x8 val=0x00000000 RTL8139: TxAddr write offset=0xc val=0x00000000 RTL8139: ChipCmd write val=0x0000000c RTL8139: ChipCmd enable receiver RTL8139: ChipCmd enable transmitter RTL8139: TxConfig write val=0x03000700 RTL8139: RxConfig write val=0x0000ff00 RTL8139: RxConfig write reset buffer size to 65536 RTL8139: RxConfig read val=0x0000ff00 RTL8139: RxConfig write val=0x0000ff02 RTL8139: RxConfig write reset buffer size to 65536 RTL8139: RxConfig write val=0x0000ff0a RTL8139: RxConfig write reset buffer size to 65536 RTL8139: RxConfig read val=0x0000ff0a RTL8139: ioport write(l) addr=0x8 val=0x00000000 via write(b) RTL8139: ioport write(l) addr=0xc val=0x00000000 via write(b) RTL8139: RxConfig write val=0x0000ff0e RTL8139: RxConfig write reset buffer size to 65536 RTL8139: ioport write(l) addr=0x8 val=0x80000004 via write(b) RTL8139: ioport write(l) addr=0xc val=0x40000000 via write(b) RTL8139: IntrMask write(w) val=0xc07f RTL8139: Set IRQ line 16 to 0 (0000 c07f) RTL8139: RxMissed clearing on write RTL8139: ChipCmd write val=0x0000000c RTL8139: ChipCmd enable receiver RTL8139: ChipCmd enable transmitterRTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: NWayAdvert read(w) val=0x05e1 RTL8139: NWayLPAR read(w) val=0x05e1 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: NWayAdvert read(w) val=0x05e1 RTL8139: NWayLPAR read(w) val=0x05e1 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: NWayAdvert read(w) val=0x05e1 RTL8139: NWayLPAR read(w) val=0x05e1 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: NWayAdvert read(w) val=0x05e1 RTL8139: NWayLPAR read(w) val=0x05e1 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: NWayAdvert read(w) val=0x05e1 RTL8139: NWayLPAR read(w) val=0x05e1 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: NWayAdvert read(w) val=0x05e1 RTL8139: NWayLPAR read(w) val=0x05e1 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: NWayAdvert read(w) val=0x05e1 RTL8139: NWayLPAR read(w) val=0x05e1 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: NWayAdvert read(w) val=0x05e1 RTL8139: NWayLPAR read(w) val=0x05e1 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: NWayAdvert read(w) val=0x05e1 RTL8139: NWayLPAR read(w) val=0x05e1 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: NWayAdvert read(w) val=0x05e1 RTL8139: NWayLPAR read(w) val=0x05e1 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: NWayAdvert read(w) val=0x05e1 RTL8139: NWayLPAR read(w) val=0x05e1 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: NWayAdvert read(w) val=0x05e1 RTL8139: NWayLPAR read(w) val=0x05e1 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: NWayAdvert read(w) val=0x05e1 RTL8139: NWayLPAR read(w) val=0x05e1 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: NWayAdvert read(w) val=0x05e1 RTL8139: NWayLPAR read(w) val=0x05e1 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: NWayAdvert read(w) val=0x05e1 RTL8139: NWayLPAR read(w) val=0x05e1 RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeStatus register read(w) val=0x782d RTL8139: BasicModeCtrl register read(w) val=0x9000 RTL8139: NWayAdvert read(w) val=0x05e1 RTL8139: NWayLPAR read(w) val=0x05e1 RTL8139: ChipCmd write val=0x00000000 RTL8139: IntrMask write(w) val=0x0000 RTL8139: Set IRQ line 16 to 0 (0000 0000) q From owner-freebsd-emulation@FreeBSD.ORG Thu Apr 27 21:30:47 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 C3BEC16A409 for ; Thu, 27 Apr 2006 21:30:47 +0000 (UTC) (envelope-from gwk-fbsd@mnet-mail.de) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id B566D43D6E for ; Thu, 27 Apr 2006 21:30:41 +0000 (GMT) (envelope-from gwk-fbsd@mnet-mail.de) Received: from mail01.m-online.net (svr21.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 400D171EEE for ; Thu, 27 Apr 2006 23:30:40 +0200 (CEST) X-Auth-Info: 2mnyvZEdt4r+3Dofo0AoSqBOdgCPGjtsSY4hfQSfCmg= Received: from [192.168.1.100] (ppp-88-217-6-220.mnet-online.de [88.217.6.220]) (using SSLv3 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.m-online.net (Postfix) with ESMTP id 08EC9907C7 for ; Thu, 27 Apr 2006 23:30:39 +0200 (CEST) From: "Georg-W. Koltermann" To: freebsd-emulation@freebsd.org In-Reply-To: <20060427112657.r389mscji8400ok8@netchild.homeip.net> References: <1146086150.1589.33.camel@localhost.eu.mscsoftware.com> <20060427112657.r389mscji8400ok8@netchild.homeip.net> Content-Type: text/plain Date: Thu, 27 Apr 2006 22:57:22 +0200 Message-Id: <1146171442.12335.6.camel@localhost.eu.mscsoftware.com> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Re: linuxulator blues -- need guidance or tutor for hacking 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: Thu, 27 Apr 2006 21:30:48 -0000 Am Donnerstag, den 27.04.2006, 11:26 +0200 schrieb Alexander Leidinger: ... > Would you be willing to test his patches this summer? They may panic > your box, screw your filesystem or do some other nasty things to your > machine in the worst case... Sure... I once ran -current a few years back because I needed Java. But alright if you warn me that much I'll get a spare disk that I can trash any time :-) -- Thanks! Georg. From owner-freebsd-emulation@FreeBSD.ORG Thu Apr 27 21:48:29 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 47EEE16A402 for ; Thu, 27 Apr 2006 21:48:29 +0000 (UTC) (envelope-from ambrisko@ambrisko.com) Received: from mail2.ambrisko.com (mail2.ambrisko.com [64.174.51.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id E207343D48 for ; Thu, 27 Apr 2006 21:48:28 +0000 (GMT) (envelope-from ambrisko@ambrisko.com) Received: from server2.ambrisko.com (HELO www.ambrisko.com) ([192.168.1.2]) by mail2.ambrisko.com with ESMTP; 27 Apr 2006 14:47:38 -0700 Received: from ambrisko.com (localhost [127.0.0.1]) by www.ambrisko.com (8.12.11/8.12.11) with ESMTP id k3RLmSEf041070 for ; Thu, 27 Apr 2006 14:48:28 -0700 (PDT) (envelope-from ambrisko@ambrisko.com) Received: (from ambrisko@localhost) by ambrisko.com (8.12.11/8.12.11/Submit) id k3RLmSOm041069 for freebsd-emulation@FreeBSD.ORG; Thu, 27 Apr 2006 14:48:28 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200604272148.k3RLmSOm041069@ambrisko.com> To: freebsd-emulation@FreeBSD.ORG Date: Thu, 27 Apr 2006 14:48:28 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Cc: Subject: Linux emulation enhancement to emulate device nodes and some SCSI stuff 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: Thu, 27 Apr 2006 21:48:29 -0000 To get the LSI RAID SAS to work under Linux emulation we need to emulate more of Linux type stuff. I've put patches up at: http://www.ambrisko.com/doug/linux.patches I've added back the proc/devices to the emulator although really emulated since with devfs are majors are not as Linux app's expect. So I've used a "linux_ioctl_handle" type paradigm to add a new "linux_device_handle" thing. Each entry is of type: struct linux_device_handler { char *bsd_driver_name; char *linux_driver_name; char *bsd_device_name; char *linux_device_name; int linux_major; int linux_minor; int linux_char_device; }; An example of usage is: static struct linux_device_handler mfi_device_handler = { "mfi", "megaraid_sas", "mfi0", "megaraid_sas_ioctl_node", -1, 0, 1}; SYSINIT (mfi_register2, SI_SUB_KLD, SI_ORDER_MIDDLE, linux_device_register_handler, &mfi_device_handler); SYSUNINIT(mfi_unregister2, SI_SUB_KLD, SI_ORDER_MIDDLE, linux_device_unregister_handler, &mfi_device_handler); The -1 major means allocate dynamically. This then shows up in proc/devices as: Character devices: 1 null 200 megaraid_sas_ioctl_node Block devices: I needed a entry to /dev/null so I created a static entry for that. In the new proc/sys there is a class & devices tree. The devices tree runs the PCI space sort-of like Linux and builds a tree. The class/scsi_host links into that tree. It only fills in things for PCI storage classes and fills in the "proc_name" for the driver if known like: %cat class/scsi_host/host0/proc_name megaraid_sas %ls -l class/scsi_host/host0 total 0 lr--r--r-- 1 root wheel 0 Apr 27 15:07 device -> ../../../devices/pci0000:03/0001:00.0/0002:0e.0/host0 -r--r--r-- 1 root wheel 0 Apr 27 15:07 proc_name %ls -l devices/pci0000:03/0001:00.0/0002:0e.0 total 0 dr-xr-xr-x 1 root wheel 0 Apr 27 15:07 host0 % I had to add code to linux_stat stuff to intercept and return the expected major/minor number if a device_handler was defined. With this and some changes to mfi(4) driver I can run the Linux MegaCli binary from LSI on FreeBSD. Please let me know how this patch looks. Note this is following the Linux 2.6 style. Doug A. From owner-freebsd-emulation@FreeBSD.ORG Fri Apr 28 00:17:22 2006 Return-Path: X-Original-To: freebsd-emulation@hub.freebsd.org Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96A0416A402; Fri, 28 Apr 2006 00:17:22 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D59043D5F; Fri, 28 Apr 2006 00:17:22 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3S0HL5N091214; Fri, 28 Apr 2006 00:17:21 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3S0HLoC091210; Fri, 28 Apr 2006 00:17:21 GMT (envelope-from linimon) Date: Fri, 28 Apr 2006 00:17:21 GMT From: Mark Linimon Message-Id: <200604280017.k3S0HLoC091210@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-emulation@FreeBSD.org Cc: Subject: Re: kern/96438: [linux] Executing a linux binary within jail causes reboot. 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 00:17:22 -0000 Synopsis: [linux] Executing a linux binary within jail causes reboot. Responsible-Changed-From-To: freebsd-bugs->freebsd-emulation Responsible-Changed-By: linimon Responsible-Changed-When: Fri Apr 28 00:17:13 UTC 2006 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=96438 From owner-freebsd-emulation@FreeBSD.ORG Fri Apr 28 14:39:40 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 93AC616A402 for ; Fri, 28 Apr 2006 14:39:40 +0000 (UTC) (envelope-from mnag@FreeBSD.org) Received: from corp.grupos.com.br (corp.grupos.com.br [200.193.29.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id F30F843D45 for ; Fri, 28 Apr 2006 14:39:39 +0000 (GMT) (envelope-from mnag@FreeBSD.org) Received: from corp.grupos.com.br (localhost [127.0.0.1]) by corp.grupos.com.br (Postfix) with ESMTP id DD92955B2 for ; Fri, 28 Apr 2006 11:39:34 -0300 (BRT) Received: from [192.168.10.10] (marcus.grupos.com.br [192.168.10.10]) by corp.grupos.com.br (Postfix) with ESMTP id D2B51559E for ; Fri, 28 Apr 2006 11:39:34 -0300 (BRT) Message-ID: <44522926.7050400@FreeBSD.org> Date: Fri, 28 Apr 2006 11:39:34 -0300 From: Marcus Alves Grando Organization: FreeBSD User-Agent: Thunderbird 1.5 (X11/20060114) MIME-Version: 1.0 To: freebsd-emulation@FreeBSD.org X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Filtered: By ProxSMTP using Clamav and Bogofilter Cc: Subject: [Fwd: [SA19838] LibTIFF Multiple Vulnerabilities] 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 14:39:40 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Can someone update graphics/linux-tiff to fix this issue? Thanks - -------- Original Message -------- Subject: [SA19838] LibTIFF Multiple Vulnerabilities Date: 28 Apr 2006 09:33:52 -0000 From: Secunia Security Advisories To: marcus@corp.grupos.com.br TITLE: LibTIFF Multiple Vulnerabilities SECUNIA ADVISORY ID: SA19838 VERIFY ADVISORY: http://secunia.com/advisories/19838/ CRITICAL: Moderately critical IMPACT: DoS, System access WHERE: - From remote SOFTWARE: LibTIFF 3.x http://secunia.com/product/4053/ DESCRIPTION: Tavis Ormandy has reported some vulnerabilities in LibTIFF, which can be exploited by malicious people to cause a DoS (Denial of Service) and potentially to compromise a user's system. 1) Several unspecified errors in the "TIFFFetchAnyArray()" function and in the cleanup functions can be exploited to crash an application linked against LibTIFF when a specially crafted TIFF image is processed. 2) An integer overflow error in the "TIFFFetchData()" function in tif_dirread.c can be exploited to crash an application linked against LibTIFF and may allow arbitrary code execution when a specially crafted TIFF image is processed. 3) A double free error in tif_jpeg.c within the setfield/getfield methods in the cleanup functions can be exploited to crash an application linked against LibTIFF and may allow arbitrary code execution when a specially crafted TIFF image is processed. The vulnerabilities have been reported in version 3.8.0. Prior versions may also be affected. SOLUTION: Update to version 3.8.1 or later. http://www.remotesensing.org/libtiff/ PROVIDED AND/OR DISCOVERED BY: Tavis Ormandy ORIGINAL ADVISORY: http://www.remotesensing.org/libtiff/v3.8.1.html http://bugzilla.remotesensing.org/show_bug.cgi?id=1102 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=189933 - ---------------------------------------------------------------------- About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities. Subscribe: http://secunia.com/secunia_security_advisories/ Definitions: (Criticality, Where etc.) http://secunia.com/about_secunia_advisories/ Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor. - ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=marcus%40corp.grupos.com.br - ---------------------------------------------------------------------- - -- Marcus Alves Grando FreeBSD Security Team -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEUikli+5fOs3MJz8RAsNfAJ4uUn8CCjpAVTeBPUTbqKf4HfqumgCfXZd+ EsvaV6xjmgla8V9bvO4r2ks= =KkmQ -----END PGP SIGNATURE----- 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 From owner-freebsd-emulation@FreeBSD.ORG Fri Apr 28 18:08:38 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 019C416A401; Fri, 28 Apr 2006 18:08:38 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id A82AF43D45; Fri, 28 Apr 2006 18:08:34 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D0C6.dip.t-dialin.net [84.165.208.198]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k3SI1fbv053105; Fri, 28 Apr 2006 20:01:42 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k3SI8N13014257; Fri, 28 Apr 2006 20:08:23 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Fri, 28 Apr 2006 20:09:00 +0200 From: Alexander Leidinger To: Marcus Alves Grando Message-ID: <20060428200900.783d90bb@Magellan.Leidinger.net> In-Reply-To: <44522926.7050400@FreeBSD.org> References: <44522926.7050400@FreeBSD.org> X-Mailer: Sylpheed-Claws 2.1.1 (GTK+ 2.8.17; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org Subject: Re: [Fwd: [SA19838] LibTIFF Multiple Vulnerabilities] 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 18:08:38 -0000 Am Fri, 28 Apr 2006 11:39:34 -0300 schrieb Marcus Alves Grando : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Can someone update graphics/linux-tiff to fix this issue? As soon as there's a Fedora Core 3 update for this... I don't see one currently. Just mark it as forbidden for now (in case you haven't already). Bye, Alexander. > - -------- Original Message -------- > Subject: [SA19838] LibTIFF Multiple Vulnerabilities > Date: 28 Apr 2006 09:33:52 -0000 > From: Secunia Security Advisories > To: marcus@corp.grupos.com.br > > > TITLE: > LibTIFF Multiple Vulnerabilities > > SECUNIA ADVISORY ID: > SA19838 > > VERIFY ADVISORY: > http://secunia.com/advisories/19838/ -- The computer revolution is over. The computers won. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/ From owner-freebsd-emulation@FreeBSD.ORG Fri Apr 28 22:15:31 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 211C216A400 for ; Fri, 28 Apr 2006 22:15:31 +0000 (UTC) (envelope-from qemu-l@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 605A143D49 for ; Fri, 28 Apr 2006 22:15:29 +0000 (GMT) (envelope-from qemu-l@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn [127.0.0.1]) by gwyn.kn-bremen.de (8.13.4/8.13.4/Debian-3sarge1) with ESMTP id k3SMFSRN009263 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 29 Apr 2006 00:15:28 +0200 Received: from saturn.kn-bremen.de (uucp@localhost) by gwyn.kn-bremen.de (8.13.4/8.13.4/Submit) with UUCP id k3SMFSbi009261; Sat, 29 Apr 2006 00:15:28 +0200 Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.3/8.13.1) with ESMTP id k3SMBh91013104; Sat, 29 Apr 2006 00:11:43 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.3/8.13.1/Submit) id k3SMBhJC013103; Sat, 29 Apr 2006 00:11:43 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sat, 29 Apr 2006 00:11:43 +0200 To: Igor Kovalenko Message-ID: <20060428221142.GA11504@saturn.kn-bremen.de> Mail-Followup-To: Igor Kovalenko , qemu-devel@nongnu.org, freebsd-emulation@freebsd.org References: <20060427203718.GA15953@saturn.kn-bremen.de> <445241DE.9020909@mail.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <445241DE.9020909@mail.ru> User-Agent: Mutt/1.4.2.1i Cc: freebsd-emulation@freebsd.org, qemu-devel@nongnu.org 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 22:15:31 -0000 On Fri, Apr 28, 2006 at 08:25:02PM +0400, Igor Kovalenko wrote: > 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. Cool, so I want FreeBSD's re driver. That one checks TxConfig tho, as changed in my patch (inside #if 0). And when changed, it still doesn't work as mentioned above because the driver expects loopback mode to be working. > > > 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 :) No need to install FreeBSD, you can get away by just using fixit mode of an install iso, i.e. disc1. (which actually is what I did above. :) You can look at 6.1RC's re driver here: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/re/if_re.c?annotate=1.46.2.14 which includes: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/pci/if_rlreg.h?annotate=1.51.2.3 And 6.1RC disc1 iso is e.g. here: ftp://ftp.ru.freebsd.org:/pub/FreeBSD/ISO-IMAGES-i386/6.1/6.1-RC1-i386-disc1.iso From owner-freebsd-emulation@FreeBSD.ORG Sat Apr 29 06:48:52 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 25BCA16A402 for ; Sat, 29 Apr 2006 06:48:52 +0000 (UTC) (envelope-from garrison@mail.ru) Received: from umail.ru (umail.ru [195.34.32.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7304B43D46 for ; Sat, 29 Apr 2006 06:48:51 +0000 (GMT) (envelope-from garrison@mail.ru) Received: from [85.140.125.153] (HELO skyserv) by umail.ru (CommuniGate Pro SMTP 4.2b6) with ESMTP-TLS id 665498814; Sat, 29 Apr 2006 10:48:49 +0400 Received: from localhost ([127.0.0.1]) by skyserv with esmtp (Exim 4.61) (envelope-from ) id 1FZjG4-00030d-RG; Sat, 29 Apr 2006 10:48:48 +0400 Message-ID: <44530C50.6040902@mail.ru> Date: Sat, 29 Apr 2006 10:48:48 +0400 From: Igor Kovalenko User-Agent: Mail/News 1.5 (X11/20060319) MIME-Version: 1.0 To: Igor Kovalenko , qemu-devel@nongnu.org, freebsd-emulation@freebsd.org References: <20060427203718.GA15953@saturn.kn-bremen.de> <445241DE.9020909@mail.ru> <20060428221142.GA11504@saturn.kn-bremen.de> In-Reply-To: <20060428221142.GA11504@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: Sat, 29 Apr 2006 06:48:52 -0000 Juergen Lock wrote: > On Fri, Apr 28, 2006 at 08:25:02PM +0400, Igor Kovalenko wrote: >> 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. > > Cool, so I want FreeBSD's re driver. That one checks TxConfig > tho, as changed in my patch (inside #if 0). And when changed, > it still doesn't work as mentioned above because the driver expects > loopback mode to be working. >>> 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 :) > > No need to install FreeBSD, you can get away by just using > fixit mode of an install iso, i.e. disc1. (which actually is > what I did above. :) > > You can look at 6.1RC's re driver here: > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/re/if_re.c?annotate=1.46.2.14 > which includes: > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/pci/if_rlreg.h?annotate=1.51.2.3 > > And 6.1RC disc1 iso is e.g. here: > ftp://ftp.ru.freebsd.org:/pub/FreeBSD/ISO-IMAGES-i386/6.1/6.1-RC1-i386-disc1.iso > > Thanks, that iso pointer made it. Please try the following on top of your patch, at least ping should now work: --- hw/rtl8139.c.freebsd 2006-04-29 10:44:43.000000000 +0400 +++ hw/rtl8139.c 2006-04-29 10:45:37.000000000 +0400 @@ -1979,6 +1979,18 @@ return ret; } +static uint32_t rtl8139_RxBufAddr_read(RTL8139State *s) +{ + /* this value is NOT off by 16 */ + uint32_t ret = s->RxBufAddr; + +#ifdef DEBUG_RTL8139 + printf("RTL8139: RxBufAddr read val=0x%04x\n", ret); +#endif + + return ret; +} + static void rtl8139_RxBuf_write(RTL8139State *s, uint32_t val) { #ifdef DEBUG_RTL8139 @@ -2441,6 +2453,10 @@ ret = rtl8139_RxBufPtr_read(s); break; + case RxBufAddr: + ret = rtl8139_RxBufAddr_read(s); + break; + case BasicModeCtrl: ret = rtl8139_BasicModeCtrl_read(s); break; -- Kind regards, Igor V. Kovalenko From owner-freebsd-emulation@FreeBSD.ORG Sat Apr 29 18:10:24 2006 Return-Path: X-Original-To: freebsd-emulation@hub.freebsd.org Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 301E516A400 for ; Sat, 29 Apr 2006 18:10:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7BCB743D53 for ; Sat, 29 Apr 2006 18:10:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3TIAME7058827 for ; Sat, 29 Apr 2006 18:10:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3TIAMBv058826; Sat, 29 Apr 2006 18:10:22 GMT (envelope-from gnats) Date: Sat, 29 Apr 2006 18:10:22 GMT Message-Id: <200604291810.k3TIAMBv058826@freefall.freebsd.org> To: freebsd-emulation@FreeBSD.org From: Maxim Konovalov Cc: Subject: Re: kern/96438: Executeing a linux binary within jail causes reboot. X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Maxim Konovalov List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 18:10:24 -0000 The following reply was made to PR kern/96438; it has been noted by GNATS. From: Maxim Konovalov To: Peter Cc: bug-followup@freebsd.org Subject: Re: kern/96438: Executeing a linux binary within jail causes reboot. Date: Sat, 29 Apr 2006 22:06:00 +0400 (MSD) Hi Peter, > >Description: > Launching a linux binary like tcsh as the initial command from > jail(8) seem to cause system reboot. Second occurence is that in > some circumstances _within_ jail(8) executeing linux binary cause > the system to reboot in the same way. Because the machine in > question is a remote. I have not watched console while this > happends. Can't reproduce on my 6.0-STABLE box and todat HEAD: shy# uname -a FreeBSD shy.macomnet.ru 6.0-STABLE FreeBSD 6.0-STABLE #0: Sun Jan 29 11:21:40 MSK 2006 maxim@shy.macomnet.ru:/usr/obj/usr/src/sys/GENERIC i386 shy# jail / test 127.0.0.1 /compat/linux/bin/bash bash-2.05b# uname -a Linux test 2.4.2 FreeBSD 6.0-STABLE #0: Sun Jan 29 11:21:40 MSK 2006 i586 i586 i386 GNU/Linux bash-2.05b# exit Could you verify that with the latest RELENG_6? -- Maxim Konovalov From owner-freebsd-emulation@FreeBSD.ORG Sat Apr 29 22:20:23 2006 Return-Path: X-Original-To: freebsd-emulation@hub.freebsd.org Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3C6B16A400 for ; Sat, 29 Apr 2006 22:20:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2993843D58 for ; Sat, 29 Apr 2006 22:20:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3TMKM0q074939 for ; Sat, 29 Apr 2006 22:20:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3TMKM1R074938; Sat, 29 Apr 2006 22:20:22 GMT (envelope-from gnats) Date: Sat, 29 Apr 2006 22:20:22 GMT Message-Id: <200604292220.k3TMKM1R074938@freefall.freebsd.org> To: freebsd-emulation@FreeBSD.org From: Alexander Leidinger Cc: Subject: Re: kern/96438: Executeing a linux binary within jail causes reboot. X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Leidinger List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 22:20:23 -0000 The following reply was made to PR kern/96438; it has been noted by GNATS. From: Alexander Leidinger To: bug-followup@freebsd.org Cc: Subject: Re: kern/96438: Executeing a linux binary within jail causes reboot. Date: Sun, 30 Apr 2006 00:16:38 +0200 Am Sat, 29 Apr 2006 18:10:22 GMT schrieb Maxim Konovalov : > > >Description: > > Launching a linux binary like tcsh as the initial command from > > jail(8) seem to cause system reboot. Second occurence is that in > > some circumstances _within_ jail(8) executeing linux binary cause > > the system to reboot in the same way. Because the machine in > > question is a remote. I have not watched console while this > > happends. > > Can't reproduce on my 6.0-STABLE box and todat HEAD: Are those linux binaries by any chance static binaries with *no* brandelf of *Linux*? Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/