From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CrkcS-0001ie-Fl for qemu-devel@nongnu.org; Thu, 20 Jan 2005 17:17:36 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CrkcR-0001iA-DD for qemu-devel@nongnu.org; Thu, 20 Jan 2005 17:17:35 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CrkaL-00019H-PK for qemu-devel@nongnu.org; Thu, 20 Jan 2005 17:15:28 -0500 Received: from [212.250.162.16] (helo=mta08-winn.mailhost.ntl.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Crjjl-0007B5-SH for qemu-devel@nongnu.org; Thu, 20 Jan 2005 16:21:06 -0500 Subject: Re: [Qemu-devel] Updated 3c509 NIC patch. From: Antony T Curtis In-Reply-To: References: Content-Type: text/plain Date: Thu, 20 Jan 2005 21:21:01 +0000 Message-Id: <1106256061.75381.29.camel@pcgem.rdg.cyberkinetica.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Karel Gardas Cc: QEMU Development Mailing List On Thu, 2005-01-20 at 21:15 +0100, Karel Gardas wrote: > On Thu, 20 Jan 2005, Karel Gardas wrote: > > > > I would say that your safest and most easiest way forward is to use the > > > 3c509 in it's "powered on" configuration, and set the RTEMS driver to > > > use it at that IO/IRQ without the automagic probe. > > > > I will certainly give it a try. > > Well, it seems I've got things to the shape when initialization and driver > attaching goes well and RTEMS seems to got it. > Unfortunatelly, when trying to open connection from host to guest while > using proper user-net command-line parameters, I see this debug output > comming from Qemu: > > tcm509_receive: size=58 > packet dhost=00:00:00:00:00:00, padr=21:03:76:12:09:75 > padr_match result=0 (rx_filter=0x0007) > > That's just snipped from more such lines, basically they just repeat. You have the debug code enabled. You should undef TCM_DEBUG Are you able to set an IP address and get it talking? > From looking into the source code, it seems dhost is destination host > ethernet address and I just wonder why is it set to zeros when it should > be 21:03:76:12:09:75. Do you think I should blame my changes or better > overlooking of some places where I should setup ethernet address in the > RTEMS driver, or is this just another issue with your 3c509 emulation? > > Thanks, > Karel > -- > Karel Gardas kgardas@objectsecurity.com > ObjectSecurity Ltd. http://www.objectsecurity.com > -- Antony T Curtis, BSc. UNIX, Linux, *BSD, Networking antony.t.curtis@ntlworld.com C++, J2EE, Perl, MySQL, Apache IT Consultancy.