Bug 2177994

Summary: unable to install f38/rawhide on aarch64 bare metal machines
Product: [Fedora] Fedora Reporter: lnie <lnie>
Component: grub2Assignee: Robbie Harwood <rharwood>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: fmartine, lkundrak, nfrayer, pgnet.dev, pjones, rharwood, robatino
Target Milestone: ---   
Target Release: ---   
Hardware: aarch64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-14 14:25:21 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: 2083912    

Description lnie 2023-03-14 07:44:37 UTC
Description of problem:

I'm not able to perform an f38 or rawhide installation on any aarch64 beaker servers,
all failed as the fowllowing:
2023/03/13 21:28:02 socat[107436] E connect(5, AF=1 "/var/lib/libvirt/qemu/hpe-apollo-cn99xx-14-vm-20.console", 58): No such file or directory
 c
Disconnect sensed. Reconnecting in 15 seconds
 
  Station IP address is 10.19.241.48 
 
  Server IP address is 10.19.165.164 
  NBP filename is aarch64/grubaa64_rhel8-2.02-81.efi 
  NBP filesize is 1998264 Bytes 
 Downloading NBP file... 
 
  NBP file downloaded successfully. 
BdsDxe: loading Boot0004 "UEFI PXEv4 (MAC:5254002A7515)" from PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(5254002A7515,0x1)/IPv4(0.0.0.0,0x0,DHCP,0.0.0.0,0.0.0.0,0.0.0.0) 
BdsDxe: starting Boot0004 "UEFI PXEv4 (MAC:5254002A7515)" from PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(5254002A7515,0x1)/IPv4(0.0.0.0,0x0,DHCP,0.0.0.0,0.0.0.0,0.0.0.0) 
error: ../../grub-core/loader/arm64/linux.c:56:invalid magic number.
 error: ../../grub-core/loader/arm64/linux.c:297:you need to load the kernel
 first.
 error: ../../grub-core/commands/boot.c:147:you need to load the kernel first.
    
    
    
   
       
   
    
    
      Minimal BASH-like line editing is supported. For the first word,    
       TAB lists possible command completions. Anywhere else TAB lists     
       possible device or file completions.                                
 
 
 grub> [-- MARK -- Tue Mar 14 01:30:00 2023] 
[-- MARK -- Tue Mar 14 01:35:00 2023] 

I'm able to perform an installation on VM hosted on previous release aarch64 system

Not sure if it's related to the following patch[1],which has been introduced to f38 and rawhide.

[1]https://lore.kernel.org/all/20220811145157.3237840-1-ardb@kernel.org/T/

Version-Release number of selected component (if applicable):
grub2-common-2.06-88.fc38.noarch.rpm    

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Fedora Blocker Bugs Application 2023-03-14 13:39:35 UTC
Proposed as a Blocker for 38-final by Fedora user lnie using the blocker tracking app because:

 Please note this affects all  aarch64 bare metal machines...

Comment 2 Robbie Harwood 2023-03-14 14:25:21 UTC
> I'm not able to perform an f38 or rawhide installation on any aarch64 beaker servers,

> NBP filename is aarch64/grubaa64_rhel8-2.02-81.efi

This appears to be installing RHEL 8, not Fedora.  If you would like patch you linked applied to RHEL 8, please open a separate bug for that.