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-users

Re: [Xen-users] Networking problems

To: Didier Trosset <didier_trosset@xxxxxxxxxxx>
Subject: Re: [Xen-users] Networking problems
From: Michel Drescher <Michel.Drescher@xxxxxxxxxxxxxx>
Date: Tue, 22 May 2007 14:58:06 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 22 May 2007 06:56:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4652F40F.6010806@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Openpgp: id=334AC384
References: <4652EB7E.1080604@xxxxxxxxxxxxxx> <4652F40F.6010806@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)
Didier Trosset wrote:
> Michel Drescher wrote:
>> Dear Xen wranglers,
>>
>> I have the following problem:
>>
>> ---- 8< ----
>>
>> However, and this is the downside, the VM brings up only the loopback
>> device. The VM exports the virtual eth0 as RTL8139, but trying to
>> bring up
>> eth0 manually results in the following error:
>>
>> ---------- SNIP ---------- SNIP ---------- SNIP ---------- SNIP
>> ----------
>> mdrescher@baseline-vm:~$ sudo ifup eth0
>> Password:
>> eth0: ERROR while getting interface flags: No such device
>> SIOCSIFADDR: No such device
>> eth0: ERROR while getting interface flags: No such device
>> SIOCSIFNETMASK: No such device
>> eth0: ERROR while getting interface flags: No such device
>> Failed to bring up eth0.
>> ---------- SNIP ---------- SNIP ---------- SNIP ---------- SNIP
>> ----------
>>
>> Unfortunately, as I don't have network and my vncViewer does'nt capture
>> screens, I have to describe the dmesg output of domU:
>>
>> According to the dmesg output, the RTL8139too Fast Ethernet driver
>> v0.9.28
>> is loaded, which detects an "enhanced" 8139C+ chip (?) so it will use the
>> 8139cp driver for improved performance (well, well...)
>> Later, the driver says "unknown chip version, assuming RTL-8139"
>>
>> Can you help me out getting the following issues resolved?
>> a) Getting networking up (obviously) using the real Tigon3 driver or
>> something emulating
>> b) When booting domU from the mini.iso, networking went just fine, but
>> why?
> 
> You have to specify the mac address in the vif=... line of the domU
> config file. As you don't, the mac address is asigned a new random mac
> on each boot. This is the reason why the network works correctly during
> the install, but fails after the reboot: the system doesn't know about
> this *new* network device.

Alright, this sounds logical, but ...

> You should be able to know the mac you have been assigned during the
> install by looking in the file /etc/udev/rules.d/z25_persistent-net.rules

... while I have the directory "/etc/udev/rules.d/", I do *not* have the
file "25-persistent-net.rules". :-(

I tried other rules I found in this directory, but none seem even remotely
related to the network... :-/

Do I have to reinstall domU? Hopefully not...

Cheers,
Michel


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>