Re: [Fedora-xen] 2.6.38-rc dom0 kernel and xen 4.1.0-rc2

2011-01-31 Thread Pasi Kärkkäinen
On Sun, Jan 30, 2011 at 11:52:56PM +, M A Young wrote:
 On Sun, 30 Jan 2011, W. Michael Petullo wrote:
 
  I have finally got a domU to boot in this sort of situation, having
  found a few bugs in 4.1.0-rc2 on the way when trying to use pygrub
  as a bootloader. Note that you may have to use xl rather than xm
  because they are deprecating xm and xm may not have support for qemu
  block backends.
 
  Does anyone know where I can find documentatin on domain configuration
  for xl? There does not seem to be a man page and a review of the Xen Wiki
  did not find authoritative documentation. I am trying to figure out how
  to write an xl configuration, i.e., rewrite xmexample1 to work with xl.
 
 It is supposed to be a direct replacement for xm, the idea being for 
 configuration files for xm to work for xl, though not necessarily the 
 other way around. In practice, you can still find stuff that doesn't yet 
 work.
 

With the exception that xl doesn't support embedded python code
in the cfgfiles.

-- Pasi

--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen


Re: [Fedora-xen] 2.6.38-rc dom0 kernel and xen 4.1.0-rc2

2011-01-31 Thread W. Michael Petullo
 I have finally got a domU to boot in this sort of situation, having
 found a few bugs in 4.1.0-rc2 on the way when trying to use pygrub
 as a bootloader. Note that you may have to use xl rather than xm
 because they are deprecating xm and xm may not have support for qemu
 block backends.

 Does anyone know where I can find documentatin on domain configuration
 for xl? There does not seem to be a man page and a review of the Xen Wiki
 did not find authoritative documentation. I am trying to figure out how
 to write an xl configuration, i.e., rewrite xmexample1 to work with xl.

 It is supposed to be a direct replacement for xm, the idea being for 
 configuration files for xm to work for xl, though not necessarily the 
 other way around. In practice, you can still find stuff that doesn't yet 
 work.

 With the exception that xl doesn't support embedded python code
 in the cfgfiles.

I am able to boot a DomU kernel using
xl with xen-4.1.0-0.1.rc2.fc14.x86_64 and
kernel-2.6.38-0.rc2.git3.2.xendom0.fc15.x86_64. Both block and network
devices work.

-- 
Mike

:wq
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen


Re: [Fedora-xen] 2.6.38-rc dom0 kernel and xen 4.1.0-rc2

2011-01-31 Thread Boris Derzhavets
Attempt to create F14 DomU :

name=VF14
memory=2048
disk = ['file:/tmp/disk1.img,xvda,w' ]
vif = [ 'bridge=br0' ]
# vfb = [ 'type=vnc,vncunused=1']
kernel = /home/boris/fedora/vmlinuz
ramdisk = /home/boris/fedora/initrd.img
vcpus=2
on_reboot = 'restart'
on_crash = 'restart'

# xl create -c f14.install
Parsing config file f14.install
Daemon running with PID 3311
    [    0.00] Initializing cgroup subsys cpuset
[    0.00] Initializing cgroup subsys cpu
[    0.00] Linux version 2.6.35.6-45.fc14.x86_64
 (mockbu...@x86-02.phx2.fedoraproject.org) (gcc version 4.5.1 20100924 (Red Hat 
4.5.1-4) (GCC) ) #1 SMP Mon Oct 18 23:57:44 UTC 2010
[    0.00] Command line: 
[    0.00] ACPI in unprivileged domain disabled
[    0.00] BIOS-provided physical RAM map:
[    0.00]  Xen:  - 000a (usable)
[    0.00]  Xen: 000a - 0010 (reserved)
[    0.00]  Xen: 0010 - 8000 (usable)
[    0.00] NX (Execute Disable) protection: active
[    0.00] DMI not present or invalid.
[    0.00] No AGP bridge found
[    0.00] last_pfn = 0x8 max_arch_pfn = 0x4
[    0.00] init_memory_mapping: -8000
[   
 0.00] RAMDISK: 01e63000 - 058c
