Bug 8709

Summary: Boot from SATA failed after installation through Gummiboot
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Mei Yeen Ng <mei.yeen.ng>
Component: coreAssignee: Mei Yeen Ng <mei.yeen.ng>
Status: VERIFIED FIXED QA Contact: Cristina Agurida <cristina-danielax.agurida>
Severity: major    
Priority: Medium+ CC: bogdanx.a.voiculescu, meta.mr.watcher, meta.watcher, richard.purdie, sgw
Version: 2.0   
Target Milestone: 2.1 M2   
Hardware: Other   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
Error Log: SATA boot up failure after installation none

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.