I am new to Xen and not a pro Linux guy. So, I am having bit of rough ride setting up Xen. Xen (2.0.7) and Dom0(2.6.11.12-Xen0) are booting alright. However, when I am not able to start DomU (ttylinux - standard download - no changes made). It stops at IP Config. Here is console log, the DomU config file, as well my main grub.conf. Quick help is really appreciated. Thanx root@localhost xen]# xm create ttylinuxVM -c Using config file "ttylinuxVM". Started domain ttylinux, console on port 9601 ************ REMOTE CONSOLE: CTRL-] TO QUIT ******** Linux version 2.6.11.12-xenU (xenod@freefall.cl.cam.ac.uk) (gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)) #1 Thu Aug 4 00:48:08 BST 2005 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000004000000 (usable) 64MB LOWMEM available. DMI not present. IRQ lockup detection disabled Allocating PCI resources starting at 04000000 (gap: 04000000:fc000000) Built 1 zonelists Kernel command line: ip=10.1.10.20:1.2.3.4:::ttylinux:eth0:off root=/dev/VolGroup00/LogVol00 ro Initializing CPU#0 PID hash table entries: 512 (order: 9, 8192 bytes) Xen reported: 2994.530 MHz processor. Using tsc for high-res timesource Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) vmalloc area: c4800000-fbff9000, maxmem 34000000 Memory: 62384k/65536k available (1631k kernel code, 3056k reserved, 411k data, 112k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: Trace cache: 12K uops, L1 D cache: 16K CPU: L2 cache: 1024K CPU: Intel Genuine Intel(R) CPU 3.00GHz stepping 02 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking ''hlt'' instruction... disabled NET: Registered protocol family 16 xen_mem: Initialising balloon driver. Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Xen virtual console successfully installed as tty Event-channel device installed. xen_blk: Initialising virtual block device driver xen_net: Initialising virtual ethernet driver. NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) NET: Registered protocol family 1 NET: Registered protocol family 17 IP-Config: Guessing netmask 255.0.0.0 IP-Config: Complete: device=eth0, addr=10.1.10.20, mask=255.0.0.0, gw=255.255.255.255, host=ttylinux, domain=, nis-domain=(none) ************ REMOTE CONSOLE EXITED ***************** Domain configuration file - ttylinuxVM1 ---------------------------------------- kernel = "/boot/vmlinuz-2.6-xenU" memory = 64 name = "ttylinux" nics = 1 vif = [ ''mac=bb:00:00:00:00:11, bridge=xen-br0'' ] ip = "10.1.10.20" hostname="ttylinux" disk = [''file:/boot/ttylinux-xen,sda1, w''] root = "/dev/VolGroup00/LogVol00 ro" My mail grub.conf default=0 timeout=30 #hiddenmenu title Fedora Core (2.6.11-1.1369_FC4smp) root (hd1,0) kernel /vmlinuz-2.6.11-1.1369_FC4smp ro root=/dev/VolGroup00/LogVol00 rh gb quiet initrd /initrd-2.6.11-1.1369_FC4smp.img title Fedora Core-up (2.6.11-1.1369_FC4) root (hd1,0) kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.11-1.1369_FC4.img title Xen-2.0 / XenLnux 2.6 root (hd1,0) kernel /xen-2.0.7.gz dom0_mem=131072 com1=115200,8n1 module /vmlinuz-2.6.11.12-xen0 root=/dev/VolGroup00/LogVol00 ro console= tty0 module /initrd-2.6.11-1.1369_FC4.img - CD _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thursday 01 September 2005 20:04, Venkatesh, C D wrote:> I am new to Xen and not a pro Linux guy. So, I am having bit of rough > ride setting up Xen. >[...]> > Xen (2.0.7) and Dom0(2.6.11.12-Xen0) are booting alright. However, when > I am not able to start DomU (ttylinux - standard download - no changes > made). It stops at IP Config. Here is console log, the DomU config file, > as well my main grub.conf. Quick help is really appreciated. Thanx> Domain configuration file - ttylinuxVM1 > > ----------------------------------------[...]> disk = [''file:/boot/ttylinux-xen,sda1, w''] > > root = "/dev/VolGroup00/LogVol00 ro"This might be the problem: The contents of /boot/ttylinux-xen are visible to your new domU as /dev/sda1 device, yet you instruct the domU kernel to fetch its root filesystem from "/dev/VolGroup00/LogVol00" retry with root="/dev/sda1" /Ernst _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Venkatesh, The Mac address you have in the config file is not a legal Mac address. It is in the multicast range. The addresses used start with ''aa:00:00''. If you don''t set this value xend will generate a random Mac address. It also appears that the root setting below is incorrect, if you are exporting the sda1 partition.> ip = "10.1.10.20">> hostname="ttylinux">> disk = [''file:/boot/ttylinux-xen,sda1, w'']>> root = "/dev/VolGroup00/LogVol00 ro" <=Try using the "-n" option to xm create to do a dry run and print the sxp which is easier to read. Martha Xensource Customer Care Xensource, Inc. ________________________________ From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Venkatesh, C D Sent: Thursday, September 01, 2005 11:05 AM To: xen-users@lists.xensource.com Subject: [Xen-users] DomU booting problem. I am new to Xen and not a pro Linux guy. So, I am having bit of rough ride setting up Xen. Xen (2.0.7) and Dom0(2.6.11.12-Xen0) are booting alright. However, when I am not able to start DomU (ttylinux - standard download - no changes made). It stops at IP Config. Here is console log, the DomU config file, as well my main grub.conf. Quick help is really appreciated. Thanx root@localhost xen]# xm create ttylinuxVM -c Using config file "ttylinuxVM". Started domain ttylinux, console on port 9601 ************ REMOTE CONSOLE: CTRL-] TO QUIT ******** Linux version 2.6.11.12-xenU (xenod@freefall.cl.cam.ac.uk) (gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)) #1 Thu Aug 4 00:48:08 BST 2005 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000004000000 (usable) 64MB LOWMEM available. DMI not present. IRQ lockup detection disabled Allocating PCI resources starting at 04000000 (gap: 04000000:fc000000) Built 1 zonelists Kernel command line: ip=10.1.10.20:1.2.3.4:::ttylinux:eth0:off root=/dev/VolGroup00/LogVol00 ro Initializing CPU#0 PID hash table entries: 512 (order: 9, 8192 bytes) Xen reported: 2994.530 MHz processor. Using tsc for high-res timesource Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) vmalloc area: c4800000-fbff9000, maxmem 34000000 Memory: 62384k/65536k available (1631k kernel code, 3056k reserved, 411k data, 112k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: Trace cache: 12K uops, L1 D cache: 16K CPU: L2 cache: 1024K CPU: Intel Genuine Intel(R) CPU 3.00GHz stepping 02 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking ''hlt'' instruction... disabled NET: Registered protocol family 16 xen_mem: Initialising balloon driver. Initializing Cryptographic API io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Xen virtual console successfully installed as tty Event-channel device installed. xen_blk: Initialising virtual block device driver xen_net: Initialising virtual ethernet driver. NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) NET: Registered protocol family 1 NET: Registered protocol family 17 IP-Config: Guessing netmask 255.0.0.0 IP-Config: Complete: device=eth0, addr=10.1.10.20, mask=255.0.0.0, gw=255.255.255.255, host=ttylinux, domain=, nis-domain=(none) ************ REMOTE CONSOLE EXITED ***************** Domain configuration file - ttylinuxVM1 ---------------------------------------- kernel = "/boot/vmlinuz-2.6-xenU" memory = 64 name = "ttylinux" nics = 1 vif = [ ''mac=bb:00:00:00:00:11, bridge=xen-br0'' ] <--- ip = "10.1.10.20" hostname="ttylinux" disk = [''file:/boot/ttylinux-xen,sda1, w''] root = "/dev/VolGroup00/LogVol00 ro" My mail grub.conf default=0 timeout=30 #hiddenmenu title Fedora Core (2.6.11-1.1369_FC4smp) root (hd1,0) kernel /vmlinuz-2.6.11-1.1369_FC4smp ro root=/dev/VolGroup00/LogVol00 rh gb quiet initrd /initrd-2.6.11-1.1369_FC4smp.img title Fedora Core-up (2.6.11-1.1369_FC4) root (hd1,0) kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet initrd /initrd-2.6.11-1.1369_FC4.img title Xen-2.0 / XenLnux 2.6 root (hd1,0) kernel /xen-2.0.7.gz dom0_mem=131072 com1=115200,8n1 module /vmlinuz-2.6.11.12-xen0 root=/dev/VolGroup00/LogVol00 ro console= tty0 module /initrd-2.6.11-1.1369_FC4.img - CD _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Domain configuration file - ttylinuxVM1 > > ---------------------------------------- > > kernel = "/boot/vmlinuz-2.6-xenU" > > memory = 64 > > name = "ttylinux" > > nics = 1 > > vif = [ ''mac=bb:00:00:00:00:11, bridge=xen-br0'' ] > > ip = "10.1.10.20" > > hostname="ttylinux" > > disk = [''file:/boot/ttylinux-xen,sda1, w''] > > root = "/dev/VolGroup00/LogVol00 ro"As Ernst said, the root = line should correspond to what its block device appears as. In this case, the disk line is setting the block device to sda1 so you want root = "/dev/sda1 ro" HTH, Mark> > > > > My mail grub.conf > > default=0 > > timeout=30 > > #hiddenmenu > > title Fedora Core (2.6.11-1.1369_FC4smp) > > root (hd1,0) > > kernel /vmlinuz-2.6.11-1.1369_FC4smp ro > > root=/dev/VolGroup00/LogVol00 rh gb quiet > > initrd /initrd-2.6.11-1.1369_FC4smp.img > > title Fedora Core-up (2.6.11-1.1369_FC4) > > root (hd1,0) > > kernel /vmlinuz-2.6.11-1.1369_FC4 ro > root=/dev/VolGroup00/LogVol00 rhgb quiet > > initrd /initrd-2.6.11-1.1369_FC4.img > > title Xen-2.0 / XenLnux 2.6 > > root (hd1,0) > > kernel /xen-2.0.7.gz dom0_mem=131072 com1=115200,8n1 > > module /vmlinuz-2.6.11.12-xen0 root=/dev/VolGroup00/LogVol00 ro > console= tty0 > > module /initrd-2.6.11-1.1369_FC4.img > > > > > > - CD_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users