Bug 4344 - BSPs live boot regularly hangs
Summary: BSPs live boot regularly hangs
Status: RESOLVED OBSOLETE
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: deployment (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.8
Assignee: Lucian Musat
QA Contact:
URL:
Whiteboard:
Depends on: 4103
Blocks:
  Show dependency tree
 
Reported: 2013-04-18 14:46 UTC by Stoicescu Cornel
Modified: 2015-04-29 08:27 UTC (History)
4 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 Stoicescu Cornel 2013-04-18 14:46:09 UTC
1) copy a BSP image on a USB stick with dd (ex: core-image-lsb-sdk-jasperforest)
2) live boot from USB

Notice regular hangs on usage. These hangs seem to be I/O related.

Some usual hangs:
-immediately after login prompt, insert incorrect user. Notice a 2-3 minutes system hang
-issue "find / | grep if". Notice system hangs at some point during the search and resumes after a long time
-conduct test cases like:
https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=207
https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=205

I believe there was a bug/discussion on this in the past and it was blamed on poor USB read/write performance. The USB stick this was tested on has 20 Mb/s write 70 Mb/s read so I believe it has decent performance.

Please note that I had same issues with recent sugarbay sato-sdk images and with n450 in the past(we don't have that BSP for testing here anymore). It seems to be an overall live boot issue.
Comment 1 Darren Hart 2013-04-18 15:31:47 UTC
I've only heard of these kinds of issues with very large live images, like lsb-sdk. I believe it is related to too little RAM. If these continue to be reported we may have to make some sort of explicit test during init.
Comment 2 Stoicescu Cornel 2014-02-17 13:39:57 UTC
This is still an issue on less powerfull platforms like MinnowBoard and AtomPC(tested with genericx86 image).
Comment 3 Darren Hart 2014-02-18 18:46:08 UTC
Also on lsb-sdk?
Comment 4 Stoicescu Cornel 2014-04-01 14:12:51 UTC
Need to test this on lsb this week.
Comment 5 Stoicescu Cornel 2014-04-16 07:56:13 UTC
I tested Minnowboard with a lsb-sdk image and it did not hang at all.
Comment 6 Richard Purdie 2014-11-06 16:27:35 UTC
It seems most boards are working except jasperforest. Assigning to Lucian to help provide more info.
Comment 7 Lucian Musat 2014-12-17 12:20:05 UTC
Had some trouble in the past with the jasperforest but it turns out to be because it is just a little more picky with the USB drives. 
The other images are tested regularly for live boot and there is no issue as far as I know.
I think we can close this, and if there will be problems in the future open another one.
Comment 8 Lucian Musat 2015-04-29 08:27:12 UTC
Closing this.