WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

<Prev in Thread] Current Thread [Next in Thread>