[meta-freescale] meta-freescale Digest, Vol 8, Issue 15

Ashwin Kirpalani akcooper8 at gmail.com
Fri Jun 7 11:12:48 PDT 2013


On Jun 7, 2013 11:13 AM, <meta-freescale-request at yoctoproject.org> wrote:

> Send meta-freescale mailing list submissions to
>         meta-freescale at yoctoproject.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.yoctoproject.org/listinfo/meta-freescale
> or, via email, send a message with subject or body 'help' to
>         meta-freescale-request at yoctoproject.org
>
> You can reach the person managing the list at
>         meta-freescale-owner at yoctoproject.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of meta-freescale digest..."
>
>
> Today's Topics:
>
>    1. Re: fatal error while init the repo on a nfs      mounted drive
>       (Otavio Salvador)
>    2. Re: fatal error while init the repo on a nfs mounted drive
>       (Daiane Angolini)
>    3. Re: fatal error while init the repo on a nfs mounted drive
>       (Gary Thomas)
>    4. Re: fatal error while init the repo on a nfs mounted drive
>       (Thanassis Silis)
>    5. Re: fatal error while init the repo on a nfs mounted drive
>       (Thanassis Silis)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 7 Jun 2013 09:11:13 -0300
> From: Otavio Salvador <otavio at ossystems.com.br>
> To: Thanassis Silis <djnass_18 at hotmail.com>
> Cc: "meta-freescale at yoctoproject.org"
>         <meta-freescale at yoctoproject.org>
> Subject: Re: [meta-freescale] fatal error while init the repo on a nfs
>         mounted drive
> Message-ID:
>         <
> CAP9ODKryjzaHVG5tNM54UMH85Q7DhYm1HSWYYdGm5R3SrL26ug at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Fri, Jun 7, 2013 at 6:25 AM, Thanassis Silis <djnass_18 at hotmail.com
> >wrote:
>
> >  i am trying to initialize a repo (for yocto development - but it seems
> to
> > be using the same infrastructure as android).
> > since I lack space on the OS drive, I nfs mounted another disk
> (filesystem
> > is ext4 but that probably is irrelevant on the mount-client side).
> > I try to initialize the repo with the command
> >
> > ./repo init -u https://github.com/Freescale/fsl-community-bsp-platform-b dylan
> >
> > and get the error
> >
> > fatal: unable to start /mnt/lvm/public/.repo/repo/main.py
> > fatal: [Errno 13] Permission denied
> >
> > Permissions are fine on the disk. manually I can do file operations
> > without a problem.
> > Is it impossible to have the repo on an nfs drive (even at the penalty of
> > slower processing)?
> > Thank you for your help
> >
>
> I never tried this setup; I use sstate in NFS in some customers but not
> full build system.
>
> --
> Otavio Salvador                             O.S. Systems
> http://www.ossystems.com.br        http://projetos.ossystems.com.br
> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20130607/2a8cc605/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Fri, 7 Jun 2013 09:29:45 -0300
> From: Daiane Angolini <daiane.angolini at freescale.com>
> To: Otavio Salvador <otavio at ossystems.com.br>
> Cc: "meta-freescale at yoctoproject.org"
>         <meta-freescale at yoctoproject.org>
> Subject: Re: [meta-freescale] fatal error while init the repo on a nfs
>         mounted drive
> Message-ID: <51B1D239.5010105 at freescale.com>
> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
>
> On 06/07/2013 09:11 AM, Otavio Salvador wrote:
> >
> >
> >
> > On Fri, Jun 7, 2013 at 6:25 AM, Thanassis Silis <djnass_18 at hotmail.com
> > <mailto:djnass_18 at hotmail.com>> wrote:
> >
> >     i am trying to initialize a repo (for yocto development - but it
> >     seems to be using the same infrastructure as android).
> >     since I lack space on the OS drive, I nfs mounted another disk
> >     (filesystem is ext4 but that probably is irrelevant on the
> >     mount-client side).
> >     I try to initialize the repo with the command
> >
> >     |./repo init -uhttps://
> github.com/Freescale/fsl-community-bsp-platform  -b dylan
> >     |
> >
> >     and get the error
> >
> >     |fatal: unable to start /mnt/lvm/public/.repo/repo/main.py
> >     fatal: [Errno 13] Permission denied
> >     |
> >
> >     Permissions are fine on the disk. manually I can do file operations
> >     without a problem.
> >     Is it impossible to have the repo on an nfs drive (even at the
> >     penalty of slower processing)?
> >     Thank you for your help
> >
> >
> > I never tried this setup; I use sstate in NFS in some customers but not
> > full build system.
>
>
> I have never tried it as well, but error -13 from NFS when mounting
> rootfs is usually associated with missing 'sudo
> /etc/init.d/nfs-serverXXXX restart'
>
> Double check your /etc/export configuration
> --
> Daiane
>
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 07 Jun 2013 06:48:59 -0600
> From: Gary Thomas <gary at mlbassoc.com>
> To: meta-freescale at yoctoproject.org
> Subject: Re: [meta-freescale] fatal error while init the repo on a nfs
>         mounted drive
> Message-ID: <51B1D6BB.7060707 at mlbassoc.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 2013-06-07 03:25, Thanassis Silis wrote:
> > i am trying to initialize a repo (for yocto development - but it seems
> to be using the same infrastructure as android).
> > since I lack space on the OS drive, I nfs mounted another disk
> (filesystem is ext4 but that probably is irrelevant on the mount-client
> side).
> > I try to initialize the repo with the command
> >
> > |./repo init -u https://github.com/Freescale/fsl-community-bsp-platform-b dylan
> > |
> >
> > and get the error
> >
> > |fatal: unable to start /mnt/lvm/public/.repo/repo/main.py
> > fatal: [Errno 13] Permission denied
> > |
> >
> > Permissions are fine on the disk. manually I can do file operations
> without a problem.
> > Is it impossible to have the repo on an nfs drive (even at the penalty
> of slower processing)?
> > Thank you for your help
>
> I just tried this and it worked fine.
>
> When you say permissions are fine, did you check it from the
> NFS client side?  The error you are getting says that they are
> not.  Also, are you running selinux?  If so, make sure that's
> set up properly as well.
>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
>
>
> ------------------------------
>
> Message: 4
> Date: Fri, 7 Jun 2013 13:37:47 +0000
> From: Thanassis Silis <djnass_18 at hotmail.com>
> To: Gary Thomas <gary at mlbassoc.com>, "meta-freescale at yoctoproject.org"
>         <meta-freescale at yoctoproject.org>
> Subject: Re: [meta-freescale] fatal error while init the repo on a nfs
>         mounted drive
> Message-ID: <DUB116-W91F16F31C5B7F5225523F998990 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-7"
>
> Thank you all for your responses.
>
> I suspect some incompatibility in nfs server - client.
> The storage server is running slackware v14 with exports file
>
>        /mnt/lvm starland.skails.home(rw,no_subtree_check,no_root_squash)
>
> ,while the client is a linux mint.
> and I usually have to do the mounting on mint as
>
>        sudo mount -o vers=3 stargaze:/nfs/lvm /mnt/lvm/
>
> between slackware systems I never need to explicitly set the nfs version .
>
> So with that aside, and having double checked the exports file
> I tried 'touch' and 'mkdir' from the client side (of course!). I can
> create files and folders so I presume I don't have permission problems...
>
> Anyhow, since Gary provided proof that it works over nfs, I'll  keep on
> looking for the fault.
>
> Otavio, I have already moved the $SSTATE_DIR to this same nfs exported dir
> , as per your previous suggestion (in an earlier post) but it doesn't seem
> to be enough.  Either way I am using a VM for the development system so I
> am already suffering from slow builds even without the nfs. I believe build
> time will become marginally worse.
>
> Thank you all once again.
> Thanassis
>
>
> > Date: Fri, 7 Jun 2013 06:48:59 -0600
> > From: gary at mlbassoc.com
> > To: meta-freescale at yoctoproject.org
> > Subject: Re: [meta-freescale] fatal error while init the repo on a nfs
> mounted drive
> >
> > On 2013-06-07 03:25, Thanassis Silis wrote:
> > > i am trying to initialize a repo (for yocto development - but it seems
> to be using the same infrastructure as android).
> > > since I lack space on the OS drive, I nfs mounted another disk
> (filesystem is ext4 but that probably is irrelevant on the mount-client
> side).
> > > I try to initialize the repo with the command
> > >
> > > |./repo init -u
> https://github.com/Freescale/fsl-community-bsp-platform -b dylan
> > > |
> > >
> > > and get the error
> > >
> > > |fatal: unable to start /mnt/lvm/public/.repo/repo/main.py
> > > fatal: [Errno 13] Permission denied
> > > |
> > >
> > > Permissions are fine on the disk. manually I can do file operations
> without a problem.
> > > Is it impossible to have the repo on an nfs drive (even at the penalty
> of slower processing)?
> > > Thank you for your help
> >
> > I just tried this and it worked fine.
> >
> > When you say permissions are fine, did you check it from the
> > NFS client side?  The error you are getting says that they are
> > not.  Also, are you running selinux?  If so, make sure that's
> > set up properly as well.
> >
> > --
> > ------------------------------------------------------------
> > Gary Thomas                 |  Consulting for the
> > MLB Associates              |    Embedded world
> > ------------------------------------------------------------
> > _______________________________________________
> > meta-freescale mailing list
> > meta-freescale at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-freescale
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20130607/5c83e480/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 5
> Date: Fri, 7 Jun 2013 15:12:57 +0000
> From: Thanassis Silis <djnass_18 at hotmail.com>
> To: Gary Thomas <gary at mlbassoc.com>, "meta-freescale at yoctoproject.org"
>         <meta-freescale at yoctoproject.org>
> Subject: Re: [meta-freescale] fatal error while init the repo on a nfs
>         mounted drive
> Message-ID: <DUB116-W59E17C3718346A3753D86498990 at phx.gbl>
> Content-Type: text/plain; charset="iso-8859-7"
>
> just aheads up.
> and perhaps info useful to some.
> seems that using the nfs option 'async' did the trick.
>
>
> From: djnass_18 at hotmail.com
> To: gary at mlbassoc.com; meta-freescale at yoctoproject.org
> Date: Fri, 7 Jun 2013 13:37:47 +0000
> Subject: Re: [meta-freescale] fatal error while init the repo on a nfs
> mounted drive
>
>
>
>
> Thank you all for your responses.
>
> I suspect some incompatibility in nfs server - client.
> The storage server is running slackware v14 with exports file
>
>        /mnt/lvm starland.skails.home(rw,no_subtree_check,no_root_squash)
>
> ,while the client is a linux mint.
> and I usually have to do the mounting on mint as
>
>        sudo mount -o vers=3 stargaze:/nfs/lvm /mnt/lvm/
>
> between slackware systems I never need to explicitly set the nfs version .
>
> So with that aside, and having double checked the exports file
> I tried 'touch' and 'mkdir' from the client side (of course!). I can
> create files and folders so I presume I don't have permission problems...
>
> Anyhow, since Gary provided proof that it works over nfs, I'll  keep on
> looking for the fault.
>
> Otavio, I have already moved the $SSTATE_DIR to this same nfs exported dir
> , as per your previous suggestion (in an earlier post) but it doesn't seem
> to be enough.  Either way I am using a VM for the development system so I
> am already suffering from slow builds even without the nfs. I believe build
> time will become marginally worse.
>
> Thank you all once again.
> Thanassis
>
>
> > Date: Fri, 7 Jun 2013 06:48:59 -0600
> > From: gary at mlbassoc.com
> > To: meta-freescale at yoctoproject.org
> > Subject: Re: [meta-freescale] fatal error while init the repo on a nfs
> mounted drive
> >
> > On 2013-06-07 03:25, Thanassis Silis wrote:
> > > i am trying to initialize a repo (for yocto development - but it seems
> to be using the same infrastructure as android).
> > > since I lack space on the OS drive, I nfs mounted another disk
> (filesystem is ext4 but that probably is irrelevant on the mount-client
> side).
> > > I try to initialize the repo with the command
> > >
> > > |./repo init -u
> https://github.com/Freescale/fsl-community-bsp-platform -b dylan
> > > |
> > >
> > > and get the error
> > >
> > > |fatal: unable to start /mnt/lvm/public/.repo/repo/main.py
> > > fatal: [Errno 13] Permission denied
> > > |
> > >
> > > Permissions are fine on the disk. manually I can do file operations
> without a problem.
> > > Is it impossible to have the repo on an nfs drive (even at the penalty
> of slower processing)?
> > > Thank you for your help
> >
> > I just tried this and it worked fine.
> >
> > When you say permissions are fine, did you check it from the
> > NFS client side?  The error you are getting says that they are
> > not.  Also, are you running selinux?  If so, make sure that's
> > set up properly as well.
> >
> > --
> > ------------------------------------------------------------
> > Gary Thomas                 |  Consulting for the
> > MLB Associates              |    Embedded world
> > ------------------------------------------------------------
> > _______________________________________________
> > meta-freescale mailing list
> > meta-freescale at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-freescale
>
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20130607/16fa30d8/attachment.html
> >
>
> ------------------------------
>
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
>
> End of meta-freescale Digest, Vol 8, Issue 15
> *********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20130607/376c681a/attachment.html>


More information about the meta-freescale mailing list