Bug 3683 - qemu: booting a ramfs based image may enter an endless loop if root.img is not found
Summary: qemu: booting a ramfs based image may enter an endless loop if root.img is no...
Status: VERIFIED FIXED
Alias: None
Product: ADT
Classification: Yocto Project Subprojects
Component: adt (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.4
Assignee: Chen Qi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-01-08 06:34 UTC by Chen Qi
Modified: 2013-01-31 07:18 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chen Qi 2013-01-08 06:34:45 UTC
It's inappropriate to enter an endless loop without any useful information ouput to screen.
As 'debugshell' feature has been implemented in init-live.sh.
I think we should add it as a default kernel option for ramfs booting.
Comment 1 Chen Qi 2013-01-10 02:38:22 UTC
merged into poky/master: 6f5d6e2e0fa7a2a0e52a22bb6fc407ca37c329d1

http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/runqemu-ramfs
Comment 2 Yi Zhao 2013-01-31 07:18:28 UTC
Verified with master branch: 27c8af1e3a9092caa19bd813c4dd0747de766dc5

Steps:
###########
1. Add line IMAGE_FSTYPES = "live" to conf/local.conf
2. Build the qemux86 minimal image
3. Run command: runqemu qemux86 ramfs. Since the rootfs.img cannot be found under /media,the system would drop to a shell after 30 seconds.a default timeout (30 seconds).
###########