I am running Xen 4.0.0 with kernel 3.0.1.stk64.
I have a simple config file to create DomU but failed.
I have included config file and output message.
Do I have to have ramdisk? How could I create/get one?
Please help Thanks.
Vic
------------------------------------------------------------------
The config file is:
kernel = "/boot/vmlinuz-3.0.1.stk64"
#ramdisk = "/boot/initrd-2.6.32.12-0.7-default"
memory =128
vcpus = '2'
name = "xen-test"
root = '/dev/xvda1 ro'
disk = [
'file:/home/domains/nvidia/XenGuest1.img,xvda1,w',
]
_-------------------------------------------------------------
linux:/etc/xen # xm create -c nvidia.cfg
Using config file "./nvidia.cfg".
Started domain xen-vm6 (id=8)
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 3.0.1.stk64 (dfn@xxxxxxxxxxxxxxxxxxxxx) (gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC) ) #1 SMP Sat Aug 13 12:53:46 EDT 2011
Command line: root=/dev/xvda1 ro
ACPI in unprivileged domain disabled
released 0 pages of unused memory
Set 0 page(s) to 1-1 mapping.
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 00000000000a0000 (usable)
Xen: 00000000000a0000 - 0000000000100000 (reserved)
Xen: 0000000000100000 - 0000000008800000 (usable)
NX (Execute Disable) protection: active
DMI not present or invalid.
No AGP bridge
found
last_pfn = 0x8800 max_arch_pfn = 0x400000000
init_memory_mapping: 0000000000000000-0000000008800000
No NUMA configuration found
Faking a node at 0000000000000000-0000000008800000
Initmem setup node 0 0000000000000000-0000000008800000
NODE_DATA [0000000007fec000 - 0000000007ffffff]
Zone PFN ranges:
DMA 0x00000010 -> 0x00001000
DMA32 0x00001000 -> 0x00100000
Normal empty
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0x00000010 -> 0x000000a0
0: 0x00000100 -> 0x00008800
SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
SMP: Allowing 2 CPUs, 0 hotplug CPUs
No local APIC present
APIC: disable apic facility
APIC: switched to apic NOOP
PM: Registered nosave memory: 00000000000a0000 - 0000000000100000
Allocating PCI
resources starting at 8800000 (gap: 8800000:f7800000)
Booting paravirtualized kernel on Xen
Xen version: 4.0.0_21091_04-0.2 (preserve-AD)
setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:2 nr_node_ids:1
PERCPU: Embedded 27 pages/cpu @ffff880007f4d000 s78400 r8192 d24000 u110592
Built 1 zonelists in Node order, mobility grouping on. Total pages: 34223
Policy zone: DMA32
Kernel command line: root=/dev/xvda1 ro
PID hash table entries: 1024 (order: 1, 8192 bytes)
Checking aperture...
No AGP bridge found
Memory: 116580k/139264k available (4501k kernel code, 448k absent, 22236k reserved, 2929k data, 920k init)
SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:16640 nr_irqs:288 16
Console: colour dummy device 80x25
console [tty0] enabled
console [hvc0] enabled
allocated 2097152 bytes of page_cgroup
please try
'cgroup_disable=memory' option if you don't want memory cgroups
installing Xen timer for CPU 0
Detected 2926.028 MHz processor.
Calibrating delay loop (skipped), value calculated using timer frequency.. 5852.05 BogoMIPS (lpj=2926028)
pid_max: default: 32768 minimum: 301
Security Framework initialized
SELinux: Initializing.
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount-cache hash table entries: 256
Initializing cgroup subsys cpuacct
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys net_cls
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
SMP alternatives: switching to UP code
ftrace: allocating 23941 entries in 94 pages
Performance Events: unsupported p6 CPU model 23 no PMU driver, software events only.
installing Xen
timer for CPU 1
SMP alternatives: switching to SMP code
Brought up 2 CPUs
devtmpfs: initialized
Grant table initialized
print_constraints: dummy:
Time: 165:165:165 Date: 165/165/65
NET: Registered protocol family 16
PCI: setting up Xen PCI frontend stub
bio: create slab <bio-0> at 0
ACPI: Interpreter disabled.
xen/balloon: Initialising balloon driver.
last_pfn = 0x8800 max_arch_pfn = 0x400000000
xen-balloon: Initialising balloon driver.
vgaarb: loaded
SCSI subsystem initialized
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
Switching to clocksource xen
Switched to NOHz mode on CPU #0
CE: xen increased min_delta_ns to 150000 nsec
CE: xen increased min_delta_ns to 225000 nsec
CE: xen
increased min_delta_ns to 337500 nsec
CE: xen increased min_delta_ns to 506250 nsec
CE: xen increased min_delta_ns to 759375 nsec
CE: xen increased min_delta_ns to 1000000 nsec
CE: Reprogramming failure. Giving up
CE: Reprogramming failure. Giving up
hrtimer: interrupt took 4327 ns
Switched to NOHz mode on CPU #1
CE: xen increased min_delta_ns to 150000 nsec
CE: xen increased min_delta_ns to 225000 nsec
CE: xen increased min_delta_ns to 337500 nsec
CE: xen increased min_delta_ns to 506250 nsec
CE: xen increased min_delta_ns to 759375 nsec
CE: xen increased min_delta_ns to 1000000 nsec
CE: Reprogramming failure. Giving up
CE: Reprogramming failure. Giving up
CE: Reprogramming failure. Giving up
pnp: PnP ACPI: disabled
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 2, 16384 bytes)
TCP established hash table entries: 8192 (order: 5, 131072 bytes)
TCP bind hash
table entries: 8192 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
UDP hash table entries: 128 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
NET: Registered protocol family 1
platform rtc_cmos: registered platform RTC device (no PNP device found)
CE: Reprogramming failure. Giving up
audit: initializing netlink socket (disabled)
type=2000 audit(1317642681.533:1): initialized
HugeTLB registered 2 MB page size, pre-allocated 0 pages
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
msgmni has been set to 227
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version:
0.4
acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled