[Starlingx-discuss] build-pkg --parallel

Scott Little scott.little at windriver.com
Wed Aug 8 16:50:35 UTC 2018


nr_inodes=0 is supplied by the mock prior to issuing the mount syscall.

There seems to be a mismatch between the mock inside your docker (I assume) and the kernel you are running.



On 18-08-06 10:58 PM, Liu, ZhipengS wrote:
>
> Hi Scott and all,
>
> I have an issue when I did parallel build and need your help
>
> It seems b1/b2/b3 could not mount to tmpfs.  Only b0 which not mount 
> to tmpfs can work.
>
> 00:09:08 ERROR: Command failed:
>
> 00:09:08 # mount -n -t tmpfs -o mode=0755 -o nr_inodes=0 -o size=5g 
> mock_chroot_tmpfs /localdisk/loadbuild/zhipengl/starlingx/std/mock/b1/root
>
> Root cause seems to be nr_inode=0, as I saw dmesg log as below.
>
> However, I could not find where or how I can change this nr_inode.
>
> [22719.688732] tmpfs: Bad value '0' for mount option 'nr_inodes'
>
> [22719.710907] tmpfs: Bad value '0' for mount option 'nr_inodes'
>
> [22726.037303] tmpfs: Bad value '0' for mount option 'nr_inodes'
>
> [22740.384578] tmpfs: Bad value '0' for mount option 'nr_inodes'
>
> [22740.385174] tmpfs: Bad value '0' for mount option 'nr_inodes'
>
> Thanks!
>
> Zhipeng
>
> *From:*Scott Little [mailto:scott.little at windriver.com]
> *Sent:* 2018年8月1日3:01
> *To:* starlingx-discuss at lists.starlingx.io
> *Subject:* [Starlingx-discuss] build-pkg --parallel
>
> I had a successful parallel build (aka build-pkgs --parallel) inside 
> the docker container.   ~1h45m on 24 core, 64G ram
>
> The prerequisite was a populated $MY_REPO/cgcs-tis-repo/dependancy-cache.
>
> Currently we only generate the cache *after* the build in the 
> 'generate-cgcs-tis-repo' step. *I'd like to see the cache stored in 
> git and updated regularly by 'official' builds.*
>
> Note: The cache doesn't have to be perfect, so a cache that is out of 
> date by a day or a week is still very useful. build-pkgs/mockchain 
> just needs a rough guide on build dependencies and potential 
> dependency loops.
>
> Scott
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20180808/7c501737/attachment.html>


More information about the Starlingx-discuss mailing list