Bug 8709 - Boot from SATA failed after installation through Gummiboot
Summary: Boot from SATA failed after installation through Gummiboot
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 2.0
Hardware: Other x86_64
: Medium+ major
Target Milestone: 2.1 M2
Assignee: Mei Yeen Ng
QA Contact: Cristina Agurida
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-11-23 10:44 UTC by Mei Yeen Ng
Modified: 2016-02-16 13:58 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
Error Log: SATA boot up failure after installation (351 bytes, text/plain)
2015-11-23 10:44 UTC, Mei Yeen Ng
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mei Yeen Ng 2015-11-23 10:44:03 UTC
Created attachment 2860 [details]
Error Log: SATA boot up failure after installation

BUILD: 2.0: fc45deac89ef63ca1c44e763c38ced7dfd72cbe1
ENVIRONMENT: Intel Atom x86_64 platform
IMAGE: core-image-sato

STEPS TO REPRODUCE:
1. Boot up core-image-sato using USB Boot
2. At Gummiboot loader, choose Install option
3. Select install to SATA drive
4. Installation completed successfully
5. Restart platform to boot up from SATA

EXPECTED OUTCOME:
core-image-sato boot up successfully from SATA disk. 

ACTUAL OUTCOME:
Boot up failed with kernel panic.
Comment 1 Mei Yeen Ng 2015-11-23 10:50:39 UTC
I've looked into this issue and identified the root cause to be a missing assignment of the rootuuid variable. This is only gummiboot bootloader.
Comment 2 Mei Yeen Ng 2015-11-23 11:33:57 UTC
Implemented a fix and tested working on Intel Atom platform with gummiboot.
Will test fix on 2 platforms and hopefully getting the fix upstreamed
Comment 4 Cristina Agurida 2016-02-16 13:58:10 UTC
Verified on master:  36b43b233c841b3c09fc17e04686b4b758780963using a MinnowMax on 64 bits.