Bug 1216010

Summary: grub2 fails to identify recent ext4 filesystem
Product: [openSUSE] PUBLIC SUSE Linux Enterprise Server 15 SP5 Reporter: Olaf Hering <ohering>
Component: BootloaderAssignee: Bootloader Maintainers <bootloader-maintainers>
Status: RESOLVED FIXED QA Contact:
Severity: Normal    
Priority: P5 - None CC: maint-coord, mchang, slemke
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Olaf Hering 2023-10-06 15:50:30 UTC
"ls -l" in a grub2 prompt fails to identify an ext4 filesystem which was created on Tumbleweed. This used to work "a couple of weeks ago".
Something in mkfs.ext4 in Tumbleweed changed, and as a result it created a filesystem which grub2 from SLE15SP5 fails to identify.

As a result chainloading in a BIOS environment is now broken.

The relevant part from autoyast.xml (in other words: no filesystem specific options were used):
<partition>
  <create config:type="boolean">false</create>
  <label>TMBLWEED</label>
  <mountby config:type="symbol">label</mountby>
  <partition_nr config:type="integer">13</partition_nr>
  <filesystem config:type="symbol">ext4</filesystem>
  <format config:type="boolean">true</format>
  <fstopt>noatime</fstopt>
  <mount>/</mount>
</partition>

Comparing the 'dumpe2fs -h' output ("Filesystem features:"), possible candidates for the breakage are "FEATURE_C12" and "metadata_csum_seed".
Comment 1 Olaf Hering 2023-10-06 18:48:47 UTC
metadata_csum_seed appears to break the filesystem detection.
Comment 2 Michael Chang 2023-10-11 06:03:49 UTC
I think this change in openSUSE fixed the issue, it needs to be submitted to 15SP5 maintenance update and other supported code stream as well.

-------------------------------------------------------------------
Tue May 30 11:03:54 UTC 2023 - Dirk Müller <dmueller@suse.com>

- add 0001-fs-ext2-Ignore-checksum-seed-incompat-feature.patch,
  0001-fs-ext2-Ignore-the-large_dir-incompat-feature.patch:
  * support more featureful extX filesystems (backport from
  upstream git)
Comment 3 Michael Chang 2023-11-02 04:21:55 UTC
The patch has been submitted to 15SP4 and 15SP5 maintenance update.

15SP5: srid#312148
15SP4: srid#312149

Close and please verify if the fix released.
Comment 5 Maintenance Automation 2023-11-17 12:30:03 UTC
SUSE-RU-2023:4478-1: An update that has three fixes can now be installed.

Category: recommended (moderate)
Bug References: 1216010, 1216075, 1216253
Sources used:
openSUSE Leap 15.5 (src): grub2-2.06-150500.29.11.1
SUSE Linux Enterprise Micro 5.5 (src): grub2-2.06-150500.29.11.1
Basesystem Module 15-SP5 (src): grub2-2.06-150500.29.11.1
Server Applications Module 15-SP5 (src): grub2-2.06-150500.29.11.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 6 Maintenance Automation 2023-11-17 12:30:06 UTC
SUSE-RU-2023:4477-1: An update that has three fixes can now be installed.

Category: recommended (moderate)
Bug References: 1216010, 1216075, 1216253
Sources used:
openSUSE Leap 15.4 (src): grub2-2.06-150400.11.41.1
openSUSE Leap Micro 5.3 (src): grub2-2.06-150400.11.41.1
openSUSE Leap Micro 5.4 (src): grub2-2.06-150400.11.41.1
SUSE Linux Enterprise Micro for Rancher 5.3 (src): grub2-2.06-150400.11.41.1
SUSE Linux Enterprise Micro 5.3 (src): grub2-2.06-150400.11.41.1
SUSE Linux Enterprise Micro for Rancher 5.4 (src): grub2-2.06-150400.11.41.1
SUSE Linux Enterprise Micro 5.4 (src): grub2-2.06-150400.11.41.1
Basesystem Module 15-SP4 (src): grub2-2.06-150400.11.41.1
Server Applications Module 15-SP4 (src): grub2-2.06-150400.11.41.1
SUSE Manager Proxy 4.3 Module 4.3 (src): grub2-2.06-150400.11.41.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 8 Sergio Rafael Lemke 2024-01-15 12:57:06 UTC
Clearing need info as both MR have been released.