On 17/10/2007, Daniel P. Berrange <berrange@redhat.com> wrote:
Change this to   'sdl=0'  and add 'vnc=1'.  This will make Xen start a
VNC server in the Dom0 host to which you can connect & view the guest
installer.

It didn't start anything that listens on any port on the Dom0 machine. I added "vncviewer=1" and that started a vncviewer but I'm not clear how am I supposed to connect to it.

Anyway, from more googl'ing I was reminded about "xm console" and attached below is the output from when I invoke it - it looks like the guest kernel doesn't find some important devices and then just sits there without completing the boot process.

From Googl'ing the error it sounds like the initrd (or the /lib/modules directory on the Xen Guest's filesystem?) is missing some xen-related device modules but installing kernel-xen-2.6.20-2925.9.fc7.x86_64.rpm and trying to use the kernel and initrd image from there just causes the guest to boot in a loop too fast and causing Xen to just destroy it.

What could be the problem now?

Here is my current config file:

kernel = '/boot/fc7-xen-vmlinuz'
ramdisk = '/boot/fc7-xen-initrd.img'
memory = 256
name = 'fc7-01'
root = '/dev/hda ro'
vif = ['type=ioemu, bridge=xenbr0']
disk = ['phy:/dev/xen/fc7-01,ioemu:hda,w']
cdrom = 'file://root/iso/fc7/i386/boot.iso'
device_model='/usr/lib/xen-3.0.3-1/bin/qemu-dm'
boot='d'

Thanks,

--Amos

# xm console 46
Linux version 2.6.20-2925.9.fc7xen (kojibuilder@xenbuilder1.fedora.redhat.com) (gcc version 4.1.2 20070502 (Red Hat 4.1.2-12)) #1 SMP Tue May 22 09:29:36 EDT 2007
Command line:  root=/dev/hda ro
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000010800000 (usable)
end_pfn_map = 67584
Zone PFN ranges:
  DMA             0 ->    67584
  DMA32       67584 ->    67584
  Normal      67584 ->    67584
early_node_map[1] active PFN ranges
    0:        0 ->    67584
No mptable found.
PERCPU: Allocating 26368 bytes of per cpu data
Built 1 zonelists.  Total pages: 65427
Kernel command line:  root=/dev/hda ro
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 8192 bytes)
Xen reported: 2133.408 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
Software IO TLB disabled
Memory: 244900k/270336k available (2207k kernel code, 16928k reserved, 1347k data, 192k init)
Calibrating delay using timer specific routine.. 5335.94 BogoMIPS (lpj=10671882)Security Framework v1.0.0 initialized
SELinux:  Initializing.
SELinux:  Starting in permissive mode
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: 2048K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
(SMP-)alternatives turned off
Brought up 1 CPUs
Grant table initialized
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: Fatal: No 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 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
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 2, 16384 bytes)
TCP established hash table entries: 8192 (order: 6, 262144 bytes)
TCP bind hash table entries: 4096 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 8192 bind 4096)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 7233k freed
IA-32 Microcode Update Driver: v1.14-xen < tigran@veritas.com>
audit: initializing netlink socket (disabled)
audit(1192635835.496:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
SELinux:  Registering netfilter hooks
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
input: Macintosh mouse button emulation as /class/input/input0
Xen virtual console successfully installed as xvc0
Event-channel device installed.
usbcore: registered new interface driver libusual
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
TCP bic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
XENBUS: Device with no driver: device/vbd/768
XENBUS: Device with no driver: device/vif/0
Write protecting the kernel read-only data: 938k