Skip to contentSkip to conversation

oe_runmake failed issue for 2.6.32 kernel

DISCUSSION Sudhangathan B S 2 participants 2 messages Jun 27, 2013

lore
Share & tools
lore
#0 lore raw

Ok.. I got where "oe_runmake" function is, but still couldn't zero-in on the problem..!!

Any suggestions on how to proceed.?

---------------------------------
Sudhangathan BS
Ph:(+91) 9731-905-205
---------------------------------

Quoted 108 lines · Sudhangathan B S

On my way to install 2.6.32 kernel for the Beagle board image. I need this kernel to work with the leopard imaging/aptina camera module/sensors. I'm encountering this "oe_runmake failed" issue. I have strong feeling it is Yocto or the meta-ti layers, which is not set properly. On the web i got related issues, but they are too old, and were related to OE.

I'm using danny branch. I had downloaded meta-ti, openembedded-core, and meta-oe as .zip files meant for danny branch. Thanks to Denys D@ti for help. I integrated meta-ti with yocto, and also built the image with the default 3.2 kernel, and further with 2.6.37 kernel too, successfully.

I have also included partial terminal output below.!

These are a few lines from /home/asahota/danny-try/danny-8.0/meta-ti/conf/machine/beagleboard.conf *******START
#@TYPE: Machine
#@NAME: Beagleboard machine
#@DESCRIPTION: Machine configuration for the http://beagleboard.org/board

require conf/machine/include/omap3.inc

# Only has DVI connector for external screen
GUI_MACHINE_CLASS = "bigscreen"

#PREFERRED_PROVIDER_virtual/kernel = "linux-mainline"
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp" <----
change
PREFERRED_VERSION_linux-omap-psp = "2.6.32" PREFERRED_PROVIDER_virtual/bootloader = "u-boot-beagleboard" PREFERRED_PROVIDER_u-boot = "u-boot-beagleboard"

IMAGE_FSTYPES += "tar.gz ubi"
EXTRA_IMAGECMD_jffs2 = "-lnp"

SERIAL_CONSOLE = "115200 ttyO2"

UBOOT_MACHINE = "omap3_beagle_config"
*******END

These are the FIRST few lines of my terminal output, for the command bitbake core-image-sato
*******START
WARNING: Host distribution "Ubuntu 12.04.2 LTS" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution. Loading cache: 100%

|###################################################################################################################################|
ETA:  00:00:00

Loaded 1210 entries from dependency cache.

Build Configuration:

BB_VERSION        = "1.16.0"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "beagleboard"
DISTRO            = "poky"
DISTRO_VERSION    = "1.3"
TUNE_FEATURES     = "armv7a vfp neon cortexa8"
TARGET_FPU        = "vfp-neon"

meta
meta-yocto
meta-ti
meta-yocto-bsp = "<unknown>:<unknown>"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
*******END

These are the LAST few lines of my terminal output, for the command bitbake -vvv core-image-sato
*******START
| include/linux/pagemap.h: In function 'fault_in_pages_readable':
| include/linux/pagemap.h:413:16: warning: variable 'c' set but not used [-Wunused-but-set-variable]
| LD fs/ubifs/ubifs.o

