Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2254166ybk; Sun, 17 May 2020 15:21:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOdp48xAuMi4RtKLFC+T1KxlMitltbxxq30LCo14nsUcBrWwAKHyZ5nWVueZQZRcYUVBA3 X-Received: by 2002:a17:906:398:: with SMTP id b24mr6997910eja.44.1589754070933; Sun, 17 May 2020 15:21:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589754070; cv=none; d=google.com; s=arc-20160816; b=N85p+BzEgOBm1bl23x+6ygVGhb7tnntGK0eXCs8Ld+pOfHgM9ERrssC1QZYuD+KTvI r21PIzAxjm8VLGlcSuGinAxViqrmwJtowfqs83YibldkkkFZWoj4dxFxK2cd4CB7MGBW OhAhb6Y9u9IUjbarFx4J9wcBuPxk6biR1kbEivpV7mryUmpi3xBbMpXbIYcADofpnJor iFyQPMeI0ME78xe8xZsGEJedQZpI+TvUw7+e/EA5dMGfOm/wRAzqy24e+1jXBEbtsqF5 7c/h9m1P31NHQVUi2wdwj/FfI07KFDKzLcXvnGhmLoWNaLeF5bD31FpQatwWGulvmVme oNZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=ldEC/1loyJ/TJIwJSeTnCvdSxeMgqelFahoT1ouRsCg=; b=Ws2Z09YRoN6sEkzv0nN4QKlXteOlhCNPJG2IXL6aZoGQdR63KKx1jodgvTJpYxE0yy W2qhp49P802zROC4fN5ENxpzqB0hu6bedtfVXV2djHAFJy2yHQPMB+o27R2DXGRcK4ER 8RVvnP+gUiRGreQreszQEPzQjKi8e9SPNKaSy0+oUYpsQXCUFaGdI/PU8+8v454djfXN oLX+vCLbHk0Ls4P3MJfehiX7Cb1Vet7TEu0HzgkPD6VyRJDs9FTisZQ49BfdwETksPz4 SFmy4l6svRAnqEhj+tdLDobrzYj24cZ9RQn7LCl8zSG5EiF0EOrD9Z0M0VdALJ7Kj2UF pTRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x20si5658338edi.323.2020.05.17.15.20.30; Sun, 17 May 2020 15:21:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726607AbgEQWN6 (ORCPT + 99 others); Sun, 17 May 2020 18:13:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726299AbgEQWN5 (ORCPT ); Sun, 17 May 2020 18:13:57 -0400 Received: from ZenIV.linux.org.uk (zeniv.linux.org.uk [IPv6:2002:c35c:fd02::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48834C061A0C; Sun, 17 May 2020 15:13:57 -0700 (PDT) Received: from viro by ZenIV.linux.org.uk with local (Exim 4.93 #3 (Red Hat Linux)) id 1jaRXW-00Alrb-WC; Sun, 17 May 2020 22:13:47 +0000 Date: Sun, 17 May 2020 23:13:46 +0100 From: Al Viro To: Mark Cave-Ayland Cc: Christian Brauner , David Miller , arnd@arndb.de, guoren@kernel.org, linux-csky@vger.kernel.org, linux-kernel@vger.kernel.org, sparclinux@vger.kernel.org Subject: Re: [PATCH 0/3] sparc: port to copy_thread_tls() and struct kernel_clone_args Message-ID: <20200517221346.GL23230@ZenIV.linux.org.uk> References: <20200512171527.570109-1-christian.brauner@ubuntu.com> <20200512.130633.293867428547074800.davem@davemloft.net> <20200517150123.sl36ug27gwnyz6gf@wittgenstein> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, May 17, 2020 at 05:34:34PM +0100, Mark Cave-Ayland wrote: > FWIW if you're running a more recent version of QEMU (>=3.1) then you can also boot > from the virtio-blk-pci device directly instead of having to switch back to the IDE > device after installation as you have done above. Should be something like: > > qemu-system-sparc64 \ > -m 4096 \ > -device virtio-blk-pci,bus=pciB,drive=hd \ > -drive > file=/home/brauner/.local/share/qemu/sparc64.img,format=raw,if=none,id=hd,bootindex=0 \ > -net nic \ > -net user \ > -nographic > > Note the removal of the legacy -boot argument and the addition of "bootindex=0" to > the -drive argument. Is virtio-blk-pci more resilent to lost interrupt bug introduced in "sun4u: update PCI topology to include simba PCI bridges"? I hadn't tried it yet (reverted to the last working mainline qemu commit for now); IDE definitely is screwed by that - both the Linux and NetBSD drivers, actually. A 50Mb worth of wget(1) is more than enough to trigger that crap; commit 063833a6ec Merge: d634fc0499 bcf9e2c2f2 Author: Peter Maydell Date: Thu Oct 19 18:42:51 2017 +0100 Merge remote-tracking branch 'remotes/mcayland/tags/qemu-sparc-signed' into staging hangs, d634fc0499 works, bcf9e2c2f2 hangs. I hadn't looked into details (the branch itself is only two commits long, but it incorporates an openbios update - 35 commits there, some obviously pci- and sun4u-related), but it's really easy to reproduce - -m 1024 and -hda are probably the only relevant arguments. Even dd if=/dev/sda of=/dev/null bs=64m is often enough to hang it, so I rather doubt that networking (e1000 on pciB, FWIW, with tap for backend) has anything to do with that.