Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] dracut/initramfs: 6.6.54_1 fails to mount root partition
@ 2024-10-07 16:16 dezifit
  2024-10-08 13:24 ` dezifit
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: dezifit @ 2024-10-07 16:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1293 bytes --]

New issue by dezifit on void-packages repository

https://github.com/void-linux/void-packages/issues/52546

Description:
### Is this a new report?

Yes

### System Info

Void 6.6.54_1 x86_64 libc

### Package(s) Affected

linux-6.6_1

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

After updating the kernel from 6.6.51_1 to 6.6.54_1 the systems fails to mount the root partition and boots into the recovery console.

 `/run/initrunfs/rdsosreport.txt` shows:
 `dracut Warning: Failed to mount -t jfs -o ro,ro /dev/disk/ny-uuid/<correct uuid> /sysroot`

Manual invocation of `fsck /dev/sda1` gives `Filesystem is clean.`, but manual mount with `mkdir -p /mnt; mount /dev/sda1 /mnt` fails with:
`mount: /mnt: wrong fs type, bad option, bad superblock on /dev/sda1`

Choosing the last working kernel `6.6.51` in grub boots the (grub legacy bios) system without any issue. I have already recreated the initramfs with `dracut --force --kver $(uname --kernel-release)`, but it fails with the same same error. Are there JFS related changes in the kernel configuration? Any ideas?

### Expected behaviour

Regular system boot.

### Actual behaviour

Can't mount root partition.

### Steps to reproduce

100% reproducible on the failing system.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dracut/initramfs: 6.6.54_1 fails to mount root partition
  2024-10-07 16:16 [ISSUE] dracut/initramfs: 6.6.54_1 fails to mount root partition dezifit
@ 2024-10-08 13:24 ` dezifit
  2024-10-09 12:19 ` witseid
                   ` (17 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: dezifit @ 2024-10-08 13:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 708 bytes --]

New comment by dezifit on void-packages repository

https://github.com/void-linux/void-packages/issues/52546#issuecomment-2399843162

Comment:
Some more testing shows that the dracut-emergency environment is able to mount another JFS partition just fine. Only the root partition fails, even after a forced filesystem check, which just confirms a valid superblock and clean filesystem.

I tried with kernel 6.11.2 (also fails to boot, same symptom), did a memcheck (passed without error) and finally switched back to the still working kernel 6.6.51 after running out of ideas.

It looks like a strange issue of the specific root partition, therefore I will close this ticket if there is no participation.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dracut/initramfs: 6.6.54_1 fails to mount root partition
  2024-10-07 16:16 [ISSUE] dracut/initramfs: 6.6.54_1 fails to mount root partition dezifit
  2024-10-08 13:24 ` dezifit
@ 2024-10-09 12:19 ` witseid
  2024-10-09 19:34 ` Katnjia
                   ` (16 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: witseid @ 2024-10-09 12:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 274 bytes --]

New comment by witseid on void-packages repository

https://github.com/void-linux/void-packages/issues/52546#issuecomment-2402163200

Comment:
I had similar problems with booting the 6.6.54 kernel, not sure what that might be related to. I had to go back to version 6.6.51.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dracut/initramfs: 6.6.54_1 fails to mount root partition
  2024-10-07 16:16 [ISSUE] dracut/initramfs: 6.6.54_1 fails to mount root partition dezifit
  2024-10-08 13:24 ` dezifit
  2024-10-09 12:19 ` witseid
@ 2024-10-09 19:34 ` Katnjia
  2024-10-09 19:37 ` Katnjia
                   ` (15 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: Katnjia @ 2024-10-09 19:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 291 bytes --]

New comment by Katnjia on void-packages repository

https://github.com/void-linux/void-packages/issues/52546#issuecomment-2403285537

Comment:
I can confirm this issue. Broke my system with ZFS root, and switching over to mkinitcpio generated initramfs images that works with newer kernels.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dracut/initramfs: 6.6.54_1 fails to mount root partition
  2024-10-07 16:16 [ISSUE] dracut/initramfs: 6.6.54_1 fails to mount root partition dezifit
                   ` (2 preceding siblings ...)
  2024-10-09 19:34 ` Katnjia
@ 2024-10-09 19:37 ` Katnjia
  2024-10-09 20:38 ` dkwo
                   ` (14 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: Katnjia @ 2024-10-09 19:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 376 bytes --]

