loop device failure on 5.19-rc1 RISC-V
The following error messages occur on 5.19-rc1 RISC-V Ubuntu 22.04:
Jun 08 21:00:20 riscv64 kernel: Dev loop0: unable to read RDB block 8 Jun 08 21:00:20 riscv64 kernel: loop0: unable to read partition table Jun 08 21:00:20 riscv64 kernel: loop0: partition table beyond EOD, truncated
This happens when the snapd daemon tries to mount loop0.
Reverting commit b9684a71fca793213378dd410cd11675d973eaa1
block, loop: support partitions without scanning
solves the issue.
Quoted 11 lines · Ron Economos
The following error messages occur on 5.19-rc1 RISC-V Ubuntu 22.04:
Jun 08 21:00:20 riscv64 kernel: Dev loop0: unable to read RDB block 8 Jun 08 21:00:20 riscv64 kernel: loop0: unable to read partition table Jun 08 21:00:20 riscv64 kernel: loop0: partition table beyond EOD, truncatedThis happens when the snapd daemon tries to mount loop0.
Reverting commit
b9684a71fca793213378dd410cd11675d973eaa1block, loop: support partitions without scanning
In which case the snapd daemon explicitly asks for a partitions scan, and we fixed a regression that makes it behave like it did in 5.16 and earlier. But why do you have support for Amiga partitions enabled on RISC-V anyway?
Quoted 9 lines · Christoph Hellwig
Quoted 8 lines · Ron Economos
The following error messages occur on 5.19-rc1 RISC-V Ubuntu 22.04:
Jun 08 21:00:20 riscv64 kernel: Dev loop0: unable to read RDB block 8 Jun 08 21:00:20 riscv64 kernel: loop0: unable to read partition table Jun 08 21:00:20 riscv64 kernel: loop0: partition table beyond EOD, truncatedThis happens when the snapd daemon tries to mount loop0.
Quoted 7 lines
Quoted 3 lines
Reverting commit
b9684a71fca793213378dd410cd11675d973eaa1block, loop: support partitions without scanning
In which case the snapd daemon explicitly asks for a partitions scan, and we fixed a regression that makes it behave like it did in 5.16 and earlier. But why do you have support for Amiga partitions enabled on RISC-V anyway?
I'm using the kernel config file from Ubuntu 22.04 for RISC-V. It has Amiga partitions enabled. I'll just disable it.