[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel



Hi!!!
 
I have managed to install CentOS 4.7 paravirtualized guest on Xen Dom 0 Jeremy Fitzhardinge's pv_ops kernel successfully. Please see screenshots here: http://teo-en-ming-aka-zhang-enming.blogspot.com/2009/07/creating-centos-47-32-bit.html
 
However, after installation of CentOS 4.7 PV, I can't start the guest domain.
 
I have tried to mount/access the CentOS 4.7 guest disk image file and found out that xenU (xen-aware) kernel and initial ramdisk images were installed. PV Guest GRUB was also configured to boot the xenU kernel. Please see screenshot: http://1.bp.blogspot.com/_zzjv8MCM2sk/SmiMcYsFzAI/AAAAAAAAACk/rYxOFDHuD00/s1600-h/xen18.jpeg
 
My CentOS 4.7 PV guest domain configuration is as follows:  http://3.bp.blogspot.com/_zzjv8MCM2sk/SmiMcrnOfEI/AAAAAAAAACs/s-xguFnf25U/s1600-h/xen19.jpeg
 
Any idea why I can't start the CentOS 4.7 PV guest after installation? Is the guest domain configuration correct/sufficient? Please advise.
 
Thank you!!!
 

 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile Phone: +65-9648-9798
MSN: teoenming@xxxxxxxxxxx


-----Original Message-----
From: "Teo En Ming" <enming.teo@xxxxxxxxxxxxxxx>
To: "Pasi Kärkkäinen" <pasik@xxxxxx>
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, jeremy.fitzhardinge@xxxxxxxxxx
Date: Thu, 23 Jul 2009 19:52:23 +0800
Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel

Dear Pasi,
 
Thank you!!!
 
I am now creating a virtual harddisk for my Xen virtual machine. Creating a 146 GB virtual harddisk:
 
# dd if=/dev/zero of=/home/enming/ga-nfs.img bs=1M count=149504
 
I am going to run CentOS 4.7 32-bit linux on it!
 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering) BEng(Hons)(Mechanical Engineering)
Technical Support Engineer
Information Technology Department
Asiasoft Online Pte Ltd
Tampines Central 1 #04-01 Tampines Plaza
Singapore 529541
Republic of Singapore
Mobile Phone: +65-9648-9798
MSN: teoenming@xxxxxxxxxxx


-----Original Message-----
From: Pasi Kärkkäinen <pasik@xxxxxx>
To: Teo En Ming <enming.teo@xxxxxxxxxxxxxxx>
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, jeremy.fitzhardinge@xxxxxxxxxx
Date: Thu, 23 Jul 2009 13:41:28 +0300
Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel

On Thu, Jul 23, 2009 at 06:25:33PM +0800, Teo En Ming wrote:
> Dear Pasi,
>
> I ran "mount /proc/xen" manually *after* the system booted up, it read
> /etc/fstab, and mounted /proc/xen successfully!!!
>
> Please see the last line of the following "mount" output:
>
> /dev/sda2 on / type ext3 (rw,acl,user_xattr)
> /proc on /proc type proc (rw)
> sysfs on /sys type sysfs (rw)
> debugfs on /sys/kernel/debug type debugfs (rw)
> udev on /dev type tmpfs (rw)
> devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
> /dev/sda3 on /home type ext3 (rw,acl,user_xattr)
> fusectl on /sys/fs/fuse/connections type fusectl (rw)
> none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
> gvfs-fuse-daemon on /home/enming/.gvfs type fuse.gvfs-fuse-daemon
> (rw,nosuid,nodev,user=enming)
> none on /proc/xen type xenfs (rw)
>

Yep, now it's mounted :)

> It is very strange that the system did not mount /proc/xen automatically as
> indicated in /etc/fstab during bootup.
>

Indeed.

> Now I am able to start xend daemon. Please see
> http://2.bp.blogspot.com/_zzjv8MCM2sk/Smg7pKoH_JI/AAAAAAAAABU/TVkqEEyLzYQ/s1600-h/xen08.jpeg
>
> And I can see domain 0 using the "xm list" command already!
>

Congrats! :)

> Any ideas how to make /proc/xen automatically mounted while booting? I
> thought I already have the xenfs entry in /etc/fstab.
>
> /dev/disk/by-id/ata-ST3320620AS_9QF97Q42-part1 swap                 swap    
>   defaults              0 0
> /dev/disk/by-id/ata-ST3320620AS_9QF97Q42-part2 /                    ext3    
>   acl,user_xattr        1 1
> /dev/disk/by-id/ata-ST3320620AS_9QF97Q42-part3 /home                ext3    
>   acl,user_xattr        1 2
> proc                 /proc                proc       defaults              0
> 0
> sysfs                /sys                 sysfs      noauto                0
> 0
> debugfs              /sys/kernel/debug    debugfs    noauto                0
> 0
> devpts               /dev/pts             devpts     mode=0620,gid=5       0
> 0
> none                 /proc/xen            xenfs      defaults              0
> 0
>
> Seems the initscripts did not attempt to mount /proc/xen during system
> startup.
>

That's weird.. it should be mounted automatically when it's in fstab.
Maybe it's because sysfs /sys is 'noauto'? Try to change that to 'defaults'.

> Or should I put "mount /proc/xen" in /etc/rc.local?
>

That shouldn't be necessary.

-- Pasi

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.