From mboxrd@z Thu Jan 1 00:00:00 1970 From: kishore kumar Subject: Re: Starting xend: grep: /proc/xen/capabilities: No such file or directory Date: Tue, 23 Mar 2010 14:42:32 -0700 Message-ID: <9f975f341003231442i6d135398x853ea7431b7dc672@mail.gmail.com> References: <9f975f341003221700s518b6a43yd4ceeb628ef3dcc4@mail.gmail.com> <20100323072310.GB1878@reaktio.net> <9f975f341003231243g4dfb12ffn1ca428c8fc22379c@mail.gmail.com> <20100323195113.GX1878@reaktio.net> <9f975f341003231304x54120858lf1a7d878bfcdfe2d@mail.gmail.com> <20100323200558.GA1878@reaktio.net> <9f975f341003231311o3d60501eg259c6724451cd738@mail.gmail.com> <20100323201604.GB1878@reaktio.net> <9f975f341003231330v6fa12cd9w4ed92be92b1410df@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0043950178==" Return-path: In-Reply-To: <9f975f341003231330v6fa12cd9w4ed92be92b1410df@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: =?ISO-8859-1?Q?Pasi_K=E4rkk=E4inen?= Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0043950178== Content-Type: multipart/alternative; boundary=0016361e7b32efb58304827eb0e5 --0016361e7b32efb58304827eb0e5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Any suggestions on this please?? On Tue, Mar 23, 2010 at 1:30 PM, kishore kumar wrote= : > cat /proc/xen/capabilities gives me > > control_d > /etc/init.d/xend start gives me > > mount: xenfs already mounted or /proc/xen busy > mount: according to mtab, none is already mounted on /proc/xen > /etc/init.d/xend: line53: xend: command not found > /etc/init.d/xend: line40: xend: command not found > /etc/init.d/xend: line45: xend: command not found > On Tue, Mar 23, 2010 at 1:16 PM, Pasi K=E4rkk=E4inen wro= te: > >> On Tue, Mar 23, 2010 at 01:11:14PM -0700, kishore kumar wrote: >> > Yes. I see below in /proc/xen after mount >> > >> > capabilities >> > privcmd >> > xenbus >> > xsd_kva >> > xsd_port. >> > >> >> Looks ok.. What does "cat /proc/xen/capabilities" say ? >> >> Does "/etc/init.d/xend start" work? >> >> -- Pasi >> >> > On Tue, Mar 23, 2010 at 1:05 PM, Pasi K=E4rkk=E4inen <[1]pasik@iki.= fi> >> wrote: >> > >> > On Tue, Mar 23, 2010 at 01:04:34PM -0700, kishore kumar wrote: >> > > attached is the screen shot. >> > > >> > > I did >> > > cd /lib/modules/[1][2]2.6.32.10/kernel/drivers/xen >> > > modprobe xen-evtchn >> > > >> > > and then did >> > > >> > > mount -t xenfs none /proc/xen. >> > > >> > > But still the same problem. >> > > >> > >> > Does the mount succeed? Is there anything under /proc/xen? >> > >> > -- Pasi >> > > On Tue, Mar 23, 2010 at 12:51 PM, Pasi K=E4rkk=E4inen >> > <[2][3]pasik@iki.fi> wrote: >> > > >> > > On Tue, Mar 23, 2010 at 12:43:16PM -0700, kishore kumar >> wrote: >> > > > I have the Xen 3.4.3.rc4 installed alone with >> > > > >> > > > make xen >> > > > >> > > > make stubdom, >> > > > >> > > > make tools >> > > > >> > > > make install-xen >> > > > make install-tools >> > > > make install-stubdom >> > > > >> > > > >> > > > and pulled dom 0 kernel from >> > > > >> > > > git clone >> > > >> > git://[1][3][4] >> git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git >> > > > and compiled the kernel. >> > > > >> > > > modified the grub.conf as below >> > > > >> > > > title xen/pvops (2.6.32.10) >> > > > root (hd0,0) >> > > > kernel /xen.gz loglvl=3Dall guest_loglvl=3Dall >> > sync_console >> > > > console_to_ring com1=3D115200,8n1 console=3Dvga,com1 >> lapic=3Ddebug >> > > > apic_verbosity=3Ddebug apic=3Ddebug iommu=3D1 msi=3D1 >> > > > module /vmlinuz-2.6.32.10 ro >> > root=3D/dev/VolGroup01/LogVol00 >> > > > console=3Dhvc0 earlyprintk=3Dxen nomodeset initcall_d= ebug >> debug >> > > loglevel=3D10 >> > > > module /initrd-2.6.32.10.img >> > > > >> > > > and rebooted the machine. I hope this is a Xen+ dom0= . >> > Please >> > > correct me >> > > > if I am wrong here. >> > > > >> > > > After reboot I see >> > > > Starting xend: grep: /proc/xen/capabilities: No such >> file >> > or >> > > directory >> > > > >> > > > I added none /proc/xen xenfs defaults 0 0 in >> /etc/fstab >> > file and >> > > > rebooted. still the same problem. >> > > > >> > > > Is there anything else that needs to be done? >> > > > >> > > >> > > So is that version of xend automatically loading >> xen-evtchn.ko >> > driver >> > > module? >> > > Try loading the module with "modprobe xen-evtchn" and then >> try >> > mounting >> > > the /proc/xen. >> > > > Am I booted with Xen+dom0 or just the linux kernel? >> > > > >> > > >> > > Most probably to Xen+dom0, if you chose the grub entry you >> pasted >> > above. >> > > >> > > -- Pasi >> > > > My uname -a is >> > > > >> > > > Linux localhost.localdomain 2.6.32.10 >> > > > >> > > > Thanks >> > > > >> > > > >> > > > On Tue, Mar 23, 2010 at 12:23 AM, Pasi K=E4rkk=E4inen >> > > <[2][4][5]pasik@iki.fi> wrote: >> > > > >> > > > On Mon, Mar 22, 2010 at 05:00:41PM -0700, kishore >> kumar >> > wrote: >> > > > > Hi all, >> > > > > >> > > > > I see the below message after I install >> xen3.4.3-rc4 >> > and >> > > pvops dom >> > > > 0 >> > > > > kernel 2.6.32.10 and reboot the machine. >> > > > > >> > > > > Starting xend: grep: /proc/xen/capabilities: = No >> such >> > file >> > > or >> > > > directory >> > > > > >> > > > > I did below steps too. >> > > > > >> > > > > step 1: insmod xen-evtchn.ko >> > > > > step 2: Added none /proc/xen xenfs defaults 0 = 0 >> in >> > > /etc/fstab >> > > > file. >> > > > > >> > > > > Is there something that I am missing here? >> > > > >> > > > Well then actually mount /proc/xen :) >> > > > (or reboot). >> > > > >> > > > Also did you verify you've actually rebooted to >> Xen+dom0? >> > > > -- Pasi >> > > > >> > > > References >> > > > >> > > > Visible links >> > > > 1. >> > [5][6] >> http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git >> > > > 2. mailto:[6][7]pasik@iki.fi >> > > >> > > References >> > > >> > > Visible links >> > > 1. [8]http://2.6.32.10/kernel/drivers/xen >> > > 2. mailto:[9]pasik@iki.fi >> > > 3. >> > [10]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git >> > > 4. mailto:[11]pasik@iki.fi >> > > 5. >> > [12]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git >> > > 6. mailto:[13]pasik@iki.fi >> > >> > References >> > >> > Visible links >> > 1. mailto:pasik@iki.fi >> > 2. http://2.6.32.10/kernel/drivers/xen >> > 3. mailto:pasik@iki.fi >> > 4. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git >> > 5. mailto:pasik@iki.fi >> > 6. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git >> > 7. mailto:pasik@iki.fi >> > 8. http://2.6.32.10/kernel/drivers/xen >> > 9. mailto:pasik@iki.fi >> > 10. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git >> > 11. mailto:pasik@iki.fi >> > 12. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git >> > 13. mailto:pasik@iki.fi >> > > --0016361e7b32efb58304827eb0e5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Any suggestions on this please??