New comment by Katnjia on void-packages repository

https://github.com/void-linux/void-packages/issues/52546#issuecomment-2403285537

Comment:
I can confirm this is an issue with Dracut and kernel 6.6_54 and up. Broke my system with ZFS root where it couldn't find the root partition, and switching over to mkinitcpio generated initramfs images that works with newer kernels.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dracut/initramfs: 6.6.54_1 fails to mount root partition
  2024-10-07 16:16 [ISSUE] dracut/initramfs: 6.6.54_1 fails to mount root partition dezifit
                   ` (3 preceding siblings ...)
  2024-10-09 19:37 ` Katnjia
@ 2024-10-09 20:38 ` dkwo
  2024-10-09 22:22 ` classabbyamp
                   ` (13 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: dkwo @ 2024-10-09 20:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 229 bytes --]

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/issues/52546#issuecomment-2403387206

Comment:
One option could be to try other initramfs: as suggested mkinitcpio, or maybe tinyramfs?

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dracut/initramfs: 6.6.54_1 fails to mount root partition
  2024-10-07 16:16 [ISSUE] dracut/initramfs: 6.6.54_1 fails to mount root partition dezifit
                   ` (4 preceding siblings ...)
  2024-10-09 20:38 ` dkwo
@ 2024-10-09 22:22 ` classabbyamp
  2024-10-11 11:05 ` dezifit
                   ` (12 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: classabbyamp @ 2024-10-09 22:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 250 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/52546#issuecomment-2403530748

Comment:
are you sure it wasn't just a single bad initramfs? `xbps-reconfigure -f linux6.6` will regenerate it

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dracut/initramfs: 6.6.54_1 fails to mount root partition
  2024-10-07 16:16 [ISSUE] dracut/initramfs: 6.6.54_1 fails to mount root partition dezifit
                   ` (5 preceding siblings ...)
  2024-10-09 22:22 ` classabbyamp
@ 2024-10-11 11:05 ` dezifit
  2024-10-11 11:25 ` witseid
                   ` (11 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: dezifit @ 2024-10-11 11:05 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 615 bytes --]

New comment by dezifit on void-packages repository

https://github.com/void-linux/void-packages/issues/52546#issuecomment-2407175119

Comment:
I regenerated the initrafs with `xbps-reconfigure` now again (in addition to to direct dracut invocation before). Still fails to boot.

This system has 3 partitions:
* root (jfs, sda1) - mount of clean filesystem fails
* home (jfs, sda2) - mount of clean filesystem fails
* data (jfs, sda4) - mounts just fine

[Katnjia](https://github.com/Katnjia) has issues with ZFS root,  
[witseid](https://github.com/witseid), which filesystem type is involved in your case?

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dracut/initramfs: 6.6.54_1 fails to mount root partition
  2024-10-07 16:16 [ISSUE] dracut/initramfs: 6.6.54_1 fails to mount root partition dezifit
                   ` (6 preceding siblings ...)
  2024-10-11 11:05 ` dezifit
@ 2024-10-11 11:25 ` witseid
  2024-10-11 11:30 ` witseid
                   ` (10 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: witseid @ 2024-10-11 11:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 387 bytes --]

New comment by witseid on void-packages repository

https://github.com/void-linux/void-packages/issues/52546#issuecomment-2407209035

Comment:
> I can confirm this is an issue with Dracut and kernel 6.6_54 and up. Broke my system with ZFS root where it couldn't find the root partition, and switching over to mkinitcpio generated initramfs images that works with newer kernels.

btrfs

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dracut/initramfs: 6.6.54_1 fails to mount root partition
  2024-10-07 16:16 [ISSUE] dracut/initramfs: 6.6.54_1 fails to mount root partition dezifit
                   ` (7 preceding siblings ...)
  2024-10-11 11:25 ` witseid
@ 2024-10-11 11:30 ` witseid
  2024-10-11 11:30 ` witseid
                   ` (9 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: witseid @ 2024-10-11 11:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 229 bytes --]

New comment by witseid on void-packages repository

https://github.com/void-linux/void-packages/issues/52546#issuecomment-2407216209

Comment:
I get stuck on displaying the UEFI logo when trying to boot from a linux6.6.64 kernel

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dracut/initramfs: 6.6.54_1 fails to mount root partition
  2024-10-07 16:16 [ISSUE] dracut/initramfs: 6.6.54_1 fails to mount root partition dezifit
                   ` (8 preceding siblings ...)
  2024-10-11 11:30 ` witseid
@ 2024-10-11 11:30 ` witseid
  2024-10-11 11:34 ` witseid
                   ` (8 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: witseid @ 2024-10-11 11:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 229 bytes --]

New comment by witseid on void-packages repository

https://github.com/void-linux/void-packages/issues/52546#issuecomment-2407216209

Comment:
I get stuck on displaying the UEFI logo when trying to boot from a linux6.6.54 kernel

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dracut/initramfs: 6.6.54_1 fails to mount root partition
  2024-10-07 16:16 [ISSUE] dracut/initramfs: 6.6.54_1 fails to mount root partition dezifit
                   ` (9 preceding siblings ...)
  2024-10-11 11:30 ` witseid
@ 2024-10-11 11:34 ` witseid
  2024-10-11 14:55 ` classabbyamp
                   ` (7 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: witseid @ 2024-10-11 11:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 641 bytes --]

New comment by witseid on void-packages repository

https://github.com/void-linux/void-packages/issues/52546#issuecomment-2407209035

Comment:
> I regenerated the initrafs with `xbps-reconfigure` now again (in addition to to direct dracut invocation before). Still fails to boot.
> 
> This system has 3 partitions:
> 
> * root (jfs, sda1) - mount of clean filesystem fails
> * home (jfs, sda2) - mount of clean filesystem fails
> * data (jfs, sda4) - mounts just fine
> 
> [Katnjia](https://github.com/Katnjia) has issues with ZFS root, [witseid](https://github.com/witseid), which filesystem type is involved in your case?

btrfs

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dracut/initramfs: 6.6.54_1 fails to mount root partition
  2024-10-07 16:16 [ISSUE] dracut/initramfs: 6.6.54_1 fails to mount root partition dezifit
                   ` (10 preceding siblings ...)
  2024-10-11 11:34 ` witseid
@ 2024-10-11 14:55 ` classabbyamp
  2024-10-11 15:25 ` dezifit
                   ` (6 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: classabbyamp @ 2024-10-11 14:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 329 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/52546#issuecomment-2407588149

Comment:
can you compare the contents of the initramfs? `diff -u <(sudo lsinitrd /boot/initramfs-6.6.x_1.img) <(sudo lsinitrd /boot/initramfs-6.6.54_1.img)` (this syntax requires bash/zsh) 

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dracut/initramfs: 6.6.54_1 fails to mount root partition
  2024-10-07 16:16 [ISSUE] dracut/initramfs: 6.6.54_1 fails to mount root partition dezifit
                   ` (11 preceding siblings ...)
  2024-10-11 14:55 ` classabbyamp
@ 2024-10-11 15:25 ` dezifit
  2024-10-11 15:36 ` classabbyamp
                   ` (5 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: dezifit @ 2024-10-11 15:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 215 bytes --]

New comment by dezifit on void-packages repository

https://github.com/void-linux/void-packages/issues/52546#issuecomment-2407647940

Comment:
Losts of differences because of date/time, see attached `lsinitrd.zip`.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dracut/initramfs: 6.6.54_1 fails to mount root partition
  2024-10-07 16:16 [ISSUE] dracut/initramfs: 6.6.54_1 fails to mount root partition dezifit
                   ` (12 preceding siblings ...)
  2024-10-11 15:25 ` dezifit
@ 2024-10-11 15:36 ` classabbyamp
  2024-10-11 15:48 ` dezifit
                   ` (4 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: classabbyamp @ 2024-10-11 15:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 168 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/52546#issuecomment-2407665682

Comment:
attachment missing?

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dracut/initramfs: 6.6.54_1 fails to mount root partition
  2024-10-07 16:16 [ISSUE] dracut/initramfs: 6.6.54_1 fails to mount root partition dezifit
                   ` (13 preceding siblings ...)
  2024-10-11 15:36 ` classabbyamp
@ 2024-10-11 15:48 ` dezifit
  2024-10-11 15:52 ` classabbyamp
                   ` (3 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: dezifit @ 2024-10-11 15:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 250 bytes --]

New comment by dezifit on void-packages repository

https://github.com/void-linux/void-packages/issues/52546#issuecomment-2407687315

Comment:
> attachment missing?

[lsinitrd.zip](https://github.com/user-attachments/files/17344859/lsinitrd.zip)


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dracut/initramfs: 6.6.54_1 fails to mount root partition
  2024-10-07 16:16 [ISSUE] dracut/initramfs: 6.6.54_1 fails to mount root partition dezifit
                   ` (14 preceding siblings ...)
  2024-10-11 15:48 ` dezifit
@ 2024-10-11 15:52 ` classabbyamp
  2024-10-11 16:02 ` dezifit
                   ` (2 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: classabbyamp @ 2024-10-11 15:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 210 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/52546#issuecomment-2407692774

Comment:
can you also post the lsinitrd of each version by themselves?

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dracut/initramfs: 6.6.54_1 fails to mount root partition
  2024-10-07 16:16 [ISSUE] dracut/initramfs: 6.6.54_1 fails to mount root partition dezifit
                   ` (15 preceding siblings ...)
  2024-10-11 15:52 ` classabbyamp
@ 2024-10-11 16:02 ` dezifit
  2024-10-11 16:11 ` classabbyamp
  2024-10-23  8:32 ` dezifit
  18 siblings, 0 replies; 20+ messages in thread
From: dezifit @ 2024-10-11 16:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 296 bytes --]

New comment by dezifit on void-packages repository

https://github.com/void-linux/void-packages/issues/52546#issuecomment-2407708798

Comment:
> can you also post the lsinitrd of each version by themselves?

[lsinitrd-2.zip](https://github.com/user-attachments/files/17345007/lsinitrd-2.zip)


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dracut/initramfs: 6.6.54_1 fails to mount root partition
  2024-10-07 16:16 [ISSUE] dracut/initramfs: 6.6.54_1 fails to mount root partition dezifit
                   ` (16 preceding siblings ...)
  2024-10-11 16:02 ` dezifit
@ 2024-10-11 16:11 ` classabbyamp
  2024-10-23  8:32 ` dezifit
  18 siblings, 0 replies; 20+ messages in thread
From: classabbyamp @ 2024-10-11 16:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 249 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/52546#issuecomment-2407725397

Comment:
ok, removing obvious differences (timestamp, kernel version), i don't see anything significant there

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: dracut/initramfs: 6.6.54_1 fails to mount root partition
  2024-10-07 16:16 [ISSUE] dracut/initramfs: 6.6.54_1 fails to mount root partition dezifit
                   ` (17 preceding siblings ...)
  2024-10-11 16:11 ` classabbyamp
@ 2024-10-23  8:32 ` dezifit
  18 siblings, 0 replies; 20+ messages in thread
From: dezifit @ 2024-10-23  8:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

New comment by dezifit on void-packages repository

https://github.com/void-linux/void-packages/issues/52546#issuecomment-2431302757

Comment:
I've created a JFS specific kernel [ticket](https://bugzilla.kernel.org/show_bug.cgi?id=219417) and received a patch which fixes the problem for me. As far as I'm concerned this ticket can be closed now as my issue is unrelated to Void Linux.

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2024-10-23  8:32 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-07 16:16 [ISSUE] dracut/initramfs: 6.6.54_1 fails to mount root partition dezifit
2024-10-08 13:24 ` dezifit
2024-10-09 12:19 ` witseid
2024-10-09 19:34 ` Katnjia
2024-10-09 19:37 ` Katnjia
2024-10-09 20:38 ` dkwo
2024-10-09 22:22 ` classabbyamp
2024-10-11 11:05 ` dezifit
2024-10-11 11:25 ` witseid
2024-10-11 11:30 ` witseid
2024-10-11 11:30 ` witseid
2024-10-11 11:34 ` witseid
2024-10-11 14:55 ` classabbyamp
2024-10-11 15:25 ` dezifit
2024-10-11 15:36 ` classabbyamp
2024-10-11 15:48 ` dezifit
2024-10-11 15:52 ` classabbyamp
2024-10-11 16:02 ` dezifit
2024-10-11 16:11 ` classabbyamp
2024-10-23  8:32 ` dezifit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).