| Summary: | [2.5 M3 RC1] Kernel Development Build external modules (hello-mod) test case: Function failed do_rootfs | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Yocto Project Subprojects] Kernel | Reporter: | Mazliana <mazliana.mohamad> | ||||
| Component: | kernel-tooling | Assignee: | Juro Bystricky <juro.bystricky> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | Medium+ | CC: | ee.peng.yeoh, stephano, yp.kernel.watcher, yp.watcher | ||||
| Version: | 2.5 | ||||||
| Target Milestone: | 0.0.0 | ||||||
| Hardware: | x86 | ||||||
| OS: | x86_64 | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | Don't know | |||||
| Attachments: |
|
||||||
|
Description
Mazliana
2018-04-02 01:06:46 UTC
To successfully build the module, please follow the original steps, but place this line (step 6): MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "hello-mod" in your local.conf instead of MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-module-hello" My results were: $ bitbake hello-mod $ bitbake core-image-minimal $ runqemu nographic core-image-minimal <snip> Poky (Yocto Project Reference Distro) 2.4+snapshot qemux86 /dev/ttyS0 qemux86 login: root root@qemux86:~# modprobe hello [ 22.156996] hello: loading out-of-tree module taints kernel. [ 22.163419] Hello World! root@qemux86:~# rmmod hello [ 34.223320] Goodbye Cruel World! root@qemux86:~# I will investigate if this is a documentation error (obsolete documentation?) or an actual regression. I am also not sure the steps 5,7,8 are actually still needed... The patch was merged with master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=sumo-next&id=5264dbd39d082a2a2f68b5506cff6761fc936cdf This bug is fixed. Verify in 2.5 M4 rc1 |