[meta-intel] [PATCH 07/10] crownbay: linux-yocto-dev recipe extension

Tom Zanussi tom.zanussi at intel.com
Fri Mar 1 17:14:14 PST 2013


On Thu, 2013-02-28 at 19:55 -0600, Kamble, Nitin A wrote:
> This is due to missing Bruce's updates to the kern-tools in oecore. He has a pull request for it. It should be getting pulled into oecore soon.
> 

OK, I applied Bruce's patches, and got a good build, but getting a
kernel panic on boot:

VFS: Cannot open root device "ram0" or unknown-block(0,0): error -6
Please append a correct "root=" boot option; here are the available
partitions:
VFS: Unable to mount root fs on unknown-block(0,0)
User configuration error - no valid root filesystem found
Kernel panic - not syncing: Invalid configuration from end user prevents
continu
ing
Pid: 1, comm: swapper/0 Not tainted 3.8.0-yocto-standard #1
Call Trace:
 [<c14c9c8e>] panic+0x7e/0x162
 [<c1690d93>] mount_block_root+0x22e/0x23f
 [<c10d7f09>] ? sys_mknod+0x29/0x30
 [<c1690e03>] mount_root+0x5f/0x66
 [<c1690f21>] prepare_namespace+0x117/0x15b
 [<c10c9bb1>] ? sys_access+0x21/0x30
 [<c1690a9f>] kernel_init_freeable+0x1d5/0x1de
 [<c16903e5>] ? do_early_param+0x7b/0x7b
 [<c14bdeec>] kernel_init+0xc/0xd0
 [<c14d4fb7>] ret_from_kernel_thread+0x1b/0x28
 [<c14bdee0>] ? rest_init+0x60/0x60
------------[ cut here ]------------
WARNING:
at /usr/local/dev/yocto/nitin-test/build/tmp/work/crownbay-poky-linux/linux-yocto-dev/3.8++gitAUTOINC+fe20c99783387dab779472ff50a88666da1c6391_60536206ad300ccf5b2be2c2d449f4ab27170238-r0/linux/arch/x86/kernel/smp.c:123 native_smp_send_reschedule+0x49/0x50()
Hardware name: To be filled by O.E.M.
Modules linked in:
Pid: 1, comm: swapper/0 Not tainted 3.8.0-yocto-standard #1
Call Trace:
 [<c102de3e>] warn_slowpath_common+0x6e/0xa0
 [<c101ece9>] ? native_smp_send_reschedule+0x49/0x50
 [<c101ece9>] ? native_smp_send_reschedule+0x49/0x50
 [<c102de8e>] warn_slowpath_null+0x1e/0x20
 [<c101ece9>] native_smp_send_reschedule+0x49/0x50
 [<c105bb9e>] trigger_load_balance+0x14e/0x1d0
 [<c1052271>] scheduler_tick+0xd1/0x100
 [<c1039bb7>] update_process_times+0x57/0x70
 [<c10686de>] tick_sched_handle.isra.10+0x2e/0x40
 [<c10687cc>] tick_sched_timer+0x3c/0x70
 [<c104b502>] ? __remove_hrtimer+0x42/0xa0
 [<c104b5ee>] __run_hrtimer.isra.30+0x3e/0xc0
 [<c104c095>] hrtimer_interrupt+0xd5/0x280
 [<c10044a8>] ? dump_trace+0x78/0xf0
 [<c101fbd5>] smp_apic_timer_interrupt+0x55/0x90
 [<c102f9de>] ? console_unlock+0x32e/0x470
 [<c14cff39>] apic_timer_interrupt+0x2d/0x34
 [<c10300d8>] ? devkmsg_writev+0xb8/0x190
 [<c14c9d40>] ? panic+0x130/0x162
 [<c1690d93>] mount_block_root+0x22e/0x23f
 [<c10d7f09>] ? sys_mknod+0x29/0x30
 [<c1690e03>] mount_root+0x5f/0x66
 [<c1690f21>] prepare_namespace+0x117/0x15b
 [<c10c9bb1>] ? sys_access+0x21/0x30
 [<c1690a9f>] kernel_init_freeable+0x1d5/0x1de
 [<c16903e5>] ? do_early_param+0x7b/0x7b
 [<c14bdeec>] kernel_init+0xc/0xd0
 [<c14d4fb7>] ret_from_kernel_thread+0x1b/0x28
 [<c14bdee0>] ? rest_init+0x60/0x60
---[ end trace e2c991d9ca9f374a ]---


