Re: [Yocto-bsp] [yocto] Timestamp error between zImage & uname-a [ Yocto-2.6.1 + Qemux86 ]
Thanks Ralph for informative reply . Will check once again after deleting the file you suggested . Ashish On Mon, May 13, 2019, 7:05 PM Ralph Siemsen wrote: > Hi Ashish, > > On Mon, May 13, 2019 at 5:57 AM AshishKumar Mishra < > ashish.emailaddr...@gmail.com> wrote: > >> So , time shown by "uname -a" is retains older value even though >> i had compiled the linux multiple times . >> > > This is normal behaviour, even when building the kernel directly (eg. not > using Yocto). It is a bit surprising at first, but it all comes down to > dependencies in the Makefile for the kernel. > > The version string displayed by "uname -a" comes from init/version.c in > the kernel source tree. Specifically the symbol UTS_VERSION, which is > defined in include/generated/compile.h. This file is produced when you > first build, and remains thereafter, unless you do "make clean" or > equivalent. > > Currently , only way i am able to bypass this behavior is to do bitbake -c >> cleanall linux-yocto >> before every compilation. >> > > You can delete the include/generated/compile.h file in your kernel build > directory. Upon rebuild of kernel, the file will be re-created with the > current date/time. > > Regards > Ralph > -- ___ yocto-bsp mailing list yocto-bsp@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto-bsp
Re: [Yocto-bsp] Error of " fs.inotify.max_user_watches " while using bitbake [ Yocto-2.6.1 + Qemux86]
On Mon, 2019-05-13 at 15:38 +0530, AshishKumar Mishra wrote: > Can team members please let me know the solution & what is causing > the below mentioned error ? > ( I am having around 128GB of disk space still left , hence don't > think that space is the issue here ) > > ~/Documents/linux-foundation-projects/yocto/poky/build (slef-bsp) : bitbake > -vn virtual/kernel > ERROR: No space left on device or exceeds fs.inotify.max_user_watches? > ERROR: To check max_user_watches: sysctl -n fs.inotify.max_user_watches. > ERROR: To modify max_user_watches: sysctl -n -w > fs.inotify.max_user_watches=. > ERROR: Root privilege is required to modify max_user_watches. > ERROR: Command execution failed: Traceback (most recent call last): Did you try what it says above and check the max_user_watches value? Also, did you check you had enough free inodes on the filesystem? Cheers, Richard -- ___ yocto-bsp mailing list yocto-bsp@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto-bsp
[Yocto-bsp] Error of " fs.inotify.max_user_watches " while using bitbake [ Yocto-2.6.1 + Qemux86]
Hi Members , Can team members please let me know the solution & what is causing the below mentioned error ? ( I am having around 128GB of disk space still left , hence don't think that space is the issue here ) ~/Documents/linux-foundation-projects/yocto/poky/build (slef-bsp) : bitbake -vn virtual/kernel ERROR: No space left on device or exceeds fs.inotify.max_user_watches? ERROR: To check max_user_watches: sysctl -n fs.inotify.max_user_watches. ERROR: To modify max_user_watches: sysctl -n -w fs.inotify.max_user_watches=. ERROR: Root privilege is required to modify max_user_watches. ERROR: Command execution failed: Traceback (most recent call last): File "/home/ashish/Documents/linux-foundation-projects/yocto/poky/bitbake/lib/bb/command.py", line 113, in runAsyncCommand self.cooker.updateCache() File "/home/ashish/Documents/linux-foundation-projects/yocto/poky/bitbake/lib/bb/cooker.py", line 1541, in updateCache self.add_filewatch([[dirent]], dirs=True) File "/home/ashish/Documents/linux-foundation-projects/yocto/poky/bitbake/lib/bb/cooker.py", line 287, in add_filewatch watcher.add_watch(f, self.watchmask, quiet=False) File "/home/ashish/Documents/linux-foundation-projects/yocto/poky/bitbake/lib/pyinotify.py", line 1924, in add_watch raise WatchManagerError(err, ret_) pyinotify.WatchManagerError: add_watch: cannot watch /home/ashish/Documents/linux-foundation-projects/yocto/poky/meta/recipes-devtools/mtd WD=-1, Errno=No space left on device (ENOSPC) Summary: There were 5 ERROR messages shown, returning a non-zero exit code. ~/Documents/linux-foundation-projects/yocto/poky/build (self-bsp) : ~/Documents/linux-foundation-projects/yocto/poky/build (self-bsp) : df -h /home/ashish/ Filesystem Size Used Avail Use% Mounted on /dev/nvme0n1p3 433G 284G 127G 70% / Thanks Ashish -- ___ yocto-bsp mailing list yocto-bsp@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto-bsp