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] Vanilla Kernel -- eth0: ERROR while getting interface fl

To: lists@xxxxxxxxx
Subject: Re: [Xen-users] Vanilla Kernel -- eth0: ERROR while getting interface flags: No such device
From: Tegger <xen@xxxxxxxxx>
Date: Fri, 02 Apr 2010 16:49:39 +0200
Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 02 Apr 2010 07:50:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1270218386.521.13.camel@ubu7700>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4BB5F061.2050005@xxxxxxxxx> <1270218386.521.13.camel@ubu7700>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
works, and ifconfig shows only localhost

xen205:~# ifconfig -a
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


Dom0 interfaces :

xen0:~# ifconfig -a
eth0      Link encap:Ethernet  Hardware Adresse 00:27:0e:08:47:1e
inet Adresse:192.168.123.101 Bcast:192.168.123.255 Maske:255.255.255.0 inet6-Adresse: fe80::227:eff:fe08:471e/64 Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
          RX packets:3678774 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2072462 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0
          RX bytes:5508142978 (5.1 GiB)  TX bytes:149710680 (142.7 MiB)

lo        Link encap:Lokale Schleife
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
          UP LOOPBACK RUNNING  MTU:16436  Metrik:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

peth0     Link encap:Ethernet  Hardware Adresse 00:27:0e:08:47:1e
inet6-Adresse: fe80::227:eff:fe08:471e/64 Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metrik:1
          RX packets:3678775 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2072470 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:10
          RX bytes:5559647662 (5.1 GiB)  TX bytes:149711316 (142.7 MiB)
          Speicher:f0100000-f0120000

vif2.0    Link encap:Ethernet  Hardware Adresse fe:ff:ff:ff:ff:ff
inet6-Adresse: fe80::fcff:ffff:feff:ffff/64 Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metrik:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:71 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:32
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


Am 02.04.2010 16:26, schrieb Thomas Halinka:
Hi,

use hvc0 as console and see whats going on...

You need to alter /etc/inittab in your domU

1:2345:respawn:/sbin/getty 38400 hvc0

Then you should be able to login through "xm console".

Check Networking with ifconfig -a

cu,

thomas

Am Freitag, den 02.04.2010, 15:25 +0200 schrieb Tegger:
hi,

i have problems with Debian Dom0 and Debian domU. I create the DomU with
xen-tools, changed hda to xvda, but i didn't get a console and network
i have a compiled 2.6.31.12 kernel by myself....

############################################################################################
# Configuration file for the Xen instance xen205, created
# by xen-tools 3.9 on Thu Apr  1 14:29:36 2010.
#

#
#  Kernel + memory size
#
kernel      = '/boot/vmlinuz-2.6.31.12'
ramdisk     = '/boot/initrd.img-2.6.31.12'
memory      = '512'


#
#  Disk device(s).
#
root        = '/dev/xvda1 ro'
disk        = [

'file:/home/user/vm_images/domains/xen205/swap.img,xvda2,w',

'file:/home/user/vm_images/domains/xen205/disk.img,xvda1,w',
                ]


#
#  Hostname
#
name        = 'xen205'

#
#  Networking
#
vif         = [ 'ip=192.168.123.205,mac=00:16:3E:E6:88:8B' ]

#
#  Behaviour
#
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'
############################################################################################

this are the last lines at bootup


############################################################################################
INIT: version 2.86 booting
Mount point '/dev/shm' does not exist. Skipping mount. (warning).
Setting the system clock.
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access
method.
Unable to set System Clock to: Fri Apr 2 12:45:45 UTC 2010 (warning).
Activating swap...done.
Checking root file system...fsck 1.41.3 (12-Oct-2008)
/lib/init/rw/rootdev: clean, 12098/327680 files, 350810/1310720 blocks
done.
EXT3 FS on xvda1, internal journal
Setting the system clock.
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access
method.
Unable to set System Clock to: Fri Apr 2 12:45:46 UTC 2010 (warning).
Cleaning up ifupdown....
Loading kernel modules...done.
Checking file systems...fsck 1.41.3 (12-Oct-2008)
done.
Setting kernel variables (/etc/sysctl.conf)...done.
Mounting local filesystems...done.
Activating swapfile swap...done.
Setting up networking....
Configuring network interfaces...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.
done.
INIT: Entering runlevel: 2
Starting enhanced syslogd: rsyslogd.
Starting OpenBSD Secure Shell server: sshdNET: Registered protocol family 10
lo: Disabled Privacy Extensions
.
Starting periodic command scheduler: crond.
###############################################################################################



there are Problem with

- Hardware Clock
- /dev/shm
- network eth0

and perhaps with console......

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users