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

Re: [Xen-users] Xen Woes



Try removing the root= entry and the first disk= line.  You are
kickstarting off a URL so you shouldn't need either of them.

On Wed, 2009-02-18 at 17:52 +0000, Andrew Thomas wrote:
> Hi,
> 
> I am trying to set up a Xen based virtual server. I have rebooted the machine 
> into the xen kernel and set everything up, I am at the point (or rather have 
> been for the last few days) at setting up a DomU. I have created the config 
> file (attached below) yet when I start the DomU up I can't see any disk 
> drives, CD drives or get a network connection, there is no dhcp server in 
> this setup.
> 
> 
> ---- Start Config File  ------
> 
> 
> kernel = "/media/CentOS/vmlinuz-xen-kernel"
> ramdisk = "/media/CentOS/initrd-xen-install.img"
> #extra = "text"
> extra = "text ks=http://131.251.200.2/kickstart.cfg";
> builder='linux'
> memory = "2048"
> name = "delta"
> cpus = ""         # leave to Xen to pick
> vcpus = "2"
> vif= ['bridge=xenbr0',]
> 
> ip="85.159.63.150"
> netmask="255.255.255.192"
> gateway="85.159.63.131"
> dhcp="off"
> 
> disk = ['file:/media/CentOS/CentOS-5.2-x86_64-bin-DVD.iso,hdc:cdrom,r']
> disk = ['phy:/dev/xen/deltasda,xvda,w','phy:/dev/xen/deltasdb,xvdb,w']
> root = "/dev/xvda"
> on_poweroff = 'destroy'
> on_reboot   = 'restart'
> on_crash    = 'restart'
> 
> 
> ---- End Config File  ------
> 
>  I downloaded the kernel and initrd file from CentOS for the DomU at:
> 
> http://mirror.centos.org/centos/5/os/x86_64/images/xen/
> 
> I am having to do this by the command line and the bootup for the machine is:
> 
> Bootdata ok (command line is  
> ip=85.159.63.150:1.2.3.4:85.159.63.131:255.255.255.192::eth0:off 
> root=/dev/xvda text ks=http://131.251.200.2/kickstart.cfg)
> 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 - 0000000080800000 (usable)
> No mptable found.
> Built 1 zonelists.  Total pages: 526336
> Kernel command line:  
> ip=85.159.63.150:1.2.3.4:85.159.63.131:255.255.255.192::eth0:off 
> root=/dev/xvda text ks=http://131.251.200.2/kickstart.cfg
> Initializing CPU#0
> PID hash table entries: 4096 (order: 12, 32768 bytes)
> Xen reported: 2500.086 MHz processor.
> Console: colour dummy device 80x25
> Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
> Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
> Software IO TLB disabled
> Memory: 2040320k/2105344k available (2414k kernel code, 56172k reserved, 
> 1349k data, 176k init)
> Calibrating delay using timer specific routine.. 6253.07 BogoMIPS 
> (lpj=12506158)
> 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: 3
> (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 3F7A0 could not 
> acquire Mutex [2] [20060707]
> No dock devices found.
> ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 3F7A0 could not 
> acquire Mutex [2] [20060707]
> Initializing CPU#1
> migration_cost=8182
> 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: 131072 (order: 8, 1048576 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(1234982535.944: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  
> ip=85.159.63.150:1.2.3.4:85.159.63.131:255.255.255.192::eth0:off 
> root=/dev/xvda text ks=http://131.251.200.2/kickstart.cfg)
> 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 - 0000000080800000 (usable)
> No mptable found.
> Built 1 zonelists.  Total pages: 526336
> Kernel command line:  
> ip=85.159.63.150:1.2.3.4:85.159.63.131:255.255.255.192::eth0:off 
> root=/dev/xvda text ks=http://131.251.200.2/kickstart.cfg
> Initializing CPU#0
> PID hash table entries: 4096 (order: 12, 32768 bytes)
> Xen reported: 2500.086 MHz processor.
> Console: colour dummy device 80x25
> Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
> Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
> Software IO TLB disabled
> Memory: 2040320k/2105344k available (2414k kernel code, 56172k reserved, 
> 1349k data, 176k init)
> Calibrating delay using timer specific routine.. 6253.07 BogoMIPS 
> (lpj=12506158)
> 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: 3
> (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 3F7A0 could not 
> acquire Mutex [2] [20060707]
> No dock devices found.
> ACPI Exception (utmutex-0262): AE_BAD_PARAMETER, Thread 3F7A0 could not 
> acquire Mutex [2] [20060707]
> Initializing CPU#1
> migration_cost=8182
> 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: 131072 (order: 8, 1048576 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(1234982535.944: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.
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
> ide-floppy driver 0.99.newide
> usbcore: registered new driver hiddev
> usbcore: registered new driver usbhid
> drivers/usb/input/hid-core.c: v2.6:USB HID core driver
> Welcome to CentOS
> --
> 
> -- 
> Andrew Thomas (Sales Director)
>   andrew@xxxxxxxxxxxxxxxxxxxxx
> -- 
>   JAB Web Solutions Limited
> t: 0800 043 0153 -- 029 2000 6496 (Direct)
> f: 0870 622 0158
> a: Suite 145
>   61 Wellfield Road
>   Cardiff
>   CF24 3DG
> -- 
> This email & it's attachments are confidential (if is not address to you, 
> their disclosure and/or distribution is strictly prohibited), may contain 
> personal views which are not those of JAB Web Solutions (unless specifically 
> stated) and responsibility for loss or damage caused by them cannot be 
> accepted by JAB Web Solutions.
> -- 
> JAB Web Solutions Limited is registered company 5191094 in England & Wales 
> and is also registered with HMRC for VAT (number 840666814)


_______________________________________________
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®.