Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2683386rwd; Wed, 14 Jun 2023 06:14:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4he655/9ClBLZt5OGdSYAkppETLJD83lxlxVgKzJ/lAbmi8M1kQgfYL1H16SWkEoGSs8Z4 X-Received: by 2002:a17:907:9686:b0:978:acec:36ab with SMTP id hd6-20020a170907968600b00978acec36abmr16590999ejc.35.1686748491553; Wed, 14 Jun 2023 06:14:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686748491; cv=none; d=google.com; s=arc-20160816; b=PENnDyp4cuOyzNgTebCnju8clelXYlIhQom3tA5tgzqhDb9IIVamXjRnkgxILeCGhx oWocir0DyPC+0dAY8lSuTb9exvTNIIWUe4682YWj9IrtdwsFRSHf0MjTIVPYbbJ3bOVi mDuTaB2tQNvJbZ43LHVhQgPNs4cBAD8KO4W1sCzJTkzkejJv2NhFDF67BiSlN3UY9obx 9Jmscn0NdKutvRHTRNUX3Yj+WGu/dJnRRuQLFwo8CHbmMcfi1yJgDRIi60XA18SJGTWr 6MBjDXfxQXPt+fyXAcRqXOw1HuHlGTu7H/yB6MOt6vqfydEQI1nyP/XHsBSLnDKJVDRf 1lzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=FNbi5F9pP9v/QcQjHjJ8q0ft33Hxyw2GadgFXlOm7YQ=; b=uDf2Bp5Rpt/puAPgz5hGiCSeJmZMRW10xG8LVNH1XHbg11ED7ANm5OabwhJ3DBrEwc 4hpg6rfVcBsTHn3ISCduF+DvUCb/CGxNFjCy/9SHagolQ7+JsBrFvAY76xrYUzLJ1OTo JGwIA6kl9KJv3rTbeau4Or61UUxiIkyaGHxgnC3CkSlZfuWD4MrpE8GKb5wZVIyurHwK YWJgg00Yc72v6+KUyvNf7kFT56MSD8fWNP6Mtb1QKTUiKf2rHfn68IVR+SiMwt5qRrVT N0/TV4zGQuflAaezDUsarSYvinYK3wTrdEOxkp4h6y6ctizV4InqzpLwlkgDyXvwqaV9 gnSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IG3Re1rQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a16-20020a1709063a5000b00974fb8ff39asi4262162ejf.580.2023.06.14.06.14.02; Wed, 14 Jun 2023 06:14:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IG3Re1rQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236346AbjFNNFH (ORCPT + 99 others); Wed, 14 Jun 2023 09:05:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244886AbjFNNEy (ORCPT ); Wed, 14 Jun 2023 09:04:54 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A0401727 for ; Wed, 14 Jun 2023 06:04:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1686747846; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FNbi5F9pP9v/QcQjHjJ8q0ft33Hxyw2GadgFXlOm7YQ=; b=IG3Re1rQmnCPbBK38Gb8W12q4ax/H6Lau2y+6Yw00wdeM/Kq34Czx8zMnc5xhqS4U+FsLJ wVb4yD5PRtWjlvJgWKdjnsIp3L/W9kwD1ib8IPAetffGCUnP8n2XCuLUA2abUHjysGqpsQ zjn1HQfIVx61+iccPMwiXP5ibf+8ErI= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-550-sWK7SCOjMuS-S74VF6nJUg-1; Wed, 14 Jun 2023 09:04:04 -0400 X-MC-Unique: sWK7SCOjMuS-S74VF6nJUg-1 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 mimecast-mx02.redhat.com (Postfix) with ESMTPS id A1A2A3C108ED; Wed, 14 Jun 2023 13:03:49 +0000 (UTC) Received: from localhost (unknown [10.39.192.206]) by smtp.corp.redhat.com (Postfix) with ESMTP id 687DF9E9C; Wed, 14 Jun 2023 13:03:49 +0000 (UTC) Date: Wed, 14 Jun 2023 14:03:48 +0100 From: "Richard W.M. Jones" To: Peter Zijlstra Cc: Aaron Thompson , linux-kernel@vger.kernel.org Subject: Re: printk.time causes rare kernel boot hangs Message-ID: <20230614130348.GF7636@redhat.com> References: <20230613134105.GA10301@redhat.com> <20230614092158.GF1639749@hirez.programming.kicks-ass.net> <20230614094522.GA7636@redhat.com> <20230614103011.GL7912@redhat.com> <20230614103953.GM7912@redhat.com> <20230614113536.GJ1639749@hirez.programming.kicks-ass.net> <20230614125320.GA1640563@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230614125320.GA1640563@hirez.programming.kicks-ass.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 14, 2023 at 02:53:20PM +0200, Peter Zijlstra wrote: > Ooooh, what qemu version do you have? There were some really dodgy > reports all around self modifying code, all reported on 7.2, that seems > to have gone away with 8. > Now, all of them were using TCG, and I think you're using KVM. I'm using qemu-system-x86-8.0.0-4.fc39.x86_64 with KVM. The host kernel is 6.4.0-0.rc5.41.fc39.x86_64. > I've at least 36000 cycles and still nothing :-(, let me go try your > .config. I can definitely reproduce this with your config (but AMD host), so that's odd. Let me try with Intel hardware and your config. You really should see this with only a few thousands iterations. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org