> Nitin
> 
> 
> > -----Original Message-----
> > From: Zanussi, Tom
> > Sent: Thursday, February 28, 2013 5:17 PM
> > To: Kamble, Nitin A
> > Cc: meta-intel at yoctoproject.org; Hart, Darren;
> > bruce.ashfield at windriver.com
> > Subject: Re: [PATCH 07/10] crownbay: linux-yocto-dev recipe extension
> > 
> > On Wed, 2013-02-27 at 16:28 -0800, nitin.a.kamble at intel.com wrote:
> > > From: Nitin A Kamble <nitin.a.kamble at intel.com>
> > >
> > > Provide the crownbay BSP specific extension for the linux-yocto-dev
> > > recipe from the oecore layer. This configures the right git branches
> > > of the kernel repository for the crownbay BSP.
> > >
> > > This commit is addressing this bug:
> > > [YOCTO #3931]
> > >
> > > Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
> > > ---
> > >  .../recipes-kernel/linux/linux-yocto-dev.bbappend  |   20
> > ++++++++++++++++++++
> > >  1 files changed, 20 insertions(+), 0 deletions(-)  create mode 100644
> > > meta-crownbay/recipes-kernel/linux/linux-yocto-dev.bbappend
> > >
> > > diff --git
> > > a/meta-crownbay/recipes-kernel/linux/linux-yocto-dev.bbappend
> > > b/meta-crownbay/recipes-kernel/linux/linux-yocto-dev.bbappend
> > > new file mode 100644
> > > index 0000000..be65caa
> > > --- /dev/null
> > > +++ b/meta-crownbay/recipes-kernel/linux/linux-yocto-dev.bbappend
> > > @@ -0,0 +1,20 @@
> > > +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> > > +
> > > +COMPATIBLE_MACHINE_crownbay = "crownbay"
> > > +KMACHINE_crownbay = "crownbay"
> > > +KBRANCH_crownbay = "standard/crownbay"
> > > +KERNEL_FEATURES_crownbay_append = " features/drm-emgd/drm-
> > emgd-1.16 cfg/vesafb"
> > > +
> > > +COMPATIBLE_MACHINE_crownbay-noemgd = "crownbay-noemgd"
> > > +KMACHINE_crownbay-noemgd = "crownbay"
> > > +KBRANCH_crownbay-noemgd = "standard/crownbay"
> > > +KERNEL_FEATURES_crownbay-noemgd_append = " cfg/vesafb"
> > > +
> > > +SRCREV_meta_crownbay =
> > "fe20c99783387dab779472ff50a88666da1c6391"
> > > +SRCREV_machine_crownbay =
> > "60536206ad300ccf5b2be2c2d449f4ab27170238"
> > > +SRCREV_emgd_crownbay =
> > "17aacd908ed6035213a6d206cfdb2c0c9fa9e0c1"
> > > +
> > > +SRCREV_machine_crownbay-noemgd =
> > "60536206ad300ccf5b2be2c2d449f4ab27170238"
> > > +SRCREV_meta_crownbay-noemgd =
> > > +"fe20c99783387dab779472ff50a88666da1c6391
> > > +
> > > +SRC_URI_crownbay = "git://git.yoctoproject.org/linux-yocto-
> > dev.git;protocol=git;nocheckout=1;branch=${KBRANCH},${KMETA},emgd-
> > 1.16;name=machine,meta,emgd"
> > 
> > No more parse error, but I'm now hitting this with crownbay:
> > 
> > Configuration is that I added PREFERRED_PROVIDER_virtual/kernel ?= "linux-
> > yocto-dev" to crownbay.conf and
> > 
> > MACHINE ??= "crownbay"
> > LICENSE_FLAGS_WHITELIST = "license_emgd-driver-bin_1.16 commercial"
> >  to local.conf
> > 
> > Build Configuration:
> > BB_VERSION        = "1.17.1"
> > BUILD_SYS         = "x86_64-linux"
> > NATIVELSBSTRING   = "Ubuntu-11.10"
> > TARGET_SYS        = "i586-poky-linux"
> > MACHINE           = "crownbay"
> > DISTRO            = "poky"
> > DISTRO_VERSION    = "1.3+snapshot-20130301"
> > TUNE_FEATURES     = "m32 core2"
> > TARGET_FPU        = ""
> > meta
> > meta-yocto
> > meta-yocto-bsp    = "master8:d7b248e715d99766bf8602ff9f038f8b0afa5e78"
> > meta-intel
> > meta-crownbay     =
> > "master41:156d2709ac823be8888502d80aa67f10315e641e"
> > 
> > NOTE: Resolving any missing task queue dependencies
> > NOTE: Preparing runqueue
> > NOTE: Executing SetScene Tasks
> > NOTE: Executing RunQueue Tasks
> > ERROR: Function failed: do_patch
> > (see /usr/local/dev/yocto/nitin-test/build/tmp/work/crownbay-poky-
> > linux/linux-yocto-
> > dev/3.8++gitAUTOINC+fe20c99783387dab779472ff50a88666da1c6391_605362
> > 06ad300ccf5b2be2c2d449f4ab27170238-r0/temp/log.do_patch.11958 for
> > further information)
> > ERROR: Logfile of failure stored
> > in: /usr/local/dev/yocto/nitin-test/build/tmp/work/crownbay-poky-
> > linux/linux-yocto-
> > dev/3.8++gitAUTOINC+fe20c99783387dab779472ff50a88666da1c6391_605362
> > 06ad300ccf5b2be2c2d449f4ab27170238-r0/temp/log.do_patch.11958
> > Log data follows:
> > | DEBUG: Executing shell function do_patch Deleted branch meta-temp (was
> > | 630b61b).
> > | NOTE: feature features/kprobes/kprobes.scc is included multiple times
> > (/usr/local/dev/yocto/nitin-test/build/tmp/work/crownbay-poky-
> > linux/linux-yocto-
> > dev/3.8++gitAUTOINC+fe20c99783387dab779472ff50a88666da1c6391_605362
> > 06ad300ccf5b2be2c2d449f4ab27170238-r0/linux/meta/cfg/kernel-
> > cache/features/systemtap)
> > | NOTE: feature ipsec.scc is included multiple times
> > (/usr/local/dev/yocto/nitin-test/build/tmp/work/crownbay-poky-
> > linux/linux-yocto-
> > dev/3.8++gitAUTOINC+fe20c99783387dab779472ff50a88666da1c6391_605362
> > 06ad300ccf5b2be2c2d449f4ab27170238-r0/linux/meta/cfg/kernel-
> > cache/cfg/net)
> > | /usr/local/dev/yocto/nitin-test/build/tmp/work/crownbay-poky-linux/lin
> > | ux-yocto-
> > dev/3.8++gitAUTOINC+fe20c99783387dab779472ff50a88666da1c6391_
> > | 60536206ad300ccf5b2be2c2d449f4ab27170238-r0/linux/meta/cfg/kernel-
> > cach
> > | e/ktypes/base/base.scc: line 5: force: command not found  feature
> > file /usr/local/dev/yocto/nitin-test/build/tmp/work/crownbay-poky-
> > linux/linux-yocto-
> > dev/3.8++gitAUTOINC+fe20c99783387dab779472ff50a88666da1c6391_605362
> > 06ad300ccf5b2be2c2d449f4ab27170238-r0/linux/meta/cfg/kernel-
> > cache/ktypes/base/base.scc contains an error ... aborting
> > | ERROR. A meta series could not be created for branch standard/crownbay
> > | ERROR. Could not locate meta series for crownbay ERROR. Could not
> > | apply patches for crownbay.
> > |        Patch failures can be resolved in the devshell (bitbake -c
> > devshell linux-yocto-dev)
> > | ERROR: Function failed: do_patch
> > (see /usr/local/dev/yocto/nitin-test/build/tmp/work/crownbay-poky-
> > linux/linux-yocto-
> > dev/3.8++gitAUTOINC+fe20c99783387dab779472ff50a88666da1c6391_605362
> > 06ad300ccf5b2be2c2d449f4ab27170238-r0/temp/log.do_patch.11958 for
> > further information)
> > ERROR: Task 1060
> > (/usr/local/dev/yocto/nitin-test/meta/recipes-kernel/linux/linux-yocto-
> > dev.bb, do_patch) failed with exit code '1'
> > NOTE: Tasks Summary: Attempted 1154 tasks of which 164 didn't need to be
> > rerun and 1 failed.
> > Waiting for 0 running tasks to finish:
> > 
> > Summary: 1 task failed:
> >   /usr/local/dev/yocto/nitin-test/meta/recipes-kernel/linux/linux-yocto-
> > dev.bb, do_patch
> > Summary: There was 1 ERROR message shown, returning a non-zero exit
> > code.
> > 
> 





More information about the meta-intel mailing list