From: Christopher Clark Subject: Re: No network device problem in -testing Date: Fri, 3 Feb 2006 11:50:31 +0000 Message-ID: References: <5d7aca950602022143m1f9b9e75y178228dcac53fbc7@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2032326271==" Return-path: In-Reply-To: <5d7aca950602022143m1f9b9e75y178228dcac53fbc7@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: NAHieu Cc: Xen-devel List-Id: xen-devel@lists.xenproject.org --===============2032326271== Content-Type: multipart/alternative; boundary="----=_Part_3687_16385419.1138967431646" ------=_Part_3687_16385419.1138967431646 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline try adding this to your config: vif =3D [ '' ] Christopher On 2/3/06, NAHieu wrote: > > Hi, > > I am running the latest Xen 3.0-testing tree, and have a trouble: my > virtual machine cannot find the network device. Network in Dom0 is OK, > but in DomU, "ifconfig -a" only shows the local interface. But here in > the dmesg content, I found these line: > > ^^^ > ... > RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize > Xen virtual console successfully installed as tty1 > Event-channel device installed. > netfront: Initialising virtual ethernet driver. > NET: Registered protocol family 2 > Registering block device major 3 > IP: routing cache hash table of 2048 buckets, 16Kbytes > TCP established hash table entries: 8192 (order: 4, 65536 bytes) > TCP bind hash table entries: 8192 (order: 3, 32768 bytes) > TCP: Hash tables configured (established 8192 bind 8192) > NET: Registered protocol family 1 > NET: Registered protocol family 17 > ^^^ > > The above messages convice me that the network was succesfully > initialized, but why I dont see the "eth0" as normally? I am kinda > stuck now. Anybody knows how to fix the problem, or tell me how to > debug it myself? > > I use the latest -testing tree, as below: > # hg tip > changeset: 8738:eff96462fde8 > tag: tip > user: kaf24@firebug.cl.cam.ac.uk > date: Tue Jan 31 12:04:12 2006 +0100 > summary: Remove dummy definitions of __gpfn_to_mfn/__mfn_to_gpfn. > > > And here is my configuration file: > ^^^ > kernel =3D "/boot/vmlinuz-2.6-xenU" > memory =3D 200 > name =3D "ubuntu" > disk =3D ['file:/home/hieu/xen/rootfs.swap,hda1,w', > 'file:/home/hieu/xen/rootfs.ubuntu,hda2,w'] > root =3D "/dev/hda2 ro" > ^^^ > > Many thanks. > Hieu > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > ------=_Part_3687_16385419.1138967431646 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline try adding this to your config:

vif =3D [ '' ]


Christophe= r

On 2/3/06, NAHieu <nahieu@gmail.com= > wrote:
Hi,
I am running the latest Xen 3.0-testing tree, and have a trouble: my
vi= rtual machine cannot find the network device. Network in Dom0 is OK,
but in DomU, "ifconfig -a" only shows the local interface. Bu= t here in
the dmesg content, I found these line:

^^^
...
RA= MDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Xen virtual console successfully installed as tty1
Event-channel device = installed.
netfront: Initialising virtual ethernet driver.
NET: Regis= tered protocol family 2
Registering block device major 3
IP: routing = cache hash table of 2048 buckets, 16Kbytes
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP= bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables = configured (established 8192 bind 8192)
NET: Registered protocol family = 1
NET: Registered protocol family 17
^^^

The above messages con= vice me that the network was succesfully
initialized, but why I dont see= the "eth0" as normally? I am kinda
stuck now. Anybody knows h= ow to fix the problem, or tell me how to
debug it myself?

I use the latest -testing tree, as below:
# = hg tip
changeset:   8738:eff96462fde8
tag:   = ;      tip
user:     &= nbsp;  kaf24@firebu= g.cl.cam.ac.uk
date:        Tue Jan 31 12:= 04:12 2006 +0100
summary:     Remove dummy definitio= ns of __gpfn_to_mfn/__mfn_to_gpfn.


And here is my configuration = file:
^^^
kernel =3D "/boot/vmlinuz-2.6-xenU"
memory =3D 200
name =3D "ubuntu"
disk =3D ['file:/home/= hieu/xen/rootfs.swap,hda1,w',
'file:/home/hieu/xen/rootfs.ubuntu,hda2,w'= ]
root =3D "/dev/hda2 ro"
^^^

Many thanks.
Hieu
_______________________________________________
Xen-devel mailing listXen-devel@lists.xensourc= e.com
http://lists.= xensource.com/xen-devel

------=_Part_3687_16385419.1138967431646-- --===============2032326271== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============2032326271==--