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 09:29:47 +0200 Message-ID: <20100324072947.GE1878@reaktio.net> References: <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> <20100323221104.GD1878@reaktio.net> <9f975f341003231546o2c6a9ab4g67a07cc6069ad878@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: <9f975f341003231546o2c6a9ab4g67a07cc6069ad878@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 03:46:15PM -0700, kishore kumar wrote: > which init-script? > /etc/init.d/xend =20 -- Pasi > On Tue, Mar 23, 2010 at 3:11 PM, Pasi K=E4rkk=E4inen <[1]pasik@iki.f= i> wrote: >=20 > 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. >=20 > Do you actually have xend installed? >=20 > Also please read the lines 53, 40, and 45 from the init-script > to see what's on those lines. >=20 > -- Pasi >=20 > > On Tue, Mar 23, 2010 at 1:30 PM, kishore kumar > <[1][2]bodkekumar@gmail.com> > > 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 > <[2][3]pasik@iki.fi> > > wrote: > > > > On Tue, Mar 23, 2010 at 01:11:14PM -0700, kishore kumar w= rote: > > > 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][3][4]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][4][5]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=E4rk= k=E4inen > > > <[2][3][5][6]pasik@iki.fi> wrote: > > > > > > > > On Tue, Mar 23, 2010 at 12:43:16PM -0700, k= ishore > kumar > > wrote: > > > > > I have the Xen 3.4.3.rc4 installed alo= ne > 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][7]git.kernel.org/pub/scm/linux/kernel/git/jere= my/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 io= mmu=3D1 > msi=3D1 > > > > > module /vmlinuz-2.6.32.10 ro > > > root=3D/dev/VolGroup01/LogVol00 > > > > > console=3Dhvc0 earlyprintk=3Dxen nomod= eset > > initcall_debug 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 b= e > done? > > > > > > > > > > > > > So is that version of xend automatically lo= ading > > xen-evtchn.ko > > > driver > > > > module? > > > > Try loading the module with "modprobe xen-e= vtchn" > 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][7][8]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 xe= nfs > defaults > > 0 0 in > > > > /etc/fstab > > > > > file. > > > > > > > > > > > > Is there something that I am mi= ssing > 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][8][9]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/= xen.git > > > > > 2. mailto:[6][7][9][10]pasik@iki.fi > > > > > > > > References > > > > > > > > Visible links > > > > 1. [8][10][11]http://2.6.32.10/kernel/drivers= /xen > > > > 2. mailto:[9][11][12]pasik@iki.fi > > > > 3. > > > > > > [10][12][13]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/= xen.git > > > > 4. mailto:[11][13][14]pasik@iki.fi > > > > 5. > > > > > > [12][14][15]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/= xen.git > > > > 6. mailto:[13][15][16]pasik@iki.fi > > > > > > References > > > > > > Visible links > > > 1. mailto:[16][17]pasik@iki.fi > > > 2. [17][18]http://2.6.32.10/kernel/drivers/xen > > > 3. mailto:[18][19]pasik@iki.fi > > > 4. > > > [19][20]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen= .git > > > 5. mailto:[20][21]pasik@iki.fi > > > 6. > > > [21][22]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen= .git > > > 7. mailto:[22][23]pasik@iki.fi > > > 8. [23][24]http://2.6.32.10/kernel/drivers/xen > > > 9. mailto:[24][25]pasik@iki.fi > > > 10. > > > [25][26]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen= .git > > > 11. mailto:[26][27]pasik@iki.fi > > > 12. > > > [27][28]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen= .git > > > 13. mailto:[28][29]pasik@iki.fi > > > > References > > > > Visible links > > 1. mailto:[30]bodkekumar@gmail.com > > 2. mailto:[31]pasik@iki.fi > > 3. mailto:[32]pasik@iki.fi > > 4. [33]http://2.6.32.10/kernel/drivers/xen > > 5. mailto:[34]pasik@iki.fi > > 6. > [35]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > > 7. mailto:[36]pasik@iki.fi > > 8. > [37]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > > 9. mailto:[38]pasik@iki.fi > > 10. [39]http://2.6.32.10/kernel/drivers/xen > > 11. mailto:[40]pasik@iki.fi > > 12. > [41]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > > 13. mailto:[42]pasik@iki.fi > > 14. > [43]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > > 15. mailto:[44]pasik@iki.fi > > 16. mailto:[45]pasik@iki.fi > > 17. [46]http://2.6.32.10/kernel/drivers/xen > > 18. mailto:[47]pasik@iki.fi > > 19. > [48]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > > 20. mailto:[49]pasik@iki.fi > > 21. > [50]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > > 22. mailto:[51]pasik@iki.fi > > 23. [52]http://2.6.32.10/kernel/drivers/xen > > 24. mailto:[53]pasik@iki.fi > > 25. > [54]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > > 26. mailto:[55]pasik@iki.fi > > 27. > [56]http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > > 28. mailto:[57]pasik@iki.fi >=20 > References >=20 > Visible links > 1. mailto:pasik@iki.fi > 2. mailto:bodkekumar@gmail.com > 3. mailto:pasik@iki.fi > 4. mailto:pasik@iki.fi > 5. http://2.6.32.10/kernel/drivers/xen > 6. mailto:pasik@iki.fi > 7. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > 8. mailto:pasik@iki.fi > 9. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > 10. mailto:pasik@iki.fi > 11. http://2.6.32.10/kernel/drivers/xen > 12. mailto:pasik@iki.fi > 13. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > 14. mailto:pasik@iki.fi > 15. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > 16. mailto:pasik@iki.fi > 17. mailto:pasik@iki.fi > 18. http://2.6.32.10/kernel/drivers/xen > 19. mailto:pasik@iki.fi > 20. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > 21. mailto:pasik@iki.fi > 22. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > 23. mailto:pasik@iki.fi > 24. http://2.6.32.10/kernel/drivers/xen > 25. mailto:pasik@iki.fi > 26. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > 27. mailto:pasik@iki.fi > 28. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > 29. mailto:pasik@iki.fi > 30. mailto:bodkekumar@gmail.com > 31. mailto:pasik@iki.fi > 32. mailto:pasik@iki.fi > 33. http://2.6.32.10/kernel/drivers/xen > 34. mailto:pasik@iki.fi > 35. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > 36. mailto:pasik@iki.fi > 37. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > 38. mailto:pasik@iki.fi > 39. http://2.6.32.10/kernel/drivers/xen > 40. mailto:pasik@iki.fi > 41. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > 42. mailto:pasik@iki.fi > 43. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > 44. mailto:pasik@iki.fi > 45. mailto:pasik@iki.fi > 46. http://2.6.32.10/kernel/drivers/xen > 47. mailto:pasik@iki.fi > 48. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > 49. mailto:pasik@iki.fi > 50. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > 51. mailto:pasik@iki.fi > 52. http://2.6.32.10/kernel/drivers/xen > 53. mailto:pasik@iki.fi > 54. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > 55. mailto:pasik@iki.fi > 56. http://git.kernel.org/pub/scm/linux/kernel/git/jeremy/xen.git > 57. mailto:pasik@iki.fi