Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23365C433F5 for ; Thu, 21 Oct 2021 09:51:13 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BABBF610CF for ; Thu, 21 Oct 2021 09:51:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BABBF610CF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=physik.fu-berlin.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:41184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdUj9-0006ky-PV for qemu-devel@archiver.kernel.org; Thu, 21 Oct 2021 05:51:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53510) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdUhw-0005XV-N8 for qemu-devel@nongnu.org; Thu, 21 Oct 2021 05:49:56 -0400 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]:35689) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdUht-0008Ud-62 for qemu-devel@nongnu.org; Thu, 21 Oct 2021 05:49:56 -0400 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.94) for qemu-devel@nongnu.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (envelope-from ) id 1mdUhV-0015Pc-2T; Thu, 21 Oct 2021 11:49:29 +0200 Received: from p57bd9c1a.dip0.t-ipconnect.de ([87.189.156.26] helo=[192.168.178.81]) by inpost2.zedat.fu-berlin.de (Exim 4.94) for qemu-devel@nongnu.org with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (envelope-from ) id 1mdUhU-000Sd0-Kb; Thu, 21 Oct 2021 11:49:29 +0200 Message-ID: <4882e4cc-6754-1c8a-a8ae-a2ceeca115fb@physik.fu-berlin.de> Date: Thu, 21 Oct 2021 11:49:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Content-Language: en-US To: QEMU Developers From: John Paul Adrian Glaubitz Subject: Looking for advise on debugging a non-boot kernel on qemu-system-sh4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 87.189.156.26 Received-SPF: pass client-ip=130.133.4.66; envelope-from=glaubitz@zedat.fu-berlin.de; helo=outpost1.zedat.fu-berlin.de X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Hello! I'm regularly building debian-installer packages for Debian's unofficial ports which includes sh4 among others. The kernel package and therefore the installer package contains a kernel for the SH7751R machine which is emulated by QEMU when choosing the "r2d" type. Unfortunately, I have not yet been able to boot a current kernel on qemu-system-sh4, the screen remains blank and there are no error messages. Booting an older 2.6 kernel works just fine. I'm using qemu-system-sh4 as follows: $ qemu-system-sh4 -M r2d -kernel vmlinuz-2.6.32-5-sh7751r -initrd initrd.gz -hda debian.img \ -append "root=/dev/sda1 console=tty0 noiotrap" The old 2.6 kernel from [1] boots fine while the current 5.14.x kernel from [2] does not produce any output. Can anyone enlighten me what I might be missing? Thanks, Adrian PS: Please CC me as I am subscribed without getting messages. > [1] https://people.debian.org/~aurel32/qemu/sh4/ > [2] https://cdimage.debian.org/cdimage/ports/current-debian-installer/sh4/ -- .''`. 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