main/linux-lts: mips64 5.4.48 does not boot with qemu
With 5.4.48 init segfaults
Run /sbin/init as init process
do_page_fault(): sending SIGSEGV to init for invalid read access from 0000000000000360
epc = 0000000000000360 in busybox[aaabf3c000+120000]
ra = 000000fffcf605e0 in
I think it is related to this issue:
https://lore.kernel.org/linux-mips/20191224135404.389039-1-Jason@zx2c4.com/t/ [1]
I built 5.7.6 with defaults for new options except COMPAT_32BIT_TIME=y
, which boots. 5.4.48 didn't have a COMPAT_32BIT_TIME
.
I'll try to find a solution for 5.4.48 (5.4.49 also segfaults), but I'd appreciate any hints.
[1] The patch at the end of this discussion is IMO in 5.4.48.