|   LD      fs/ubifs/built-in.o
|   LD      fs/built-in.o
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compileconfigs (see

/home/asahota/danny-try/danny-8.0/build/tmp/work/beagleboard-poky-linux-gnueabi/linux-omap-psp-2.6.32-r0/temp/log.do_compileconfigs.28440 for further information)
ERROR: Task 805
(/home/asahota/danny-try/danny-8.0/meta-ti/recipes-kernel/linux/
linux-omap-psp_2.6.32.bb, do_compileconfigs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5104 tasks of which 5097 didn't need to be
rerun and 1 failed.
No currently running tasks (5104 of 5135)

Summary: 1 task failed:
/home/asahota/danny-try/danny-8.0/meta-ti/recipes-kernel/linux/
linux-omap-psp_2.6.32.bb, do_compileconfigs
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code. *****END

I spent a lot of time tracing the error in the YP folders and files. It was somewhere near kernel_do_configure. But I couldn't get where "oe_runmake" is. Couldn't continue debugging.

---------------------------------
Sudhangathan BS
Ph:(+91) 9731-905-205
---------------------------------

#1 lore raw
Quoted 90 lines · Sudhangathan B S

Ok.. I got where "oe_runmake" function is, but still couldn't zero-in on the problem..!!

Any suggestions on how to proceed.?

---------------------------------
Sudhangathan BS
Ph:(+91) 9731-905-205 <tel:%28%2B91%29%209731-905-205>
---------------------------------

On Wed, Jun 26, 2013 at 9:28 AM, Sudhangathan B S <[email protected] <mailto:[email protected]>> wrote:

On my way to install 2.6.32 kernel for the Beagle board image. I need this kernel to work with the leopard imaging/aptina camera module/sensors. I'm encountering this "oe_runmake failed" issue. I have strong feeling it is Yocto or the meta-ti layers, which is not set properly. On the web i got related issues, but they are too old, and were related to OE.

I'm using danny branch. I had downloaded meta-ti, openembedded-core, and meta-oe as .zip files meant for danny branch. Thanks to Denys D@ti for help. I integrated meta-ti with yocto, and also built the image with the default 3.2 kernel, and further with 2.6.37 kernel too, successfully.

I have also included partial terminal output below.!

These are a few lines from /home/asahota/danny-try/danny-8.0/meta-ti/conf/machine/beagleboard.conf *******START
#@TYPE: Machine
#@NAME: Beagleboard machine
#@DESCRIPTION: Machine configuration for the http://beagleboard.org/
board

require conf/machine/include/omap3.inc

# Only has DVI connector for external screen
GUI_MACHINE_CLASS = "bigscreen"

#PREFERRED_PROVIDER_virtual/kernel = "linux-mainline" PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp" <---- change
PREFERRED_VERSION_linux-omap-psp = "2.6.32" PREFERRED_PROVIDER_virtual/bootloader = "u-boot-beagleboard" PREFERRED_PROVIDER_u-boot = "u-boot-beagleboard"

IMAGE_FSTYPES += "tar.gz ubi"
EXTRA_IMAGECMD_jffs2 = "-lnp"

SERIAL_CONSOLE = "115200 ttyO2"

UBOOT_MACHINE = "omap3_beagle_config"
*******END

These are the FIRST few lines of my terminal output, for the command
bitbake core-image-sato
*******START
WARNING: Host distribution "Ubuntu 12.04.2 LTS" has not been
validated with this version of the build system; you may possibly
experience unexpected failures. It is recommended that you use a
tested distribution.
Loading cache: 100% |###################################################################################################################################|
ETA: 00:00:00
Loaded 1210 entries from dependency cache.

Build Configuration:
BB_VERSION = "1.16.0"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "beagleboard"
DISTRO = "poky"
DISTRO_VERSION = "1.3"
TUNE_FEATURES = "armv7a vfp neon cortexa8"
TARGET_FPU = "vfp-neon"
meta
meta-yocto
meta-ti
meta-yocto-bsp = "<unknown>:<unknown>"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
*******END

Quoted 13 lines

These are the LAST few lines of my terminal output, for the command
bitbake -vvv core-image-sato
*******START
| include/linux/pagemap.h: In function 'fault_in_pages_readable':
| include/linux/pagemap.h:413:16: warning: variable 'c' set but not
used [-Wunused-but-set-variable]
| LD fs/ubifs/ubifs.o
| LD fs/ubifs/built-in.o
| LD fs/built-in.o
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compileconfigs (see /home/asahota/danny-try/danny-8.0/build/tmp/work/beagleboard-poky-linux-gnueabi/linux-omap-psp-2.6.32-r0/temp/log.do_compileconfigs.28440 for further information)

Have you had a look at the log file? The issue seems to be with kernel compilation rather than with yocto. oe_runmake only calls make on the kernel tree. So, can you see if building the kernel (in the build/tmp folder) manually works? Also check the defconfig file that is used manually vs. the recipe.

Quoted 34 lines

ERROR: Task 805 (/home/asahota/danny-try/danny-8.0/meta-ti/recipes-kernel/linux/linux-omap-psp_2.6.32.bb
<http://linux-omap-psp_2.6.32.bb>, do_compileconfigs) failed with
exit code '1'
NOTE: Tasks Summary: Attempted 5104 tasks of which 5097 didn't need
to be rerun and 1 failed.
No currently running tasks (5104 of 5135)

Summary: 1 task failed:

/home/asahota/danny-try/danny-8.0/meta-ti/recipes-kernel/linux/linux-omap-psp_2.6.32.bb
<http://linux-omap-psp_2.6.32.bb>, do_compileconfigs
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
*****END

I spent a lot of time tracing the error in the YP folders and files. It was somewhere near kernel_do_configure. But I couldn't get where "oe_runmake" is. Couldn't continue debugging.

---------------------------------
Sudhangathan BS
Ph:(+91) 9731-905-205 <tel:%28%2B91%29%209731-905-205>
---------------------------------

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti