Bug 7228

Summary: [1.8 M2 rc1]After build image in virtual machine, image cannot startup
Product: [Build System, Metadata & Runtime] Runtime Reporter: Ke Zou <ke.zou>
Component: build-applianceAssignee: Cristian Iorga <cristian.iorga>
Status: VERIFIED FIXED QA Contact: Ke Zou <ke.zou>
Severity: normal    
Priority: Medium+ CC: alexandru.c.georgescu, yi.zhao, zhangle.yang
Version: 1.8   
Target Milestone: 1.8 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ke Zou 2015-01-22 03:01:02 UTC
build appliance path:
http://autobuilder.yoctoproject.org/pub/releases/yocto-1.8_M2.rc1/build-appliance/
test step:
Download build appliance image from location above to a linux host
(in my case it's UBUNTU14 x86-64 host)
Boot the image in VMWare Player
Build qemuarm core-image-minimal
Click "run image" button, Or using terminal to run image under
....poky/build/tmp/deploy/images/qemuarm
Command: runqemu qemuarm

Here's the error log:
sh-4.3$ runqemu qemuarm

TUN control device /dev/net/tun is unavaliable; you may need to enable tun
Comment 1 Cristian Iorga 2015-01-27 18:00:55 UTC
Investigation started.
Comment 2 Yi Zhao 2015-01-28 05:39:41 UTC
I think this bug related with bug 7238 comment 3

The modules.dep is empty in BA, and there is no /dev/net/tun device. After I ran "depmod -a" and reboot. the /dev/net/tun is created.
Comment 3 Cristian Iorga 2015-01-28 15:11:59 UTC
Initial version of the fix:

http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=ross/mut&id=ec90b364460fa63ebe7ac20bf77c581be9bf6dad

Integration is needed, after that, a valid revision of BA's poky needs to be added to BA recipe.
Comment 4 Saul Wold 2015-02-02 15:27:34 UTC
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=36bd248463291919f2a2fa343db88c99953c18c6

This fixes a number of depmod related issue
Comment 6 Ke Zou 2015-03-31 09:18:49 UTC
verified with build 1.8M4 rc1