qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Looking for advise on debugging a non-boot kernel on qemu-system-sh4


From: John Paul Adrian Glaubitz
Subject: Re: Looking for advise on debugging a non-boot kernel on qemu-system-sh4
Date: Sat, 23 Oct 2021 01:08:53 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0

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 - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913




reply via email to

[Prev in Thread] Current Thread [Next in Thread]