openwrt / openwrt

This repository is a mirror of https://git.openwrt.org/openwrt/openwrt.git It is for reference only and is not active for check-ins. We will continue to accept Pull Requests here. They will be merged via staging trees then into openwrt.git.
Other
18.93k stars 10.01k forks source link

FS#4043 - 21.02 x86 generic ext4 combined image does not boot #9032

Open openwrt-bot opened 2 years ago

openwrt-bot commented 2 years ago

ValdikSS:

x86 image "generic-ext4-combined.img.gz" of 21.02.0 does not boot — it can't find rootfs and either panics or hangs. Tested on qemu and virtualbox.

Broken image link: https://downloads.openwrt.org/releases/21.02.0/targets/x86/generic/openwrt-21.02.0-x86-generic-generic-ext4-combined.img.gz

The efi image, "generic-ext4-combined-efi.img.gz", works fine (tested with BIOS boot), that's why I assume that "generic-ext4-combined.img.gz" is broken.

ValdikSS commented 2 years ago

Still applies to 21.02.2.

ValdikSS commented 2 years ago

And to Thu Mar 31 09:05:34 2022 snapshot (generic-ext4-combined.img.gz, 4633710d09dab21d9db936a8df9be4de3db3be80bc23add8c6d0ca35a0f3956e) as well.

[    1.402806] sd 0:0:0:0: [sda] Write Protect is off
[    1.405189] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.408252]  sda: sda1 sda2
[    1.409520] sda: p2 size 212992 extends beyond EOD, enabling native capacity
[    1.414043]  sda: sda1 sda2
[    1.415437] sda: p2 size 212992 extends beyond EOD, truncated
[    1.418484] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.430244] sr 2:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray
[    1.432340] cdrom: Uniform CD-ROM driver Revision: 3.20
[    1.449920] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3
[    1.480526] EXT4-fs (sda2): bad geometry: block count 26624 exceeds size of device (26620 blocks)
[    1.488744] F2FS-fs (sda2): Magic Mismatch, valid(0xf2f52010) - read(0x1a00)
[    1.490255] F2FS-fs (sda2): Can't find valid F2FS filesystem in 1th superblock
[    1.495743] F2FS-fs (sda2): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[    1.497665] F2FS-fs (sda2): Can't find valid F2FS filesystem in 2th superblock
[    1.499838] List of all partitions:
[    1.501095] 0800          123376 sda 
[    1.501095]  driver: sd
[    1.503349]   0801           16384 sda1 511c4b88-01
[    1.503350] 
[    1.505486]   0802          106480 sda2 511c4b88-02
[    1.505487] 
[    1.507480] 0b00         1048575 sr0 
[    1.507481]  driver: sr
[    1.510419] No filesystem could mount root, tried: 
[    1.510420]  ext3
[    1.514284]  ext2
[    1.515354]  ext4
[    1.516209]  squashfs
[    1.517028]  iso9660
[    1.517857]  f2fs
[    1.518697] 
[    1.520502] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,2)
[    1.522426] Kernel Offset: disabled
[    1.523562] Rebooting in 1 seconds..
ValdikSS commented 2 years ago

Uff. Signature information embedded to the end of gzipped file with append-metadata make KDE's Ark archive manager to silently discard the latest (?) compressed block due to "garbage", that's why the uncompressed file resulted less in size then it should be.