On 17/10/2007, <b class="gmail_sendername">Daniel P. Berrange</b> &lt;<a href="mailto:berrange@redhat.com">berrange@redhat.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Change this to&nbsp;&nbsp; &#39;sdl=0&#39;&nbsp;&nbsp;and add &#39;vnc=1&#39;.&nbsp;&nbsp;This will make Xen start a<br>VNC server in the Dom0 host to which you can connect &amp; view the guest<br>installer.</blockquote><div><br>It didn&#39;t start anything that listens on any port on the Dom0 machine. I added &quot;vncviewer=1&quot; and that started a vncviewer but I&#39;m not clear how am I supposed to connect to it.
<br><br>Anyway, from more googl&#39;ing I was reminded about &quot;xm console&quot; and attached below is the output from when I invoke it - it looks like the guest kernel doesn&#39;t find some important devices and then just sits there without completing the boot process.
<br><br>From Googl&#39;ing the error it sounds like the initrd (or the /lib/modules directory on the Xen Guest&#39;s filesystem?) is missing some xen-related device modules but installing <a style="" href="http://mirror.bytemark.co.uk/fedora/linux/releases/7/Fedora/x86_64/os/Fedora/kernel-xen-2.6.20-2925.9.fc7.x86_64.rpm">
kernel-xen-2.6.20-2925.9.fc7.x86_64.rpm</a> 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.<br><br>What could be the problem now?
<br><br>Here is my current config file:<br><br>kernel = &#39;/boot/fc7-xen-vmlinuz&#39;<br>ramdisk = &#39;/boot/fc7-xen-initrd.img&#39;<br>memory = 256<br>name = &#39;fc7-01&#39;<br>root = &#39;/dev/hda ro&#39;<br>vif = [&#39;type=ioemu, bridge=xenbr0&#39;]
<br>disk = [&#39;phy:/dev/xen/fc7-01,ioemu:hda,w&#39;]<br>cdrom = &#39;file://root/iso/fc7/i386/boot.iso&#39;<br>device_model=&#39;/usr/lib/xen-3.0.3-1/bin/qemu-dm&#39;<br>boot=&#39;d&#39;<br><br>Thanks,<br><br>--Amos<br>
<br># xm console 46<br>Linux version 2.6.20-2925.9.fc7xen (<a href="mailto:kojibuilder@xenbuilder1.fedora.redhat.com">kojibuilder@xenbuilder1.fedora.redhat.com</a>) (gcc version 4.1.2 20070502 (Red Hat 4.1.2-12)) #1 SMP Tue May 22 09:29:36 EDT 2007
<br>Command line:&nbsp; root=/dev/hda ro<br>BIOS-provided physical RAM map:<br>&nbsp;Xen: 0000000000000000 - 0000000010800000 (usable)<br>end_pfn_map = 67584<br>Zone PFN ranges:<br>&nbsp; DMA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 -&gt;&nbsp;&nbsp;&nbsp; 67584<br>&nbsp; DMA32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 67584 -&gt;&nbsp;&nbsp;&nbsp; 67584
<br>&nbsp; Normal&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 67584 -&gt;&nbsp;&nbsp;&nbsp; 67584<br>early_node_map[1] active PFN ranges<br>&nbsp;&nbsp;&nbsp; 0:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 -&gt;&nbsp;&nbsp;&nbsp; 67584<br>No mptable found.<br>PERCPU: Allocating 26368 bytes of per cpu data<br>Built 1 zonelists.&nbsp; Total pages: 65427
<br>Kernel command line:&nbsp; root=/dev/hda ro<br>Initializing CPU#0<br>PID hash table entries: 1024 (order: 10, 8192 bytes)<br>Xen reported: 2133.408 MHz processor.<br>Console: colour dummy device 80x25<br>Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
<br>Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)<br>Software IO TLB disabled<br>Memory: 244900k/270336k available (2207k kernel code, 16928k reserved, 1347k data, 192k init)<br>Calibrating delay using timer specific routine.. 
5335.94 BogoMIPS (lpj=10671882)Security Framework v1.0.0 initialized<br>SELinux:&nbsp; Initializing.<br>SELinux:&nbsp; Starting in permissive mode<br>selinux_register_security:&nbsp; Registering secondary module capability<br>Capability LSM initialized as secondary
<br>Mount-cache hash table entries: 256<br>CPU: L1 I cache: 32K, L1 D cache: 32K<br>CPU: L2 cache: 2048K<br>CPU: Physical Processor ID: 0<br>CPU: Processor Core ID: 0<br>(SMP-)alternatives turned off<br>Brought up 1 CPUs<br>
Grant table initialized<br>NET: Registered protocol family 16<br>Brought up 1 CPUs<br>PCI: Fatal: No config space access function found<br>PCI: setting up Xen PCI frontend stub<br>ACPI: Interpreter disabled.<br>Linux Plug and Play Support 
v0.97 (c) Adam Belay<br>pnp: PnP ACPI: disabled<br>xen_mem: Initialising balloon driver.<br>usbcore: registered new interface driver usbfs<br>usbcore: registered new interface driver hub<br>usbcore: registered new device driver usb
<br>PCI: System does not support PCI<br>PCI: System does not support PCI<br>NetLabel: Initializing<br>NetLabel:&nbsp; domain hash size = 128<br>NetLabel:&nbsp; protocols = UNLABELED CIPSOv4<br>NetLabel:&nbsp; unlabeled traffic allowed by default
<br>NET: Registered protocol family 2<br>IP route cache hash table entries: 2048 (order: 2, 16384 bytes)<br>TCP established hash table entries: 8192 (order: 6, 262144 bytes)<br>TCP bind hash table entries: 4096 (order: 5, 131072 bytes)
<br>TCP: Hash tables configured (established 8192 bind 4096)<br>TCP reno registered<br>checking if image is initramfs... it is<br>Freeing initrd memory: 7233k freed<br>IA-32 Microcode Update Driver: v1.14-xen &lt;<a href="mailto:tigran@veritas.com">
tigran@veritas.com</a>&gt;<br>audit: initializing netlink socket (disabled)<br>audit(1192635835.496:1): initialized<br>VFS: Disk quotas dquot_6.5.1<br>Dquot-cache hash table entries: 512 (order 0, 4096 bytes)<br>SELinux:&nbsp; Registering netfilter hooks
<br>io scheduler noop registered<br>io scheduler anticipatory registered<br>io scheduler deadline registered<br>io scheduler cfq registered (default)<br>pci_hotplug: PCI Hot Plug PCI Core version: 0.5<br>rtc: IRQ 8 is not free.
<br>Non-volatile memory driver v1.2<br>Linux agpgart interface v0.101 (c) Dave Jones<br>RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize<br>input: Macintosh mouse button emulation as /class/input/input0
<br>Xen virtual console successfully installed as xvc0<br>Event-channel device installed.<br>usbcore: registered new interface driver libusual<br>usbcore: registered new interface driver hiddev<br>usbcore: registered new interface driver usbhid
<br>drivers/usb/input/hid-core.c: v2.6:USB HID core driver<br>PNP: No PS/2 controller found. Probing ports directly.<br>i8042.c: No controller found.<br>mice: PS/2 mouse device common for all mice<br>TCP bic registered<br>
Initializing XFRM netlink socket<br>NET: Registered protocol family 1<br>NET: Registered protocol family 17<br>XENBUS: Device with no driver: device/vbd/768<br>XENBUS: Device with no driver: device/vif/0<br>Write protecting the kernel read-only data: 938k
<br><br></div></div>