[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] boot DomU using Dom0 Kernel? -- Sisu
Hi, all: I installed Xen 4.1.2 compiled from source, Dom0 is CentOS 6.2, using Linux kernel 3.4.0 compiled from source, after the rt-patch. Now I want to boot DomU using the patched Dom0 Kernel, my configuration file looks like: name="vm1" vcpus=1 cpus="1" memory=512 disk=['file:/home/xisisu/Desktop/VM/vm1.img,xvda,w'] vif=['bridge=eth0'] kernel="/boot/vmlinuz-3.4.0-rt7" extra="ro root=/dev/mapper/vg_null001cc0b1994f-lv_root rd_NO_LUKS rd_LVM_LV=vg_null001cc0b1994f/lv_swap LANG=en_US.UTF-8 rd_LVM_LV=vg_null001cc0b1994f/lv_root rd_NO_MD SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM" on_reboot='restart' on_crash='restart' The item in menu.lst looks like: title CentOS (3.4.0-rt7) root (hd0,0) kernel /vmlinuz-3.4.0-rt7 ro root=/dev/mapper/vg_null001cc0b1994f-lv_root rd_NO_LUKS rd_LVM_LV=vg_null001cc0b1994f/lv_swap LANG=en_US.UTF-8 rd_LVM_LV=vg_null001cc0b1994f/lv_root rd_NO_MD quiet SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM initrd /initramfs-3.4.0-rt7.img title Credit Xen 4.1.2, CentOS (3.4.0) root (hd0,0) kernel /xen.gz dom0_mem=2048M dom0_max_vcpus=1 dom0_vcpus_pin sched=credit module /vmlinuz-3.4.0-rt7 ro root=/dev/mapper/vg_null001cc0b1994f-lv_root rd_NO_LUKS rd_LVM_LV=vg_null001cc0b1994f/lv_swap LANG=en_US.UTF-8 rd_LVM_LV=vg_null001cc0b1994f/lv_root rd_NO_MD SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM module /initramfs-3.4.0-rt7.img However, when I boot DomU in this way, it would halt. the output is: [xisisu@null-001cc0b1994f VM]$ sudo xl create -c vm2.run Parsing config file vm2.run Daemon running with PID 4030 Initializing cgroup subsys cpuset Initializing cgroup subsys cpu Linux version 3.4.0-rt7 (xisisu@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) (gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) ) #2 SMP PREEMPT RT Wed May 23 00:03:32 CDT 2012 Command line: ro root=/dev/mapper/vg_null001cc0b1994f-lv_root rd_NO_LUKS rd_LVM_LV=vg_null001cc0b1994f/lv_swap LANG=en_US.UTF-8 rd_LVM_LV=vg_null001cc0b1994f/lv_root rd_NO_MD SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM 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 - 0000000020800000 (usable) Notice: NX (Execute Disable) protection missing in CPU! DMI not present or invalid. No AGP bridge found last_pfn = 0x20800 max_arch_pfn = 0x400000000 init_memory_mapping: 0000000000000000-0000000020800000 crashkernel: memory value expected No NUMA configuration found Faking a node at 0000000000000000-0000000020800000 Initmem setup node 0 0000000000000000-0000000020800000 NODE_DATA [000000001ffda000 - 000000001fffffff] Zone PFN ranges: DMA 0x00000010 -> 0x00001000 DMA32 0x00001000 -> 0x00100000 Normal empty Movable zone start PFN for each node Early memory PFN ranges 0: 0x00000010 -> 0x000000a0 0: 0x00000100 -> 0x00020800 SMP: Allowing 1 CPUs, 0 hotplug CPUs No local APIC present APIC: disable apic facility APIC: switched to apic NOOP Allocating PCI resources starting at 20800000 (gap: 20800000:df800000) Booting paravirtualized kernel on Xen Xen version: 4.1.2 (preserve-AD) setup_percpu: NR_CPUS:4096 nr_cpumask_bits:4096 nr_cpu_ids:1 nr_node_ids:1 PERCPU: Embedded 27 pages/cpu @ffff88001fc00000 s78592 r8192 d23808 u2097152 Built 1 zonelists in Node order, mobility grouping on. Total pages: 131186 Policy zone: DMA32 Kernel command line: ro root=/dev/mapper/vg_null001cc0b1994f-lv_root rd_NO_LUKS rd_LVM_LV=vg_null001cc0b1994f/lv_swap LANG=en_US.UTF-8 rd_LVM_LV=vg_null001cc0b1994f/lv_root rd_NO_MD SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM PID hash table entries: 4096 (order: 3, 32768 bytes) Checking aperture... No AGP bridge found Memory: 496060k/532480k available (5188k kernel code, 448k absent, 35972k reserved, 6042k data, 1496k init) Preemptible hierarchical RCU implementation. NR_IRQS:262400 nr_irqs:256 16 Console: colour dummy device 80x25 console [tty0] enabled console [hvc0] enabled allocated 10485760 bytes of page_cgroup please try 'cgroup_disable=memory' option if you don't want memory cgroups installing Xen timer for CPU 0 Detected 3378.256 MHz processor. Calibrating delay loop (skipped), value calculated using timer frequency.. 6756.51 BogoMIPS (lpj=3378256) pid_max: default: 32768 minimum: 301 Security Framework initialized SELinux: Initializing. Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) Inode-cache hash table entries: 65536 (order: 7, 524288 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 Initializing cgroup subsys blkio Initializing cgroup subsys perf_event CPU: Physical Processor ID: 0 CPU: Processor Core ID: 0 SMP alternatives: switching to UP code Freeing SMP alternatives: 16k freed ftrace: allocating 20439 entries in 80 pages cpu 0 spinlock event irq 17 Performance Events: unsupported p6 CPU model 44 no PMU driver, software events only. NMI watchdog: disabled (cpu0): hardware events not enabled Brought up 1 CPUs devtmpfs: initialized Grant tables using version 2 layout. Grant table initialized dummy: 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. xen-balloon: Initialising balloon driver. vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb 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 pnp: PnP ACPI: disabled NET: Registered protocol family 2 IP route cache hash table entries: 8192 and stops here. The xl info gives: host : null-001cc0b1994f.seas.wustl.edu release : 3.4.0-rt7 version : #2 SMP PREEMPT RT Wed May 23 00:03:32 CDT 2012 machine : x86_64 nr_cpus : 12 nr_nodes : 1 cores_per_socket : 6 threads_per_core : 2 cpu_mhz : 3378 hw_caps : bfebfbff:2c000800:00000000:00003f40:029ae3bf:00000000:00000001:00000000 virt_caps : hvm hvm_directio total_memory : 12277 free_memory : 9550 free_cpus : 0 xen_major : 4 xen_minor : 1 xen_extra : .2 xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : unavailable xen_commandline : dom0_mem=2048M dom0_max_vcpus=1 dom0_vcpus_pin sched=credit cc_compiler : gcc version 4.4.6 20110731 (Red Hat 4.4.6-3) (GCC) cc_compile_by : xisisu cc_compile_domain : seas.wustl.edu cc_compile_date : Tue May 22 16:39:08 CDT 2012 xend_config_format : 4 Could anyone help with this? Thanks in advance. Best! Yours, Sisu _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |