WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] RTL8139 support

To: Sean Atkinson <sean@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] RTL8139 support
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Mon, 08 Mar 2004 14:49:00 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Mon, 08 Mar 2004 14:50:46 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Mon, 08 Mar 2004 15:24:23 +0100." <1078755863.2751.228.camel@xxxxxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> I'm having problems using my RTL8139 network card with Xen.  Output from
> lspci reports "Realtek Semiconducter Co., Ltd. RTL-8139/8319C/8139C+
> (rev 10)".
> 
> Although /xeno-1.2/xen/drivers/net/SUPPORTED_CARDS lists rtl8139 as
> ported, I can't find any reference in the source files.  Unsurprisingly
> both the demo CD and locally built versions for the stable release don't
> appear to support my network card.

I'm afraid the SUPPORTED_CARDS list is incorrect -- the driver
isn't actually in 1.2, though it is in the unstable tree.

The driver was an external contribution, and we haven't had any
hardware to test it ourselves.

> The bit keeper binary appears to just hang when I try and clone the
> unstable source, so I've unpacked the nightly tarball instead.

That's very odd. I wander if bkbits.net was in a maintenance
window -- it's usually very reliable.

> The ChangeLog states that 8139too.c was added at 2004-03-02
> 11:33:20, and this appears to be built.  Booting the unstable
> version, I noticed Xen reports support for RTL-8139 as eth0,
> and even the partner ability which I guess indicates it's a
> real physical device?

That suggests that at least the probe code is working.

> I only saw this output before Xen stalled when I used the
> xenolinuz.gz from 1.2 with "noreboot" - I don't know how else
> to capture such logs.  However using the correct xenolinux.gz
> to boot properly I still get the same problems as ever.

You can always capture Xen's output over a serial line, or use
"xen_read_console" from domain0 after boot.

Capturing this would be very helpful, particularly if debuging in
the RTL8139 driver was enabled. Comparing it against the same
driver running under Linux would likely highlight the problem.

> Trying "ifname=eth0" didn't help either.

That's the default, so shouldnm't make any difference.

> In all cases dhclient only broadcasts DISCOVER requests and gets no
> responses.  The output from "ifconfig eth0" lists a MAC of all zeroes
> and TX data only, with zero RX counters.

MAC of all zeros doesn't sound at all good...  I suspect you're
card isn't being grocked quite right.

Ian




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel