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

[Xen-users] no eth device in domU although defined in configuration

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] no eth device in domU although defined in configuration
From: Benjamin Henne <henne@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 22 May 2006 22:13:23 +0200
Delivery-date: Mon, 22 May 2006 13:14:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
Hi.

I run Xen (xen-3.0.1-4) on an Dell Poweredge 750. I use Fedora Core 5
with kernel 2.6.16-1.2096_FC5xen0 as domain0, because Debian doesn't
work on that system. For the domainU I use the kernel
2.6.16-1.2096_FC5xenU from Fedora Core 5.

I have created my first domainU Debian sarge system using the tool
debootstrap from Debian. I configured the domainU as I did on another
working Xen installation. But on the new one I have problems with
networking.

When I create the domainU everything seems to be ok. In domain0 the
network interfaces are created and added to to the bridge etc.
But in the domainU I don't get any ethX network interface. The only
interface I get ist lo.

I tried to define the needed interface with
 vif = [ '' ]
and something like
 vif = [ 'mac=AA:00:00:00:00:C3, bridge=xenbr0' ]
but nothing works.

When I try to setup the non existing eth0 I get

 SIOCSIFADDR: No such device
 eth0: ERROR while getting interface flags: No such device
 SIOCSIFNETMASK: No such device
 SIOCSIFBRDADDR: No such device
 eth0: ERROR while getting interface flags: No such device
 eth0: ERROR while getting interface flags: No such device
 Failed to bring up eth0.

Although I define the vif I get no ethX in domainU.

My problem seems to be the same as described in
 "Configuring network interfaces...SIOCSIFADDR: No such device
   - domU - Debian - other DomU OK."
posted here on 2006/05/12 15:49 and still has no solution.






/etc/xen/mydomain
-----------------
kernel = "/boot/vmlinuz-2.6.16-1.2096_FC5xenU"
memory = 128
name = "mydomain"
cpus = ""
vcpus = 1
vif = [ 'mac=aa:00:00:00:00:C3, bridge=xenbr0' ]
disk = [ 'phy:xenvg/mydom-root,sda1,w','phy:xenvg/mydom-swap,sda2,w']
netmask="255.255.255.0"
gateway="123.45.6.789"
root = "/dev/sda1 ro"
extra = "2"


dmesg on domainU mydomain
-------------------------

Linux version 2.6.16-1.2096_FC5xenU
(bhcompile@xxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc
                   version 4.1.0 20060304 (Red Hat 4.1.0-3)) #1 SMP Wed
Apr 19 06:07:11 EDT 2006
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000008000000 (usable)
0MB HIGHMEM available.
136MB LOWMEM available.
Using x86 segment limits to approximate NX protection
On node 0 totalpages: 34816
  DMA zone: 34816 pages, LIFO batch:7
  DMA32 zone: 0 pages, LIFO batch:0
  Normal zone: 0 pages, LIFO batch:0
  HighMem zone: 0 pages, LIFO batch:0
IRQ lockup detection disabled
Built 1 zonelists
Kernel command line:  root=/dev/sda1 ro 2
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 16384 bytes)
Xen reported: 2800.100 MHz processor.
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Software IO TLB disabled
vmalloc area: c9000000-fb3fe000, maxmem 33ffe000
Memory: 125508k/139264k available (1653k kernel code, 5400k reserved,
619k data, 132k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 6999.57 BogoMIPS
(lpj=13999145)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000
0000441d                                               00000000 00000000
CPU: After vendor identify, caps: bfebfbff 00000000 00000000 00000000
0000441d 0                                              0000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU: After all inits, caps: bfebc3f1 00000000 00000000 00000180 0000441d
0000000                                              0 00000000
Checking 'hlt' instruction... disabled
Brought up 1 CPUs
0
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
xen_mem: Initialising balloon driver.
audit: initializing netlink socket (disabled)
audit(1148320224.092:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
SELinux:  Registering netfilter hooks
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key CAC5D2FEFF6E03E
- User ID: Red Hat, Inc. (Kernel Module GPG key)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
rtc: IRQ 8 is not free.
i8042.c: No controller found.
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Xen virtual console successfully installed as tty1
Event-channel device installed.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
Registering block device major 8
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
Probing IDE interface ide4...
Probing IDE interface ide5...
ide-floppy driver 0.99.newide
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 5, 163840 bytes)
TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 132k freed
Adding 524280k swap on /dev/sda2.  Priority:-1 extents:1 across:524280k
EXT3 FS on sda1, internal journal


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

<Prev in Thread] Current Thread [Next in Thread>