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

Dear Pasi,
 
I am using Xen 3.4 testing branch from the xensource.com mercurial.
 
Sorry I used /etc/rc.local. It is a mistake. Fedora and Red Hat Linux uses /etc/rc.local. But in OpenSUSE it uses /etc/init.d/boot.local
 
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 18:25:33 +0800
Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel

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)
 
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!
 
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.
 
Or should I put "mount /proc/xen" in /etc/rc.local?
 
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: 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:19:44 +0300
Subject: Re: [Xen-devel] Unable to Configure Xen Dom 0 in Jeremy's PVOPS Kernel

On Thu, Jul 23, 2009 at 06:06:17PM +0800, Teo En Ming wrote:
> Dear Pasi,
>
> I ran the mount command without arguments and I got the following:
>
> /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)
>
> Apparently /proc/xen is not mounted. Sob sob sob.
>

So what does "mount /proc/xen" say ?

And what's your Xen version?

-- Pasi
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>