A buddy suggested I should try a different way, using a Centos
kernel+ramdisk directly instead of trying to dig for it.
mount -o loop CentOS-6.0-x86_64-netinstall.iso /mnt/Centos6
cp -a /mnt/Centos6/isolinux/{vmlinuz,initrd.img} /stor/
Using this config file
cat /stor/centos6.cfg
name = 'centos6'
builder = 'linux'
kernel = '/stor/vmlinuz'
ramdisk = '/stor/initrd.img'
maxmem = 1024
memory = 1024
disk = [ 'file:/stor/CentOS-6.0-x86_64-netinstall.iso,hdc:cdrom,r',
'phy:/dev/VG0/centos6,xvda,w']
vif = [ '' ]
vfb = [ 'type=vnc, vncdisplay=1, vnclisten=127.0.0.1' ]
extra = 'textmode=1 xencons=xvc0'
on_crash = 'destroy'
on_reboot = 'restart'
on_shutdown = 'destroy'
localtime = 0
Then 'xmcreate -c /stor/centos6.cfg' crashes at "kernel BUG at
fs/sysfs/group.c:65!;Kernel panic - not syncing: Fatal exception". The
console output is below.
I'm stumped for now. I searched online for Centos6, Opensuse, Xen, etc.
I haven't found a working cfg yet.
Greg
CONSOLE OUTPUT - "xmcreate -c /stor/centos6.cfg"
Using config file "/stor/centos6.cfg".
Started domain centos6 (id=10)
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.32-71.el6.x86_64 (mockbuild@c6b6.centos.org) (gcc
version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) ) #1 SMP Fri May 20
03:51:51 BST 2011
Command line: textmode=1 xencons=xvc0 noirqdebug elevator=noop
KERNEL supported cpus:
Intel GenuineIntel
AMD AuthenticAMD
Centaur CentaurHauls
ACPI in unprivileged domain disabled
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 00000000000a0000 (usable)
Xen: 00000000000a0000 - 0000000000100000 (reserved)
Xen: 0000000000100000 - 0000000040000000 (usable)
DMI not present or invalid.
last_pfn = 0x40000 max_arch_pfn = 0x400000000
init_memory_mapping: 0000000000000000-0000000040000000
RAMDISK: 01cbf000 - 052bf000
No NUMA configuration found
Faking a node at 0000000000000000-0000000040000000
Bootmem setup node 0 0000000000000000-0000000040000000
NODE_DATA [0000000000008000 - 000000000003bfff]
bootmap [000000000003c000 - 0000000000043fff] pages 8
(7 early reservations) ==> bootmem [0000000000 - 0040000000]
#0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 -
0000001000]
#1 [00054c2000 - 00054f1000] XEN PAGETABLES ==> [00054c2000 -
00054f1000]
#2 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 -
0000008000]
#3 [0001000000 - 0001c9eff8] TEXT DATA BSS ==> [0001000000 -
0001c9eff8]
#4 [0001cbf000 - 00052bf000] RAMDISK ==> [0001cbf000 -
00052bf000]
#5 [00052bf000 - 00054c2000] XEN START INFO ==> [00052bf000 -
00054c2000]
#6 [0000100000 - 00002d0000] PGTABLE ==> [0000100000 -
00002d0000]
Zone PFN ranges:
DMA 0x00000001 -> 0x00001000
DMA32 0x00001000 -> 0x00100000
Normal 0x00100000 -> 0x00100000
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0x00000001 -> 0x000000a0
0: 0x00000100 -> 0x00040000
SFI: Simple Firmware Interface v0.7 http://simplefirmware.org
SMP: Allowing 2 CPUs, 0 hotplug CPUs
No local APIC present
APIC: disable apic facility
PM: Registered nosave memory: 00000000000a0000 - 0000000000100000
Allocating PCI resources starting at 40000000 (gap: 40000000:c0000000)
Booting paravirtualized kernel on Xen
Xen version: 4.1.2_01-143.1 (preserve-AD)
NR_CPUS:4096 nr_cpumask_bits:2 nr_cpu_ids:2 nr_node_ids:1
PERCPU: Embedded 31 pages/cpu @ffff880005527000 s95064 r8192 d23720
u126976
pcpu-alloc: s95064 r8192 d23720 u126976 alloc=31*4096
pcpu-alloc: [0] 0 [0] 1
Xen: using vcpu_info placement
Built 1 zonelists in Node order, mobility grouping on. Total pages:
257996
Policy zone: DMA32
Kernel command line: textmode=1 xencons=xvc0 noirqdebug elevator=noop
IRQ lockup detection disabled
PID hash table entries: 4096 (order: 3, 32768 bytes)
Checking aperture...
No AGP bridge found
AMD-Vi disabled by default: pass amd_iommu=on to enable
Memory: 960752k/1048576k available (4935k kernel code, 388k absent,
87436k reserved, 3927k data, 1220k init)
Hierarchical RCU implementation.
NR_IRQS:33024 nr_irqs:288
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 2806.450 MHz processor.
Calibrating delay loop (skipped), value calculated using timer
frequency.. 5612.90 BogoMIPS (lpj=2806450)
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 ns
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
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
Performance Events:
no APIC, boot with the "lapic" boot parameter to force-enable it.
no hardware sampling interrupt available.
AMD PMU driver.
... version: 0
... bit width: 48
... generic registers: 4
... value mask: 0000ffffffffffff
... max period: 00007fffffffffff
... fixed-purpose events: 0
... event mask: 000000000000000f
alternatives: switching to unfair spinlock
SMP alternatives: switching to UP code
ftrace: converting mcount calls to 0f 1f 44 00 00
ftrace: allocating 20276 entries in 80 pages
installing Xen timer for CPU 1
SMP alternatives: switching to SMP code
Brought up 2 CPUs
devtmpfs: initialized
Grant table initialized
regulator: core version 0.5
NET: Registered protocol family 16
PCI: Fatal: No config space access function found
bio: create slab <bio-0> at 0
ACPI: Interpreter disabled.
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: 32768 (order: 6, 262144 bytes)
TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
NET: Registered protocol family 1
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 55296k freed
platform rtc_cmos: registered platform RTC device (no PNP device found)
audit: initializing netlink socket (disabled)
type=2000 audit(1316458768.773: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 1984
alg: No test for stdrng (krng)
ksign: Installing public key data
Loading keyring
- Added public key B5BD89AA2E85EC04
- User ID: Red Hat, Inc. (Kernel Module GPG key)
- Added public key D4A26C9CCD09BEDA
- User ID: Red Hat Enterprise Linux Driver Update Program