OpenSolaris

Discussions Communities Projects Download Source Browser

Home » OpenSolaris Forums » xen » discuss

Thread: Install Ubuntu 8.10 PV guest from (new) CD image

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 10 - Last Post: Dec 24, 2008 8:14 AM by: foliver Threads: [ Previous | Next ]
foliver

Posts: 42
From:

Registered: 12/19/06
Install Ubuntu 8.10 PV guest from (new) CD image
Posted: Nov 20, 2008 11:09 AM
To: Communities » xen » discuss
  Click to reply to this thread Reply

I have installed an Ubuntu 8.10 PV guest directly from a CD image without
going through an HV install first (except to create the CD image). Once the
CD image is created, installs seem quick and clean. On AMD, but not
Intel. Help??

This is based on Nevada build 101a.

(1) Create a suitable CD image

I took the standard ubuntu-8.10-server-amd64.iso image and modified it
using uck scripts (http://uck.sf.net). The changes are to include the xen
drivers in the initrd image and to add /etc/event.d/hvc0 to start a getty
for the console. (I did this in an Ubuntu 8.10 HV guest.)

(2) Modify /usr/lib/python2.4/vendor-packages/virtinst/OSDistro.py

Add a hack to allow it to find the Ubuntu kernel and initrd files, and to
extract and unzip the kernel.

(3) Modify usr/lib/xen/bin/pygrub

Add a hack extract and unzip the kernel so that it can be loaded.

(4) Modify usr/lib/fs/ext2fs/fsimage.so

Update to allow it to read ext2/3 partitions with a non-standard inode
size. (Apply the diffs in solaris/grub bug 6762035 to the xvm-gate.)

I've attached the customization script and these changes....

Then virt-install from the new image ...

virt-install --name=ubuntu1 --paravirt --ram=1024 \
--file=/files/xvm_images/ubuntu1 --file-size=20 \
--location=/files/iso/ubuntu-8.10-server-amd64-pv.iso \
--nographics

and select /dev/xvdb as the cdrom device during the install.

The install works for me on two Opteron systems (one with AMD-V, one
without), but fails on two Core 2 Duo systems. Is PV supported on intel?

Any idea why?

xend.log shows "Domain has shutdown: name=ubuntu1 id=18 reason=..." when it
works (amd) and "Domain has crashed: name=ubuntu2 id=18..." when it doesn't
(intel). Copying a disk image from a working system (amd) to a non-working
system (intel) still shows "Domain has crashed" (and tr) in
the xend.log.

Fred

dbaxps

Posts: 900
From:

Registered: 3/9/07
Re: Install Ubuntu 8.10 PV guest from (new) CD image
Posted: Dec 15, 2008 8:22 AM   in response to: foliver
To: Communities » xen » discuss
  Click to reply to this thread Reply

Attempt to follow up at opensolaris 2008.11 Dom0 on C2D E8400 box.
************************************************
1. Creating PV ISO via uck scripts on Intrepid HVM
************************************************
root@IntrepidHVM:/files# ./customize
+ source_iso=/files/intrepidsrv.iso
+ dest_iso=ubuntu-8.10-server-amd64-pv.iso
+ remaster_dir=/root/tmp
+ mkdir -p /root/tmp
+ libdir=/lib/modules/2.6.27-7-server
+ driverdir=/lib/modules/2.6.27-7-server/kernel/drivers
+ modules_dep=/lib/modules/2.6.27-7-server/modules.dep
+ kbd_drv=input/xen-kbdfront.ko
+ blk_drv=block/xen-blkfront.ko
+ fb_drv=video/xen-fbfront.ko
+ net_drv=net/xen-netfront.ko
+ drivers=input/xen-kbdfront.ko block/xen-blkfront.ko video/xen-fbfront.ko net/xen-netfront.ko
+ driver_dirs=input block video net
+ uck-remaster-unpack-iso /files/intrepidsrv.iso
Removing ISO remastering dir...
Mounting ISO image...
Unpacking ISO image...
Unmounting ISO image...
+ uck-remaster-unpack-initrd
Removing initrd remastering dir...
Unpacking initrd image...
~/tmp/remaster-initrd /files
33796 blocks
/files
+ dd bs=32k skip=1 count=1
+ dd bs=8 skip=5 count=4
4+0 records in
4+0 records out
32 bytes (32 B) copied, 0.0751666 s, 0.4 kB/s
1+0 records in
1+0 records out
32768 bytes (33 kB) copied, 0.0584111 s, 561 kB/s
+ vol_id=Ubuntu-Server 8.10 amd64
+ mkdir /root/tmp/customization-scripts
mkdir: cannot create directory `/root/tmp/customization-scripts': File exists
+ echo Ubuntu-Server 8.10 amd64 PV
+ mkdir -p /root/tmp/remaster-initrd/lib/modules/2.6.27-7-server/kernel/drivers/input
+ mkdir -p /root/tmp/remaster-initrd/lib/modules/2.6.27-7-server/kernel/drivers/block
+ mkdir -p /root/tmp/remaster-initrd/lib/modules/2.6.27-7-server/kernel/drivers/video
+ mkdir -p /root/tmp/remaster-initrd/lib/modules/2.6.27-7-server/kernel/drivers/net
+ cp /lib/modules/2.6.27-7-server/kernel/drivers/input/xen-kbdfront.ko /root/tmp/remaster-initrd/lib/modules/2.6.27-7-server/kernel/drivers/input/xen- kbdfront.ko
+ echo /lib/modules/2.6.27-7-server/kernel/drivers/input/xen-kbdfront.ko:
+ cp /lib/modules/2.6.27-7-server/kernel/drivers/block/xen-blkfront.ko /root/tmp/remaster-initrd/lib/modules/2.6.27-7-server/kernel/drivers/block/xen- blkfront.ko
+ echo /lib/modules/2.6.27-7-server/kernel/drivers/block/xen-blkfront.ko:
+ cp /lib/modules/2.6.27-7-server/kernel/drivers/video/xen-fbfront.ko /root/tmp/remaster-initrd/lib/modules/2.6.27-7-server/kernel/drivers/video/xen- fbfront.ko
+ echo /lib/modules/2.6.27-7-server/kernel/drivers/video/xen-fbfront.ko:
+ cp /lib/modules/2.6.27-7-server/kernel/drivers/net/xen-netfront.ko /root/tmp/remaster-initrd/lib/modules/2.6.27-7-server/kernel/drivers/net/xen-ne tfront.ko
+ echo /lib/modules/2.6.27-7-server/kernel/drivers/net/xen-netfront.ko:
+ cat
+ chmod a+x /root/tmp/remaster-initrd/usr/lib/finish-install.d/10console
+ uck-remaster-pack-initrd
Packing initrd image...
~/tmp/remaster-initrd /files
34062 blocks
/files
+ uck-remaster-pack-iso ubuntu-8.10-server-amd64-pv.iso
Preparing directory for new files
Updating md5sums...
~/tmp/remaster-iso /files
/files
Packing ISO image...
ISO description set to: Ubuntu-Server 8.10 amd64 PV
/usr/lib/uck/remaster-live-cd.sh: line 418: mkisofs: command not found
Failed to pack ISO image, error=127
********
OOPS !!
********
root@IntrepidHVM:/files# apt-get install mkisofs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting genisoimage instead of mkisofs
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
uck: Depends: gfxboot but it is not going to be installed
Depends: dialog but it is not going to be installed or
xdialog but it is not going to be installed or
zenity but it is not going to be installed or
kdebase-bin but it is not going to be installed
Depends: squashfs-tools (>= 2.0) but it is not going to be installed
Depends: dpkg-dev but it is not going to be installed
Depends: fakeroot but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

root@IntrepidHVM:/# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
binutils build-essential dialog dpkg-dev fakeroot g++ g++-4.3 gcc gcc-4.3 genisoimage
gfxboot libc6-dev libfreetype6 libgomp1 libstdc++6-4.3-dev linux-libc-dev make
squashfs-tools
Suggested packages:
binutils-doc debian-keyring g++-multilib g++-4.3-multilib gcc-4.3-doc
libstdc++6-4.3-dbg gcc-multilib manpages-dev autoconf automake1.9 libtool flex bison
gdb gcc-doc gcc-4.3-multilib libmudflap0-4.3-dev gcc-4.3-locales libgcc1-dbg
libgomp1-dbg libmudflap0-dbg wodim cdrkit-doc gfxboot-theme-ubuntu gfxboot-theme-suse
gfxboot-theme-sles gfxboot-theme-nld glibc-doc libfreetype6-dev libstdc++6-4.3-doc
make-doc squashfs-source lzma-source
The following NEW packages will be installed:
binutils build-essential dialog dpkg-dev fakeroot g++ g++-4.3 gcc gcc-4.3 genisoimage
gfxboot libc6-dev libfreetype6 libgomp1 libstdc++6-4.3-dev linux-libc-dev make
squashfs-tools
0 upgraded, 18 newly installed, 0 to remove and 26 not upgraded.
1 not fully installed or removed.
Need to get 16.3MB of archives.
After this operation, 59.0MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://us.archive.ubuntu.com intrepid/main libfreetype6 2.3.7-2ubuntu1 [385kB]
Get:2 http://us.archive.ubuntu.com intrepid/main gfxboot 3.3.39-0ubuntu2 [82.9kB]
Get:3 http://us.archive.ubuntu.com intrepid/universe dialog 1.1-20080316-1 [275kB]
Get:4 http://us.archive.ubuntu.com intrepid/main genisoimage 9:1.1.8-1ubuntu1 [639kB]
Get:5 http://us.archive.ubuntu.com intrepid/main squashfs-tools 1:3.3-7ubuntu1 [123kB]
Get:6 http://us.archive.ubuntu.com intrepid/main make 3.81-5 [165kB]
Get:7 http://us.archive.ubuntu.com intrepid/main binutils 2.18.93.20081009-0ubuntu1 [1635kB]
Get:8 http://us.archive.ubuntu.com intrepid/main dpkg-dev 1.14.20ubuntu6 [612kB]
Get:9 http://us.archive.ubuntu.com intrepid/main fakeroot 1.9.5ubuntu1 [116kB]
Get:10 http://us.archive.ubuntu.com intrepid-updates/main linux-libc-dev 2.6.27-9.19 [653kB]
Get:11 http://us.archive.ubuntu.com intrepid/main libc6-dev 2.8~20080505-0ubuntu7 [2590kB]
Get:12 http://us.archive.ubuntu.com intrepid/main libgomp1 4.3.2-1ubuntu11 [15.6kB]
Get:13 http://us.archive.ubuntu.com intrepid/main gcc-4.3 4.3.2-1ubuntu11 [2790kB]
Get:14 http://us.archive.ubuntu.com intrepid/main gcc 4:4.3.1-1ubuntu2 [5108B]
Get:15 http://us.archive.ubuntu.com intrepid/main libstdc++6-4.3-dev 4.3.2-1ubuntu11 [1392kB]
Get:16 http://us.archive.ubuntu.com intrepid/main g++-4.3 4.3.2-1ubuntu11 [4819kB]
Get:17 http://us.archive.ubuntu.com intrepid/main g++ 4:4.3.1-1ubuntu2 [1446B]
Get:18 http://us.archive.ubuntu.com intrepid/main build-essential 11.4 [7170B]
Fetched 16.3MB in 5min31s (49.1kB/s)
Selecting previously deselected package libfreetype6.
(Reading database ... 19368 files and directories currently installed.)
Unpacking libfreetype6 (from .../libfreetype6_2.3.7-2ubuntu1_amd64.deb) ...
Selecting previously deselected package gfxboot.
Unpacking gfxboot (from .../gfxboot_3.3.39-0ubuntu2_amd64.deb) ...
Selecting previously deselected package dialog.
Unpacking dialog (from .../dialog_1.1-20080316-1_amd64.deb) ...
Selecting previously deselected package genisoimage.
Unpacking genisoimage (from .../genisoimage_9%3a1.1.8-1ubuntu1_amd64.deb) ...
Selecting previously deselected package squashfs-tools.
Unpacking squashfs-tools (from .../squashfs-tools_1%3a3.3-7ubuntu1_amd64.deb) ...
Selecting previously deselected package make.
Unpacking make (from .../archives/make_3.81-5_amd64.deb) ...
Selecting previously deselected package binutils.
Unpacking binutils (from .../binutils_2.18.93.20081009-0ubuntu1_amd64.deb) ...
Selecting previously deselected package dpkg-dev.
Unpacking dpkg-dev (from .../dpkg-dev_1.14.20ubuntu6_all.deb) ...
Selecting previously deselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_1.9.5ubuntu1_amd64.deb) ...
Selecting previously deselected package linux-libc-dev.
Unpacking linux-libc-dev (from .../linux-libc-dev_2.6.27-9.19_amd64.deb) ...
Selecting previously deselected package libc6-dev.
Unpacking libc6-dev (from .../libc6-dev_2.8~20080505-0ubuntu7_amd64.deb) ...
Selecting previously deselected package libgomp1.
Unpacking libgomp1 (from .../libgomp1_4.3.2-1ubuntu11_amd64.deb) ...
Selecting previously deselected package gcc-4.3.
Unpacking gcc-4.3 (from .../gcc-4.3_4.3.2-1ubuntu11_amd64.deb) ...
Selecting previously deselected package gcc.
Unpacking gcc (from .../gcc_4%3a4.3.1-1ubuntu2_amd64.deb) ...
Selecting previously deselected package libstdc++6-4.3-dev.
Unpacking libstdc++6-4.3-dev (from .../libstdc++6-4.3-dev_4.3.2-1ubuntu11_amd64.deb) ...
Selecting previously deselected package g++-4.3.
Unpacking g++-4.3 (from .../g++-4.3_4.3.2-1ubuntu11_amd64.deb) ...
Selecting previously deselected package g++.
Unpacking g++ (from .../g++_4%3a4.3.1-1ubuntu2_amd64.deb) ...
Selecting previously deselected package build-essential.
Unpacking build-essential (from .../build-essential_11.4_amd64.deb) ...
Processing triggers for man-db ...
Setting up libfreetype6 (2.3.7-2ubuntu1) ...

Setting up gfxboot (3.3.39-0ubuntu2) ...
Setting up dialog (1.1-20080316-1) ...
Setting up genisoimage (9:1.1.8-1ubuntu1) ...
Setting up squashfs-tools (1:3.3-7ubuntu1) ...
Setting up make (3.81-5) ...
Setting up binutils (2.18.93.20081009-0ubuntu1) ...

Setting up dpkg-dev (1.14.20ubuntu6) ...
Setting up fakeroot (1.9.5ubuntu1) ...

Setting up uck (2.0.4) ...
Setting up linux-libc-dev (2.6.27-9.19) ...
Setting up libc6-dev (2.8~20080505-0ubuntu7) ...
Setting up libgomp1 (4.3.2-1ubuntu11) ...

Setting up gcc-4.3 (4.3.2-1ubuntu11) ...
Setting up gcc (4:4.3.1-1ubuntu2) ...

Setting up g++-4.3 (4.3.2-1ubuntu11) ...
Setting up libstdc++6-4.3-dev (4.3.2-1ubuntu11) ...
Setting up g++ (4:4.3.1-1ubuntu2) ...

Setting up build-essential (11.4) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
**************************
Rerun new ISO image build
**************************
root@IntrepidHVM:/files# ./customize
+ source_iso=/files/intrepidsrv.iso
+ dest_iso=ubuntu-8.10-server-amd64-pv.iso
+ remaster_dir=/root/tmp
+ mkdir -p /root/tmp
+ libdir=/lib/modules/2.6.27-7-server
+ driverdir=/lib/modules/2.6.27-7-server/kernel/drivers
+ modules_dep=/lib/modules/2.6.27-7-server/modules.dep
+ kbd_drv=input/xen-kbdfront.ko
+ blk_drv=block/xen-blkfront.ko
+ fb_drv=video/xen-fbfront.ko
+ net_drv=net/xen-netfront.ko
+ drivers=input/xen-kbdfront.ko block/xen-blkfront.ko video/xen-fbfront.ko net/xen-netfront.ko
+ driver_dirs=input block video net
+ uck-remaster-unpack-iso /files/intrepidsrv.iso
Removing ISO remastering dir...
Mounting ISO image...
Unpacking ISO image...
Unmounting ISO image...
+ uck-remaster-unpack-initrd
Removing initrd remastering dir...
Unpacking initrd image...
~/tmp/remaster-initrd /files
33796 blocks
/files
+ dd bs=32k skip=1 count=1
+ dd bs=8 skip=5 count=4
4+0 records in
4+0 records out
32 bytes (32 B) copied, 0.221877 s, 0.1 kB/s
1+0 records in
1+0 records out
32768 bytes (33 kB) copied, 0.202118 s, 162 kB/s
+ vol_id=Ubuntu-Server 8.10 amd64
+ mkdir /root/tmp/customization-scripts
mkdir: cannot create directory `/root/tmp/customization-scripts': File exists
+ echo Ubuntu-Server 8.10 amd64 PV
+ mkdir -p /root/tmp/remaster-initrd/lib/modules/2.6.27-7-server/kernel/drivers/input
+ mkdir -p /root/tmp/remaster-initrd/lib/modules/2.6.27-7-server/kernel/drivers/block
+ mkdir -p /root/tmp/remaster-initrd/lib/modules/2.6.27-7-server/kernel/drivers/video
+ mkdir -p /root/tmp/remaster-initrd/lib/modules/2.6.27-7-server/kernel/drivers/net
+ cp /lib/modules/2.6.27-7-server/kernel/drivers/input/xen-kbdfront.ko /root/tmp/remaster-initrd/lib/modules/2.6.27-7-server/kernel/drivers/input/xen- kbdfront.ko
+ echo /lib/modules/2.6.27-7-server/kernel/drivers/input/xen-kbdfront.ko:
+ cp /lib/modules/2.6.27-7-server/kernel/drivers/block/xen-blkfront.ko /root/tmp/remaster-initrd/lib/modules/2.6.27-7-server/kernel/drivers/block/xen- blkfront.ko
+ echo /lib/modules/2.6.27-7-server/kernel/drivers/block/xen-blkfront.ko:
+ cp /lib/modules/2.6.27-7-server/kernel/drivers/video/xen-fbfront.ko /root/tmp/remaster-initrd/lib/modules/2.6.27-7-server/kernel/drivers/video/xen- fbfront.ko
+ echo /lib/modules/2.6.27-7-server/kernel/drivers/video/xen-fbfront.ko:
+ cp /lib/modules/2.6.27-7-server/kernel/drivers/net/xen-netfront.ko /root/tmp/remaster-initrd/lib/modules/2.6.27-7-server/kernel/drivers/net/xen-ne tfront.ko
+ echo /lib/modules/2.6.27-7-server/kernel/drivers/net/xen-netfront.ko:
+ cat
+ chmod a+x /root/tmp/remaster-initrd/usr/lib/finish-install.d/10console
+ uck-remaster-pack-initrd
Packing initrd image...
~/tmp/remaster-initrd /files
34062 blocks
/files
+ uck-remaster-pack-iso ubuntu-8.10-server-amd64-pv.iso
Preparing directory for new files
Updating md5sums...
~/tmp/remaster-iso /files
/files
Packing ISO image...
ISO description set to: Ubuntu-Server 8.10 amd64 PV
Size of boot image is 4 sectors -> No emulation
1.50% done, estimate finish Sat Dec 13 12:18:19 2008
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
98.73% done, estimate finish Sat Dec 13 12:24:25 2008
Total translation table size: 2048
Total rockridge attributes bytes: 312528
Total directory bytes: 1664680
Path table size(bytes): 13654
Max brk space used 2ec000
334250 extents written (652 MB)
************************************************************
Two attempts to install Intrepid PV DomU via virt-install and via
pygrub profile bellow
************************************************************
name="IntrepidPV"
memory=2048
disk = ['file:/export/home/boris/ubuntu-8.10-server-amd64-pv.iso,xvdb:cdrom,r',
'phy:/dev/zvol/dsk/snvpool/snv-disk,xvda,w' ]
vif = [ ' ', ]
bootloader = "/usr/lib/xen/bin/pygrub"
kernel = "/install/vmlinuz"
ramdisk = "/install/initrd.gz"
vcpus=1
on_reboot = "restart"
on_crash = "restart"
***************************************************************************** ***********************
failed at the point - mounting CD-ROM device.
Intrepid HVM been built via modified by uck scripts ISO makes image on zvol ,
which may used to load Intrepid PV DomU as usual at Xen 3.3 Linux Dom0s
***************************************************************************** ************************
memory = 2048
name ="IntrepidPV"
bootloader="/usr/lib/xen/bin/pygrub"
vif = [ ' ' ]
disk = [ 'phy:/dev/zvol/dsk/snvpool/snv-disk,xvda,w']

foliver

Posts: 42
From:

Registered: 12/19/06
Re: Install Ubuntu 8.10 PV guest from (new) CD image
Posted: Dec 15, 2008 11:57 AM   in response to: dbaxps
To: Communities » xen » discuss
  Click to reply to this thread Reply

What virt-install command did you use?
What error messages did you get using virt-install?
What messages were in /var/log/xen/xend.log?
Did you install the patches attached to the posting?

dbaxps

Posts: 900
From:

Registered: 3/9/07
Re: Install Ubuntu 8.10 PV guest from (new) CD image
Posted: Dec 15, 2008 1:00 PM   in response to: foliver
To: Communities » xen » discuss
  Click to reply to this thread Reply

> What virt-install command did you use?
# lofiadm -a /export/home/isos/ubuntu-8.10-server-amd64-pv.iso
# mount -o ro -F hsfs /dev/lofi/1 /mnt
# share -F nfs /mnt
# virt-install -n UbuntuPVX -p -r 1024 --nographics \
-f /dev/zvol/dsk/xvmpool/snv-disk -l nfs:192.168.1.33:/mnt

root@opensolaris:/export/home/boris# virt-install -n UbuntuPVX -p -r 1024 --nographics \
> -f /dev/zvol/dsk/xvmpool/snv-disk -l nfs:192.168.1.33:/mnt
Disk /dev/zvol/dsk/xvmpool/snv-disk is already in use by another guest!
Do you really want to use the disk (yes or no)? yes
Starting install...

> What error messages did you get using virt-install? - No errors

Creating domain... 0 B 00:00
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.27-7-generic (buildd@yellow) (gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu10) ) #1 SMP Fri Oct 24 06:40:41 UTC 2008 (Ubuntu 2.6.27-7.14-generic)
[ 0.000000] Command line:
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] ACPI in unprivileged domain disabled
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] Xen: 0000000000000000 - 00000000000a0000 (usable)
[ 0.000000] Xen: 00000000000a0000 - 0000000000100000 (reserved)
[ 0.000000] Xen: 0000000000100000 - 000000000195b000 (usable)
[ 0.000000] Xen: 000000000195b000 - 0000000001b5e000 (reserved)
[ 0.000000] Xen: 0000000001b5e000 - 0000000040000000 (usable)
[ 0.000000] last_pfn = 0x40000 max_arch_pfn = 0x3ffffffff
[ 0.000000] init_memory_mapping
[ 0.000000] last_map_addr: 40000000 end: 40000000
[ 0.000000] RAMDISK: 008b9000 - 0195b000
[ 0.000000] DMI not present or invalid.
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at 0000000000000000-0000000040000000
[ 0.000000] Bootmem setup node 0 0000000000000000-0000000040000000
[ 0.000000] NODE_DATA [0000000000001000 - 0000000000005fff]
[ 0.000000] bootmap [0000000000008000 - 000000000000ffff] pages 8
[ 0.000000] (6 early reservations) ==> bootmem [0000000000 - 0040000000]
[ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
[ 0.000000] #1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000]
[ 0.000000] #2 [0001b5e000 - 0001b6f000] XEN PAGETABLES ==> [0001b5e000 - 0001b6f000]
[ 0.000000] #3 [0000200000 - 00008b8f9c] TEXT DATA BSS ==> [0000200000 - 00008b8f9c]
[ 0.000000] #4 [00008b9000 - 000195b000] RAMDISK ==> [00008b9000 - 000195b000]
[ 0.000000] #5 [0001b6f000 - 0001d5d000] PGTABLE ==> [0001b6f000 - 0001d5d000]
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000000 -> 0x00001000
[ 0.000000] DMA32 0x00001000 -> 0x00100000
[ 0.000000] Normal 0x00100000 -> 0x00100000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[3] active PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x000000a0
[ 0.000000] 0: 0x00000100 -> 0x0000195b
[ 0.000000] 0: 0x00001b5e -> 0x00040000
[ 0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[ 0.000000] No local APIC present
[ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 0000000000100000
[ 0.000000] PM: Registered nosave memory: 000000000195b000 - 0000000001b5e000
[ 0.000000] Allocating PCI resources starting at 50000000 (gap: 40000000:c0000000)
[ 0.000000] PERCPU: Allocating 64928 bytes of per cpu data
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 255714
[ 0.000000] Policy zone: DMA32
[ 0.000000] Kernel command line:
[ 0.000000] Initializing CPU#0
[ 0.000000] PID hash table entries: 4096 (order: 12, 32768 bytes)
[ 0.000000] Detected 3005.554 MHz processor.
[ 0.004000] Console: colour dummy device 80x25
[ 0.004000] console [tty0] enabled
[ 0.004000] console [hvc0] enabled
[ 0.004000] Checking aperture...
[ 0.004000] No AGP bridge found
[ 0.004000] Memory: 1003536k/1048576k available (3112k kernel code, 42596k reserved, 1575k data, 536k init)
[ 0.004000] SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.004000] installing Xen timer for CPU 0
[ 0.004000] Calibrating delay loop (skipped), value calculated using timer frequency.. 6011.10 BogoMIPS (lpj=12022216)
[ 0.004000] Security Framework initialized
[ 0.004000] SELinux: Disabled at boot.
[ 0.004000] AppArmor: AppArmor initialized
[ 0.004000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.004000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.004000] Mount-cache hash table entries: 256
[ 0.004000] Initializing cgroup subsys ns
[ 0.004000] Initializing cgroup subsys cpuacct
[ 0.004000] Initializing cgroup subsys memory
[ 0.004000] CPU: L1 I cache: 32K, L1 D cache: 32K
[ 0.004000] CPU: L2 cache: 6144K
[ 0.004000] CPU 0/0 -> Node 0
[ 0.004000] CPU: Physical Processor ID: 0
[ 0.004000] CPU: Processor Core ID: 0
[ 0.004000] SMP alternatives: switching to UP code
[ 0.019232] Freeing SMP alternatives: 24k freed
[ 0.019294] cpu 0 spinlock event irq 1
[ 0.019359] Brought up 1 CPUs
[ 0.019573] net_namespace: 1552 bytes
[ 0.019580] Booting paravirtualized kernel on Xen
[ 0.019583] Xen version: 3.1.4-xvm
[ 0.019682] Grant table initialized
[ 0.040883] Time: 165:165:165 Date: 165/165/65
[ 0.040940] NET: Registered protocol family 16
[ 0.048144] PCI: Fatal: No config space access function found
[ 0.048886] ACPI: Interpreter disabled.
[ 0.048891] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 0.048924] pnp: PnP ACPI: disabled
[ 0.052012] xen_balloon: Initialising balloon driver.
[ 0.052318] PCI: System does not support PCI
[ 0.052323] PCI: System does not support PCI
[ 0.064064] NET: Registered protocol family 8
[ 0.064071] NET: Registered protocol family 20
[ 0.064119] NetLabel: Initializing
[ 0.064123] NetLabel: domain hash size = 128
[ 0.064126] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.064141] NetLabel: unlabeled traffic allowed by default
[ 0.064148] PCI-GART: No AMD northbridge found.
[ 0.064467] tracer: 1286 pages allocated for 65536 entries of 80 bytes
[ 0.064472] actual entries 65586
[ 0.064538] AppArmor: AppArmor Filesystem Enabled
[ 0.064970] NET: Registered protocol family 2
[ 0.100165] IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
[ 0.100742] TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
[ 0.101375] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[ 0.101601] TCP: Hash tables configured (established 131072 bind 65536)
[ 0.101607] TCP reno registered
[ 0.112081] NET: Registered protocol family 1
[ 0.112161] checking if image is initramfs... it is
[ 0.127177] Freeing initrd memory: 17032k freed
[ 0.132243] platform rtc_cmos: registered platform RTC device (no PNP device found)
[ 0.132665] audit: initializing netlink socket (disabled)
[ 0.132680] type=2000 audit(1229363037.698:1): initialized
[ 0.136749] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.138982] VFS: Disk quotas dquot_6.5.1
[ 0.139051] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.139135] msgmni has been set to 2081
[ 0.139226] io scheduler noop registered
[ 0.139230] io scheduler anticipatory registered
[ 0.139234] io scheduler deadline registered
[ 0.139330] io scheduler cfq registered (default)
[ 0.166084] Linux agpgart interface v0.103
[ 0.166095] Serial: 8250/16550 driver4 ports, IRQ sharing enabled
[ 0.167690] brd: module loaded
[ 0.167746] input: Macintosh mouse button emulation as /devices/virtual/input/input0
[ 0.167885] PNP: No PS/2 controller found. Probing ports directly.
[ 0.168708] i8042.c: No controller found.
[ 0.172374] mice: PS/2 mouse device common for all mice
[ 0.172425] rtc_cmos: probe of rtc_cmos failed with error -16