On Tue, Mar 23, 2010 at 1:30 PM, kishore kumar <= span dir=3D"ltr"><bodkekumar@gma= il.com> wrote:
cat /proc/xen/capabilities gives me
=A0
control_d
/etc/init.d/xend start=A0 gives me
=A0
mount: xenfs already mounted or /proc/xen busy
mount: according to mtab, none is already mounted on /proc/xen
/etc/init.d/xend: line53: xend: command not found
/etc/init.d/xend: line40: xend: command not found
/etc/init.d/xend: line45: xend: command not found
On Tue, Mar 23, 2010 at 1:16 PM, Pasi K=E4rkk=E4= inen <pasik@iki.fi> wrote:
On Tue, Mar 23, 2010 at 01:11:14PM -0700, kishore kumar wrote:
>= =A0 =A0Yes. =A0I see below in /proc/xen after mount
>
> =A0 = =A0capabilities
> =A0 =A0privcmd
> =A0 =A0xenbus
> =A0 = =A0xsd_kva
> =A0 =A0xsd_port.
>

Looks ok.. What does "cat /proc/xen/capabilities&quo= t; say ?

Does "/etc/init.d/xend start" work?

-- Pas= i

> =A0 =A0On Tue, Mar 23, 2010 at 1:05 PM, Pasi K=E4rkk=E4inen &= lt;[1]pasik@iki.fi>= ; wrote:
>
> =A0 =A0 =A0On Tue, Mar 23, 2010 at 01:04:34PM -070= 0, kishore kumar wrote:
> =A0 =A0 =A0> =A0 =A0attached is the screen shot.
> =A0 =A0 = =A0>
> =A0 =A0 =A0> =A0 =A0I did
> =A0 =A0 =A0> = =A0 =A0cd /lib/modules/[1][2]2.6.32.10/kernel/drivers/xen
> =A0 =A0 =A0> =A0 =A0 =A0modprobe xen-evtchn
> =A0 =A0 = =A0>
> =A0 =A0 =A0> =A0 =A0and then did
> =A0 =A0 =A0>=
> =A0 =A0 =A0> =A0 =A0mount -t xenfs none =A0/proc/xen.
> = =A0 =A0 =A0>
> =A0 =A0 =A0> =A0 =A0But still the same problem.<= br> > =A0 =A0 =A0>
>
> =A0 =A0 =A0Does the mount succeed? Is = there anything under /proc/xen?
>
> =A0 =A0 =A0-- Pasi
> = =A0 =A0 =A0> =A0 =A0On Tue, Mar 23, 2010 at 12:51 PM, Pasi K=E4rkk=E4ine= n
> =A0 =A0 =A0<[2][3]pasik@iki.fi> wrote:
> =A0 =A0 =A0>
> =A0 =A0 = =A0> =A0 =A0 =A0On Tue, Mar 23, 2010 at 12:43:16PM -0700, kishore kumar = wrote:
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0I have the Xen 3.4.3.= rc4 installed alone with
> =A0 =A0 =A0> =A0 =A0 =A0>
> =A0 =A0 =A0> =A0 =A0 =A0>= ; =A0 =A0make xen
> =A0 =A0 =A0> =A0 =A0 =A0>
> =A0 =A0 = =A0> =A0 =A0 =A0> =A0 =A0make stubdom,
> =A0 =A0 =A0> =A0 = =A0 =A0>
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0make tools
&g= t; =A0 =A0 =A0> =A0 =A0 =A0>
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0make install-xen
> =A0 = =A0 =A0> =A0 =A0 =A0> =A0 =A0make install-tools
> =A0 =A0 =A0&g= t; =A0 =A0 =A0> =A0 =A0make install-stubdom
> =A0 =A0 =A0> =A0 = =A0 =A0>
> =A0 =A0 =A0> =A0 =A0 =A0>
> =A0 =A0 =A0>= =A0 =A0 =A0> =A0 =A0and pulled dom 0 kernel from
> =A0 =A0 =A0> =A0 =A0 =A0>
> =A0 =A0 =A0> =A0 =A0 =A0>= ; =A0 =A0git clone
> =A0 =A0 =A0>
> =A0 =A0 =A0 git://= [1][3][4]git.kernel.org/pub/scm/linux/kernel/git/jeremy/xe= n.git
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0and compiled the kernel.> =A0 =A0 =A0> =A0 =A0 =A0>
> =A0 =A0 =A0> =A0 =A0 =A0&= gt; =A0 =A0modified the grub.conf as below
> =A0 =A0 =A0> =A0 =A0 = =A0>
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0title =A0 =A0 =A0 xe= n/pvops (2.6.32.10)
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0root =A0 =A0 =A0 =A0 (hd0,0)> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0kernel =A0 =A0 =A0 /xen.gz log= lvl=3Dall guest_loglvl=3Dall
> =A0 =A0 =A0sync_console
> =A0 = =A0 =A0> =A0 =A0 =A0> =A0 =A0console_to_ring com1=3D115200,8n1 consol= e=3Dvga,com1 lapic=3Ddebug
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0apic_verbosity=3Ddebug apic=3Dd= ebug iommu=3D1 msi=3D1
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0modul= e =A0 =A0 =A0 /vmlinuz-2.6.32.10 ro
> =A0 =A0 =A0root=3D/dev/VolGroup= 01/LogVol00
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0console=3Dhvc0 e= arlyprintk=3Dxen nomodeset initcall_debug debug
> =A0 =A0 =A0> =A0 =A0 =A0loglevel=3D10
> =A0 =A0 =A0> =A0 = =A0 =A0> =A0 =A0module =A0 =A0 =A0 /initrd-2.6.32.10.img
> =A0 =A0= =A0> =A0 =A0 =A0>
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0and= rebooted the machine. =A0I hope this is a Xen+ dom0.
> =A0 =A0 =A0Pl= ease
> =A0 =A0 =A0> =A0 =A0 =A0correct me
> =A0 =A0 =A0> =A0 =A0 = =A0> =A0 =A0if I am wrong here.
> =A0 =A0 =A0> =A0 =A0 =A0><= br>> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0After reboot I see
> = =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0Starting xend: =A0grep: /proc/xen/ca= pabilities: No such file
> =A0 =A0 =A0or
> =A0 =A0 =A0> =A0 =A0 =A0directory
> =A0= =A0 =A0> =A0 =A0 =A0>
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 = =A0I added none /proc/xen xenfs defaults 0 0 =A0in /etc/fstab
> =A0 = =A0 =A0file and
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0rebooted. = =A0still the same problem.
> =A0 =A0 =A0> =A0 =A0 =A0>
> =A0 =A0 =A0> =A0 =A0 =A0>= ; =A0 =A0Is there anything else that needs to be done?
> =A0 =A0 =A0&= gt; =A0 =A0 =A0>
> =A0 =A0 =A0>
> =A0 =A0 =A0> =A0 =A0= =A0So is that version of xend automatically loading xen-evtchn.ko
> =A0 =A0 =A0driver
> =A0 =A0 =A0> =A0 =A0 =A0module?
> = =A0 =A0 =A0> =A0 =A0 =A0Try loading the module with "modprobe xen-e= vtchn" and then try
> =A0 =A0 =A0mounting
> =A0 =A0 =A0>= ; =A0 =A0 =A0the /proc/xen.
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0= Am I booted with Xen+dom0 or just the linux kernel?
> =A0 =A0 =A0> =A0 =A0 =A0>
> =A0 =A0 =A0>
> =A0 = =A0 =A0> =A0 =A0 =A0Most probably to Xen+dom0, if you chose the grub ent= ry you pasted
> =A0 =A0 =A0above.
> =A0 =A0 =A0>
> =A0= =A0 =A0> =A0 =A0 =A0-- Pasi
> =A0 =A0 =A0> =A0 =A0 =A0> =A0= =A0My uname -a is
> =A0 =A0 =A0> =A0 =A0 =A0>
> =A0 =A0 =A0> =A0 =A0 =A0>= ; =A0 =A0Linux localhost.localdomain 2.6.32.10
> =A0 =A0 =A0> =A0 = =A0 =A0>
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0Thanks
> = =A0 =A0 =A0> =A0 =A0 =A0>
> =A0 =A0 =A0> =A0 =A0 =A0>
= > =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0On Tue, Mar 23, 2010 at 12:23 A= M, Pasi K=E4rkk=E4inen
> =A0 =A0 =A0> =A0 =A0 =A0<[2][4][5]pasik@iki.fi> wrote:
> =A0 =A0 =A0>= ; =A0 =A0 =A0>
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0 =A0On Mon= , Mar 22, 2010 at 05:00:41PM -0700, kishore kumar
> =A0 =A0 =A0wrote:
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0 =A0&= gt; =A0 =A0Hi all,
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0 =A0><= br>> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0I see the be= low message after I install xen3.4.3-rc4
> =A0 =A0 =A0and
> =A0= =A0 =A0> =A0 =A0 =A0pvops dom
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0 =A00
> =A0 =A0 =A0> = =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0kernel 2.6.32.10 and reboot the mach= ine.
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0 =A0>
> =A0 = =A0 =A0> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0Starting xend: =A0grep: = /proc/xen/capabilities: No such
> =A0 =A0 =A0file
> =A0 =A0 =A0> =A0 =A0 =A0or
> =A0 =A0 = =A0> =A0 =A0 =A0> =A0 =A0 =A0directory
> =A0 =A0 =A0> =A0 = =A0 =A0> =A0 =A0 =A0>
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0= =A0> =A0 =A0I did below steps too.
> =A0 =A0 =A0> =A0 =A0 =A0&= gt; =A0 =A0 =A0>
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0step 1: =A0insm= od xen-evtchn.ko
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0 =A0> = =A0 =A0step 2: Added none /proc/xen xenfs defaults 0 0 =A0in
> =A0 = =A0 =A0> =A0 =A0 =A0/etc/fstab
> =A0 =A0 =A0> =A0 =A0 =A0> = =A0 =A0 =A0file.
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0 =A0>
> =A0 =A0 =A0>= ; =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0Is there something that I am missi= ng here?
> =A0 =A0 =A0> =A0 =A0 =A0>
> =A0 =A0 =A0> = =A0 =A0 =A0> =A0 =A0 =A0Well then actually mount /proc/xen :)
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0 =A0(or reboot).
> =A0 = =A0 =A0> =A0 =A0 =A0>
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0= =A0Also did you verify you've actually rebooted to Xen+dom0?
> = =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0 =A0-- Pasi
> =A0 =A0 =A0> = =A0 =A0 =A0>
> =A0 =A0 =A0> =A0 =A0 =A0> References
> =A0 =A0 =A0> =A0= =A0 =A0>
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A0Visible links> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A01.
> =A0 = =A0 =A0[5][6]http://git.kernel.org/pub/scm/linux/kernel/gi= t/jeremy/xen.git
> =A0 =A0 =A0> =A0 =A0 =A0> =A0 =A02. mailto:[6][7]pasik@iki.fi
> =A0 =A0 =A0>=
> =A0 =A0 =A0> References
> =A0 =A0 =A0>
> =A0 =A0= =A0> =A0 =A0Visible links
> =A0 =A0 =A0> =A0 =A01. [8]http://2.6.32.10= /kernel/drivers/xen
> =A0 =A0 =A0> =A0 =A02. mailto:[9]pasik@iki.fi
> =A0 =A0 =A0> =A0 =A03.
> = =A0 =A0 =A0[10]http://git.kernel.org/pub/scm/linux/kernel/= git/jeremy/xen.git
> =A0 =A0 =A0> =A0 =A04. mailto:[11]pasik@iki.fi
> =A0 =A0 =A0> =A0 =A05.
>= =A0 =A0 =A0[12]http://git.kernel.org/pub/scm/linux/kernel= /git/jeremy/xen.git
> =A0 =A0 =A0> =A0 =A06. mailto:[13]pasik@iki.fi
>
> References
>
>= ; =A0 =A0Visible links
> =A0 =A01. mailto:pasik@iki.fi
> =A0 =A03.= mailto:pasik@iki.fi<= br>> =A0 =A04. http://git.kernel.org/pub/scm/linux/kern= el/git/jeremy/xen.git
> =A0 =A05. mailto:pas= ik@iki.fi
> =A0 =A06. http://git.kernel.org/pub/= scm/linux/kernel/git/jeremy/xen.git
> =A0 =A07. mailto:pas= ik@iki.fi
> =A0 =A09.= mailto:pasik@iki.fi<= br>> =A0 10. http://git.kernel.org/pub/scm/linux/kernel= /git/jeremy/xen.git
> =A0 11. mailto:pasik= @iki.fi
> =A0 12. http://git.kernel.org/pub/scm/= linux/kernel/git/jeremy/xen.git
> =A0 13. mailto:pasik= @iki.fi


--0016361e7b32efb58304827eb0e5-- --===============0043950178== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --===============0043950178==--