From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: Starting xend: grep: /proc/xen/capabilities: No such file or directory Date: Wed, 24 Mar 2010 00:11:04 +0200 Message-ID: <20100323221104.GD1878@reaktio.net> 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> <9f975f341003231442i6d135398x853ea7431b7dc672@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <9f975f341003231442i6d135398x853ea7431b7dc672@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: kishore kumar Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Tue, Mar 23, 2010 at 02:42:32PM -0700, kishore kumar wrote: > Any suggestions on this please?? >=20 "xend: command not found" sounds like there's something wrong with your xen tools installation. Do you actually have xend installed? Also please read the lines 53, 40, and 45 from the init-script to see what's on those lines.=20 -- Pasi > On Tue, Mar 23, 2010 at 1:30 PM, kishore kumar <[1]bodkekumar@gmail.= com> > wrote: >=20 > cat /proc/xen/capabilities gives me >=20 > control_d > /etc/init.d/xend start gives me >=20 > 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 <[2]pasik@iki= .fi> > wrote: >=20 > 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. > > >=20 > Looks ok.. What does "cat /proc/xen/capabilities" say ? >=20 > Does "/etc/init.d/xend start" work? >=20 > -- Pasi > > On Tue, Mar 23, 2010 at 1:05 PM, Pasi K=E4rkk=E4inen > <[1][3]pasik@iki.fi> wrote: > > > > On Tue, Mar 23, 2010 at 01:04:34PM -0700, kishore kumar w= rote: > > > attached is the screen shot. > > > > > > I did > > > cd /lib/modules/[1][2][4]2.6.32.10/kernel/drivers/xe= n > > > 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=E4ine= n > > <[2][3][5]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][6]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_loglv= l=3Dall > > sync_console > > > > console_to_ring com1=3D115200,8n1 console=3Dv= ga,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_debug debug > > > loglevel=3D10 > > > > module /initrd-2.6.32.10.img > > > > > > > > and rebooted the machine. I hope this is a X= en+ > 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 k= ernel? > > > > > > > > > > Most probably to Xen+dom0, if you chose the grub e= ntry > 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=E4rk= k=E4inen > > > <[2][4][5][7]pasik@iki.fi> wrote: > > > > > > > > On Mon, Mar 22, 2010 at 05:00:41PM -0700, k= ishore > kumar > > wrote: > > > > > Hi all, > > > > > > > > > > I see the below message after I instal= l > xen3.4.3-rc4 > > and > > > pvops dom > > > > 0 > > > > > kernel 2.6.32.10 and reboot the machin= e. > > > > > > > > > > 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 def= aults > 0 0 in > > > /etc/fstab > > > > file. > > > > > > > > > > Is there something that I am missing h= ere? > > > > > > > > Well then actually mount /proc/xen :) > > > > (or reboot). > > > > > > > > Also did you verify you've actually reboote= d to > Xen+dom0? > > > > -- Pasi > > > > > > > > References > > > > > > > > Visible links > > > > 1. > > > [5][6][8]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/= xen.git > > > > 2. mailto:[6][7][9]pasik@iki.fi > > > > > > References > > > > > > Visible links > > > 1. [8][10]http://2.6.32.10/kernel/drivers/xen > > > 2. mailto:[9][11]pasik@iki.fi > > > 3. > > > [10][12]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/x= en.git > > > 4. mailto:[11][13]pasik@iki.fi > > > 5. > > > [12][14]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/x= en.git > > > 6. mailto:[13][15]pasik@iki.fi > > > > References > > > > Visible links > > 1. mailto:[16]pasik@iki.fi > > 2. [17]http://2.6.32.10/kernel/drivers/xen > > 3. mailto:[18]pasik@iki.fi > > 4. > [19]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gi= t > > 5. mailto:[20]pasik@iki.fi > > 6. > [21]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gi= t > > 7. mailto:[22]pasik@iki.fi > > 8. [23]http://2.6.32.10/kernel/drivers/xen > > 9. mailto:[24]pasik@iki.fi > > 10. > [25]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gi= t > > 11. mailto:[26]pasik@iki.fi > > 12. > [27]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.gi= t > > 13. mailto:[28]pasik@iki.fi >=20 > References >=20 > Visible links > 1. mailto:bodkekumar@gmail.com > 2. mailto:pasik@iki.fi > 3. mailto:pasik@iki.fi > 4. http://2.6.32.10/kernel/drivers/xen > 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://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > 9. mailto:pasik@iki.fi > 10. http://2.6.32.10/kernel/drivers/xen > 11. mailto:pasik@iki.fi > 12. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > 13. mailto:pasik@iki.fi > 14. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > 15. mailto:pasik@iki.fi > 16. mailto:pasik@iki.fi > 17. http://2.6.32.10/kernel/drivers/xen > 18. mailto:pasik@iki.fi > 19. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > 20. mailto:pasik@iki.fi > 21. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > 22. mailto:pasik@iki.fi > 23. http://2.6.32.10/kernel/drivers/xen > 24. mailto:pasik@iki.fi > 25. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > 26. mailto:pasik@iki.fi > 27. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > 28. mailto:pasik@iki.fi