Bug 1479099

Summary: grub2 bootloader launching via HTTP Boot failed with an error of "unaligned pointer"
Product: Red Hat Enterprise Linux 7 Reporter: Neo Cui <cuilj2>
Component: grub2Assignee: Peter Jones <pjones>
Status: CLOSED WONTFIX QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: high    
Version: 7.4CC: achen35, cuilj2, fchen16, jkachuck, jstodola, kasmith, mboisver, mknutson, pjones, Smahmoud, tbowling
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: Intel:1490981
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-01 07:33:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1689420, 1719882, 1776446    
Attachments:
Description Flags
failure information
none
HTTP Boot server messages log
none
apache2 access log
none
apache2 error log none

Description Neo Cui 2017-08-08 00:30:58 UTC
Created attachment 1310389 [details]
failure information

Description of problem:
HTTP Boot feature failed on RHEL 7.4 GA

Version-Release number of selected component (if applicable):
grub2-efi-x64-2.02-0.64.el7.x86_64.rpm
grub2-efi-x64-cdboot-2.02-0.64.el7.x86_64.rp

How reproducible:


Steps to Reproduce:
1. Set up a HTTP Boot server
2. Use the grubx64.efi in the grub2 rpm package as the NBP.
3. Validate the HTTP Boot function on a server with HTTP Boot function supported.

Actual results:
Failed to start the NBP with an error of "unaligned pointer".

Expected results:
Could boot the NBP and launch the RHEL 7.4 installation via HTTP Boot.

Additional info:
Please check the attachment for the snapshot.
The address of the unaligned pointer changed every time I tried to boot the NBP.

Comment 2 Joseph Kachuck 2017-08-08 16:41:51 UTC
Hello Lenovo,
Please attach the anaconda log from the install. Please also attach any boot log information from the fail boot.

Please also attach the http logs from the https server it is attempting to boot off.

Thank You
Joe Kachuck

Comment 3 Neo Cui 2017-08-09 02:13:29 UTC
Created attachment 1310977 [details]
HTTP Boot server messages log

Comment 4 Neo Cui 2017-08-09 02:16:08 UTC
Created attachment 1310978 [details]
apache2 access log

Comment 5 Neo Cui 2017-08-09 02:17:09 UTC
Created attachment 1310979 [details]
apache2 error log

Comment 6 Neo Cui 2017-08-09 02:21:37 UTC
(In reply to Joseph Kachuck from comment #2)
> Hello Lenovo,
> Please attach the anaconda log from the install. Please also attach any boot
> log information from the fail boot.
> 
> Please also attach the http logs from the https server it is attempting to
> boot off.
> 
> Thank You
> Joe Kachuck

Hi Joe,

I have attached the http server log.
There is no anaconda log and boot log as the HTTP Boot process is blocked at stage 1 (Download and execute grubx64.efi).

--Neo

Comment 7 Neo Cui 2017-08-09 02:26:08 UTC
(In reply to Joseph Kachuck from comment #2)
> Hello Lenovo,
> Please attach the anaconda log from the install. Please also attach any boot
> log information from the fail boot.
> 
> Please also attach the http logs from the https server it is attempting to
> boot off.
> 
> Thank You
> Joe Kachuck

Hi Joe,

Could you provide the detail steps to test the HTTP Boot feature on RHEL 7.4.
I wonder if there is mistakes I made in my test to cause this problem.
Thanks~
--Neo

Comment 10 Joseph Kachuck 2017-08-18 14:38:07 UTC
Hello Lenovo,
My understanding is Engineering is looking at this issue with Intel. I have no further updates at this time. I will let you know when I have additional updates.

Thank You
Joe Kachuck

Comment 11 Alpus Chen 2018-03-01 08:48:04 UTC
The issue can be reproduced with RHEL7 U5 Snapshot 5, below message show on the screen when system is trying to HTTP boot via DHCPv4


>>Checking Media Presence......
>>Media Present......
unaligned pointer 0x1fa579f8
Aborted. Press any key to exit.

Comment 12 Joseph Kachuck 2018-11-01 14:53:18 UTC
Hello,
RHEL 7.6 has been released. This BZ is moved to requested for RHEL 7.7.

Thank You
Joe Kachuck

Comment 14 Joseph Kachuck 2019-08-14 17:41:25 UTC
Hello Lenovo,
Please confirm if this has been tested on RHEL 7.7?

Thank You
Joe Kachuck

Comment 15 Alpus Chen 2019-08-16 08:49:44 UTC
Could Red Hat provide the document or instruction regarding setup httpboot server on RHEL7 OS, such that we can follow to configure httpboot server.

Comment 19 RHEL Program Management 2021-03-01 07:33:36 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.