Bug 4847 - Build Appliance is unable to restart in vmWare Player
Summary: Build Appliance is unable to restart in vmWare Player
Status: VERIFIED FIXED
Alias: None
Product: Runtime
Classification: Build System, Metadata & Runtime
Component: build-appliance (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.5 M3
Assignee: Cristian Iorga
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 2370
  Show dependency tree
 
Reported: 2013-07-12 14:31 UTC by Cristian Iorga
Modified: 2013-10-17 10:58 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 Cristian Iorga 2013-07-12 14:31:54 UTC
BA is unable to start correctly after a reboot issued from shell.
The boot process hangs on the splash screen, near the end of boot process.

Happens on commit a63229917a5708de2d161aba0d67168ce0da6365, on master.

Issue is not reproducible on YP 1.4 BA release.
Comment 1 Cristian Iorga 2013-07-12 14:33:08 UTC
This issue blocks proper testing of the YB2370 feature implementation.
Comment 2 Cristian Iorga 2013-07-12 14:33:25 UTC
Investigation started.
Comment 3 Saul Wold 2013-07-15 15:17:05 UTC
Could this be related to the tar issue with udev?  See bug #4815
Comment 4 Cristian Iorga 2013-07-16 07:23:21 UTC
I've done some tests, and at first look, the issues don't seem related.

Corneliu states that using "shutdown -h now" works correctly to restart the VM, but this is not the case in Build Appliance, BA hangs during boot. This is the same behavior as to when the machine is restarted with "reboot".
Comment 5 Chen Qi 2013-07-16 07:35:35 UTC
(In reply to comment #4)
> I've done some tests, and at first look, the issues don't seem related.
> 
> Corneliu states that using "shutdown -h now" works correctly to restart the
> VM, but this is not the case in Build Appliance, BA hangs during boot. This
> is the same behavior as to when the machine is restarted with "reboot".

'shutdown -h now' doesn't work well.

The problem is that gnu's tar cannot extract device files correctly in OE. The device numbers are always 0.

Please see https://bugzilla.yoctoproject.org/show_bug.cgi?id=4815 for more details.

Best Regards,
Chen Qi
Comment 6 Chen Qi 2013-07-16 17:17:34 UTC
Hi Cristian,

To avoid duplicate efforts, please use the following commands to see whether this is the same bug with 4815, which is actually the tar package's problem.

cd /home/root
(cd /; tar /home/root/dev.tar dev/null dev/console;)
tar xf dev.tar
stat dev/null
stat dev/console

If the major and minor device numbers are all 0, it's the same problem with 4815, otherwise, it's not the same problem.

Best Regards,
Chen Qi
Comment 7 Cristian Iorga 2013-07-23 16:40:13 UTC
Fixed with commit f1f5f7d3b45adb4e6d52dec11462fa658ccda1ec.
link: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f1f5f7d3b45adb4e6d52dec11462fa658ccda1ec
Comment 8 Alexandru Georgescu 2013-10-17 10:58:18 UTC
I could restart the VM. Also #4815 is fixed so marking this as Verified.