[    0.00] No NUMA configuration found
[    0.00] Faking a node at -8000
[    0.00] Initmem setup node 0 -8000
[    0.00]   NODE_DATA [01e42880 - 01e5687f]
[    0.00]   bootmap [05cf6000 -  05d05fff] pages 10
[    0.00] (9/32 early reservations) == bootmem [00 - 008000]
[    0.00]   #0 [0005cc3000 - 0005cf6000]   XEN PAGETABLES == [0005cc3000 
- 0005cf6000]
[    0.00]   #1 [000100 - 0001e42878]    TEXT DATA BSS == [000100 
- 0001e42878]
[    0.00]   #2 [0001e63000 -
 00058c]  RAMDISK == [0001e63000 - 00058c]
[    0.00]   #3 [00058c - 0005cc3000]   XEN START INFO == [00058c 
- 0005cc3000]
[    0.00]   #4 [001000 - 003000]   TRAMPOLINE == [001000 
- 003000]
[    0.00]   #5 [003000 - 007000]  ACPI WAKEUP == [003000 
- 007000]
[    0.00]   #6 [10 - 4cd000]  PGTABLE == [10 
- 4cd000]
[    0.00]   #7 [0001e42880 - 0001e56880]    NODE_DATA == [0001e42880 
- 0001e56880]
[    0.00]   #8 [0005cf6000 -
 0005d06000]  BOOTMAP == [0005cf6000 - 0005d06000]
[    0.00] Zone PFN ranges:
[    0.00]   DMA  0x0001 - 0x1000
[    0.00]   DMA32    0x1000 - 0x0010
[    0.00]   Normal   empty
[    0.00] Movable zone start PFN for each node
[    0.00] early_node_map[2] active PFN ranges
[    0.00] 0: 0x0001 - 0x00a0
[    0.00] 0: 0x0100 - 0x0008
[    0.00] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
[    0.00] SMP: Allowing 2 CPUs, 0 hotplug CPUs
[    0.00] No local APIC
 present
[    0.00] APIC: disable apic facility
[    0.00] APIC: switched to apic NOOP
[    0.00] PM: Registered nosave memory: 000a - 0010
[    0.00] Allocating PCI resources starting at 8000 (gap: 
8000:8000)
[    0.00] Booting paravirtualized kernel on Xen
[    0.00] Xen version: 4.1.0-rc2 (preserve-AD)
[    0.00] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:2 
nr_node_ids:1
[    0.00] PERCPU: Embedded 30 pages/cpu @880005d3c000 s90496 r8192 
d24192 u122880
[    0.00] pcpu-alloc: s90496 r8192 d24192 u122880 alloc=30*4096
[    0.00] pcpu-alloc: [0] 0 [0] 1 
[    0.00] Xen: using vcpu_info placement
[    0.00] Built 1 zonelists in Node order,
 mobility grouping on.  Total pages: 516044
[    0.00] Policy zone: DMA32
[    0.00] Kernel command line: 
[    0.00] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.00] Checking aperture...
[    0.00] No AGP bridge found
[    0.00] Memory: 1984848k/2097152k available (4548k kernel code, 388k 
absent, 111916k reserved, 7261k data, 944k init)
[    0.00] SLUB: Genslabs=14, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 
Nodes=1
[    0.00] Hierarchical RCU implementation.
[    0.00]     RCU dyntick-idle grace-period acceleration is enabled.
[    0.00]     RCU-based detection of stalled CPUs is disabled.
[    0.00]     Verbose stalled-CPUs detection is
 disabled.
[    0.00] NR_IRQS:16640 nr_irqs:288
[    0.00] Console: colour dummy device 80x25
[    0.00] console [tty0] enabled
[    0.00] console [hvc0] enabled
[    0.00] allocated 20971520 bytes of page_cgroup
[    0.00] please try 'cgroup_disable=memory' option if you don't want 
memory cgroups
[    0.00] installing Xen timer for CPU 0
[    0.00] Detected 2833.086 MHz processor.
[    0.000999] Calibrating delay loop (skipped), value