From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sander Eikelenboom Subject: Re[2]: Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel Date: Thu, 23 Jul 2009 18:44:03 +0200 Message-ID: <638000225.20090723184403@eikelenboom.it> References: <20090723100920.GY24960@edu.joroinen.fi> <20090723101944.GZ24960@edu.joroinen.fi> <20090723104128.GA24960@edu.joroinen.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Teo En Ming Cc: xen-devel@lists.xensource.com, jeremy.fitzhardinge@citrix.com List-Id: xen-devel@lists.xenproject.org Hello Teo, And perhaps try to create the domain with the -c option ... "xm create -c path_to_domain_cfg" could shed some light ... (ctrl-] to return to dom0 console) Regards, Sander Thursday, July 23, 2009, 6:13:02 PM, you wrote: > Hi!!! > I have managed to install CentOS 4.7 paravirtualized guest on Xen Dom 0= =20 > Jeremy Fitzhardinge's pv_ops kernel successfully. Please see screenshots= =20 > here:=20 > 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=20 > domain. > I have tried to mount/access the CentOS 4.7 guest disk image file and fou= nd > out that xenU (xen-aware) kernel and initial ramdisk images were installe= d. > PV Guest GRUB was also configured to boot the xenU kernel. Please see=20 > screenshot:=20 > http://1.bp.blogspot.com/_zzjv8MCM2sk/SmiMcYsFzAI/AAAAAAAAACk/rYxOFDHuD00= /s1600-h/xen18.jpeg > My CentOS 4.7 PV guest domain configuration is as follows: =20 > 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= =20 > the guest domain configuration correct/sufficient? Please advise. > Thank you!!! > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)=20 > BEng(Hons)(Mechanical Engineering) > Technical Support Engineer > Information Technology Department > =20 > Asiasoft Online Pte Ltd > =20 > Tampines Central 1 #04-01 Tampines Plaza > =20 > Singapore 529541 > Republic of Singapore > =20 > Mobile Phone: +65-9648-9798 > =20 > MSN: teoenming@hotmail.com > -----Original Message----- > From: "Teo En Ming" > To: "Pasi K=E4rkk=E4inen" > Cc: xen-devel@lists.xensource.com, jeremy.fitzhardinge@citrix.com > Date: Thu, 23 Jul 2009 19:52:23 +0800 > Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS= =20 > Kernel > Dear Pasi, > Thank you!!! > I am now creating a virtual harddisk for my Xen virtual machine.=20 > Creating a 146 GB virtual harddisk: > # dd if=3D/dev/zero of=3D/home/enming/ga-nfs.img bs=3D1M count=3D149504 > I am going to run CentOS 4.7 32-bit linux on it! > Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics Engineering)=20 > BEng(Hons)(Mechanical Engineering) > Technical Support Engineer > Information Technology Department > =20 > Asiasoft Online Pte Ltd > =20 > Tampines Central 1 #04-01 Tampines Plaza > =20 > Singapore 529541 > Republic of Singapore > =20 > Mobile Phone: +65-9648-9798 > =20 > MSN: teoenming@hotmail.com > -----Original=20 > Message----- > =20 > From: Pasi K=E4rkk=E4inen > =20 > To: Teo En Ming > =20 > Cc: xen-devel@lists.xensource.com, jeremy.fitzhardinge@citrix.com > =20 > Date: Thu, 23 Jul 2009 13:41:28 +0300 > =20 > Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's=20 > PVOPS Kernel > =20 > =20 > =20 > On Thu, Jul 23,=20 > 2009 at 06:25:33PM +0800, Teo En Ming wrote: > =20 >> Dear Pasi, > =20 >> > =20 >> I ran "mount /proc/xen" manually *after* the system booted=20 > up, it read > =20 >> /etc/fstab, and mounted /proc/xen successfully!!! > =20 >> > =20 >> Please see the last line of the following "mount" output: > =20 >> > =20 >> /dev/sda2 on / type ext3 (rw,acl,user_xattr) > =20 >> /proc on /proc type proc (rw) > =20 >> sysfs on /sys type sysfs (rw) > =20 >> debugfs on /sys/kernel/debug type debugfs (rw) > =20 >> udev on /dev type tmpfs (rw) > =20 >> devpts on /dev/pts type devpts (rw,mode=3D0620,gid=3D5) > =20 >> /dev/sda3 on /home type ext3 (rw,acl,user_xattr) > =20 >> fusectl on /sys/fs/fuse/connections type fusectl (rw) > =20 >> none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) > =20 >> gvfs-fuse-daemon on /home/enming/.gvfs type=20 > fuse.gvfs-fuse-daemon > =20 >> (rw,nosuid,nodev,user=3Denming) > =20 >> none on /proc/xen type xenfs (rw) > =20 >> > =20 > =20 > Yep, now it's mounted :) > =20 > =20 >> It is very strange that the system did not mount /proc/xen=20 > automatically as > =20 >> indicated in /etc/fstab during bootup. > =20 >> > =20 > =20 > Indeed. > =20 > =20 >> Now I am able to start xend daemon. Please see > =20 >>=20 > http://2.bp.blogspot.com/_zzjv8MCM2sk/Smg7pKoH_JI/AAAAAAAAABU/TVkqEEyLzYQ= /s1600-h/xen08.jpeg > [http://2.bp.blogspot.com/_zzjv8MCM2sk/Smg7pKoH_JI/AAAAAAAAABU/TVkqEEyLzY= Q/s1600-h/xen08.jpeg] > =20 >> > =20 >> And I can see domain 0 using the "xm list" command already! > =20 >> > =20 > =20 > Congrats! :) > =20 > =20 >> Any ideas how to make /proc/xen automatically mounted while=20 > booting? I > =20 >> thought I already have the xenfs entry in /etc/fstab. > =20 >> > =20 >> /dev/disk/by-id/ata-ST3320620AS_9QF97Q42-part1 swap =20 > swap =20 > =20 >> defaults =20 > 0 0 > =20 >> /dev/disk/by-id/ata-ST3320620AS_9QF97Q42-part2 / =20 > ext3 =20 > =20 > =20 >> acl,user_xattr 1 1 > =20 >> /dev/disk/by-id/ata-ST3320620AS_9QF97Q42-part3 /home =20 > ext3 =20 > =20 >> acl,user_xattr 1 2 > =20 >> proc =20 > /proc proc =20 > defaults 0 > =20 >> 0 > =20 >> sysfs =20 > /sys sysfs=20 > noauto =20 > 0 > =20 >> 0 > =20 >> debugfs =20 > /sys/kernel/debug debugfs noauto =20 > 0 > =20 >> 0 > =20 >> devpts =20 > /dev/pts devpts =20 > mode=3D0620,gid=3D5 0 > =20 >> 0 > =20 >> none =20 > /proc/xen xenfs =20 > defaults 0 > =20 >> 0 > =20 >> > =20 >> Seems the initscripts did not attempt to mount /proc/xen=20 > during system > =20 >> startup. > =20 >> > =20 > =20 > That's weird.. it should be mounted automatically when it's in=20 > fstab. > =20 > Maybe it's because sysfs /sys is 'noauto'? Try to change that to=20 > 'defaults'. > =20 > =20 >> Or should I put "mount /proc/xen" in /etc/rc.local? > =20 >> > =20 > =20 > That shouldn't be necessary. > =20 > =20 > -- Pasi > =20 > =20 > _______________________________________________ > =20 > Xen-devel mailing list > =20 > Xen-devel@lists.xensource.com > =20 > http://lists.xensource.com/xen-devel > [http://lists.xensource.com/xen-devel] --=20 Best regards, Sander mailto:linux@eikelenboom.it