Entering graphical mode successful and move on as usual until :-

In order to access your CD-ROM drive, please enter the device file
│ that should be used. Non-standard CD-ROM drives use non-standard
│ device files (such as /dev/mcdx).

│ You may switch to the shell on the second terminal (ALT+F2) to check
│ the available devices in /dev with "ls /dev". You can return to this
│ screen by pressing ALT+F1.

│ Device file for accessing the CD-ROM:

│ /dev/xvdb____________________________________________________________

│ <Continue>

Droped to shell and ran:
# ls /dev
No /dev/xvdb(c)
# exit

> What messages were in /var/log/xen/xend.log?

[2008-12-15 20:43:56 646] DEBUG (XendDomainInfo:85) XendDomainInfo.create(['vm', ['name', 'UbuntuPVX'], ['memory', '1024'], ['maxmem', '1024'], ['vcpus', '1'], ['uuid', 'a5a1f5b5-fc33-19ab-5166-8d61968a2d89'], ['on_poweroff', 'destroy'], ['on_reboot', 'destroy'], ['on_crash', 'destroy'], ['image', ['linux', ['kernel', '/var/tmp/vmlinuz.xAci26'], ['ramdisk', '/var/tmp/virtinst-initrd.gz.8H_18p'], ['args', ' ']]], ['device', ['vbd', ['dev', 'xvda'], ['uname', 'phy:/dev/zvol/dsk/xvmpool/snv-disk'], ['mode', 'w']]], ['device', ['vif', ['mac', '00:16:3e:19:36:6d'], ['bridge', 'rge0 ']]]])
[2008-12-15 20:43:56 646] DEBUG (XendDomainInfo:1618) XendDomainInfo.constructDomain
[2008-12-15 20:43:56 646] DEBUG (balloon:116) Balloon: 2098072 KiB free; need 2048; done.
[2008-12-15 20:43:56 646] DEBUG (XendDomain:435) Adding Domain: 40
[2008-12-15 20:43:56 646] DEBUG (XendDomainInfo:1685) XendDomainInfo.initDomain: 40 256
[2008-12-15 20:43:56 646] DEBUG (XendDomainInfo:1727) _initDomain:shadow_memory=0x0, memory_static_max=0x40000000, memory_static_min=0x0.
[2008-12-15 20:43:56 646] DEBUG (balloon:116) Balloon: 2098064 KiB free; need 1048576; done.
[2008-12-15 20:43:56 646] INFO (image:129) buildDomain os=linux dom=40 vcpus=1
[2008-12-15 20:43:56 646] DEBUG (image:204) domid = 40
[2008-12-15 20:43:56 646] DEBUG (image:205) memsize = 1024
[2008-12-15 20:43:56 646] DEBUG (image:206) image = /var/tmp/vmlinuz.xAci26
[2008-12-15 20:43:56 646] DEBUG (image:207) store_evtchn = 1
[2008-12-15 20:43:56 646] DEBUG (image:208) console_evtchn = 2
[2008-12-15 20:43:56 646] DEBUG (image:209) cmdline =
[2008-12-15 20:43:56 646] DEBUG (image:210) ramdisk = /var/tmp/virtinst-initrd.gz.8H_18p
[2008-12-15 20:43:56 646] DEBUG (image:211) vcpus = 1
[2008-12-15 20:43:56 646] DEBUG (image:212) features =
[2008-12-15 20:43:57 646] INFO (XendDomainInfo:1520) createDevice: vbd : {'uuid': 'a72a1a1c-7be9-653b-2843-3ecdcebdc062', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'xvda', 'uname': 'phy:/dev/zvol/dsk/xvmpool/snv-disk', 'mode': 'w'}
[2008-12-15 20:43:57 646] DEBUG (DevController:118) DevController: writing {'virtual-device': '51712', 'device-type': 'disk', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/40/51712'} to /local/domain/40/device/vbd/51712.
[2008-12-15 20:43:57 646] DEBUG (DevController:120) DevController: writing {'domain': 'UbuntuPVX', 'frontend': '/local/domain/40/device/vbd/51712', 'uuid': 'a72a1a1c-7be9-653b-2843-3ecdcebdc062', 'dev': 'xvda', 'state': '1', 'params': '/dev/zvol/dsk/xvmpool/snv-disk', 'mode': 'w', 'online': '1', 'frontend-id': '40', 'type': 'phy'} to /local/domain/0/backend/vbd/40/51712.
[2008-12-15 20:43:57 646] INFO (XendDomainInfo:1520) createDevice: vif : {'bridge': 'rge0 ', 'mac': '00:16:3e:19:36:6d', 'uuid': '948dc1d5-eecd-1fe7-2058-695094fd9dfb'}
[2008-12-15 20:43:57 646] DEBUG (DevController:118) DevController: writing {'mac': '00:16:3e:19:36:6d', 'handle': '0', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/40/0'} to /local/domain/40/device/vif/0.
[2008-12-15 20:43:57 646] DEBUG (DevController:120) DevController: writing {'bridge': 'rge0 ', 'domain': 'UbuntuPVX', 'handle': '0', 'uuid': '948dc1d5-eecd-1fe7-2058-695094fd9dfb', 'script': '/usr/lib/xen/scripts/vif-vnic', 'mac': '00:16:3e:19:36:6d', 'frontend-id': '40', 'state': '1', 'online': '1', 'frontend': '/local/domain/40/device/vif/0'} to /local/domain/0/backend/vif/40/0.
[2008-12-15 20:43:57 646] DEBUG (XendDomainInfo:2210) Storing VM details: {'on_xend_stop': 'shutdown', 'shadow_memory': '0', 'uuid': 'a5a1f5b5-fc33-19ab-5166-8d61968a2d89', 'on_reboot': 'destroy', 'start_time': '1229363037.23', 'on_poweroff': 'destroy', 'on_xend_start': 'ignore', 'on_crash': 'destroy', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'image': "(linux (kernel /var/tmp/vmlinuz.xAci26) (ramdisk /var/tmp/virtinst-initrd.gz.8H_18p) (args ' ') (rtc_timeoffset -10800) (notes (HV_START_LOW 18446603336221196288) (FEATURES '!writable_page_tables|pae_pgdir_above_4gb') (VIRT_BASE 18446744071562067968) (GUEST_VERSION 2.6) (PADDR_OFFSET 0) (GUEST_OS linux) (HYPERCALL_PAGE 18446744071564201984) (LOADER generic) (SUSPEND_CANCEL 1) (PAE_MODE yes) (ENTRY 18446744071569539584) (XEN_VERSION xen-3.0)))", 'name': 'UbuntuPVX'}
[2008-12-15 20:43:57 646] DEBUG (XendDomainInfo:946) Storing domain details: {'console/ring-ref': '1750206', 'image/entry': '18446744071569539584', 'console/port': '2', 'image/loader': 'generic', 'vm': '/vm/a5a1f5b5-fc33-19ab-5166-8d61968a2d89', 'store/ring-ref': '1750207', 'image/hv-start-low': '18446603336221196288', 'image/guest-os': 'linux', 'image/virt-base': '18446744071562067968', 'memory/target': '1048576', 'image/guest-version': '2.6', 'image/pae-mode': 'yes', 'console/limit': '1048576', 'image/paddr-offset': '0', 'image/hypercall-page': '18446744071564201984', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb': '1', 'image/features/writable-page-tables': '0', 'name': 'UbuntuPVX', 'domid': '40', 'image/xen-version': 'xen-3.0', 'store/port': '1'}
[2008-12-15 20:43:57 646] DEBUG (DevController:118) DevController: writing {'protocol': 'x86_64-abi', 'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/40/0'} to /local/domain/40/device/console/0.
[2008-12-15 20:43:57 646] DEBUG (DevController:120) DevController: writing {'domain': 'UbuntuPVX', 'frontend': '/local/domain/40/device/console/0', 'uuid': '7746d602-779a-bb49-23e3-32e2a00299c9', 'frontend-id': '40', 'state': '1', 'location': '2', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/40/0.
[2008-12-15 20:43:57 646] DEBUG (XendDomainInfo:946) Storing domain details: {'console/ring-ref': '1750206', 'image/entry': '18446744071569539584', 'console/port': '2', 'image/loader': 'generic', 'vm': '/vm/a5a1f5b5-fc33-19ab-5166-8d61968a2d89', 'store/ring-ref': '1750207', 'image/hv-start-low': '18446603336221196288', 'image/guest-os': 'linux', 'image/virt-base': '18446744071562067968', 'memory/target': '1048576', 'image/guest-version': '2.6', 'image/pae-mode': 'yes', 'console/limit': '1048576', 'image/paddr-offset': '0', 'image/hypercall-page': '18446744071564201984', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb': '1', 'image/features/writable-page-tables': '0', 'name': 'UbuntuPVX', 'domid': '40', 'image/xen-version': 'xen-3.0', 'store/port': '1'}
[2008-12-15 20:43:57 646] DEBUG (XendDomainInfo:1030) XendDomainInfo.handleShutdownWatch
[2008-12-15 20:43:57 646] DEBUG (DevController:151) Waiting for devices vif.
[2008-12-15 20:43:57 646] DEBUG (DevController:156) Waiting for 0.
[2008-12-15 20:43:57 646] DEBUG (DevController:590) hotplugStatusCallback /local/domain/0/backend/vif/40/0/hotplug-status.
[2008-12-15 20:43:57 646] DEBUG (DevController:604) hotplugStatusCallback 1.
[2008-12-15 20:43:57 646] DEBUG (DevController:151) Waiting for devices usb.
[2008-12-15 20:43:57 646] DEBUG (DevController:151) Waiting for devices vbd.
[2008-12-15 20:43:57 646] DEBUG (DevController:156) Waiting for 51712.
[2008-12-15 20:43:57 646] DEBUG (DevController:590) hotplugStatusCallback /local/domain/0/backend/vbd/40/51712/hotplug-status.
[2008-12-15 20:43:57 646] DEBUG (DevController:604) hotplugStatusCallback 1.
[2008-12-15 20:43:57 646] DEBUG (DevController:151) Waiting for devices irq.
[2008-12-15 20:43:57 646] DEBUG (DevController:151) Waiting for devices vkbd.
[2008-12-15 20:43:57 646] DEBUG (DevController:151) Waiting for devices vfb.
[2008-12-15 20:43:57 646] DEBUG (DevController:151) Waiting for devices console.
[2008-12-15 20:43:57 646] DEBUG (DevController:156) Waiting for 0.
[2008-12-15 20:43:57 646] DEBUG (DevController:151) Waiting for devices pci.
[2008-12-15 20:43:57 646] DEBUG (DevController:151) Waiting for devices ioports.
[2008-12-15 20:43:57 646] DEBUG (DevController:151) Waiting for devices tap.
[2008-12-15 20:43:57 646] DEBUG (DevController:151) Waiting for devices vtpm.
[2008-12-15 20:43:57 646] INFO (XendDomain:1138) Domain UbuntuPVX (40) unpaused.
[2008-12-15 20:43:57 646] DEBUG (XendDomainInfo:241) XendDomainInfo.createDormant({'vcpus_params': {}, 'PV_args': '', 'features': '', 'cpus': [], 'devices': {'37d88eec-1952-fb7d-c5e6-27873976294d': ('vbd', {'uuid': '37d88eec-1952-fb7d-c5e6-27873976294d', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'xvda', 'uname': 'phy:/dev/zvol/dsk/xvmpool/snv-disk', 'mode': 'w'}), 'a37881c3-4e96-d712-4cc4-c535a3101328': ('vif', {'bridge': 'rge0 ', 'mac': '00:16:3e:19:36:6d', 'uuid': 'a37881c3-4e96-d712-4cc4-c535a3101328'})}, 'vcpu_avail': 1, 'VCPUs_live': 1, 'PV_bootloader': '/usr/lib/xen/bin/pygrub', 'actions_after_crash': 'restart', 'vbd_refs': ['37d88eec-1952-fb7d-c5e6-27873976294d'], 'PV_ramdisk': '', 'is_control_domain': False, 'name_label': 'UbuntuPVX', 'VCPUs_at_startup': 1, 'HVM_boot_params': {}, 'platform': {}, 'cpu_weight': 256, 'console_refs': [], 'cpu_cap': 0, 'on_xend_stop': 'shutdown', 'memory_static_min': 0, 'HVM_boot_policy': '', 'VCPUs_max': 1, 'memory_static_max': 1073741824, 'actions_after_shutdown': 'destroy', 'on_xend_start': 'ignore', 'memory_dynamic_max': 1073741824, 'actions_after_suspend': '', 'is_a_template': False, 'memory_dynamic_min': 1073741824, 'uuid': 'a5a1f5b5-fc33-19ab-5166-8d61968a2d89', 'PV_kernel': '', 'shadow_memory': 0, 'PV_bootloader_args': '', 'other_config': {}, 'actions_after_reboot': 'restart', 'vif_refs': ['a37881c3-4e96-d712-4cc4-c535a3101328'], 'vtpm_refs': [], 'security': None})
[2008-12-15 20:43:57 646] DEBUG (XendDomain:971) Creating new managed domain: UbuntuPVX

> Did you install the patches attached to the posting?

Yes. Otherwise, i won't be able to succeed with Intrepid Server PV DomU load via image
been created by HVM installation.

foliver

Posts: 42
From:

Registered: 12/19/06
Re: Install Ubuntu 8.10 PV guest from (new) CD image
Posted: Dec 15, 2008 3:34 PM   in response to: dbaxps
To: Communities » xen » discuss
  Click to reply to this thread Reply

You are getting farther than me on Core2Duo.... (T7200 or Q6600)
As far as I can tell, the linux kernel did not run at all for me
(at least, did not log anything to the console).

dbaxps

Posts: 900
From:

Registered: 3/9/07
Re: Install Ubuntu 8.10 PV guest from (new) CD image
Posted: Dec 16, 2008 12:01 AM   in response to: foliver
To: Communities » xen » discuss
  Click to reply to this thread Reply

Sorry, for straightforward question.
Actually ,procedure suggested by you is not closely Nevada related.
To be honest, my major concern is native CentOS (RHEL) 5.1 Dom0 (xen bits 3.1.2)
1. How to prepare new CD with initrd.gz containing xen drivers is understandable.
2. How to patch pygrub is understandable
3. How to compile /usr/lib/fs/ext2fs/fsimage.iso on Linux ?
Not much chance without source code.
Thanks anyway

foliver

Posts: 42
From:

Registered: 12/19/06
Re: Install Ubuntu 8.10 PV guest from (new) CD image
Posted: Dec 16, 2008 8:22 AM   in response to: dbaxps
To: Communities » xen » discuss
  Click to reply to this thread Reply

Try applying this changeset:
http://xenbits.xensource.com/xen-unstable.hg?rev/c777e572a467
to your (CentOS) xen (3.1.2) source distribution and build the library.

dbaxps

Posts: 900
From:

Registered: 3/9/07
Re: Install Ubuntu 8.10 PV guest from (new) CD image
Posted: Dec 16, 2008 12:07 AM   in response to: dbaxps
To: Communities » xen » discuss
  Click to reply to this thread Reply

I've also tried to attach ISO image as block device on the fly ( before request).
No luck too early for DomU's OS.

Message was edited by: dbaxps

dbaxps

Posts: 900
From:

Registered: 3/9/07
Re: Install Ubuntu 8.10 PV guest from (new) CD image
Posted: Dec 15, 2008 1:21 PM   in response to: foliver
To: Communities » xen » discuss
  Click to reply to this thread Reply

[ 0.064148] PCI-GART: No AMD northbridge found
Might be an error :-)
North Bridge is Intel P35, South Bridge is ICH9R
I guess virt-install fails to attach CD-ROM device.
That's root cause of failure on Intel based board.

Message was edited by: dbaxps

dbaxps

Posts: 900
From:

Registered: 3/9/07
Re: Install Ubuntu 8.10 PV guest from (new) CD image
Posted: Dec 15, 2008 3:27 PM   in response to: dbaxps
To: Communities » xen » discuss
  Click to reply to this thread Reply

Loading Intrepid Server PV DomU ( Intel box)

pyGRUB version 0.6
┌────────────────────────────────────────────────────────────────────────┐
│ Ubuntu 8.10, kernel 2.6.27-7-server (new)
│ Ubuntu 8.10, kernel 2.6.27-7-server
│ Ubuntu 8.10, kernel 2.6.27-7-server (recovery mode)
│ Ubuntu 8.10, memtest86+



└────────────────────────────────────────────────────────────────────────┘
Use the ^ and v keys to select which entry is highlighted.
Press enter to boot the selected OS. 'e' to edit the
commands before booting, 'a' to modify the kernel arguments
before booting, or 'c' for a command line.




Will boot selected entry in 6 seconds


GZipped kernel probably begins at offset 13452
Started domain IntrepidServerPV
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.27-7-server (buildd@yellow) (gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu10) ) #1 SMP Fri Oct 24 07:20:47 UTC 2008 (Ubuntu 2.6.27-7.14-server)
[ 0.000000] Command line: root=/dev/xvda1 ro 2 console=hvc0
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] ACPI in unprivileged domain disabled
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] Xen: 0000000000000000 - 00000000000a0000 (usable)
[ 0.000000] Xen: 00000000000a0000 - 0000000000100000 (reserved)
[ 0.000000] Xen: 0000000000100000 - 000000000241e000 (usable)
[ 0.000000] Xen: 000000000241e000 - 0000000002821000 (reserved)
[ 0.000000] Xen: 0000000002821000 - 0000000080000000 (usable)
[ 0.000000] last_pfn = 0x80000 max_arch_pfn = 0x3ffffffff
[ 0.000000] init_memory_mapping
[ 0.000000] last_map_addr: 80000000 end: 80000000
[ 0.000000] RAMDISK: 008b7000 - 0241e000
[ 0.000000] DMI not present or invalid.
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at 0000000000000000-0000000080000000
[ 0.000000] Bootmem setup node 0 0000000000000000-0000000080000000
[ 0.000000] NODE_DATA [0000000000001000 - 0000000000005fff]
[ 0.000000] bootmap [0000000000008000 - 0000000000017fff] pages 10
[ 0.000000] (6 early reservations) ==> bootmem [0000000000 - 0080000000]
[ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
[ 0.000000] #1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - 0000008000]
[ 0.000000] #2 [0002821000 - 000283a000] XEN PAGETABLES ==> [0002821000 - 000283a000]
[ 0.000000] #3 [0000200000 - 00008b6f9c] TEXT DATA BSS ==> [0000200000 - 00008b6f9c]
[ 0.000000] #4 [00008b7000 - 000241e000] RAMDISK ==> [00008b7000 - 000241e000]
[ 0.000000] #5 [000283a000 - 0002c21000] PGTABLE ==> [000283a000 - 0002c21000]
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000000 -> 0x00001000
[ 0.000000] DMA32 0x00001000 -> 0x00100000
[ 0.000000] Normal 0x00100000 -> 0x00100000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[3] active PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x000000a0
[ 0.000000] 0: 0x00000100 -> 0x0000241e
[ 0.000000] 0: 0x00002821 -> 0x00080000
[ 0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[ 0.000000] No local APIC present
[ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 0000000000100000
[ 0.000000] PM: Registered nosave memory: 000000000241e000 - 0000000002821000
[ 0.000000] Allocating PCI resources starting at 88000000 (gap: 80000000:80000000)
[ 0.000000] PERCPU: Allocating 64928 bytes of per cpu data
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 513252
[ 0.000000] Policy zone: DMA32
[ 0.000000] Kernel command line: root=/dev/xvda1 ro 2 console=hvc0
[ 0.000000] Initializing CPU#0
[ 0.000000] PID hash table entries: 4096 (order: 12, 32768 bytes)
[ 0.000000] Detected 3005.552 MHz processor.
[ 0.010000] Console: colour dummy device 80x25
[ 0.010000] console [tty0] enabled
[ 0.010000] console [hvc0] enabled
[ 0.010000] Checking aperture...
[ 0.010000] No AGP bridge found
[ 0.010000] Memory: 2020552k/2097152k available (3110k kernel code, 72108k reserved, 1573k data, 536k init)
[ 0.010000] SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.010000] installing Xen timer for CPU 0
[ 0.010000] Calibrating delay loop (skipped), value calculated using timer frequency.. 6011.10 BogoMIPS (lpj=30055520)
[ 0.010000] Security Framework initialized
[ 0.010000] SELinux: Disabled at boot.
[ 0.010000] AppArmor: AppArmor initialized
[ 0.010000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.010000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.010000] Mount-cache hash table entries: 256
[ 0.010000] Initializing cgroup subsys ns
[ 0.010000] Initializing cgroup subsys cpuacct
[ 0.010000] Initializing cgroup subsys memory
[ 0.010000] CPU: L1 I cache: 32K, L1 D cache: 32K
[ 0.010000] CPU: L2 cache: 6144K
[ 0.010000] CPU 0/0 -> Node 0
[ 0.010000] CPU: Physical Processor ID: 0
[ 0.010000] CPU: Processor Core ID: 0
[ 0.010000] SMP alternatives: switching to UP code
[ 0.020006] Freeing SMP alternatives: 24k freed
[ 0.020067] cpu 0 spinlock event irq 1
[ 0.020137] Brought up 1 CPUs
[ 0.020379] net_namespace: 1552 bytes
[ 0.020386] Booting paravirtualized kernel on Xen
[ 0.020390] Xen version: 3.1.4-xvm
[ 0.020492] Grant table initialized
[ 0.040716] Time: 165:165:165 Date: 165/165/65
[ 0.040751] NET: Registered protocol family 16
[ 0.041015] PCI: Fatal: No config space access function found
[ 0.041015] ACPI: Interpreter disabled.
[ 0.041015] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 0.041015] pnp: PnP ACPI: disabled
[ 0.050011] xen_balloon: Initialising balloon driver.
[ 0.050310] PCI: System does not support PCI
[ 0.050315] PCI: System does not support PCI
[ 0.080045] NET: Registered protocol family 8
[ 0.080050] NET: Registered protocol family 20
[ 0.080085] NetLabel: Initializing
[ 0.080089] NetLabel: domain hash size = 128
[ 0.080092] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.080105] NetLabel: unlabeled traffic allowed by default
[ 0.080111] PCI-GART: No AMD northbridge found.
[ 0.080432] tracer: 1286 pages allocated for 65536 entries of 80 bytes
[ 0.080437] actual entries 65586
[ 0.080497] AppArmor: AppArmor Filesystem Enabled
[ 0.080916] NET: Registered protocol family 2
[ 0.170170] IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.171162] TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
[ 0.172639] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[ 0.172981] TCP: Hash tables configured (established 262144 bind 65536)
[ 0.172986] TCP reno registered
[ 0.200096] NET: Registered protocol family 1
[ 0.200183] checking if image is initramfs... it is
[ 0.222131] Freeing initrd memory: 28060k freed
[ 0.231907] platform rtc_cmos: registered platform RTC device (no PNP device found)
[ 0.232381] audit: initializing netlink socket (disabled)
[ 0.232396] type=2000 audit(1229371658.912:1): initialized
[ 0.236543] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.238789] VFS: Disk quotas dquot_6.5.1
[ 0.238858] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.238942] msgmni has been set to 4150
[ 0.239035] io scheduler noop registered
[ 0.239039] io scheduler anticipatory registered
[ 0.239043] io scheduler deadline registered (default)
[ 0.239138] io scheduler cfq registered
[ 0.267881] Linux agpgart interface v0.103
[ 0.267892] Serial: 8250/16550 driver4 ports, IRQ sharing enabled
[ 0.269431] brd: module loaded
[ 0.269485] input: Macintosh mouse button emulation as /devices/virtual/input/input0
[ 0.269616] PNP: No PS/2 controller found. Probing ports directly.
[ 0.270447] i8042.c: No controller found.
[ 0.280525] mice: PS/2 mouse device common for all mice
[ 0.280578] rtc_cmos: probe of rtc_cmos failed with error -16
[ 0.280668] cpuidle: using governor ladder
[ 0.280672] cpuidle: using governor menu
[ 0.280912] TCP cubic registered
[ 0.280928] IO APIC resources could be not be allocated.
[ 0.281111] registered taskstats version 1
[ 0.281121] XENBUS: Device with no driver: device/vbd/51712
[ 0.281124] XENBUS: Device with no driver: device/vif/0
[ 0.281128] XENBUS: Device with no driver: device/console/0
[ 0.281139] Magic number: 1:252:3141
[ 0.281200] /build/buildd/linux-2.6.27/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 0.281206] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 0.281210] EDD information not available.
[ 0.281228] Freeing unused kernel memory: 536k freed
[ 0.281374] Write protecting the kernel read-only data: 4344k
Loading, please wait...
Couldnt get a file descriptor referring to the console
Begin: Loading essential drivers... ...
[ 0.358339] fuse init (API version 7.9)
[ 0.411033] thermal: Unknown symbol acpi_processor_set_thermal_limit
Done.
Begin: Running /scripts/init-premount ...
Done.
Begin: Mounting root file system... ...
Begin: Running /scripts/local-top ...
Done.
Begin: Waiting for root file system... ...
[ 0.524172] blkfront: xvda: barriers enabled
[ 0.524661] xvda: xvda1 xvda2 < xvda5 >
Done.
Begin: Running /scripts/local-premount ...
Begin: Waiting for resume device... ...
Done.
Done.
[ 6.461404] kjournald starting. Commit interval 5 seconds
[ 6.461422] EXT3-fs: mounted filesystem with ordered data mode.
Begin: Running /scripts/local-bottom ...
Done.
Done.
Begin: Running /scripts/init-bottom ...
Done.
* Reading files needed to boot... [ OK ]
* Setting preliminary keymap... [ OK ]
* Setting the system clock
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
* Unable to set System Clock to: Mon Dec 15 20:07:45 UTC 2008
* Starting basic networking... [ OK ]
* Starting kernel event manager... [ 6.840703] udevd version 124 started
[ OK ]
* Loading hardware drivers... [ 7.030118] input: PC Speaker as /devices/platform/pcspkr/input/input1
[ 7.051187] Initialising Xen virtual ethernet driver.
[ OK ]
* Setting the system clock
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
* Unable to set System Clock to: Mon Dec 15 20:07:47 UTC 2008
* Loading kernel modules... [ 8.438338] loop: module loaded
[ 8.456578] lp: driver loaded but no devices found
[ OK ]
* Setting kernel variables (/etc/sysctl.conf)... [ OK ]
* Setting kernel variables (/etc/sysctl.d/10-console-messages.conf)... [ OK ]
* Setting kernel variables (/etc/sysctl.d/10-network-security.conf)... [ OK ]
* Setting kernel variables (/etc/sysctl.d/10-process-security.conf)... [ OK ]
* Setting kernel variables (/etc/sysctl.d/10-tcp-timestamps-workaround.c[ OK ]
* Setting kernel variables (/etc/sysctl.d/30-tracker.conf)... [ OK ]
* Activating swap... [ OK ]
* Checking root file system... fsck 1.41.3 (12-Oct-2008)
/dev/xvda1: clean, 123964/1444608 files, 806915/5767168 blocks
[ OK ]
* Checking file systems... fsck 1.41.3 (12-Oct-2008)
[ OK ]
* Mounting local filesystems... [ OK ]
* Activating swapfile swap... [ OK ]
$Mounting securityfs on /sys/kernel/security: done.
Loading AppArmor profiles : done.
* Skipping firewall: ufw (not enabled)... [ OK ]
* Configuring network interfaces... [ OK ]
* Setting up console font and keymap... [ OK ]
* Starting system log daemon... [ OK ]
* Doing Wacom setup... cat: */id: No such file or directory
[ OK ]
* Starting kernel log daemon... [ OK ]
* Starting system message bus dbus [ OK ]
* Starting Avahi mDNS/DNS-SD Daemon avahi-daemon [ OK ]
* Starting OpenBSD Secure Shell server sshd [ OK ]
* Starting Common Unix Printing System: cupsd [ OK ]
* Starting powernowd... * CPU frequency scaling not supported... [ OK ]
* Starting internet superserver xinetd [ OK ]
* Starting Hardware abstraction layer hald [ OK ]
* Starting bluetooth [ 21.699458] pan0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
[ OK ]
* Starting NetworkManager... [ OK ]
* Starting GNOME Display Manager... [ OK ]
* Starting System Tools Backends system-tools-backends [ OK ]
* Starting anac(h)ronistic cron anacron [ OK ]
* Starting deferred execution scheduler atd [ OK ]
* Starting periodic command scheduler crond [ OK ]
* Enabling additional executable binary formats binfmt-support [ OK ]
* Checking battery state... [ OK ]

Ubuntu 8.10 IntrepidUCKPV hvc0

IntrepidUCKPV login: root
Password:
Last login: Mon Dec 15 18:06:11 EST 2008 on hvc0
Linux IntrepidUCKhvm 2.6.27-7-server #1 SMP Fri Oct 24 07:20:47 UTC 2008 x86_64

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/
root@IntrepidUCKPV:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3e:3f:c4:79
inet addr:192.168.1.44 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::216:3eff:fe3f:c479/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2334 (2.3 KB) TX bytes:5293 (5.2 KB)
Interrupt:9

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@IntrepidUCKPV:~#

foliver

Posts: 42
From:

Registered: 12/19/06
Re: Install Ubuntu 8.10 PV guest from (new) CD image
Posted: Dec 24, 2008 8:14 AM   in response to: foliver
To: Communities » xen » discuss
  Click to reply to this thread Reply

> The install works for me on two Opteron systems (one with AMD-V, one
> without), but fails on two Core 2 Duo systems. Is PV supported on intel?
>
> xend.log shows "Domain has shutdown: name=ubuntu1 id=18 reason=..." when it
> works (amd) and "Domain has crashed: name=ubuntu2 id=18..." when it doesn't
> (intel). Copying a disk image from a working system (amd) to a non-working
> system (intel) still shows "Domain has crashed" (and tr) in
> the xend.log.

From "xm dmesg":

(xVM) printk: 1 messages suppressed.
(xVM) mm.c:1362:d58 Bad L1 flags 800000
(xVM) traps.c:439:d58 Unhandled invalid opcode fault/trap [#6] in domain 58 on VCPU 0 [ec=0000]
(xVM) domain_crash_sync called from entry.S

Further investigation shows that L1 flags 800000 refers to the execute disable bit
in a page table entry. Both failing systems had the "Execute Disable" function disabled
in their BIOS. Enabling Execute Disable in the BIOS allowed the xVM to boot/install/run
Ubuntu 8.10 just fine.

It seems to be a bug (somewhere?) that the hypervisor attempts to make available
functionality to the guest which it itself cannot use due to a BIOS setting.




Terms of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
Copyright © 1995-2005 Sun Microsystems, Inc.