[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] NIC not working inside guest


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Yvo van Doorn" <yvo.vandoorn@xxxxxxxxx>
  • Date: Wed, 27 Aug 2008 20:46:44 -0700
  • Delivery-date: Wed, 27 Aug 2008 20:47:19 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=ri/sjC1yUNXttQQzeO8IrccFEwJqxyMZ3eJf5cB/HsmD601QirpYLibk247WnzLMWe DwOUOPvsH16b/8yh89dspqwjGlS+KnIRqCgV9GlQP6RE2eSSIIvbX4Y7L+7ontWg9M0m F0bEoWW4BeYSSMIgt3kj59d0cdMBqmkGOYFgQ=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hey everyone,

I am trying to kickstart a Xen guest (CentOS 5) and this has worked
fantastically on one of two HP DL360G5s. Both run Xen 3.2.0 with
CentOS 5. It works without an issue on one machine and I have 4 CentOS
5 Xen guests running without a hitch but I am having a heck of a
problem doing the same exact thing on the 2nd host. Basically I try to
kickstart CentOS5 and it will stop at the "Sending request for IP
information for eth0..." and bring up a "Configure TCP/IP" text based
dialog. It is just not able to download the kickstart file as its not
making a network connection. What is even more frustrating is the
inability to do Alt+F3 to see the verbose output (sticky keys or
not... this is just not working when viewing the installation via xm
console). So I am completely blind on the guest side. I see no DHCP
request on the dhcp server (it is on the same subnet) and no request
on the http server where the kickstart file is hsoted.

Any help on this would be great.

 The Dom0 has this in the /var/log/messages:

Aug 27 20:33:49 xen-search02 kernel: tap tap-4-51712: 2 getting info
Aug 27 20:33:49 xen-search02 kernel: device vif4.0 entered promiscuous mode
Aug 27 20:33:49 xen-search02 kernel: ADDRCONF(NETDEV_UP): vif4.0: link
is not ready
Aug 27 20:33:58 xen-search02 kernel: ADDRCONF(NETDEV_CHANGE): vif4.0:
link becomes ready
Aug 27 20:33:58 xen-search02 kernel: blktap: ring-ref 770,
event-channel 10, protocol 1 (x86_64-abi)
Aug 27 20:33:58 xen-search02 kernel: eth0: port 2(vif4.0) entering
learning state
Aug 27 20:33:58 xen-search02 kernel: eth0: topology change detected, propagating
Aug 27 20:33:58 xen-search02 kernel: eth0: port 2(vif4.0) entering
forwarding state

Here is the command I'm trying to run:
virt-install --nographics --noautoconsole --os-type=linux
--os-variant=rhel5 -n search02.de01.sea3.mycompany.com -r 4096
--vcpus=2       -f /opt/xen/images/search02.de01.sea3.mycompany.com.img -p
-l http://kickstart.corp.mycompany.com/mirror/centos/5/os/x86_64/       -x
"ks=http://nsi01.corp.mycompany.com/ksconfig/xen/xenks_endeca5_static.php?fullname=search02.de01.sea3.mycompany.com%hostname=search02%domainname=de01.sea3.mycompany.com%os=centos%osver=5%osarch=x86_64%networkip=172.20.101.29%networknm=255.255.254.0%networkgw=172.20.100.1%dns=172.20.100.101,172.20.100.102";


The output for vif4.0:
[root@xen-search02 ~]# ifconfig vif4.0
vif4.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:416 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:1696 (1.6 KiB)  TX bytes:28602 (27.9 KiB)

Here is output before anaconda kicks off:
Initializing CPU#1
migration_cost=20
Brought up 2 CPUs
PCI: Fatal: No PCI config space access function found
PCI: setting up Xen PCI frontend stub
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: System does not support PCI
PCI: System does not support PCI
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
NET: Registered protocol family 2
IP route cache hash table entries: 262144 (order: 9, 2097152 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1219888159.538:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key 52394A11B61A91
- User ID: CentOS (Kernel Module GPG key)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
Xen virtual console successfully installed as xvc0
Bootdata ok (command line is
ks=http://nsi01.corp.mycompany.com/ksconfig/xen/xenks_endeca5_static.php?fullname=search02.de01.sea3.mycompany.com%hostname=search02%domainname=de01.sea3.mycompany.com%os=centos%osver=5%osarch=x86_64%networkip=172.20.101.29%networknm=255.255.254.0%networkgw=172.20.100.1%dns=172.20.100.101,172.20.100.102
method=http://kickstart.corp.mycompany.com/mirror/centos/5/os/x86_64/)
Linux version 2.6.18-92.el5xen (mockbuild@xxxxxxxxxxxxxxxxxxxx) (gcc
version 4.1.2 20071124 (Red Hat 4.1.2-42)) #1 SMP Tue Jun 10 19:20:18
EDT 2008
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000100800000 (usable)
No mptable found.
Built 1 zonelists.  Total pages: 1050624
Kernel command line:
ks=http://nsi01.corp.mycompany.com/ksconfig/xen/xenks_endeca5_static.php?fullname=search02.de01.sea3.mycompany.com%hostname=search02%domainname=de01.sea3.mycompany.com%os=centos%osver=5%osarch=x86_64%networkip=172.20.101.29%networknm=255.255.254.0%networkgw=172.20.100.1%dns=172.20.100.101,172.20.100.102
method=http://kickstart.corp.mycompany.com/mirror/centos/5/os/x86_64/
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Xen reported: 2500.088 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
Software IO TLB disabled
Memory: 4094332k/4202496k available (2414k kernel code, 99276k
reserved, 1349k data, 176k init)
Calibrating delay using timer specific routine.. 6253.49 BogoMIPS (lpj=12506990)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
selinux_register_security:  Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 6144K
CPU: Physical Processor ID: 1
CPU: Processor Core ID: 2
(SMP-)alternatives turned off
Brought up 1 CPUs
checking if image is initramfs... it is
Grant table initialized
NET: Registered protocol family 16
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 102D7A0 could
not acquire Mutex [2] [20060707]
No dock devices found.
ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 102D7A0 could
not acquire Mutex [2] [20060707]
Initializing CPU#1
migration_cost=20
Brought up 2 CPUs
PCI: Fatal: No PCI config space access function found
PCI: setting up Xen PCI frontend stub
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: System does not support PCI
PCI: System does not support PCI
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
NET: Registered protocol family 2
IP route cache hash table entries: 262144 (order: 9, 2097152 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
audit: initializing netlink socket (disabled)
audit(1219888159.538:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Initializing Cryptographic API
ksign: Installing public key data
Loading keyring
- Added public key 52394A11B61A91
- User ID: CentOS (Kernel Module GPG key)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
Xen virtual console successfully installed as xvc0
Event-channel device installed.
Welcome to CentOS

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.