All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Zanussi <tom.zanussi@intel.com>
To: Caio <caiortp@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: Problem to compile kernel (enable nfsd)
Date: Wed, 29 May 2013 13:19:19 -0500	[thread overview]
Message-ID: <1369851559.1742.7.camel@empanada> (raw)
In-Reply-To: <CAJqtCyZR0+LAyymBB7Nv28Cv+m9gQnaVqNYFFbxvh5qvovJXcA@mail.gmail.com>

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




  reply	other threads:[~2013-05-29 18:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-29 18:15 Problem to compile kernel (enable nfsd) Caio
2013-05-29 18:19 ` Tom Zanussi [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1369851559.1742.7.camel@empanada \
    --to=tom.zanussi@intel.com \
    --cc=caiortp@gmail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.