Bug 11416 - Qemux86-64 lsb could not insert module hellomod.ko
Summary: Qemux86-64 lsb could not insert module hellomod.ko
Status: RESOLVED NOTABUG
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-configuration (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Bruce Ashfield
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-04-25 22:53 UTC by Juan Ramos
Modified: 2017-04-26 20:47 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
testimage log (31.14 KB, application/octet-stream)
2017-04-25 22:53 UTC, Juan Ramos
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juan Ramos 2017-04-25 22:53:09 UTC
Created attachment 3753 [details]
testimage log

BUILD: 2.3 M4: rc2-7a0e795373653886452a7a2992ced10080711c26
ENVIRONMENT: qemux86_64-lsb

Build Configuration:
BB_VERSION        = "1.34.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "x86_64-poky-linux"
MACHINE           = "qemux86-64"
DISTRO            = "poky-lsb"
DISTRO_VERSION    = "2.3"
TUNE_FEATURES     = "m64 core2"
TARGET_FPU        = ""
meta              
meta-poky         
meta-yocto-bsp    = "HEAD:7a0e795373653886452a7a2992ced10080711c26"

STEPS TO REPRODUCE: 


1.Download the qemu x86-64 core-image-lsb-sdk necessary files from:
http://autobuilder.yoctoproject.org/pub/releases/yocto-2.3.rc2/  
 

2.Configure to run qemu automated test like in the next link:
https://wiki.yoctoproject.org/wiki/Steps_for_Automated_Testing_on_QEMU

 
3. Run bitbake core-image-lsb-sdk -c


EXPECTED OUTCOME: The module could be properly inserted.
ACTUAL OUTCOME: ERROR: could not insert module hellomod.ko: Invalid module format.

Full test log attached.
Comment 1 Jose Perez C 2017-04-26 12:43:45 UTC
(In reply to comment #0)
> Created attachment 3753 [details]
> testimage log
> 
> BUILD: 2.3 M4: rc2-7a0e795373653886452a7a2992ced10080711c26
> ENVIRONMENT: qemux86_64-lsb
> 
> Build Configuration:
> BB_VERSION        = "1.34.0"
> BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "universal"
> TARGET_SYS        = "x86_64-poky-linux"
> MACHINE           = "qemux86-64"
> DISTRO            = "poky-lsb"
> DISTRO_VERSION    = "2.3"
> TUNE_FEATURES     = "m64 core2"
> TARGET_FPU        = ""
> meta              
> meta-poky         
> meta-yocto-bsp    = "HEAD:7a0e795373653886452a7a2992ced10080711c26"
> 
> STEPS TO REPRODUCE: 
> 
> 
> 1.Download the qemu x86-64 core-image-lsb-sdk necessary files from:
> http://autobuilder.yoctoproject.org/pub/releases/yocto-2.3.rc2/  
>  
> 
> 2.Configure to run qemu automated test like in the next link:
> https://wiki.yoctoproject.org/wiki/Steps_for_Automated_Testing_on_QEMU
> 
>  
> 3. Run bitbake core-image-lsb-sdk -c
> 
> 
> EXPECTED OUTCOME: The module could be properly inserted.
> ACTUAL OUTCOME: ERROR: could not insert module hellomod.ko: Invalid module
> format.
> 
> Full test log attached.

Please double check that you are using correct Kernel to execute this test, in this case should be this http://autobuilder.yoctoproject.org/pub/releases/yocto-2.3.rc2/machines/qemu/qemux86-lsb/bzImage-qemux86.bin

delete current kennel end execute again the test with the above mentioned
Comment 2 Juan Ramos 2017-04-26 20:47:35 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > Created attachment 3753 [details]
> > testimage log
> > 
> > BUILD: 2.3 M4: rc2-7a0e795373653886452a7a2992ced10080711c26
> > ENVIRONMENT: qemux86_64-lsb
> > 
> > Build Configuration:
> > BB_VERSION        = "1.34.0"
> > BUILD_SYS         = "x86_64-linux"
> > NATIVELSBSTRING   = "universal"
> > TARGET_SYS        = "x86_64-poky-linux"
> > MACHINE           = "qemux86-64"
> > DISTRO            = "poky-lsb"
> > DISTRO_VERSION    = "2.3"
> > TUNE_FEATURES     = "m64 core2"
> > TARGET_FPU        = ""
> > meta              
> > meta-poky         
> > meta-yocto-bsp    = "HEAD:7a0e795373653886452a7a2992ced10080711c26"
> > 
> > STEPS TO REPRODUCE: 
> > 
> > 
> > 1.Download the qemu x86-64 core-image-lsb-sdk necessary files from:
> > http://autobuilder.yoctoproject.org/pub/releases/yocto-2.3.rc2/  
> >  
> > 
> > 2.Configure to run qemu automated test like in the next link:
> > https://wiki.yoctoproject.org/wiki/Steps_for_Automated_Testing_on_QEMU
> > 
> >  
> > 3. Run bitbake core-image-lsb-sdk -c
> > 
> > 
> > EXPECTED OUTCOME: The module could be properly inserted.
> > ACTUAL OUTCOME: ERROR: could not insert module hellomod.ko: Invalid module
> > format.
> > 
> > Full test log attached.
> 
> Please double check that you are using correct Kernel to execute this test,
> in this case should be this
> http://autobuilder.yoctoproject.org/pub/releases/yocto-2.3.rc2/machines/qemu/
> qemux86-lsb/bzImage-qemux86.bin
> 
> delete current kennel end execute again the test with the above mentioned

Done, and all required tests passed.