Hi Zoltan! On 10/22/21 23:49, John Paul Adrian Glaubitz wrote: >> How did you compile the kernel that does not boot? What config have you used? > > The config is constructed from the Debian kernel configuration tree. I have > uploaded > the resulting config file here: > >> https://people.debian.org/~glaubitz/config-5.14.0-3-sh7751r.gz > >> I've tried to reproduce it by compiling a kernel with rts7751r2d1_defconfig >> and different >> compression methods but it did start and never got the problem seen with >> your kernel. > > Oh, that's very interesting. How big were the kernel images you got? My > suspicion was > that the current Debian kernel might be too much.
I can confirm that the default config works for me, too. Both with gcc-8 and gcc-11. Using that kernel, however, I cannot use the debian-installer initrd.gz, even with CONFIG_BLK_DEV_INITRD enabled in the kernel configuration. The kernel prints a message saying that the initramfs is uncompressed, but whatever I do I cannot get it to mount the initramfs. All I get is this: [ 0.096000] Trying to unpack rootfs image as initramfs... and then later: [ 0.480000] ---[ end trace 46a3adcb34136251 ]--- [ 0.480000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 0.480000] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ]--- Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913