Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4852552imm; Tue, 26 Jun 2018 01:27:00 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK2tYLjh2QYlKUw1LjSCajPrAssfn5Y1T+rVMRlUbQmD+9cHjw/Dlqvmp5xlM80ucyzY57/ X-Received: by 2002:a17:902:28a6:: with SMTP id f35-v6mr621833plb.110.1530001620375; Tue, 26 Jun 2018 01:27:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530001620; cv=none; d=google.com; s=arc-20160816; b=L48Ef/sPescTd9sVoKpuhHxLTUU9dI6iH0T6rZNvAacvf4xoOQNO23qoIEiEbl6ILB Qg/oRzCdq26s3Dog+JuEiyI3v59nvTUbWIxMT3R4YV6/CVi2td6gFgzjXUhMVCONgq6m cmGoyY5igLBYErxhxT5WreXhAkQzn0KQDgjkYHvVSZN1sUracMsyxdd0ihbVfuzs+vZo /BqGa6/yIa0YPoVItnTOhtArCPgZAzGWKuKzQd8LJa0sD5L2RyZWgLm6AIG0ha/YJ2UJ VSZmKucC/xviqyPmxMqrFRWrKVBrVk2tBvDkJjoH8twDyf1i5HDEd3yqLTY4A4AQOlTs kovg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:arc-authentication-results; bh=WVvqMLcRjjtBnv+pLBjFc5tlepX+L6iEQAsbLnFnkYc=; b=QDRkldV8+DiW19AunG2IY2NCVtgvJz+mLwLZ/24r69jjJP2cSxdH5GDEHePfTbIo/m 7dy9JYKZym/BgUtp0fqKLjsjV5h3GRvoEFgLUn/MgT233kaeKne/JOiEk5fidHrCV8ov 1SSDUlhb6lh9RpmIZDd4fC9nJ20oqbZ/KWWyA89iPgfOx1uWPYLG5j0hQMZu2zeh7DW0 eCEU1nqnimSbvP47+EiXq0bo+qaDVxN3xwc5SK01R0K9AnGqFzYnwqDfLh86Wi8E5RR5 0h9b9Gs5nDOCSQzF3OnV0Uc24y9XC0Q9oQL+CzCigpJlGJszwZ+q5bKhghiS/CH4gmPa NtBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s5-v6si966347pgp.246.2018.06.26.01.26.45; Tue, 26 Jun 2018 01:27:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932310AbeFZIY7 (ORCPT + 99 others); Tue, 26 Jun 2018 04:24:59 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:47658 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752852AbeFZIYy (ORCPT ); Tue, 26 Jun 2018 04:24:54 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D8461400224C; Tue, 26 Jun 2018 08:24:53 +0000 (UTC) Received: from gondolin (dhcp-192-215.str.redhat.com [10.33.192.215]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4EE6276E9; Tue, 26 Jun 2018 08:24:52 +0000 (UTC) Date: Tue, 26 Jun 2018 10:24:49 +0200 From: Cornelia Huck To: Christian Borntraeger Cc: Vasily Gorbik , Martin Schwidefsky , Heiko Carstens , Guenter Roeck , linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, qemu-s390x , qemu-devel , Thomas Huth Subject: Re: [PATCH] s390/boot: block uncompressed vmlinux booting attempts Message-ID: <20180626102449.50b65335.cohuck@redhat.com> In-Reply-To: <7cb526fc-9da4-248b-d5c4-cb463a2c2bac@de.ibm.com> References: <64bcba64-b88f-3594-da6e-7c2118482c20@roeck-us.net> <7cb526fc-9da4-248b-d5c4-cb463a2c2bac@de.ibm.com> Organization: Red Hat GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Tue, 26 Jun 2018 08:24:53 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Tue, 26 Jun 2018 08:24:53 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'cohuck@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 26 Jun 2018 09:30:19 +0200 Christian Borntraeger wrote: > On 06/25/2018 05:09 PM, Vasily Gorbik wrote: > > Since uncompressed kernel image "vmlinux" elf file is not bootable under > > qemu anymore, add a check which would report that. > > > > Qemu users are encouraged to use bzImage or > > arch/s390/boot/compressed/vmlinux instead. > > > > The check relies on s390 linux entry point ABI definition, which is only > > present in bzImage and arch/s390/boot/compressed/vmlinux. > > > > Signed-off-by: Vasily Gorbik > Acked-by: Christian Borntraeger > > some proposals regarding the wording below.. > > [...] > > + > > + sclp_early_printk("The linux kernel boot failure: the image is corrupted or not bootable.\n"); > > + sclp_early_printk("Please check that you are using bootable kernel image \"bzImage\".\n"); > > + sclp_early_printk("(or alternatively \"arch/s390/boot/compressed/vmlinux\" image for qemu)\n"); > > What about making this explain things a bit more, e.g. something like > > Linux kernel boot failure: The boot image does not contain all necessary > components (like the entry point and decompressor). The plain vmlinux ELF > file no longer carries all necessary parts for starting up. Please use > bzImage or arch/s390/boot/compressed/vmlinux. Yes, that sounds good. With the changed message, Acked-by: Cornelia Huck