All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sander Eikelenboom <linux@eikelenboom.it>
To: Teo En Ming <enming.teo@asiasoftsea.net>
Cc: xen-devel@lists.xensource.com, jeremy.fitzhardinge@citrix.com
Subject: Re[2]: Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel
Date: Thu, 23 Jul 2009 18:44:03 +0200	[thread overview]
Message-ID: <638000225.20090723184403@eikelenboom.it> (raw)
In-Reply-To: <WC20090723161302.25009A@asiasoftsea.net>

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 
> 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@hotmail.com


> -----Original Message-----

> From: "Teo En Ming" <enming.teo@asiasoftsea.net>

> To: "Pasi Kärkkäinen" <pasik@iki.fi>

> 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 
> 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@hotmail.com



> -----Original 
> Message-----
>   
>  From: Pasi Kärkkäinen <pasik@iki.fi>
>   
>  To: Teo En Ming <enming.teo@asiasoftsea.net>
>   
>  Cc: xen-devel@lists.xensource.com, jeremy.fitzhardinge@citrix.com
>   
>  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
> [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@lists.xensource.com
>     
>  http://lists.xensource.com/xen-devel
> [http://lists.xensource.com/xen-devel]



-- 
Best regards,
 Sander                            mailto:linux@eikelenboom.it

  parent reply	other threads:[~2009-07-23 16:44 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-22 12:36 Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel Teo En Ming
2009-07-22 13:30 ` Pasi Kärkkäinen
2009-07-22 13:54   ` Teo En Ming
2009-07-22 15:40     ` Teo En Ming
2009-07-22 15:47       ` Teo En Ming
2009-07-22 16:04         ` Pasi Kärkkäinen
2009-07-22 16:27           ` Pasi Kärkkäinen
2009-07-22 16:52             ` Teo En Ming (Zhang Enming)
2009-07-22 17:17               ` Teo En Ming (Zhang Enming)
2009-07-22 17:32                 ` Pasi Kärkkäinen
2009-07-23  2:21                   ` Teo En Ming
2009-07-23  2:42                     ` Teo En Ming
2009-07-23  3:27                     ` Teo En Ming
2009-07-23  3:20                       ` Teo En Ming
2009-07-23  9:19                       ` Teo En Ming
2009-07-23  9:12                         ` Teo En Ming
2009-07-23 10:02                           ` Teo En Ming
2009-07-23 10:09                           ` Pasi Kärkkäinen
2009-07-23 10:06                             ` Teo En Ming
2009-07-23 10:19                               ` Pasi Kärkkäinen
2009-07-23 10:25                                 ` Teo En Ming
2009-07-23 10:30                                   ` Teo En Ming
2009-07-23 10:41                                   ` Pasi Kärkkäinen
2009-07-23 11:52                                     ` Teo En Ming
2009-07-23 16:13                                       ` Teo En Ming
2009-07-23 16:40                                         ` Re[2]: " Sander Eikelenboom
2009-07-23 16:44                                           ` Teo En Ming
2009-07-23 17:03                                             ` Teo En Ming
2009-07-23 17:06                                               ` Teo En Ming
2009-07-23 17:23                                                 ` Re[4]: " Sander Eikelenboom
2009-07-23 17:17                                                   ` Teo En Ming
2009-07-23 17:45                                                     ` Re[6]: " Sander Eikelenboom
2009-07-23 17:46                                                       ` Teo En Ming
2009-07-23 18:09                                                         ` [SPAM] Re[8]: " Sander Eikelenboom
2009-07-23 18:08                                                           ` Teo En Ming
2009-07-23 18:24                                                             ` Teo En Ming
2009-07-23 18:43                                                               ` Teo En Ming
2009-07-23 19:11                                                                 ` Teo En Ming
2009-07-23 19:48                                                                   ` Pasi Kärkkäinen
2009-07-23 19:51                                                                     ` Teo En Ming
2009-07-23 20:24                                                                       ` Pasi Kärkkäinen
2009-07-23 20:25                                                                         ` Teo En Ming
2009-07-23 20:32                                                                           ` Teo En Ming
2009-07-24  8:19                                                                             ` Teo En Ming
2009-07-24 12:37                                                                               ` Teo En Ming
2009-07-24 13:31                                                                                 ` Pasi Kärkkäinen
2009-07-24 13:54                                                                                   ` Teo En Ming
2009-07-24 14:54                                                                                     ` Teo En Ming
2009-07-24 16:19                                                                                       ` Teo En Ming
2009-07-23 16:44                                         ` Sander Eikelenboom [this message]
2009-07-23 19:21                                         ` Pasi Kärkkäinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=638000225.20090723184403@eikelenboom.it \
    --to=linux@eikelenboom.it \
    --cc=enming.teo@asiasoftsea.net \
    --cc=jeremy.fitzhardinge@citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.