* Problem to compile kernel (enable nfsd) @ 2013-05-29 18:15 Caio 2013-05-29 18:19 ` Tom Zanussi 2013-05-29 18:19 ` Bruce Ashfield 0 siblings, 2 replies; 14+ messages in thread From: Caio @ 2013-05-29 18:15 UTC (permalink / raw) To: yocto Hello, I'm following the ELC2013 hands-on (https://www.yoctoproject.org/sites/yoctoproject.org/files/elc2013-kernel-lab.pdf) but with poky 9.0. Git Branch (b15bdd842092f2335784c20b8e1b3a0ddcf7996b) In the lab3 I'm trying to compile a kernel from master git tree. But I'm having these trouble to enable NFSD. -WARNING: addon feature "features/nfsd/nfsd-enable" was not found My log: Build Configuration: BB_VERSION = "1.18.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-12.04" TARGET_SYS = "i586-poky-linux" MACHINE = "lab3-qemux86" DISTRO = "poky" DISTRO_VERSION = "1.4.1" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp meta-lab3-qemux86 = "dylan:3768675706462c0cc8566ead958161e77e2247e9" NOTE: Resolving any missing task queue dependencies NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: Function failed: do_patch (see /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 for further information) ERROR: Logfile of failure stored in: /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 Log data follows: | DEBUG: Executing shell function do_patch | WARNING: no meta data branch found ... | Already on 'linux-3.4.y' | WARNING: addon feature "features/nfsd/nfsd-enable" was not found | ERROR: required features were not found. aborting | ERROR. Could not update linux-3.4.y | ERROR: Function failed: do_patch (see /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 for further information) ERROR: Task 843 (/home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, do_patch) failed with exit code '1' NOTE: Tasks Summary: Attempted 1618 tasks of which 1613 didn't need to be rerun and 1 failed. No currently running tasks (1618 of 1647) Summary: 1 task failed: /home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, do_patch Summary: There was 1 ERROR message shown, returning a non-zero exit code. I tryed configure defconf to CONFIG_NETWORK_FILESYSTEMS=y CONFIG_NFS_FS=y CONFIG_NFS_DEF_FILE_IO_SIZE=4096 CONFIG_NFS_V3=y # CONFIG_NFS_V3_ACL is not set CONFIG_NFS_V4=y #CONFIG_NFS_V4_1 is not set CONFIG_ROOT_NFS=y # CONFIG_NFS_USE_LEGACY_DNS is not set CONFIG_NFS_USE_KERNEL_DNS=y CONFIG_NFSD=y The Recipe inherit kernel require recipes-kernel/linux/linux-yocto.inc SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;bareclone=1" SRC_URI += "file://defconfig" #SRC_URI += "file://yocto-testmod.patch" #SRC_URI += "file://lab3.cfg" #module_autoload_yocto-testmod = "yocto-testmod" KBRANCH = "linux-3.4.y" LINUX_VERSION ?= "3.4.28" LINUX_VERSION_EXTENSION ?= "-custom" SRCREV="${AUTOREV}" PR = "r0" PV = "${LINUX_VERSION}+git${SRCPV}" COMPATIBLE_MACHINE_lab3-qemux86 = "lab3-qemux86" There's some advice to me? Thank you! Regards, Caio Pereira -- ---------------------------------------------- Caio Pereira ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Problem to compile kernel (enable nfsd) 2013-05-29 18:15 Problem to compile kernel (enable nfsd) Caio @ 2013-05-29 18:19 ` Tom Zanussi 2013-05-29 18:19 ` Bruce Ashfield 1 sibling, 0 replies; 14+ messages in thread From: Tom Zanussi @ 2013-05-29 18:19 UTC (permalink / raw) To: Caio; +Cc: yocto On Wed, 2013-05-29 at 15:15 -0300, Caio wrote: > Hello, > > I'm following the ELC2013 hands-on > (https://www.yoctoproject.org/sites/yoctoproject.org/files/elc2013-kernel-lab.pdf) > but with poky 9.0. > > Git Branch (b15bdd842092f2335784c20b8e1b3a0ddcf7996b) > > In the lab3 I'm trying to compile a kernel from master git tree. > > > But I'm having these trouble to enable NFSD. > -WARNING: addon feature "features/nfsd/nfsd-enable" was not found > Hi, For the labs, you need to use the release specifically mentioned and that the kernel lab was tested with, which is dylan-9.0.0. It appears there was an nfsd commit to dylan for the point release that broke things.. Tom > > My log: > > Build Configuration: > BB_VERSION = "1.18.0" > BUILD_SYS = "x86_64-linux" > NATIVELSBSTRING = "Ubuntu-12.04" > TARGET_SYS = "i586-poky-linux" > MACHINE = "lab3-qemux86" > DISTRO = "poky" > DISTRO_VERSION = "1.4.1" > TUNE_FEATURES = "m32 i586" > TARGET_FPU = "" > meta > meta-yocto > meta-yocto-bsp > meta-lab3-qemux86 = "dylan:3768675706462c0cc8566ead958161e77e2247e9" > > > NOTE: Resolving any missing task queue dependencies > NOTE: Preparing runqueue > NOTE: Executing SetScene Tasks > NOTE: Executing RunQueue Tasks > ERROR: Function failed: do_patch (see > /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 > for further information) > ERROR: Logfile of failure stored in: > /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 > Log data follows: > | DEBUG: Executing shell function do_patch > | WARNING: no meta data branch found ... > | Already on 'linux-3.4.y' > | WARNING: addon feature "features/nfsd/nfsd-enable" was not found > | ERROR: required features were not found. aborting > | ERROR. Could not update linux-3.4.y > | ERROR: Function failed: do_patch (see > /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 > for further information) > ERROR: Task 843 > (/home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, > do_patch) failed with exit code '1' > NOTE: Tasks Summary: Attempted 1618 tasks of which 1613 didn't need to > be rerun and 1 failed. > No currently running tasks (1618 of 1647) > > Summary: 1 task failed: > /home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, > do_patch > Summary: There was 1 ERROR message shown, returning a non-zero exit code. > > > > I tryed configure defconf to > > CONFIG_NETWORK_FILESYSTEMS=y > CONFIG_NFS_FS=y > CONFIG_NFS_DEF_FILE_IO_SIZE=4096 > CONFIG_NFS_V3=y > # CONFIG_NFS_V3_ACL is not set > CONFIG_NFS_V4=y > #CONFIG_NFS_V4_1 is not set > CONFIG_ROOT_NFS=y > # CONFIG_NFS_USE_LEGACY_DNS is not set > CONFIG_NFS_USE_KERNEL_DNS=y > CONFIG_NFSD=y > > > The Recipe > > inherit kernel > require recipes-kernel/linux/linux-yocto.inc > > SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;bareclone=1" > > SRC_URI += "file://defconfig" > > #SRC_URI += "file://yocto-testmod.patch" > #SRC_URI += "file://lab3.cfg" > > #module_autoload_yocto-testmod = "yocto-testmod" > > KBRANCH = "linux-3.4.y" > > LINUX_VERSION ?= "3.4.28" > LINUX_VERSION_EXTENSION ?= "-custom" > > SRCREV="${AUTOREV}" > > PR = "r0" > PV = "${LINUX_VERSION}+git${SRCPV}" > > COMPATIBLE_MACHINE_lab3-qemux86 = "lab3-qemux86" > > > There's some advice to me? > > Thank you! > > Regards, > > Caio Pereira > > > -- > ---------------------------------------------- > Caio Pereira > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Problem to compile kernel (enable nfsd) 2013-05-29 18:15 Problem to compile kernel (enable nfsd) Caio 2013-05-29 18:19 ` Tom Zanussi @ 2013-05-29 18:19 ` Bruce Ashfield 2013-05-29 18:22 ` Tom Zanussi 1 sibling, 1 reply; 14+ messages in thread From: Bruce Ashfield @ 2013-05-29 18:19 UTC (permalink / raw) To: Caio; +Cc: yocto On 13-05-29 02:15 PM, Caio wrote: > Hello, > > I'm following the ELC2013 hands-on > (https://www.yoctoproject.org/sites/yoctoproject.org/files/elc2013-kernel-lab.pdf) > but with poky 9.0. > > Git Branch (b15bdd842092f2335784c20b8e1b3a0ddcf7996b) > > In the lab3 I'm trying to compile a kernel from master git tree. > > > But I'm having these trouble to enable NFSD. > -WARNING: addon feature "features/nfsd/nfsd-enable" was not found > There's a bug in master at the moment that is breaking linux-yocto-custom. I'll send it out for merge shortly. In the meantime, take this change: --- a/meta-yocto/conf/distro/poky-lsb.conf +++ b/meta-yocto/conf/distro/poky-lsb.conf @@ -7,6 +7,6 @@ DISTRO_FEATURES_append = " pam largefile opengl" PREFERRED_PROVIDER_virtual/libx11 = "libx11" # Ensure the kernel nfs server is enabled -KERNEL_FEATURES_append = " features/nfsd/nfsd-enable.scc" +KERNEL_FEATURES_append_pn-linux-yocto = " features/nfsd/nfsd-enable.scc" Bruce > > My log: > > Build Configuration: > BB_VERSION = "1.18.0" > BUILD_SYS = "x86_64-linux" > NATIVELSBSTRING = "Ubuntu-12.04" > TARGET_SYS = "i586-poky-linux" > MACHINE = "lab3-qemux86" > DISTRO = "poky" > DISTRO_VERSION = "1.4.1" > TUNE_FEATURES = "m32 i586" > TARGET_FPU = "" > meta > meta-yocto > meta-yocto-bsp > meta-lab3-qemux86 = "dylan:3768675706462c0cc8566ead958161e77e2247e9" > > > NOTE: Resolving any missing task queue dependencies > NOTE: Preparing runqueue > NOTE: Executing SetScene Tasks > NOTE: Executing RunQueue Tasks > ERROR: Function failed: do_patch (see > /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 > for further information) > ERROR: Logfile of failure stored in: > /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 > Log data follows: > | DEBUG: Executing shell function do_patch > | WARNING: no meta data branch found ... > | Already on 'linux-3.4.y' > | WARNING: addon feature "features/nfsd/nfsd-enable" was not found > | ERROR: required features were not found. aborting > | ERROR. Could not update linux-3.4.y > | ERROR: Function failed: do_patch (see > /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 > for further information) > ERROR: Task 843 > (/home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, > do_patch) failed with exit code '1' > NOTE: Tasks Summary: Attempted 1618 tasks of which 1613 didn't need to > be rerun and 1 failed. > No currently running tasks (1618 of 1647) > > Summary: 1 task failed: > /home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, > do_patch > Summary: There was 1 ERROR message shown, returning a non-zero exit code. > > > > I tryed configure defconf to > > CONFIG_NETWORK_FILESYSTEMS=y > CONFIG_NFS_FS=y > CONFIG_NFS_DEF_FILE_IO_SIZE=4096 > CONFIG_NFS_V3=y > # CONFIG_NFS_V3_ACL is not set > CONFIG_NFS_V4=y > #CONFIG_NFS_V4_1 is not set > CONFIG_ROOT_NFS=y > # CONFIG_NFS_USE_LEGACY_DNS is not set > CONFIG_NFS_USE_KERNEL_DNS=y > CONFIG_NFSD=y > > > The Recipe > > inherit kernel > require recipes-kernel/linux/linux-yocto.inc > > SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;bareclone=1" > > SRC_URI += "file://defconfig" > > #SRC_URI += "file://yocto-testmod.patch" > #SRC_URI += "file://lab3.cfg" > > #module_autoload_yocto-testmod = "yocto-testmod" > > KBRANCH = "linux-3.4.y" > > LINUX_VERSION ?= "3.4.28" > LINUX_VERSION_EXTENSION ?= "-custom" > > SRCREV="${AUTOREV}" > > PR = "r0" > PV = "${LINUX_VERSION}+git${SRCPV}" > > COMPATIBLE_MACHINE_lab3-qemux86 = "lab3-qemux86" > > > There's some advice to me? > > Thank you! > > Regards, > > Caio Pereira > > > -- > ---------------------------------------------- > Caio Pereira > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Problem to compile kernel (enable nfsd) 2013-05-29 18:19 ` Bruce Ashfield @ 2013-05-29 18:22 ` Tom Zanussi 2013-05-29 18:30 ` Caio 0 siblings, 1 reply; 14+ messages in thread From: Tom Zanussi @ 2013-05-29 18:22 UTC (permalink / raw) To: Bruce Ashfield; +Cc: yocto On Wed, 2013-05-29 at 14:19 -0400, Bruce Ashfield wrote: > On 13-05-29 02:15 PM, Caio wrote: > > Hello, > > > > I'm following the ELC2013 hands-on > > (https://www.yoctoproject.org/sites/yoctoproject.org/files/elc2013-kernel-lab.pdf) > > but with poky 9.0. > > > > Git Branch (b15bdd842092f2335784c20b8e1b3a0ddcf7996b) > > > > In the lab3 I'm trying to compile a kernel from master git tree. > > > > > > But I'm having these trouble to enable NFSD. > > -WARNING: addon feature "features/nfsd/nfsd-enable" was not found > > > > There's a bug in master at the moment that is breaking linux-yocto-custom. > Also apparently in the dylan point release i.e post-9.0.0. Tom > I'll send it out for merge shortly. > > In the meantime, take this change: > > --- a/meta-yocto/conf/distro/poky-lsb.conf > +++ b/meta-yocto/conf/distro/poky-lsb.conf > @@ -7,6 +7,6 @@ DISTRO_FEATURES_append = " pam largefile opengl" > PREFERRED_PROVIDER_virtual/libx11 = "libx11" > > # Ensure the kernel nfs server is enabled > -KERNEL_FEATURES_append = " features/nfsd/nfsd-enable.scc" > +KERNEL_FEATURES_append_pn-linux-yocto = " features/nfsd/nfsd-enable.scc" > > > Bruce > > > > > My log: > > > > Build Configuration: > > BB_VERSION = "1.18.0" > > BUILD_SYS = "x86_64-linux" > > NATIVELSBSTRING = "Ubuntu-12.04" > > TARGET_SYS = "i586-poky-linux" > > MACHINE = "lab3-qemux86" > > DISTRO = "poky" > > DISTRO_VERSION = "1.4.1" > > TUNE_FEATURES = "m32 i586" > > TARGET_FPU = "" > > meta > > meta-yocto > > meta-yocto-bsp > > meta-lab3-qemux86 = "dylan:3768675706462c0cc8566ead958161e77e2247e9" > > > > > > NOTE: Resolving any missing task queue dependencies > > NOTE: Preparing runqueue > > NOTE: Executing SetScene Tasks > > NOTE: Executing RunQueue Tasks > > ERROR: Function failed: do_patch (see > > /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 > > for further information) > > ERROR: Logfile of failure stored in: > > /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 > > Log data follows: > > | DEBUG: Executing shell function do_patch > > | WARNING: no meta data branch found ... > > | Already on 'linux-3.4.y' > > | WARNING: addon feature "features/nfsd/nfsd-enable" was not found > > | ERROR: required features were not found. aborting > > | ERROR. Could not update linux-3.4.y > > | ERROR: Function failed: do_patch (see > > /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 > > for further information) > > ERROR: Task 843 > > (/home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, > > do_patch) failed with exit code '1' > > NOTE: Tasks Summary: Attempted 1618 tasks of which 1613 didn't need to > > be rerun and 1 failed. > > No currently running tasks (1618 of 1647) > > > > Summary: 1 task failed: > > /home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, > > do_patch > > Summary: There was 1 ERROR message shown, returning a non-zero exit code. > > > > > > > > I tryed configure defconf to > > > > CONFIG_NETWORK_FILESYSTEMS=y > > CONFIG_NFS_FS=y > > CONFIG_NFS_DEF_FILE_IO_SIZE=4096 > > CONFIG_NFS_V3=y > > # CONFIG_NFS_V3_ACL is not set > > CONFIG_NFS_V4=y > > #CONFIG_NFS_V4_1 is not set > > CONFIG_ROOT_NFS=y > > # CONFIG_NFS_USE_LEGACY_DNS is not set > > CONFIG_NFS_USE_KERNEL_DNS=y > > CONFIG_NFSD=y > > > > > > The Recipe > > > > inherit kernel > > require recipes-kernel/linux/linux-yocto.inc > > > > SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;bareclone=1" > > > > SRC_URI += "file://defconfig" > > > > #SRC_URI += "file://yocto-testmod.patch" > > #SRC_URI += "file://lab3.cfg" > > > > #module_autoload_yocto-testmod = "yocto-testmod" > > > > KBRANCH = "linux-3.4.y" > > > > LINUX_VERSION ?= "3.4.28" > > LINUX_VERSION_EXTENSION ?= "-custom" > > > > SRCREV="${AUTOREV}" > > > > PR = "r0" > > PV = "${LINUX_VERSION}+git${SRCPV}" > > > > COMPATIBLE_MACHINE_lab3-qemux86 = "lab3-qemux86" > > > > > > There's some advice to me? > > > > Thank you! > > > > Regards, > > > > Caio Pereira > > > > > > -- > > ---------------------------------------------- > > Caio Pereira > > _______________________________________________ > > yocto mailing list > > yocto@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/yocto > > > > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Problem to compile kernel (enable nfsd) 2013-05-29 18:22 ` Tom Zanussi @ 2013-05-29 18:30 ` Caio 2013-05-29 18:34 ` Bruce Ashfield 0 siblings, 1 reply; 14+ messages in thread From: Caio @ 2013-05-29 18:30 UTC (permalink / raw) To: Tom Zanussi; +Cc: yocto Bruce I tested the patch but doesn't work meta-yocto/conf/distro/poky- lsb.conf require conf/distro/poky.conf DISTRO = "poky-lsb" DISTROOVERRIDES = "poky:linuxstdbase" DISTRO_FEATURES_append = " pam largefile opengl" PREFERRED_PROVIDER_virtual/libx11 = "libx11" # Ensure the kernel nfs server is enabled KERNEL_FEATURES_append_pn-linux-yocto = " features/nfsd/nfsd-enable.scc" After a bitbake core-image-minimal I have the same error. I will follow the Tom's suggestion and back the poky version. Thank you very much! 2013/5/29 Tom Zanussi <tom.zanussi@intel.com>: > On Wed, 2013-05-29 at 14:19 -0400, Bruce Ashfield wrote: >> On 13-05-29 02:15 PM, Caio wrote: >> > Hello, >> > >> > I'm following the ELC2013 hands-on >> > (https://www.yoctoproject.org/sites/yoctoproject.org/files/elc2013-kernel-lab.pdf) >> > but with poky 9.0. >> > >> > Git Branch (b15bdd842092f2335784c20b8e1b3a0ddcf7996b) >> > >> > In the lab3 I'm trying to compile a kernel from master git tree. >> > >> > >> > But I'm having these trouble to enable NFSD. >> > -WARNING: addon feature "features/nfsd/nfsd-enable" was not found >> > >> >> There's a bug in master at the moment that is breaking linux-yocto-custom. >> > > Also apparently in the dylan point release i.e post-9.0.0. > > Tom > >> I'll send it out for merge shortly. >> >> In the meantime, take this change: >> >> --- a/meta-yocto/conf/distro/poky-lsb.conf >> +++ b/meta-yocto/conf/distro/poky-lsb.conf >> @@ -7,6 +7,6 @@ DISTRO_FEATURES_append = " pam largefile opengl" >> PREFERRED_PROVIDER_virtual/libx11 = "libx11" >> >> # Ensure the kernel nfs server is enabled >> -KERNEL_FEATURES_append = " features/nfsd/nfsd-enable.scc" >> +KERNEL_FEATURES_append_pn-linux-yocto = " features/nfsd/nfsd-enable.scc" >> >> >> Bruce >> >> > >> > My log: >> > >> > Build Configuration: >> > BB_VERSION = "1.18.0" >> > BUILD_SYS = "x86_64-linux" >> > NATIVELSBSTRING = "Ubuntu-12.04" >> > TARGET_SYS = "i586-poky-linux" >> > MACHINE = "lab3-qemux86" >> > DISTRO = "poky" >> > DISTRO_VERSION = "1.4.1" >> > TUNE_FEATURES = "m32 i586" >> > TARGET_FPU = "" >> > meta >> > meta-yocto >> > meta-yocto-bsp >> > meta-lab3-qemux86 = "dylan:3768675706462c0cc8566ead958161e77e2247e9" >> > >> > >> > NOTE: Resolving any missing task queue dependencies >> > NOTE: Preparing runqueue >> > NOTE: Executing SetScene Tasks >> > NOTE: Executing RunQueue Tasks >> > ERROR: Function failed: do_patch (see >> > /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 >> > for further information) >> > ERROR: Logfile of failure stored in: >> > /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 >> > Log data follows: >> > | DEBUG: Executing shell function do_patch >> > | WARNING: no meta data branch found ... >> > | Already on 'linux-3.4.y' >> > | WARNING: addon feature "features/nfsd/nfsd-enable" was not found >> > | ERROR: required features were not found. aborting >> > | ERROR. Could not update linux-3.4.y >> > | ERROR: Function failed: do_patch (see >> > /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 >> > for further information) >> > ERROR: Task 843 >> > (/home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, >> > do_patch) failed with exit code '1' >> > NOTE: Tasks Summary: Attempted 1618 tasks of which 1613 didn't need to >> > be rerun and 1 failed. >> > No currently running tasks (1618 of 1647) >> > >> > Summary: 1 task failed: >> > /home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, >> > do_patch >> > Summary: There was 1 ERROR message shown, returning a non-zero exit code. >> > >> > >> > >> > I tryed configure defconf to >> > >> > CONFIG_NETWORK_FILESYSTEMS=y >> > CONFIG_NFS_FS=y >> > CONFIG_NFS_DEF_FILE_IO_SIZE=4096 >> > CONFIG_NFS_V3=y >> > # CONFIG_NFS_V3_ACL is not set >> > CONFIG_NFS_V4=y >> > #CONFIG_NFS_V4_1 is not set >> > CONFIG_ROOT_NFS=y >> > # CONFIG_NFS_USE_LEGACY_DNS is not set >> > CONFIG_NFS_USE_KERNEL_DNS=y >> > CONFIG_NFSD=y >> > >> > >> > The Recipe >> > >> > inherit kernel >> > require recipes-kernel/linux/linux-yocto.inc >> > >> > SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;bareclone=1" >> > >> > SRC_URI += "file://defconfig" >> > >> > #SRC_URI += "file://yocto-testmod.patch" >> > #SRC_URI += "file://lab3.cfg" >> > >> > #module_autoload_yocto-testmod = "yocto-testmod" >> > >> > KBRANCH = "linux-3.4.y" >> > >> > LINUX_VERSION ?= "3.4.28" >> > LINUX_VERSION_EXTENSION ?= "-custom" >> > >> > SRCREV="${AUTOREV}" >> > >> > PR = "r0" >> > PV = "${LINUX_VERSION}+git${SRCPV}" >> > >> > COMPATIBLE_MACHINE_lab3-qemux86 = "lab3-qemux86" >> > >> > >> > There's some advice to me? >> > >> > Thank you! >> > >> > Regards, >> > >> > Caio Pereira >> > >> > >> > -- >> > ---------------------------------------------- >> > Caio Pereira >> > _______________________________________________ >> > yocto mailing list >> > yocto@yoctoproject.org >> > https://lists.yoctoproject.org/listinfo/yocto >> > >> >> _______________________________________________ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto > > -- ---------------------------------------------- Caio Pereira ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Problem to compile kernel (enable nfsd) 2013-05-29 18:30 ` Caio @ 2013-05-29 18:34 ` Bruce Ashfield 2013-05-29 18:53 ` Caio 0 siblings, 1 reply; 14+ messages in thread From: Bruce Ashfield @ 2013-05-29 18:34 UTC (permalink / raw) To: Caio; +Cc: yocto On 13-05-29 02:30 PM, Caio wrote: > Bruce I tested the patch but doesn't work > It definitely works here. You'll need to provide more details besides "it doesn't work". > meta-yocto/conf/distro/poky- > lsb.conf > > require conf/distro/poky.conf > > DISTRO = "poky-lsb" > DISTROOVERRIDES = "poky:linuxstdbase" > > DISTRO_FEATURES_append = " pam largefile opengl" > PREFERRED_PROVIDER_virtual/libx11 = "libx11" > > # Ensure the kernel nfs server is enabled > KERNEL_FEATURES_append_pn-linux-yocto = " features/nfsd/nfsd-enable.scc" > > After a bitbake core-image-minimal > I have the same error. Dump your bitbake environment and grep for KERNEL_FEATURES. i.e. bitbake -e -c compile linux-yocto-custom | grep KERNEL_FEATURES And we can see what is happening. Cheers, Bruce > > I will follow the Tom's suggestion and back the poky version. > > Thank you very much! > > 2013/5/29 Tom Zanussi <tom.zanussi@intel.com>: >> On Wed, 2013-05-29 at 14:19 -0400, Bruce Ashfield wrote: >>> On 13-05-29 02:15 PM, Caio wrote: >>>> Hello, >>>> >>>> I'm following the ELC2013 hands-on >>>> (https://www.yoctoproject.org/sites/yoctoproject.org/files/elc2013-kernel-lab.pdf) >>>> but with poky 9.0. >>>> >>>> Git Branch (b15bdd842092f2335784c20b8e1b3a0ddcf7996b) >>>> >>>> In the lab3 I'm trying to compile a kernel from master git tree. >>>> >>>> >>>> But I'm having these trouble to enable NFSD. >>>> -WARNING: addon feature "features/nfsd/nfsd-enable" was not found >>>> >>> >>> There's a bug in master at the moment that is breaking linux-yocto-custom. >>> >> >> Also apparently in the dylan point release i.e post-9.0.0. >> >> Tom >> >>> I'll send it out for merge shortly. >>> >>> In the meantime, take this change: >>> >>> --- a/meta-yocto/conf/distro/poky-lsb.conf >>> +++ b/meta-yocto/conf/distro/poky-lsb.conf >>> @@ -7,6 +7,6 @@ DISTRO_FEATURES_append = " pam largefile opengl" >>> PREFERRED_PROVIDER_virtual/libx11 = "libx11" >>> >>> # Ensure the kernel nfs server is enabled >>> -KERNEL_FEATURES_append = " features/nfsd/nfsd-enable.scc" >>> +KERNEL_FEATURES_append_pn-linux-yocto = " features/nfsd/nfsd-enable.scc" >>> >>> >>> Bruce >>> >>>> >>>> My log: >>>> >>>> Build Configuration: >>>> BB_VERSION = "1.18.0" >>>> BUILD_SYS = "x86_64-linux" >>>> NATIVELSBSTRING = "Ubuntu-12.04" >>>> TARGET_SYS = "i586-poky-linux" >>>> MACHINE = "lab3-qemux86" >>>> DISTRO = "poky" >>>> DISTRO_VERSION = "1.4.1" >>>> TUNE_FEATURES = "m32 i586" >>>> TARGET_FPU = "" >>>> meta >>>> meta-yocto >>>> meta-yocto-bsp >>>> meta-lab3-qemux86 = "dylan:3768675706462c0cc8566ead958161e77e2247e9" >>>> >>>> >>>> NOTE: Resolving any missing task queue dependencies >>>> NOTE: Preparing runqueue >>>> NOTE: Executing SetScene Tasks >>>> NOTE: Executing RunQueue Tasks >>>> ERROR: Function failed: do_patch (see >>>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 >>>> for further information) >>>> ERROR: Logfile of failure stored in: >>>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 >>>> Log data follows: >>>> | DEBUG: Executing shell function do_patch >>>> | WARNING: no meta data branch found ... >>>> | Already on 'linux-3.4.y' >>>> | WARNING: addon feature "features/nfsd/nfsd-enable" was not found >>>> | ERROR: required features were not found. aborting >>>> | ERROR. Could not update linux-3.4.y >>>> | ERROR: Function failed: do_patch (see >>>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 >>>> for further information) >>>> ERROR: Task 843 >>>> (/home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, >>>> do_patch) failed with exit code '1' >>>> NOTE: Tasks Summary: Attempted 1618 tasks of which 1613 didn't need to >>>> be rerun and 1 failed. >>>> No currently running tasks (1618 of 1647) >>>> >>>> Summary: 1 task failed: >>>> /home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, >>>> do_patch >>>> Summary: There was 1 ERROR message shown, returning a non-zero exit code. >>>> >>>> >>>> >>>> I tryed configure defconf to >>>> >>>> CONFIG_NETWORK_FILESYSTEMS=y >>>> CONFIG_NFS_FS=y >>>> CONFIG_NFS_DEF_FILE_IO_SIZE=4096 >>>> CONFIG_NFS_V3=y >>>> # CONFIG_NFS_V3_ACL is not set >>>> CONFIG_NFS_V4=y >>>> #CONFIG_NFS_V4_1 is not set >>>> CONFIG_ROOT_NFS=y >>>> # CONFIG_NFS_USE_LEGACY_DNS is not set >>>> CONFIG_NFS_USE_KERNEL_DNS=y >>>> CONFIG_NFSD=y >>>> >>>> >>>> The Recipe >>>> >>>> inherit kernel >>>> require recipes-kernel/linux/linux-yocto.inc >>>> >>>> SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;bareclone=1" >>>> >>>> SRC_URI += "file://defconfig" >>>> >>>> #SRC_URI += "file://yocto-testmod.patch" >>>> #SRC_URI += "file://lab3.cfg" >>>> >>>> #module_autoload_yocto-testmod = "yocto-testmod" >>>> >>>> KBRANCH = "linux-3.4.y" >>>> >>>> LINUX_VERSION ?= "3.4.28" >>>> LINUX_VERSION_EXTENSION ?= "-custom" >>>> >>>> SRCREV="${AUTOREV}" >>>> >>>> PR = "r0" >>>> PV = "${LINUX_VERSION}+git${SRCPV}" >>>> >>>> COMPATIBLE_MACHINE_lab3-qemux86 = "lab3-qemux86" >>>> >>>> >>>> There's some advice to me? >>>> >>>> Thank you! >>>> >>>> Regards, >>>> >>>> Caio Pereira >>>> >>>> >>>> -- >>>> ---------------------------------------------- >>>> Caio Pereira >>>> _______________________________________________ >>>> yocto mailing list >>>> yocto@yoctoproject.org >>>> https://lists.yoctoproject.org/listinfo/yocto >>>> >>> >>> _______________________________________________ >>> yocto mailing list >>> yocto@yoctoproject.org >>> https://lists.yoctoproject.org/listinfo/yocto >> >> > > > ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Problem to compile kernel (enable nfsd) 2013-05-29 18:34 ` Bruce Ashfield @ 2013-05-29 18:53 ` Caio 2013-05-29 18:58 ` Bruce Ashfield 0 siblings, 1 reply; 14+ messages in thread From: Caio @ 2013-05-29 18:53 UTC (permalink / raw) To: Bruce Ashfield; +Cc: yocto bitbake core-image-minimal Loading cache: 100% |#########################################################################################################################################################################################################| ETA: 00:00:00 Loaded 1121 entries from dependency cache. Parsing recipes: 100% |#######################################################################################################################################################################################################| Time: 00:00:03 Parsing of 814 .bb files complete (813 cached, 1 parsed). 1121 targets, 37 skipped, 0 masked, 0 errors. Build Configuration: BB_VERSION = "1.18.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-12.04" TARGET_SYS = "i586-poky-linux" MACHINE = "lab3-qemux86" DISTRO = "poky" DISTRO_VERSION = "1.4.1" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp meta-lab3-qemux86 = "dylan:3768675706462c0cc8566ead958161e77e2247e9" NOTE: Resolving any missing task queue dependencies NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: Function failed: do_patch (see /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.9687 for further information) ERROR: Logfile of failure stored in: /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.9687 Log data follows: | DEBUG: Executing shell function do_patch | WARNING: no meta data branch found ... | Already on 'linux-3.4.y' | WARNING: addon feature "features/nfsd/nfsd-enable" was not found | ERROR: required features were not found. aborting | ERROR. Could not update linux-3.4.y | ERROR: Function failed: do_patch (see /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.9687 for further information) ERROR: Task 843 (/home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, do_patch) failed with exit code '1' NOTE: Tasks Summary: Attempted 1618 tasks of which 1617 didn't need to be rerun and 1 failed. No currently running tasks (571 of 1647) Summary: 1 task failed: /home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, do_patch log.do_patch.9687 DEBUG: Executing shell function do_patch WARNING: no meta data branch found ... Already on 'linux-3.4.y' WARNING: addon feature "features/nfsd/nfsd-enable" was not found ERROR: required features were not found. aborting ERROR. Could not update linux-3.4.y ERROR: Function failed: do_patch (see /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.9687 for further informati conf/bblayers.conf # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf # changes incompatibly LCONF_VERSION = "6" BBPATH = "${TOPDIR}" BBFILES ?= "" BBLAYERS ?= " \ /home/caio/yocto/poky/meta \ /home/caio/yocto/poky/meta-yocto \ /home/caio/yocto/poky/meta-yocto-bsp \ /home/caio/yocto/poky/meta-lab3-qemux86 \ " BBLAYERS_NON_REMOVABLE ?= " \ /home/caio/yocto/poky/meta \ /home/caio/yocto/poky/meta-yocto \ ./meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb inherit kernel require recipes-kernel/linux/linux-yocto.inc SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;bareclone=1" SRC_URI += "file://defconfig" SRC_URI += "file://yocto-testmod.patch" SRC_URI += "file://lab3.cfg" #module_autoload_yocto-testmod = "yocto-testmod" KBRANCH = "linux-3.4.y" LINUX_VERSION ?= "3.4.28" LINUX_VERSION_EXTENSION ?= "-custom" SRCREV="${AUTOREV}" PR = "r0" PV = "${LINUX_VERSION}+git${SRCPV}" COMPATIBLE_MACHINE_lab3-qemux86 = "lab3-qemux86" /meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom/defconfig : (full defconfig http://pastebin.com/iTtkKy3w) Just NFS config from CONFIG_NETWORK_FILESYSTEMS=y CONFIG_NFS_FS=y CONFIG_NFS_DEF_FILE_IO_SIZE=4096 CONFIG_NFS_V3=y # CONFIG_NFS_V3_ACL is not set CONFIG_NFS_V4=y #CONFIG_NFS_V4_1 is not set CONFIG_ROOT_NFS=y # CONFIG_NFS_USE_LEGACY_DNS is not set #CONFIG_NFS_USE_KERNEL_DNS is not set CONFIG_NFSD=y CONFIG_LOCKD=y CONFIG_LOCKD_V4=y CONFIG_NFS_COMMON=y conf/local.conf http://pastebin.com/BVSz0eTL 2013/5/29 Bruce Ashfield <bruce.ashfield@windriver.com>: > On 13-05-29 02:30 PM, Caio wrote: >> >> Bruce I tested the patch but doesn't work >> > > It definitely works here. You'll need to provide more details besides > "it doesn't work". > > >> meta-yocto/conf/distro/poky- >> lsb.conf >> >> require conf/distro/poky.conf >> >> DISTRO = "poky-lsb" >> DISTROOVERRIDES = "poky:linuxstdbase" >> >> DISTRO_FEATURES_append = " pam largefile opengl" >> PREFERRED_PROVIDER_virtual/libx11 = "libx11" >> >> # Ensure the kernel nfs server is enabled >> KERNEL_FEATURES_append_pn-linux-yocto = " features/nfsd/nfsd-enable.scc" >> >> After a bitbake core-image-minimal >> I have the same error. > > > Dump your bitbake environment and grep for KERNEL_FEATURES. > > i.e. bitbake -e -c compile linux-yocto-custom | grep KERNEL_FEATURES > > And we can see what is happening. > > Cheers, > > Bruce > > >> >> I will follow the Tom's suggestion and back the poky version. >> >> Thank you very much! >> >> 2013/5/29 Tom Zanussi <tom.zanussi@intel.com>: >>> >>> On Wed, 2013-05-29 at 14:19 -0400, Bruce Ashfield wrote: >>>> >>>> On 13-05-29 02:15 PM, Caio wrote: >>>>> >>>>> Hello, >>>>> >>>>> I'm following the ELC2013 hands-on >>>>> >>>>> (https://www.yoctoproject.org/sites/yoctoproject.org/files/elc2013-kernel-lab.pdf) >>>>> but with poky 9.0. >>>>> >>>>> Git Branch (b15bdd842092f2335784c20b8e1b3a0ddcf7996b) >>>>> >>>>> In the lab3 I'm trying to compile a kernel from master git tree. >>>>> >>>>> >>>>> But I'm having these trouble to enable NFSD. >>>>> -WARNING: addon feature "features/nfsd/nfsd-enable" was not found >>>>> >>>> >>>> There's a bug in master at the moment that is breaking >>>> linux-yocto-custom. >>>> >>> >>> Also apparently in the dylan point release i.e post-9.0.0. >>> >>> Tom >>> >>>> I'll send it out for merge shortly. >>>> >>>> In the meantime, take this change: >>>> >>>> --- a/meta-yocto/conf/distro/poky-lsb.conf >>>> +++ b/meta-yocto/conf/distro/poky-lsb.conf >>>> @@ -7,6 +7,6 @@ DISTRO_FEATURES_append = " pam largefile opengl" >>>> PREFERRED_PROVIDER_virtual/libx11 = "libx11" >>>> >>>> # Ensure the kernel nfs server is enabled >>>> -KERNEL_FEATURES_append = " features/nfsd/nfsd-enable.scc" >>>> +KERNEL_FEATURES_append_pn-linux-yocto = " >>>> features/nfsd/nfsd-enable.scc" >>>> >>>> >>>> Bruce >>>> >>>>> >>>>> My log: >>>>> >>>>> Build Configuration: >>>>> BB_VERSION = "1.18.0" >>>>> BUILD_SYS = "x86_64-linux" >>>>> NATIVELSBSTRING = "Ubuntu-12.04" >>>>> TARGET_SYS = "i586-poky-linux" >>>>> MACHINE = "lab3-qemux86" >>>>> DISTRO = "poky" >>>>> DISTRO_VERSION = "1.4.1" >>>>> TUNE_FEATURES = "m32 i586" >>>>> TARGET_FPU = "" >>>>> meta >>>>> meta-yocto >>>>> meta-yocto-bsp >>>>> meta-lab3-qemux86 = "dylan:3768675706462c0cc8566ead958161e77e2247e9" >>>>> >>>>> >>>>> NOTE: Resolving any missing task queue dependencies >>>>> NOTE: Preparing runqueue >>>>> NOTE: Executing SetScene Tasks >>>>> NOTE: Executing RunQueue Tasks >>>>> ERROR: Function failed: do_patch (see >>>>> >>>>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 >>>>> for further information) >>>>> ERROR: Logfile of failure stored in: >>>>> >>>>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 >>>>> Log data follows: >>>>> | DEBUG: Executing shell function do_patch >>>>> | WARNING: no meta data branch found ... >>>>> | Already on 'linux-3.4.y' >>>>> | WARNING: addon feature "features/nfsd/nfsd-enable" was not found >>>>> | ERROR: required features were not found. aborting >>>>> | ERROR. Could not update linux-3.4.y >>>>> | ERROR: Function failed: do_patch (see >>>>> >>>>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 >>>>> for further information) >>>>> ERROR: Task 843 >>>>> >>>>> (/home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, >>>>> do_patch) failed with exit code '1' >>>>> NOTE: Tasks Summary: Attempted 1618 tasks of which 1613 didn't need to >>>>> be rerun and 1 failed. >>>>> No currently running tasks (1618 of 1647) >>>>> >>>>> Summary: 1 task failed: >>>>> >>>>> /home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, >>>>> do_patch >>>>> Summary: There was 1 ERROR message shown, returning a non-zero exit >>>>> code. >>>>> >>>>> >>>>> >>>>> I tryed configure defconf to >>>>> >>>>> CONFIG_NETWORK_FILESYSTEMS=y >>>>> CONFIG_NFS_FS=y >>>>> CONFIG_NFS_DEF_FILE_IO_SIZE=4096 >>>>> CONFIG_NFS_V3=y >>>>> # CONFIG_NFS_V3_ACL is not set >>>>> CONFIG_NFS_V4=y >>>>> #CONFIG_NFS_V4_1 is not set >>>>> CONFIG_ROOT_NFS=y >>>>> # CONFIG_NFS_USE_LEGACY_DNS is not set >>>>> CONFIG_NFS_USE_KERNEL_DNS=y >>>>> CONFIG_NFSD=y >>>>> >>>>> >>>>> The Recipe >>>>> >>>>> inherit kernel >>>>> require recipes-kernel/linux/linux-yocto.inc >>>>> >>>>> SRC_URI = >>>>> "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;bareclone=1" >>>>> >>>>> SRC_URI += "file://defconfig" >>>>> >>>>> #SRC_URI += "file://yocto-testmod.patch" >>>>> #SRC_URI += "file://lab3.cfg" >>>>> >>>>> #module_autoload_yocto-testmod = "yocto-testmod" >>>>> >>>>> KBRANCH = "linux-3.4.y" >>>>> >>>>> LINUX_VERSION ?= "3.4.28" >>>>> LINUX_VERSION_EXTENSION ?= "-custom" >>>>> >>>>> SRCREV="${AUTOREV}" >>>>> >>>>> PR = "r0" >>>>> PV = "${LINUX_VERSION}+git${SRCPV}" >>>>> >>>>> COMPATIBLE_MACHINE_lab3-qemux86 = "lab3-qemux86" >>>>> >>>>> >>>>> There's some advice to me? >>>>> >>>>> Thank you! >>>>> >>>>> Regards, >>>>> >>>>> Caio Pereira >>>>> >>>>> >>>>> -- >>>>> ---------------------------------------------- >>>>> Caio Pereira >>>>> _______________________________________________ >>>>> yocto mailing list >>>>> yocto@yoctoproject.org >>>>> https://lists.yoctoproject.org/listinfo/yocto >>>>> >>>> >>>> _______________________________________________ >>>> yocto mailing list >>>> yocto@yoctoproject.org >>>> https://lists.yoctoproject.org/listinfo/yocto >>> >>> >>> >> >> >> > -- ---------------------------------------------- Caio Pereira ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Problem to compile kernel (enable nfsd) 2013-05-29 18:53 ` Caio @ 2013-05-29 18:58 ` Bruce Ashfield 2013-05-29 19:05 ` Caio 0 siblings, 1 reply; 14+ messages in thread From: Bruce Ashfield @ 2013-05-29 18:58 UTC (permalink / raw) To: Caio; +Cc: yocto On 13-05-29 02:53 PM, Caio wrote: > bitbake core-image-minimal This won't give me what I'm looking for, bitbake the kernel directly: bitbake -e -c kernel_configme linux-yocto-custom | grep KERNEL_FEATURES Cheers, Bruce > Loading cache: 100% > |#########################################################################################################################################################################################################| > ETA: 00:00:00 > Loaded 1121 entries from dependency cache. > Parsing recipes: 100% > |#######################################################################################################################################################################################################| > Time: 00:00:03 > Parsing of 814 .bb files complete (813 cached, 1 parsed). 1121 > targets, 37 skipped, 0 masked, 0 errors. > > Build Configuration: > BB_VERSION = "1.18.0" > BUILD_SYS = "x86_64-linux" > NATIVELSBSTRING = "Ubuntu-12.04" > TARGET_SYS = "i586-poky-linux" > MACHINE = "lab3-qemux86" > DISTRO = "poky" > DISTRO_VERSION = "1.4.1" > TUNE_FEATURES = "m32 i586" > TARGET_FPU = "" > meta > meta-yocto > meta-yocto-bsp > meta-lab3-qemux86 = "dylan:3768675706462c0cc8566ead958161e77e2247e9" > > NOTE: Resolving any missing task queue dependencies > NOTE: Preparing runqueue > NOTE: Executing SetScene Tasks > NOTE: Executing RunQueue Tasks > ERROR: Function failed: do_patch (see > /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.9687 > for further information) > ERROR: Logfile of failure stored in: > /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.9687 > Log data follows: > | DEBUG: Executing shell function do_patch > | WARNING: no meta data branch found ... > | Already on 'linux-3.4.y' > | WARNING: addon feature "features/nfsd/nfsd-enable" was not found > | ERROR: required features were not found. aborting > | ERROR. Could not update linux-3.4.y > | ERROR: Function failed: do_patch (see > /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.9687 > for further information) > ERROR: Task 843 > (/home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, > do_patch) failed with exit code '1' > NOTE: Tasks Summary: Attempted 1618 tasks of which 1617 didn't need to > be rerun and 1 failed. > No currently running tasks (571 of 1647) > > Summary: 1 task failed: > /home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, > do_patch > > > log.do_patch.9687 > DEBUG: Executing shell function do_patch > WARNING: no meta data branch found ... > Already on 'linux-3.4.y' > WARNING: addon feature "features/nfsd/nfsd-enable" was not found > ERROR: required features were not found. aborting > ERROR. Could not update linux-3.4.y > ERROR: Function failed: do_patch (see > /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.9687 > for further informati > > > conf/bblayers.conf > > # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf > # changes incompatibly > LCONF_VERSION = "6" > > BBPATH = "${TOPDIR}" > BBFILES ?= "" > > BBLAYERS ?= " \ > /home/caio/yocto/poky/meta \ > /home/caio/yocto/poky/meta-yocto \ > /home/caio/yocto/poky/meta-yocto-bsp \ > /home/caio/yocto/poky/meta-lab3-qemux86 \ > " > BBLAYERS_NON_REMOVABLE ?= " \ > /home/caio/yocto/poky/meta \ > /home/caio/yocto/poky/meta-yocto \ > > > > ./meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb > > inherit kernel > require recipes-kernel/linux/linux-yocto.inc > > SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;bareclone=1" > > SRC_URI += "file://defconfig" > > SRC_URI += "file://yocto-testmod.patch" > SRC_URI += "file://lab3.cfg" > > #module_autoload_yocto-testmod = "yocto-testmod" > > KBRANCH = "linux-3.4.y" > > LINUX_VERSION ?= "3.4.28" > LINUX_VERSION_EXTENSION ?= "-custom" > > SRCREV="${AUTOREV}" > > PR = "r0" > PV = "${LINUX_VERSION}+git${SRCPV}" > > COMPATIBLE_MACHINE_lab3-qemux86 = "lab3-qemux86" > > > > /meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom/defconfig : > (full defconfig http://pastebin.com/iTtkKy3w) > Just NFS config from > CONFIG_NETWORK_FILESYSTEMS=y > CONFIG_NFS_FS=y > CONFIG_NFS_DEF_FILE_IO_SIZE=4096 > CONFIG_NFS_V3=y > # CONFIG_NFS_V3_ACL is not set > CONFIG_NFS_V4=y > #CONFIG_NFS_V4_1 is not set > CONFIG_ROOT_NFS=y > # CONFIG_NFS_USE_LEGACY_DNS is not set > #CONFIG_NFS_USE_KERNEL_DNS is not set > CONFIG_NFSD=y > CONFIG_LOCKD=y > CONFIG_LOCKD_V4=y > CONFIG_NFS_COMMON=y > > > conf/local.conf http://pastebin.com/BVSz0eTL > > 2013/5/29 Bruce Ashfield <bruce.ashfield@windriver.com>: >> On 13-05-29 02:30 PM, Caio wrote: >>> >>> Bruce I tested the patch but doesn't work >>> >> >> It definitely works here. You'll need to provide more details besides >> "it doesn't work". >> >> >>> meta-yocto/conf/distro/poky- >>> lsb.conf >>> >>> require conf/distro/poky.conf >>> >>> DISTRO = "poky-lsb" >>> DISTROOVERRIDES = "poky:linuxstdbase" >>> >>> DISTRO_FEATURES_append = " pam largefile opengl" >>> PREFERRED_PROVIDER_virtual/libx11 = "libx11" >>> >>> # Ensure the kernel nfs server is enabled >>> KERNEL_FEATURES_append_pn-linux-yocto = " features/nfsd/nfsd-enable.scc" >>> >>> After a bitbake core-image-minimal >>> I have the same error. >> >> >> Dump your bitbake environment and grep for KERNEL_FEATURES. >> >> i.e. bitbake -e -c compile linux-yocto-custom | grep KERNEL_FEATURES >> >> And we can see what is happening. >> >> Cheers, >> >> Bruce >> >> >>> >>> I will follow the Tom's suggestion and back the poky version. >>> >>> Thank you very much! >>> >>> 2013/5/29 Tom Zanussi <tom.zanussi@intel.com>: >>>> >>>> On Wed, 2013-05-29 at 14:19 -0400, Bruce Ashfield wrote: >>>>> >>>>> On 13-05-29 02:15 PM, Caio wrote: >>>>>> >>>>>> Hello, >>>>>> >>>>>> I'm following the ELC2013 hands-on >>>>>> >>>>>> (https://www.yoctoproject.org/sites/yoctoproject.org/files/elc2013-kernel-lab.pdf) >>>>>> but with poky 9.0. >>>>>> >>>>>> Git Branch (b15bdd842092f2335784c20b8e1b3a0ddcf7996b) >>>>>> >>>>>> In the lab3 I'm trying to compile a kernel from master git tree. >>>>>> >>>>>> >>>>>> But I'm having these trouble to enable NFSD. >>>>>> -WARNING: addon feature "features/nfsd/nfsd-enable" was not found >>>>>> >>>>> >>>>> There's a bug in master at the moment that is breaking >>>>> linux-yocto-custom. >>>>> >>>> >>>> Also apparently in the dylan point release i.e post-9.0.0. >>>> >>>> Tom >>>> >>>>> I'll send it out for merge shortly. >>>>> >>>>> In the meantime, take this change: >>>>> >>>>> --- a/meta-yocto/conf/distro/poky-lsb.conf >>>>> +++ b/meta-yocto/conf/distro/poky-lsb.conf >>>>> @@ -7,6 +7,6 @@ DISTRO_FEATURES_append = " pam largefile opengl" >>>>> PREFERRED_PROVIDER_virtual/libx11 = "libx11" >>>>> >>>>> # Ensure the kernel nfs server is enabled >>>>> -KERNEL_FEATURES_append = " features/nfsd/nfsd-enable.scc" >>>>> +KERNEL_FEATURES_append_pn-linux-yocto = " >>>>> features/nfsd/nfsd-enable.scc" >>>>> >>>>> >>>>> Bruce >>>>> >>>>>> >>>>>> My log: >>>>>> >>>>>> Build Configuration: >>>>>> BB_VERSION = "1.18.0" >>>>>> BUILD_SYS = "x86_64-linux" >>>>>> NATIVELSBSTRING = "Ubuntu-12.04" >>>>>> TARGET_SYS = "i586-poky-linux" >>>>>> MACHINE = "lab3-qemux86" >>>>>> DISTRO = "poky" >>>>>> DISTRO_VERSION = "1.4.1" >>>>>> TUNE_FEATURES = "m32 i586" >>>>>> TARGET_FPU = "" >>>>>> meta >>>>>> meta-yocto >>>>>> meta-yocto-bsp >>>>>> meta-lab3-qemux86 = "dylan:3768675706462c0cc8566ead958161e77e2247e9" >>>>>> >>>>>> >>>>>> NOTE: Resolving any missing task queue dependencies >>>>>> NOTE: Preparing runqueue >>>>>> NOTE: Executing SetScene Tasks >>>>>> NOTE: Executing RunQueue Tasks >>>>>> ERROR: Function failed: do_patch (see >>>>>> >>>>>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 >>>>>> for further information) >>>>>> ERROR: Logfile of failure stored in: >>>>>> >>>>>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 >>>>>> Log data follows: >>>>>> | DEBUG: Executing shell function do_patch >>>>>> | WARNING: no meta data branch found ... >>>>>> | Already on 'linux-3.4.y' >>>>>> | WARNING: addon feature "features/nfsd/nfsd-enable" was not found >>>>>> | ERROR: required features were not found. aborting >>>>>> | ERROR. Could not update linux-3.4.y >>>>>> | ERROR: Function failed: do_patch (see >>>>>> >>>>>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 >>>>>> for further information) >>>>>> ERROR: Task 843 >>>>>> >>>>>> (/home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, >>>>>> do_patch) failed with exit code '1' >>>>>> NOTE: Tasks Summary: Attempted 1618 tasks of which 1613 didn't need to >>>>>> be rerun and 1 failed. >>>>>> No currently running tasks (1618 of 1647) >>>>>> >>>>>> Summary: 1 task failed: >>>>>> >>>>>> /home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, >>>>>> do_patch >>>>>> Summary: There was 1 ERROR message shown, returning a non-zero exit >>>>>> code. >>>>>> >>>>>> >>>>>> >>>>>> I tryed configure defconf to >>>>>> >>>>>> CONFIG_NETWORK_FILESYSTEMS=y >>>>>> CONFIG_NFS_FS=y >>>>>> CONFIG_NFS_DEF_FILE_IO_SIZE=4096 >>>>>> CONFIG_NFS_V3=y >>>>>> # CONFIG_NFS_V3_ACL is not set >>>>>> CONFIG_NFS_V4=y >>>>>> #CONFIG_NFS_V4_1 is not set >>>>>> CONFIG_ROOT_NFS=y >>>>>> # CONFIG_NFS_USE_LEGACY_DNS is not set >>>>>> CONFIG_NFS_USE_KERNEL_DNS=y >>>>>> CONFIG_NFSD=y >>>>>> >>>>>> >>>>>> The Recipe >>>>>> >>>>>> inherit kernel >>>>>> require recipes-kernel/linux/linux-yocto.inc >>>>>> >>>>>> SRC_URI = >>>>>> "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;bareclone=1" >>>>>> >>>>>> SRC_URI += "file://defconfig" >>>>>> >>>>>> #SRC_URI += "file://yocto-testmod.patch" >>>>>> #SRC_URI += "file://lab3.cfg" >>>>>> >>>>>> #module_autoload_yocto-testmod = "yocto-testmod" >>>>>> >>>>>> KBRANCH = "linux-3.4.y" >>>>>> >>>>>> LINUX_VERSION ?= "3.4.28" >>>>>> LINUX_VERSION_EXTENSION ?= "-custom" >>>>>> >>>>>> SRCREV="${AUTOREV}" >>>>>> >>>>>> PR = "r0" >>>>>> PV = "${LINUX_VERSION}+git${SRCPV}" >>>>>> >>>>>> COMPATIBLE_MACHINE_lab3-qemux86 = "lab3-qemux86" >>>>>> >>>>>> >>>>>> There's some advice to me? >>>>>> >>>>>> Thank you! >>>>>> >>>>>> Regards, >>>>>> >>>>>> Caio Pereira >>>>>> >>>>>> >>>>>> -- >>>>>> ---------------------------------------------- >>>>>> Caio Pereira >>>>>> _______________________________________________ >>>>>> yocto mailing list >>>>>> yocto@yoctoproject.org >>>>>> https://lists.yoctoproject.org/listinfo/yocto >>>>>> >>>>> >>>>> _______________________________________________ >>>>> yocto mailing list >>>>> yocto@yoctoproject.org >>>>> https://lists.yoctoproject.org/listinfo/yocto >>>> >>>> >>>> >>> >>> >>> >> > > > ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Problem to compile kernel (enable nfsd) 2013-05-29 18:58 ` Bruce Ashfield @ 2013-05-29 19:05 ` Caio 2013-05-29 19:50 ` Bruce Ashfield 2013-05-30 3:33 ` Bruce Ashfield 0 siblings, 2 replies; 14+ messages in thread From: Caio @ 2013-05-29 19:05 UTC (permalink / raw) To: Bruce Ashfield; +Cc: yocto bitbake -e -c kernel_configme linux-yocto-custom | grep KERNEL_FEATURES # $KERNEL_FEATURES [2 operations] KERNEL_FEATURES="features/nfsd/nfsd-enable.scc" 2013/5/29 Bruce Ashfield <bruce.ashfield@windriver.com>: > On 13-05-29 02:53 PM, Caio wrote: >> >> bitbake core-image-minimal > > > This won't give me what I'm looking for, bitbake the > kernel directly: > > bitbake -e -c kernel_configme linux-yocto-custom | grep KERNEL_FEATURES > > Cheers, > > Bruce > > >> Loading cache: 100% >> >> |#########################################################################################################################################################################################################| >> ETA: 00:00:00 >> Loaded 1121 entries from dependency cache. >> Parsing recipes: 100% >> >> |#######################################################################################################################################################################################################| >> Time: 00:00:03 >> Parsing of 814 .bb files complete (813 cached, 1 parsed). 1121 >> targets, 37 skipped, 0 masked, 0 errors. >> >> Build Configuration: >> BB_VERSION = "1.18.0" >> BUILD_SYS = "x86_64-linux" >> NATIVELSBSTRING = "Ubuntu-12.04" >> TARGET_SYS = "i586-poky-linux" >> MACHINE = "lab3-qemux86" >> DISTRO = "poky" >> DISTRO_VERSION = "1.4.1" >> TUNE_FEATURES = "m32 i586" >> TARGET_FPU = "" >> meta >> meta-yocto >> meta-yocto-bsp >> meta-lab3-qemux86 = "dylan:3768675706462c0cc8566ead958161e77e2247e9" >> >> NOTE: Resolving any missing task queue dependencies >> NOTE: Preparing runqueue >> NOTE: Executing SetScene Tasks >> NOTE: Executing RunQueue Tasks >> ERROR: Function failed: do_patch (see >> >> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.9687 >> for further information) >> ERROR: Logfile of failure stored in: >> >> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.9687 >> Log data follows: >> | DEBUG: Executing shell function do_patch >> | WARNING: no meta data branch found ... >> | Already on 'linux-3.4.y' >> | WARNING: addon feature "features/nfsd/nfsd-enable" was not found >> | ERROR: required features were not found. aborting >> | ERROR. Could not update linux-3.4.y >> | ERROR: Function failed: do_patch (see >> >> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.9687 >> for further information) >> ERROR: Task 843 >> >> (/home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, >> do_patch) failed with exit code '1' >> NOTE: Tasks Summary: Attempted 1618 tasks of which 1617 didn't need to >> be rerun and 1 failed. >> No currently running tasks (571 of 1647) >> >> Summary: 1 task failed: >> >> /home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, >> do_patch >> >> >> log.do_patch.9687 >> DEBUG: Executing shell function do_patch >> WARNING: no meta data branch found ... >> Already on 'linux-3.4.y' >> WARNING: addon feature "features/nfsd/nfsd-enable" was not found >> ERROR: required features were not found. aborting >> ERROR. Could not update linux-3.4.y >> ERROR: Function failed: do_patch (see >> >> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.9687 >> for further informati >> >> >> conf/bblayers.conf >> >> # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf >> # changes incompatibly >> LCONF_VERSION = "6" >> >> BBPATH = "${TOPDIR}" >> BBFILES ?= "" >> >> BBLAYERS ?= " \ >> /home/caio/yocto/poky/meta \ >> /home/caio/yocto/poky/meta-yocto \ >> /home/caio/yocto/poky/meta-yocto-bsp \ >> /home/caio/yocto/poky/meta-lab3-qemux86 \ >> " >> BBLAYERS_NON_REMOVABLE ?= " \ >> /home/caio/yocto/poky/meta \ >> /home/caio/yocto/poky/meta-yocto \ >> >> >> >> ./meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb >> >> inherit kernel >> require recipes-kernel/linux/linux-yocto.inc >> >> SRC_URI = >> "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;bareclone=1" >> >> SRC_URI += "file://defconfig" >> >> SRC_URI += "file://yocto-testmod.patch" >> SRC_URI += "file://lab3.cfg" >> >> #module_autoload_yocto-testmod = "yocto-testmod" >> >> KBRANCH = "linux-3.4.y" >> >> LINUX_VERSION ?= "3.4.28" >> LINUX_VERSION_EXTENSION ?= "-custom" >> >> SRCREV="${AUTOREV}" >> >> PR = "r0" >> PV = "${LINUX_VERSION}+git${SRCPV}" >> >> COMPATIBLE_MACHINE_lab3-qemux86 = "lab3-qemux86" >> >> >> >> /meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom/defconfig : >> (full defconfig http://pastebin.com/iTtkKy3w) >> Just NFS config from >> CONFIG_NETWORK_FILESYSTEMS=y >> CONFIG_NFS_FS=y >> CONFIG_NFS_DEF_FILE_IO_SIZE=4096 >> CONFIG_NFS_V3=y >> # CONFIG_NFS_V3_ACL is not set >> CONFIG_NFS_V4=y >> #CONFIG_NFS_V4_1 is not set >> CONFIG_ROOT_NFS=y >> # CONFIG_NFS_USE_LEGACY_DNS is not set >> #CONFIG_NFS_USE_KERNEL_DNS is not set >> CONFIG_NFSD=y >> CONFIG_LOCKD=y >> CONFIG_LOCKD_V4=y >> CONFIG_NFS_COMMON=y >> >> >> conf/local.conf http://pastebin.com/BVSz0eTL >> >> 2013/5/29 Bruce Ashfield <bruce.ashfield@windriver.com>: >>> >>> On 13-05-29 02:30 PM, Caio wrote: >>>> >>>> >>>> Bruce I tested the patch but doesn't work >>>> >>> >>> It definitely works here. You'll need to provide more details besides >>> "it doesn't work". >>> >>> >>>> meta-yocto/conf/distro/poky- >>>> lsb.conf >>>> >>>> require conf/distro/poky.conf >>>> >>>> DISTRO = "poky-lsb" >>>> DISTROOVERRIDES = "poky:linuxstdbase" >>>> >>>> DISTRO_FEATURES_append = " pam largefile opengl" >>>> PREFERRED_PROVIDER_virtual/libx11 = "libx11" >>>> >>>> # Ensure the kernel nfs server is enabled >>>> KERNEL_FEATURES_append_pn-linux-yocto = " features/nfsd/nfsd-enable.scc" >>>> >>>> After a bitbake core-image-minimal >>>> I have the same error. >>> >>> >>> >>> Dump your bitbake environment and grep for KERNEL_FEATURES. >>> >>> i.e. bitbake -e -c compile linux-yocto-custom | grep KERNEL_FEATURES >>> >>> And we can see what is happening. >>> >>> Cheers, >>> >>> Bruce >>> >>> >>>> >>>> I will follow the Tom's suggestion and back the poky version. >>>> >>>> Thank you very much! >>>> >>>> 2013/5/29 Tom Zanussi <tom.zanussi@intel.com>: >>>>> >>>>> >>>>> On Wed, 2013-05-29 at 14:19 -0400, Bruce Ashfield wrote: >>>>>> >>>>>> >>>>>> On 13-05-29 02:15 PM, Caio wrote: >>>>>>> >>>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> I'm following the ELC2013 hands-on >>>>>>> >>>>>>> >>>>>>> (https://www.yoctoproject.org/sites/yoctoproject.org/files/elc2013-kernel-lab.pdf) >>>>>>> but with poky 9.0. >>>>>>> >>>>>>> Git Branch (b15bdd842092f2335784c20b8e1b3a0ddcf7996b) >>>>>>> >>>>>>> In the lab3 I'm trying to compile a kernel from master git tree. >>>>>>> >>>>>>> >>>>>>> But I'm having these trouble to enable NFSD. >>>>>>> -WARNING: addon feature "features/nfsd/nfsd-enable" was not found >>>>>>> >>>>>> >>>>>> There's a bug in master at the moment that is breaking >>>>>> linux-yocto-custom. >>>>>> >>>>> >>>>> Also apparently in the dylan point release i.e post-9.0.0. >>>>> >>>>> Tom >>>>> >>>>>> I'll send it out for merge shortly. >>>>>> >>>>>> In the meantime, take this change: >>>>>> >>>>>> --- a/meta-yocto/conf/distro/poky-lsb.conf >>>>>> +++ b/meta-yocto/conf/distro/poky-lsb.conf >>>>>> @@ -7,6 +7,6 @@ DISTRO_FEATURES_append = " pam largefile opengl" >>>>>> PREFERRED_PROVIDER_virtual/libx11 = "libx11" >>>>>> >>>>>> # Ensure the kernel nfs server is enabled >>>>>> -KERNEL_FEATURES_append = " features/nfsd/nfsd-enable.scc" >>>>>> +KERNEL_FEATURES_append_pn-linux-yocto = " >>>>>> features/nfsd/nfsd-enable.scc" >>>>>> >>>>>> >>>>>> Bruce >>>>>> >>>>>>> >>>>>>> My log: >>>>>>> >>>>>>> Build Configuration: >>>>>>> BB_VERSION = "1.18.0" >>>>>>> BUILD_SYS = "x86_64-linux" >>>>>>> NATIVELSBSTRING = "Ubuntu-12.04" >>>>>>> TARGET_SYS = "i586-poky-linux" >>>>>>> MACHINE = "lab3-qemux86" >>>>>>> DISTRO = "poky" >>>>>>> DISTRO_VERSION = "1.4.1" >>>>>>> TUNE_FEATURES = "m32 i586" >>>>>>> TARGET_FPU = "" >>>>>>> meta >>>>>>> meta-yocto >>>>>>> meta-yocto-bsp >>>>>>> meta-lab3-qemux86 = "dylan:3768675706462c0cc8566ead958161e77e2247e9" >>>>>>> >>>>>>> >>>>>>> NOTE: Resolving any missing task queue dependencies >>>>>>> NOTE: Preparing runqueue >>>>>>> NOTE: Executing SetScene Tasks >>>>>>> NOTE: Executing RunQueue Tasks >>>>>>> ERROR: Function failed: do_patch (see >>>>>>> >>>>>>> >>>>>>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 >>>>>>> for further information) >>>>>>> ERROR: Logfile of failure stored in: >>>>>>> >>>>>>> >>>>>>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 >>>>>>> Log data follows: >>>>>>> | DEBUG: Executing shell function do_patch >>>>>>> | WARNING: no meta data branch found ... >>>>>>> | Already on 'linux-3.4.y' >>>>>>> | WARNING: addon feature "features/nfsd/nfsd-enable" was not found >>>>>>> | ERROR: required features were not found. aborting >>>>>>> | ERROR. Could not update linux-3.4.y >>>>>>> | ERROR: Function failed: do_patch (see >>>>>>> >>>>>>> >>>>>>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 >>>>>>> for further information) >>>>>>> ERROR: Task 843 >>>>>>> >>>>>>> >>>>>>> (/home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, >>>>>>> do_patch) failed with exit code '1' >>>>>>> NOTE: Tasks Summary: Attempted 1618 tasks of which 1613 didn't need >>>>>>> to >>>>>>> be rerun and 1 failed. >>>>>>> No currently running tasks (1618 of 1647) >>>>>>> >>>>>>> Summary: 1 task failed: >>>>>>> >>>>>>> >>>>>>> /home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, >>>>>>> do_patch >>>>>>> Summary: There was 1 ERROR message shown, returning a non-zero exit >>>>>>> code. >>>>>>> >>>>>>> >>>>>>> >>>>>>> I tryed configure defconf to >>>>>>> >>>>>>> CONFIG_NETWORK_FILESYSTEMS=y >>>>>>> CONFIG_NFS_FS=y >>>>>>> CONFIG_NFS_DEF_FILE_IO_SIZE=4096 >>>>>>> CONFIG_NFS_V3=y >>>>>>> # CONFIG_NFS_V3_ACL is not set >>>>>>> CONFIG_NFS_V4=y >>>>>>> #CONFIG_NFS_V4_1 is not set >>>>>>> CONFIG_ROOT_NFS=y >>>>>>> # CONFIG_NFS_USE_LEGACY_DNS is not set >>>>>>> CONFIG_NFS_USE_KERNEL_DNS=y >>>>>>> CONFIG_NFSD=y >>>>>>> >>>>>>> >>>>>>> The Recipe >>>>>>> >>>>>>> inherit kernel >>>>>>> require recipes-kernel/linux/linux-yocto.inc >>>>>>> >>>>>>> SRC_URI = >>>>>>> >>>>>>> "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;bareclone=1" >>>>>>> >>>>>>> SRC_URI += "file://defconfig" >>>>>>> >>>>>>> #SRC_URI += "file://yocto-testmod.patch" >>>>>>> #SRC_URI += "file://lab3.cfg" >>>>>>> >>>>>>> #module_autoload_yocto-testmod = "yocto-testmod" >>>>>>> >>>>>>> KBRANCH = "linux-3.4.y" >>>>>>> >>>>>>> LINUX_VERSION ?= "3.4.28" >>>>>>> LINUX_VERSION_EXTENSION ?= "-custom" >>>>>>> >>>>>>> SRCREV="${AUTOREV}" >>>>>>> >>>>>>> PR = "r0" >>>>>>> PV = "${LINUX_VERSION}+git${SRCPV}" >>>>>>> >>>>>>> COMPATIBLE_MACHINE_lab3-qemux86 = "lab3-qemux86" >>>>>>> >>>>>>> >>>>>>> There's some advice to me? >>>>>>> >>>>>>> Thank you! >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> Caio Pereira >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> ---------------------------------------------- >>>>>>> Caio Pereira >>>>>>> _______________________________________________ >>>>>>> yocto mailing list >>>>>>> yocto@yoctoproject.org >>>>>>> https://lists.yoctoproject.org/listinfo/yocto >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> yocto mailing list >>>>>> yocto@yoctoproject.org >>>>>> https://lists.yoctoproject.org/listinfo/yocto >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >> >> >> > -- ---------------------------------------------- Caio Pereira ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Problem to compile kernel (enable nfsd) 2013-05-29 19:05 ` Caio @ 2013-05-29 19:50 ` Bruce Ashfield 2013-05-30 3:33 ` Bruce Ashfield 1 sibling, 0 replies; 14+ messages in thread From: Bruce Ashfield @ 2013-05-29 19:50 UTC (permalink / raw) To: Caio; +Cc: yocto On 13-05-29 03:05 PM, Caio wrote: > bitbake -e -c kernel_configme linux-yocto-custom | grep KERNEL_FEATURES > # $KERNEL_FEATURES [2 operations] > KERNEL_FEATURES="features/nfsd/nfsd-enable.scc" Great. I'll run some tests here as well. That's different variable override behaviour that I'm seeing. Bruce > > 2013/5/29 Bruce Ashfield <bruce.ashfield@windriver.com>: >> On 13-05-29 02:53 PM, Caio wrote: >>> >>> bitbake core-image-minimal >> >> >> This won't give me what I'm looking for, bitbake the >> kernel directly: >> >> bitbake -e -c kernel_configme linux-yocto-custom | grep KERNEL_FEATURES >> >> Cheers, >> >> Bruce >> >> >>> Loading cache: 100% >>> >>> |#########################################################################################################################################################################################################| >>> ETA: 00:00:00 >>> Loaded 1121 entries from dependency cache. >>> Parsing recipes: 100% >>> >>> |#######################################################################################################################################################################################################| >>> Time: 00:00:03 >>> Parsing of 814 .bb files complete (813 cached, 1 parsed). 1121 >>> targets, 37 skipped, 0 masked, 0 errors. >>> >>> Build Configuration: >>> BB_VERSION = "1.18.0" >>> BUILD_SYS = "x86_64-linux" >>> NATIVELSBSTRING = "Ubuntu-12.04" >>> TARGET_SYS = "i586-poky-linux" >>> MACHINE = "lab3-qemux86" >>> DISTRO = "poky" >>> DISTRO_VERSION = "1.4.1" >>> TUNE_FEATURES = "m32 i586" >>> TARGET_FPU = "" >>> meta >>> meta-yocto >>> meta-yocto-bsp >>> meta-lab3-qemux86 = "dylan:3768675706462c0cc8566ead958161e77e2247e9" >>> >>> NOTE: Resolving any missing task queue dependencies >>> NOTE: Preparing runqueue >>> NOTE: Executing SetScene Tasks >>> NOTE: Executing RunQueue Tasks >>> ERROR: Function failed: do_patch (see >>> >>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.9687 >>> for further information) >>> ERROR: Logfile of failure stored in: >>> >>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.9687 >>> Log data follows: >>> | DEBUG: Executing shell function do_patch >>> | WARNING: no meta data branch found ... >>> | Already on 'linux-3.4.y' >>> | WARNING: addon feature "features/nfsd/nfsd-enable" was not found >>> | ERROR: required features were not found. aborting >>> | ERROR. Could not update linux-3.4.y >>> | ERROR: Function failed: do_patch (see >>> >>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.9687 >>> for further information) >>> ERROR: Task 843 >>> >>> (/home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, >>> do_patch) failed with exit code '1' >>> NOTE: Tasks Summary: Attempted 1618 tasks of which 1617 didn't need to >>> be rerun and 1 failed. >>> No currently running tasks (571 of 1647) >>> >>> Summary: 1 task failed: >>> >>> /home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, >>> do_patch >>> >>> >>> log.do_patch.9687 >>> DEBUG: Executing shell function do_patch >>> WARNING: no meta data branch found ... >>> Already on 'linux-3.4.y' >>> WARNING: addon feature "features/nfsd/nfsd-enable" was not found >>> ERROR: required features were not found. aborting >>> ERROR. Could not update linux-3.4.y >>> ERROR: Function failed: do_patch (see >>> >>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.9687 >>> for further informati >>> >>> >>> conf/bblayers.conf >>> >>> # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf >>> # changes incompatibly >>> LCONF_VERSION = "6" >>> >>> BBPATH = "${TOPDIR}" >>> BBFILES ?= "" >>> >>> BBLAYERS ?= " \ >>> /home/caio/yocto/poky/meta \ >>> /home/caio/yocto/poky/meta-yocto \ >>> /home/caio/yocto/poky/meta-yocto-bsp \ >>> /home/caio/yocto/poky/meta-lab3-qemux86 \ >>> " >>> BBLAYERS_NON_REMOVABLE ?= " \ >>> /home/caio/yocto/poky/meta \ >>> /home/caio/yocto/poky/meta-yocto \ >>> >>> >>> >>> ./meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb >>> >>> inherit kernel >>> require recipes-kernel/linux/linux-yocto.inc >>> >>> SRC_URI = >>> "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;bareclone=1" >>> >>> SRC_URI += "file://defconfig" >>> >>> SRC_URI += "file://yocto-testmod.patch" >>> SRC_URI += "file://lab3.cfg" >>> >>> #module_autoload_yocto-testmod = "yocto-testmod" >>> >>> KBRANCH = "linux-3.4.y" >>> >>> LINUX_VERSION ?= "3.4.28" >>> LINUX_VERSION_EXTENSION ?= "-custom" >>> >>> SRCREV="${AUTOREV}" >>> >>> PR = "r0" >>> PV = "${LINUX_VERSION}+git${SRCPV}" >>> >>> COMPATIBLE_MACHINE_lab3-qemux86 = "lab3-qemux86" >>> >>> >>> >>> /meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom/defconfig : >>> (full defconfig http://pastebin.com/iTtkKy3w) >>> Just NFS config from >>> CONFIG_NETWORK_FILESYSTEMS=y >>> CONFIG_NFS_FS=y >>> CONFIG_NFS_DEF_FILE_IO_SIZE=4096 >>> CONFIG_NFS_V3=y >>> # CONFIG_NFS_V3_ACL is not set >>> CONFIG_NFS_V4=y >>> #CONFIG_NFS_V4_1 is not set >>> CONFIG_ROOT_NFS=y >>> # CONFIG_NFS_USE_LEGACY_DNS is not set >>> #CONFIG_NFS_USE_KERNEL_DNS is not set >>> CONFIG_NFSD=y >>> CONFIG_LOCKD=y >>> CONFIG_LOCKD_V4=y >>> CONFIG_NFS_COMMON=y >>> >>> >>> conf/local.conf http://pastebin.com/BVSz0eTL >>> >>> 2013/5/29 Bruce Ashfield <bruce.ashfield@windriver.com>: >>>> >>>> On 13-05-29 02:30 PM, Caio wrote: >>>>> >>>>> >>>>> Bruce I tested the patch but doesn't work >>>>> >>>> >>>> It definitely works here. You'll need to provide more details besides >>>> "it doesn't work". >>>> >>>> >>>>> meta-yocto/conf/distro/poky- >>>>> lsb.conf >>>>> >>>>> require conf/distro/poky.conf >>>>> >>>>> DISTRO = "poky-lsb" >>>>> DISTROOVERRIDES = "poky:linuxstdbase" >>>>> >>>>> DISTRO_FEATURES_append = " pam largefile opengl" >>>>> PREFERRED_PROVIDER_virtual/libx11 = "libx11" >>>>> >>>>> # Ensure the kernel nfs server is enabled >>>>> KERNEL_FEATURES_append_pn-linux-yocto = " features/nfsd/nfsd-enable.scc" >>>>> >>>>> After a bitbake core-image-minimal >>>>> I have the same error. >>>> >>>> >>>> >>>> Dump your bitbake environment and grep for KERNEL_FEATURES. >>>> >>>> i.e. bitbake -e -c compile linux-yocto-custom | grep KERNEL_FEATURES >>>> >>>> And we can see what is happening. >>>> >>>> Cheers, >>>> >>>> Bruce >>>> >>>> >>>>> >>>>> I will follow the Tom's suggestion and back the poky version. >>>>> >>>>> Thank you very much! >>>>> >>>>> 2013/5/29 Tom Zanussi <tom.zanussi@intel.com>: >>>>>> >>>>>> >>>>>> On Wed, 2013-05-29 at 14:19 -0400, Bruce Ashfield wrote: >>>>>>> >>>>>>> >>>>>>> On 13-05-29 02:15 PM, Caio wrote: >>>>>>>> >>>>>>>> >>>>>>>> Hello, >>>>>>>> >>>>>>>> I'm following the ELC2013 hands-on >>>>>>>> >>>>>>>> >>>>>>>> (https://www.yoctoproject.org/sites/yoctoproject.org/files/elc2013-kernel-lab.pdf) >>>>>>>> but with poky 9.0. >>>>>>>> >>>>>>>> Git Branch (b15bdd842092f2335784c20b8e1b3a0ddcf7996b) >>>>>>>> >>>>>>>> In the lab3 I'm trying to compile a kernel from master git tree. >>>>>>>> >>>>>>>> >>>>>>>> But I'm having these trouble to enable NFSD. >>>>>>>> -WARNING: addon feature "features/nfsd/nfsd-enable" was not found >>>>>>>> >>>>>>> >>>>>>> There's a bug in master at the moment that is breaking >>>>>>> linux-yocto-custom. >>>>>>> >>>>>> >>>>>> Also apparently in the dylan point release i.e post-9.0.0. >>>>>> >>>>>> Tom >>>>>> >>>>>>> I'll send it out for merge shortly. >>>>>>> >>>>>>> In the meantime, take this change: >>>>>>> >>>>>>> --- a/meta-yocto/conf/distro/poky-lsb.conf >>>>>>> +++ b/meta-yocto/conf/distro/poky-lsb.conf >>>>>>> @@ -7,6 +7,6 @@ DISTRO_FEATURES_append = " pam largefile opengl" >>>>>>> PREFERRED_PROVIDER_virtual/libx11 = "libx11" >>>>>>> >>>>>>> # Ensure the kernel nfs server is enabled >>>>>>> -KERNEL_FEATURES_append = " features/nfsd/nfsd-enable.scc" >>>>>>> +KERNEL_FEATURES_append_pn-linux-yocto = " >>>>>>> features/nfsd/nfsd-enable.scc" >>>>>>> >>>>>>> >>>>>>> Bruce >>>>>>> >>>>>>>> >>>>>>>> My log: >>>>>>>> >>>>>>>> Build Configuration: >>>>>>>> BB_VERSION = "1.18.0" >>>>>>>> BUILD_SYS = "x86_64-linux" >>>>>>>> NATIVELSBSTRING = "Ubuntu-12.04" >>>>>>>> TARGET_SYS = "i586-poky-linux" >>>>>>>> MACHINE = "lab3-qemux86" >>>>>>>> DISTRO = "poky" >>>>>>>> DISTRO_VERSION = "1.4.1" >>>>>>>> TUNE_FEATURES = "m32 i586" >>>>>>>> TARGET_FPU = "" >>>>>>>> meta >>>>>>>> meta-yocto >>>>>>>> meta-yocto-bsp >>>>>>>> meta-lab3-qemux86 = "dylan:3768675706462c0cc8566ead958161e77e2247e9" >>>>>>>> >>>>>>>> >>>>>>>> NOTE: Resolving any missing task queue dependencies >>>>>>>> NOTE: Preparing runqueue >>>>>>>> NOTE: Executing SetScene Tasks >>>>>>>> NOTE: Executing RunQueue Tasks >>>>>>>> ERROR: Function failed: do_patch (see >>>>>>>> >>>>>>>> >>>>>>>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 >>>>>>>> for further information) >>>>>>>> ERROR: Logfile of failure stored in: >>>>>>>> >>>>>>>> >>>>>>>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 >>>>>>>> Log data follows: >>>>>>>> | DEBUG: Executing shell function do_patch >>>>>>>> | WARNING: no meta data branch found ... >>>>>>>> | Already on 'linux-3.4.y' >>>>>>>> | WARNING: addon feature "features/nfsd/nfsd-enable" was not found >>>>>>>> | ERROR: required features were not found. aborting >>>>>>>> | ERROR. Could not update linux-3.4.y >>>>>>>> | ERROR: Function failed: do_patch (see >>>>>>>> >>>>>>>> >>>>>>>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 >>>>>>>> for further information) >>>>>>>> ERROR: Task 843 >>>>>>>> >>>>>>>> >>>>>>>> (/home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, >>>>>>>> do_patch) failed with exit code '1' >>>>>>>> NOTE: Tasks Summary: Attempted 1618 tasks of which 1613 didn't need >>>>>>>> to >>>>>>>> be rerun and 1 failed. >>>>>>>> No currently running tasks (1618 of 1647) >>>>>>>> >>>>>>>> Summary: 1 task failed: >>>>>>>> >>>>>>>> >>>>>>>> /home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, >>>>>>>> do_patch >>>>>>>> Summary: There was 1 ERROR message shown, returning a non-zero exit >>>>>>>> code. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> I tryed configure defconf to >>>>>>>> >>>>>>>> CONFIG_NETWORK_FILESYSTEMS=y >>>>>>>> CONFIG_NFS_FS=y >>>>>>>> CONFIG_NFS_DEF_FILE_IO_SIZE=4096 >>>>>>>> CONFIG_NFS_V3=y >>>>>>>> # CONFIG_NFS_V3_ACL is not set >>>>>>>> CONFIG_NFS_V4=y >>>>>>>> #CONFIG_NFS_V4_1 is not set >>>>>>>> CONFIG_ROOT_NFS=y >>>>>>>> # CONFIG_NFS_USE_LEGACY_DNS is not set >>>>>>>> CONFIG_NFS_USE_KERNEL_DNS=y >>>>>>>> CONFIG_NFSD=y >>>>>>>> >>>>>>>> >>>>>>>> The Recipe >>>>>>>> >>>>>>>> inherit kernel >>>>>>>> require recipes-kernel/linux/linux-yocto.inc >>>>>>>> >>>>>>>> SRC_URI = >>>>>>>> >>>>>>>> "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;bareclone=1" >>>>>>>> >>>>>>>> SRC_URI += "file://defconfig" >>>>>>>> >>>>>>>> #SRC_URI += "file://yocto-testmod.patch" >>>>>>>> #SRC_URI += "file://lab3.cfg" >>>>>>>> >>>>>>>> #module_autoload_yocto-testmod = "yocto-testmod" >>>>>>>> >>>>>>>> KBRANCH = "linux-3.4.y" >>>>>>>> >>>>>>>> LINUX_VERSION ?= "3.4.28" >>>>>>>> LINUX_VERSION_EXTENSION ?= "-custom" >>>>>>>> >>>>>>>> SRCREV="${AUTOREV}" >>>>>>>> >>>>>>>> PR = "r0" >>>>>>>> PV = "${LINUX_VERSION}+git${SRCPV}" >>>>>>>> >>>>>>>> COMPATIBLE_MACHINE_lab3-qemux86 = "lab3-qemux86" >>>>>>>> >>>>>>>> >>>>>>>> There's some advice to me? >>>>>>>> >>>>>>>> Thank you! >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>>> Caio Pereira >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> ---------------------------------------------- >>>>>>>> Caio Pereira >>>>>>>> _______________________________________________ >>>>>>>> yocto mailing list >>>>>>>> yocto@yoctoproject.org >>>>>>>> https://lists.yoctoproject.org/listinfo/yocto >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> yocto mailing list >>>>>>> yocto@yoctoproject.org >>>>>>> https://lists.yoctoproject.org/listinfo/yocto >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>> >>> >>> >> > > > ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Problem to compile kernel (enable nfsd) 2013-05-29 19:05 ` Caio 2013-05-29 19:50 ` Bruce Ashfield @ 2013-05-30 3:33 ` Bruce Ashfield 2013-05-30 9:03 ` Paul Eggleton 1 sibling, 1 reply; 14+ messages in thread From: Bruce Ashfield @ 2013-05-30 3:33 UTC (permalink / raw) To: Caio; +Cc: yocto On 13-05-29 3:05 PM, Caio wrote: > bitbake -e -c kernel_configme linux-yocto-custom | grep KERNEL_FEATURES > # $KERNEL_FEATURES [2 operations] > KERNEL_FEATURES="features/nfsd/nfsd-enable.scc" Aha. That's the problem with cutting and pasting patches, I missed this part of the fix: diff --git a/meta/conf/machine/include/qemu.inc b/meta/conf/machine/include/qemu.inc index 7111926..b303191 100644 --- a/meta/conf/machine/include/qemu.inc +++ b/meta/conf/machine/include/qemu.inc @@ -25,4 +25,4 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native" # Provide the nfs server kernel module for all qemu images -KERNEL_FEATURES_append = " features/nfsd/nfsd-enable.scc" +KERNEL_FEATURES-pn_linux-yocto_append = " features/nfsd/nfsd-enable.scc" Cheers, Bruce > > 2013/5/29 Bruce Ashfield <bruce.ashfield@windriver.com>: >> On 13-05-29 02:53 PM, Caio wrote: >>> >>> bitbake core-image-minimal >> >> >> This won't give me what I'm looking for, bitbake the >> kernel directly: >> >> bitbake -e -c kernel_configme linux-yocto-custom | grep KERNEL_FEATURES >> >> Cheers, >> >> Bruce >> >> >>> Loading cache: 100% >>> >>> |#########################################################################################################################################################################################################| >>> ETA: 00:00:00 >>> Loaded 1121 entries from dependency cache. >>> Parsing recipes: 100% >>> >>> |#######################################################################################################################################################################################################| >>> Time: 00:00:03 >>> Parsing of 814 .bb files complete (813 cached, 1 parsed). 1121 >>> targets, 37 skipped, 0 masked, 0 errors. >>> >>> Build Configuration: >>> BB_VERSION = "1.18.0" >>> BUILD_SYS = "x86_64-linux" >>> NATIVELSBSTRING = "Ubuntu-12.04" >>> TARGET_SYS = "i586-poky-linux" >>> MACHINE = "lab3-qemux86" >>> DISTRO = "poky" >>> DISTRO_VERSION = "1.4.1" >>> TUNE_FEATURES = "m32 i586" >>> TARGET_FPU = "" >>> meta >>> meta-yocto >>> meta-yocto-bsp >>> meta-lab3-qemux86 = "dylan:3768675706462c0cc8566ead958161e77e2247e9" >>> >>> NOTE: Resolving any missing task queue dependencies >>> NOTE: Preparing runqueue >>> NOTE: Executing SetScene Tasks >>> NOTE: Executing RunQueue Tasks >>> ERROR: Function failed: do_patch (see >>> >>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.9687 >>> for further information) >>> ERROR: Logfile of failure stored in: >>> >>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.9687 >>> Log data follows: >>> | DEBUG: Executing shell function do_patch >>> | WARNING: no meta data branch found ... >>> | Already on 'linux-3.4.y' >>> | WARNING: addon feature "features/nfsd/nfsd-enable" was not found >>> | ERROR: required features were not found. aborting >>> | ERROR. Could not update linux-3.4.y >>> | ERROR: Function failed: do_patch (see >>> >>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.9687 >>> for further information) >>> ERROR: Task 843 >>> >>> (/home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, >>> do_patch) failed with exit code '1' >>> NOTE: Tasks Summary: Attempted 1618 tasks of which 1617 didn't need to >>> be rerun and 1 failed. >>> No currently running tasks (571 of 1647) >>> >>> Summary: 1 task failed: >>> >>> /home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, >>> do_patch >>> >>> >>> log.do_patch.9687 >>> DEBUG: Executing shell function do_patch >>> WARNING: no meta data branch found ... >>> Already on 'linux-3.4.y' >>> WARNING: addon feature "features/nfsd/nfsd-enable" was not found >>> ERROR: required features were not found. aborting >>> ERROR. Could not update linux-3.4.y >>> ERROR: Function failed: do_patch (see >>> >>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.9687 >>> for further informati >>> >>> >>> conf/bblayers.conf >>> >>> # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf >>> # changes incompatibly >>> LCONF_VERSION = "6" >>> >>> BBPATH = "${TOPDIR}" >>> BBFILES ?= "" >>> >>> BBLAYERS ?= " \ >>> /home/caio/yocto/poky/meta \ >>> /home/caio/yocto/poky/meta-yocto \ >>> /home/caio/yocto/poky/meta-yocto-bsp \ >>> /home/caio/yocto/poky/meta-lab3-qemux86 \ >>> " >>> BBLAYERS_NON_REMOVABLE ?= " \ >>> /home/caio/yocto/poky/meta \ >>> /home/caio/yocto/poky/meta-yocto \ >>> >>> >>> >>> ./meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb >>> >>> inherit kernel >>> require recipes-kernel/linux/linux-yocto.inc >>> >>> SRC_URI = >>> "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;bareclone=1" >>> >>> SRC_URI += "file://defconfig" >>> >>> SRC_URI += "file://yocto-testmod.patch" >>> SRC_URI += "file://lab3.cfg" >>> >>> #module_autoload_yocto-testmod = "yocto-testmod" >>> >>> KBRANCH = "linux-3.4.y" >>> >>> LINUX_VERSION ?= "3.4.28" >>> LINUX_VERSION_EXTENSION ?= "-custom" >>> >>> SRCREV="${AUTOREV}" >>> >>> PR = "r0" >>> PV = "${LINUX_VERSION}+git${SRCPV}" >>> >>> COMPATIBLE_MACHINE_lab3-qemux86 = "lab3-qemux86" >>> >>> >>> >>> /meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom/defconfig : >>> (full defconfig http://pastebin.com/iTtkKy3w) >>> Just NFS config from >>> CONFIG_NETWORK_FILESYSTEMS=y >>> CONFIG_NFS_FS=y >>> CONFIG_NFS_DEF_FILE_IO_SIZE=4096 >>> CONFIG_NFS_V3=y >>> # CONFIG_NFS_V3_ACL is not set >>> CONFIG_NFS_V4=y >>> #CONFIG_NFS_V4_1 is not set >>> CONFIG_ROOT_NFS=y >>> # CONFIG_NFS_USE_LEGACY_DNS is not set >>> #CONFIG_NFS_USE_KERNEL_DNS is not set >>> CONFIG_NFSD=y >>> CONFIG_LOCKD=y >>> CONFIG_LOCKD_V4=y >>> CONFIG_NFS_COMMON=y >>> >>> >>> conf/local.conf http://pastebin.com/BVSz0eTL >>> >>> 2013/5/29 Bruce Ashfield <bruce.ashfield@windriver.com>: >>>> >>>> On 13-05-29 02:30 PM, Caio wrote: >>>>> >>>>> >>>>> Bruce I tested the patch but doesn't work >>>>> >>>> >>>> It definitely works here. You'll need to provide more details besides >>>> "it doesn't work". >>>> >>>> >>>>> meta-yocto/conf/distro/poky- >>>>> lsb.conf >>>>> >>>>> require conf/distro/poky.conf >>>>> >>>>> DISTRO = "poky-lsb" >>>>> DISTROOVERRIDES = "poky:linuxstdbase" >>>>> >>>>> DISTRO_FEATURES_append = " pam largefile opengl" >>>>> PREFERRED_PROVIDER_virtual/libx11 = "libx11" >>>>> >>>>> # Ensure the kernel nfs server is enabled >>>>> KERNEL_FEATURES_append_pn-linux-yocto = " features/nfsd/nfsd-enable.scc" >>>>> >>>>> After a bitbake core-image-minimal >>>>> I have the same error. >>>> >>>> >>>> >>>> Dump your bitbake environment and grep for KERNEL_FEATURES. >>>> >>>> i.e. bitbake -e -c compile linux-yocto-custom | grep KERNEL_FEATURES >>>> >>>> And we can see what is happening. >>>> >>>> Cheers, >>>> >>>> Bruce >>>> >>>> >>>>> >>>>> I will follow the Tom's suggestion and back the poky version. >>>>> >>>>> Thank you very much! >>>>> >>>>> 2013/5/29 Tom Zanussi <tom.zanussi@intel.com>: >>>>>> >>>>>> >>>>>> On Wed, 2013-05-29 at 14:19 -0400, Bruce Ashfield wrote: >>>>>>> >>>>>>> >>>>>>> On 13-05-29 02:15 PM, Caio wrote: >>>>>>>> >>>>>>>> >>>>>>>> Hello, >>>>>>>> >>>>>>>> I'm following the ELC2013 hands-on >>>>>>>> >>>>>>>> >>>>>>>> (https://www.yoctoproject.org/sites/yoctoproject.org/files/elc2013-kernel-lab.pdf) >>>>>>>> but with poky 9.0. >>>>>>>> >>>>>>>> Git Branch (b15bdd842092f2335784c20b8e1b3a0ddcf7996b) >>>>>>>> >>>>>>>> In the lab3 I'm trying to compile a kernel from master git tree. >>>>>>>> >>>>>>>> >>>>>>>> But I'm having these trouble to enable NFSD. >>>>>>>> -WARNING: addon feature "features/nfsd/nfsd-enable" was not found >>>>>>>> >>>>>>> >>>>>>> There's a bug in master at the moment that is breaking >>>>>>> linux-yocto-custom. >>>>>>> >>>>>> >>>>>> Also apparently in the dylan point release i.e post-9.0.0. >>>>>> >>>>>> Tom >>>>>> >>>>>>> I'll send it out for merge shortly. >>>>>>> >>>>>>> In the meantime, take this change: >>>>>>> >>>>>>> --- a/meta-yocto/conf/distro/poky-lsb.conf >>>>>>> +++ b/meta-yocto/conf/distro/poky-lsb.conf >>>>>>> @@ -7,6 +7,6 @@ DISTRO_FEATURES_append = " pam largefile opengl" >>>>>>> PREFERRED_PROVIDER_virtual/libx11 = "libx11" >>>>>>> >>>>>>> # Ensure the kernel nfs server is enabled >>>>>>> -KERNEL_FEATURES_append = " features/nfsd/nfsd-enable.scc" >>>>>>> +KERNEL_FEATURES_append_pn-linux-yocto = " >>>>>>> features/nfsd/nfsd-enable.scc" >>>>>>> >>>>>>> >>>>>>> Bruce >>>>>>> >>>>>>>> >>>>>>>> My log: >>>>>>>> >>>>>>>> Build Configuration: >>>>>>>> BB_VERSION = "1.18.0" >>>>>>>> BUILD_SYS = "x86_64-linux" >>>>>>>> NATIVELSBSTRING = "Ubuntu-12.04" >>>>>>>> TARGET_SYS = "i586-poky-linux" >>>>>>>> MACHINE = "lab3-qemux86" >>>>>>>> DISTRO = "poky" >>>>>>>> DISTRO_VERSION = "1.4.1" >>>>>>>> TUNE_FEATURES = "m32 i586" >>>>>>>> TARGET_FPU = "" >>>>>>>> meta >>>>>>>> meta-yocto >>>>>>>> meta-yocto-bsp >>>>>>>> meta-lab3-qemux86 = "dylan:3768675706462c0cc8566ead958161e77e2247e9" >>>>>>>> >>>>>>>> >>>>>>>> NOTE: Resolving any missing task queue dependencies >>>>>>>> NOTE: Preparing runqueue >>>>>>>> NOTE: Executing SetScene Tasks >>>>>>>> NOTE: Executing RunQueue Tasks >>>>>>>> ERROR: Function failed: do_patch (see >>>>>>>> >>>>>>>> >>>>>>>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 >>>>>>>> for further information) >>>>>>>> ERROR: Logfile of failure stored in: >>>>>>>> >>>>>>>> >>>>>>>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 >>>>>>>> Log data follows: >>>>>>>> | DEBUG: Executing shell function do_patch >>>>>>>> | WARNING: no meta data branch found ... >>>>>>>> | Already on 'linux-3.4.y' >>>>>>>> | WARNING: addon feature "features/nfsd/nfsd-enable" was not found >>>>>>>> | ERROR: required features were not found. aborting >>>>>>>> | ERROR. Could not update linux-3.4.y >>>>>>>> | ERROR: Function failed: do_patch (see >>>>>>>> >>>>>>>> >>>>>>>> /home/caio/yocto/poky/lab3/tmp/work/lab3_qemux86-poky-linux/linux-yocto-custom/3.4.28+gitAUTOINC+c7788792a5e7b0d5d7f96d0766b4cb6112d47d75-r0/temp/log.do_patch.8248 >>>>>>>> for further information) >>>>>>>> ERROR: Task 843 >>>>>>>> >>>>>>>> >>>>>>>> (/home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, >>>>>>>> do_patch) failed with exit code '1' >>>>>>>> NOTE: Tasks Summary: Attempted 1618 tasks of which 1613 didn't need >>>>>>>> to >>>>>>>> be rerun and 1 failed. >>>>>>>> No currently running tasks (1618 of 1647) >>>>>>>> >>>>>>>> Summary: 1 task failed: >>>>>>>> >>>>>>>> >>>>>>>> /home/caio/yocto/poky/meta-lab3-qemux86/recipes-kernel/linux/linux-yocto-custom.bb, >>>>>>>> do_patch >>>>>>>> Summary: There was 1 ERROR message shown, returning a non-zero exit >>>>>>>> code. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> I tryed configure defconf to >>>>>>>> >>>>>>>> CONFIG_NETWORK_FILESYSTEMS=y >>>>>>>> CONFIG_NFS_FS=y >>>>>>>> CONFIG_NFS_DEF_FILE_IO_SIZE=4096 >>>>>>>> CONFIG_NFS_V3=y >>>>>>>> # CONFIG_NFS_V3_ACL is not set >>>>>>>> CONFIG_NFS_V4=y >>>>>>>> #CONFIG_NFS_V4_1 is not set >>>>>>>> CONFIG_ROOT_NFS=y >>>>>>>> # CONFIG_NFS_USE_LEGACY_DNS is not set >>>>>>>> CONFIG_NFS_USE_KERNEL_DNS=y >>>>>>>> CONFIG_NFSD=y >>>>>>>> >>>>>>>> >>>>>>>> The Recipe >>>>>>>> >>>>>>>> inherit kernel >>>>>>>> require recipes-kernel/linux/linux-yocto.inc >>>>>>>> >>>>>>>> SRC_URI = >>>>>>>> >>>>>>>> "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;protocol=git;bareclone=1" >>>>>>>> >>>>>>>> SRC_URI += "file://defconfig" >>>>>>>> >>>>>>>> #SRC_URI += "file://yocto-testmod.patch" >>>>>>>> #SRC_URI += "file://lab3.cfg" >>>>>>>> >>>>>>>> #module_autoload_yocto-testmod = "yocto-testmod" >>>>>>>> >>>>>>>> KBRANCH = "linux-3.4.y" >>>>>>>> >>>>>>>> LINUX_VERSION ?= "3.4.28" >>>>>>>> LINUX_VERSION_EXTENSION ?= "-custom" >>>>>>>> >>>>>>>> SRCREV="${AUTOREV}" >>>>>>>> >>>>>>>> PR = "r0" >>>>>>>> PV = "${LINUX_VERSION}+git${SRCPV}" >>>>>>>> >>>>>>>> COMPATIBLE_MACHINE_lab3-qemux86 = "lab3-qemux86" >>>>>>>> >>>>>>>> >>>>>>>> There's some advice to me? >>>>>>>> >>>>>>>> Thank you! >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>>> Caio Pereira >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> ---------------------------------------------- >>>>>>>> Caio Pereira >>>>>>>> _______________________________________________ >>>>>>>> yocto mailing list >>>>>>>> yocto@yoctoproject.org >>>>>>>> https://lists.yoctoproject.org/listinfo/yocto >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> yocto mailing list >>>>>>> yocto@yoctoproject.org >>>>>>> https://lists.yoctoproject.org/listinfo/yocto >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>> >>> >>> >> > > > ^ permalink raw reply related [flat|nested] 14+ messages in thread
* Re: Problem to compile kernel (enable nfsd) 2013-05-30 3:33 ` Bruce Ashfield @ 2013-05-30 9:03 ` Paul Eggleton 2013-05-30 12:31 ` Bruce Ashfield 0 siblings, 1 reply; 14+ messages in thread From: Paul Eggleton @ 2013-05-30 9:03 UTC (permalink / raw) To: Bruce Ashfield; +Cc: yocto On Wednesday 29 May 2013 23:33:04 Bruce Ashfield wrote: > On 13-05-29 3:05 PM, Caio wrote: > > bitbake -e -c kernel_configme linux-yocto-custom | grep KERNEL_FEATURES > > # $KERNEL_FEATURES [2 operations] > > KERNEL_FEATURES="features/nfsd/nfsd-enable.scc" > > Aha. That's the problem with cutting and pasting patches, I missed this > part of the fix: > > diff --git a/meta/conf/machine/include/qemu.inc > b/meta/conf/machine/include/qemu.inc > index 7111926..b303191 100644 > --- a/meta/conf/machine/include/qemu.inc > +++ b/meta/conf/machine/include/qemu.inc > @@ -25,4 +25,4 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" > EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native" > > # Provide the nfs server kernel module for all qemu images > -KERNEL_FEATURES_append = " features/nfsd/nfsd-enable.scc" > +KERNEL_FEATURES-pn_linux-yocto_append = " features/nfsd/nfsd-enable.scc" I'm afraid this is not correct either. You need pn- instead of pn_, and I think in terms of ordering you also need _append_pn-linux-yocto instead of _pn-linux-yocto_append. I'd really appreciate the final fix for this as soon as possible so I can integrate it into the dylan branch for the 1.4.1 release. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Problem to compile kernel (enable nfsd) 2013-05-30 9:03 ` Paul Eggleton @ 2013-05-30 12:31 ` Bruce Ashfield 2013-06-03 13:22 ` Caio 0 siblings, 1 reply; 14+ messages in thread From: Bruce Ashfield @ 2013-05-30 12:31 UTC (permalink / raw) To: Paul Eggleton; +Cc: Yocto Project Discussion On Thu, May 30, 2013 at 5:03 AM, Paul Eggleton <paul.eggleton@linux.intel.com> wrote: > On Wednesday 29 May 2013 23:33:04 Bruce Ashfield wrote: >> On 13-05-29 3:05 PM, Caio wrote: >> > bitbake -e -c kernel_configme linux-yocto-custom | grep KERNEL_FEATURES >> > # $KERNEL_FEATURES [2 operations] >> > KERNEL_FEATURES="features/nfsd/nfsd-enable.scc" >> >> Aha. That's the problem with cutting and pasting patches, I missed this >> part of the fix: >> >> diff --git a/meta/conf/machine/include/qemu.inc >> b/meta/conf/machine/include/qemu.inc >> index 7111926..b303191 100644 >> --- a/meta/conf/machine/include/qemu.inc >> +++ b/meta/conf/machine/include/qemu.inc >> @@ -25,4 +25,4 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" >> EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native" >> >> # Provide the nfs server kernel module for all qemu images >> -KERNEL_FEATURES_append = " features/nfsd/nfsd-enable.scc" >> +KERNEL_FEATURES-pn_linux-yocto_append = " features/nfsd/nfsd-enable.scc" > > I'm afraid this is not correct either. > > You need pn- instead of pn_, and I think in terms of ordering you also need > _append_pn-linux-yocto instead of _pn-linux-yocto_append. Heh. Well that wasn't the patch, that was me typing it in at 1AM based on a modified line from the original :) My laptop with the real change decided to drop of the network. Bruce > > I'd really appreciate the final fix for this as soon as possible so I can > integrate it into the dylan branch for the 1.4.1 release. > > Cheers, > Paul > > -- > > Paul Eggleton > Intel Open Source Technology Centre > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end" ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Problem to compile kernel (enable nfsd) 2013-05-30 12:31 ` Bruce Ashfield @ 2013-06-03 13:22 ` Caio 0 siblings, 0 replies; 14+ messages in thread From: Caio @ 2013-06-03 13:22 UTC (permalink / raw) To: Bruce Ashfield; +Cc: Paul Eggleton, Yocto Project Discussion Thank you guys! Now Works! --- meta-yocto/conf/distro/poky-lsb.conf | 2 +- meta/conf/machine/include/qemu.inc | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-yocto/conf/distro/poky-lsb.conf b/meta-yocto/conf/distro/poky-lsb.conf index 53d088f..355bd50 100644 --- a/meta-yocto/conf/distro/poky-lsb.conf +++ b/meta-yocto/conf/distro/poky-lsb.conf @@ -7,6 +7,6 @@ DISTRO_FEATURES_append = " pam largefile opengl" PREFERRED_PROVIDER_virtual/libx11 = "libx11" # Ensure the kernel nfs server is enabled -KERNEL_FEATURES_append = " features/nfsd/nfsd-enable.scc" +KERNEL_FEATURES_append_pn_linux_yocto = " features/nfsd/nfsd-enable.scc" diff --git a/meta/conf/machine/include/qemu.inc b/meta/conf/machine/include/qemu.inc index 7111926..4a50b38 100644 --- a/meta/conf/machine/include/qemu.inc +++ b/meta/conf/machine/include/qemu.inc @@ -25,4 +25,5 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native" # Provide the nfs server kernel module for all qemu images -KERNEL_FEATURES_append = " features/nfsd/nfsd-enable.scc" +KERNEL_FEATURES_append_pn_linux-yocto = " features/nfsd/nfsd-enable.scc" + 2013/5/30 Bruce Ashfield <bruce.ashfield@gmail.com>: > On Thu, May 30, 2013 at 5:03 AM, Paul Eggleton > <paul.eggleton@linux.intel.com> wrote: >> On Wednesday 29 May 2013 23:33:04 Bruce Ashfield wrote: >>> On 13-05-29 3:05 PM, Caio wrote: >>> > bitbake -e -c kernel_configme linux-yocto-custom | grep KERNEL_FEATURES >>> > # $KERNEL_FEATURES [2 operations] >>> > KERNEL_FEATURES="features/nfsd/nfsd-enable.scc" >>> >>> Aha. That's the problem with cutting and pasting patches, I missed this >>> part of the fix: >>> >>> diff --git a/meta/conf/machine/include/qemu.inc >>> b/meta/conf/machine/include/qemu.inc >>> index 7111926..b303191 100644 >>> --- a/meta/conf/machine/include/qemu.inc >>> +++ b/meta/conf/machine/include/qemu.inc >>> @@ -25,4 +25,4 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" >>> EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native" >>> >>> # Provide the nfs server kernel module for all qemu images >>> -KERNEL_FEATURES_append = " features/nfsd/nfsd-enable.scc" >>> +KERNEL_FEATURES-pn_linux-yocto_append = " features/nfsd/nfsd-enable.scc" >> >> I'm afraid this is not correct either. >> >> You need pn- instead of pn_, and I think in terms of ordering you also need >> _append_pn-linux-yocto instead of _pn-linux-yocto_append. > > Heh. Well that wasn't the patch, that was me typing it in at 1AM based on > a modified line from the original :) My laptop with the real change decided > to drop of the network. > > Bruce > >> >> I'd really appreciate the final fix for this as soon as possible so I can >> integrate it into the dylan branch for the 1.4.1 release. >> >> Cheers, >> Paul >> >> -- >> >> Paul Eggleton >> Intel Open Source Technology Centre >> _______________________________________________ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto > > > > -- > "Thou shalt not follow the NULL pointer, for chaos and madness await > thee at its end" > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- ---------------------------------------------- Caio Pereira ^ permalink raw reply related [flat|nested] 14+ messages in thread
end of thread, other threads:[~2013-06-03 13:22 UTC | newest] Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-05-29 18:15 Problem to compile kernel (enable nfsd) Caio 2013-05-29 18:19 ` Tom Zanussi 2013-05-29 18:19 ` Bruce Ashfield 2013-05-29 18:22 ` Tom Zanussi 2013-05-29 18:30 ` Caio 2013-05-29 18:34 ` Bruce Ashfield 2013-05-29 18:53 ` Caio 2013-05-29 18:58 ` Bruce Ashfield 2013-05-29 19:05 ` Caio 2013-05-29 19:50 ` Bruce Ashfield 2013-05-30 3:33 ` Bruce Ashfield 2013-05-30 9:03 ` Paul Eggleton 2013-05-30 12:31 ` Bruce Ashfield 2013-06-03 13:22 ` Caio
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.