Bug 7228 - [1.8 M2 rc1]After build image in virtual machine, image cannot startup
Summary: [1.8 M2 rc1]After build image in virtual machine, image cannot startup
Status: VERIFIED FIXED
Alias: None
Product: Runtime
Classification: Build System, Metadata & Runtime
Component: build-appliance (show other bugs)
Version: 1.8
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.8 M3
Assignee: Cristian Iorga
QA Contact: Ke Zou
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-01-22 03:01 UTC by Ke Zou
Modified: 2015-03-31 09:18 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

Note You need to log in before you can comment on or make changes to this bug.
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