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: Fri, 22 Oct 2021 23:49:52 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0

Hi Zoltan!

Thanks a lot for helping me to investigate the problem. Much appreciated!

On 10/22/21 23:06, BALATON Zoltan wrote:
>> I think I've seen problems with compressed kernel images and QEMU before. I 
>> will switch
>> to an uncompressed kernel and try again.
> 
> 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.

> Maybe it's the gcc version? My cross compiler is 8.4.0 and you seem to use 
> 10.x. Maybe
> newer gcc uses something that's not emulated correctly?

Yes, it has been built with gcc-10 which is currently Debian's default kernel 
for building
the kernel.

> It would be interesting to identify what's causing the problem.

Indeed. Thanks for helping me with that.

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]