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/
Home Products Support Community News


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.


> 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 mailing list
<Prev in Thread] Current Thread [Next in Thread>