Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1256809rwb; Sat, 13 Aug 2022 22:32:38 -0700 (PDT) X-Google-Smtp-Source: AA6agR63HbiVTPh92HvBXUIdd/C+/2pGGGb+8FJBjD79NOGsL7udfQvgnFJbLKKk9DiBjyPTO2mi X-Received: by 2002:a17:906:6a09:b0:730:e9bc:e243 with SMTP id qw9-20020a1709066a0900b00730e9bce243mr7018149ejc.177.1660455158325; Sat, 13 Aug 2022 22:32:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660455158; cv=none; d=google.com; s=arc-20160816; b=PNb3JREdwBbDrbMb7Zi5xcFzfK3H4pxP0m6BFEF4/ELLjTRUy9iLv4yIeiBTrobVr2 Kk4w0v+thDXufMBDG3OOw/w357836sxH1wTQNBia7RaiOHpliEJ2Ufor8bvqHZ228xyV ZJiGRR/idUATZQHZ1dWiC8jMF1E3n5cX6Eg32HrILPO/N2SOueTjRXALyaySToQ8fn51 me6vPZXIE9BkDCKKfrWcbkJ03Fy1icJj3SjDbnWXp+GnD+U/lVS6osyQGFjq6EUCABql ulrVkXmMlFzi0Pu7i+CaPqearihNgKD34NyP8P7otTxEy8iCr38qFoFS+8+6pRVPX0lx T/zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:feedback-id :dkim-signature:dkim-signature; bh=arK7yru82mNQyxKZ58FhgyMo4fbKApN5PwTcq+J5WBg=; b=OlkQLMn56eR0a14FIvxV69hQQm2VuENz0g+ssIU7QIwzJixrXwAPkenHglnlIImau3 HEVy8WMTxU8FKoVFXUWJAeE2dK4XQw+dLv66WYcsNqRoXJMswYoG5HVLIQ7ioL9lCBak 2GelP8fodxT/knVlTOs9RLR3uq74c9Nmz75vRerQbfo/usJsdsL5epuNN18eTjVKJw7F aL4u7isJzS2chlzXy82nT7jf9adOJW06HI0VPINd49iR7ndD1F0UgenVGMphLvi5RLvF SR9dBHJM1Uu59TJyesuhrE88Y+6XmqFN6X/2Gdom6dUpWbt8UTIRKr9TqhGz3gIEm5ef iO6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@anarazel.de header.s=fm1 header.b=VkCNbD74; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=28wb70dX; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dr22-20020a170907721600b0072a6d845d96si5067578ejc.8.2022.08.13.22.32.08; Sat, 13 Aug 2022 22:32:38 -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=@anarazel.de header.s=fm1 header.b=VkCNbD74; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=28wb70dX; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229759AbiHNDwv (ORCPT + 99 others); Sat, 13 Aug 2022 23:52:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229599AbiHNDwt (ORCPT ); Sat, 13 Aug 2022 23:52:49 -0400 Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48C791C109; Sat, 13 Aug 2022 20:52:47 -0700 (PDT) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A97E25C0084; Sat, 13 Aug 2022 23:52:42 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 13 Aug 2022 23:52:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1660449162; x=1660535562; bh=arK7yru82m NQyxKZ58FhgyMo4fbKApN5PwTcq+J5WBg=; b=VkCNbD74dikSXuAA+bHCGFhlU0 Dk6jAzPelWLzpCyHqMqNy8iKvsioCz8IwQ9+15uJj2XSPF308XyDr+GDt685irb8 77tyu1dQtcHXMoT7AjBlec/k7A7bVe2WiPqAJtbLAEOWDaG02JgdZXw6MJhXG2/7 vAjyTHL7/yaCCRtAPqNx4XhvjCLgj0d/uOrIIzzzNXqpHulqExoOHFU4tfmdIYoh mnIQXJK3sydPsiCaj6pupanGkxeHD0gjFeNGrJyMmtjRcsWR1buvdPMqkY/Y/B8h fqGnqaaoN0D7VsrCquyAyTdMSsz8szx5ubgTjMwubLYqKquerh5Lv4PhT+dw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1660449162; x=1660535562; bh=arK7yru82mNQyxKZ58FhgyMo4fbK ApN5PwTcq+J5WBg=; b=28wb70dXB3yL0tuhQqMllb0PazCuy9MkFUANde0zFpmi zjDIqAp9iC9TifmtPU6aEDx8qlpnM2FencSb8sroJlhrDBUt8ExESG7+5vtbzw4p NQvAnJy7QiPsxyTqRb/GeLQhFv2AIciIAwNIg61ElHqXTEGqacLms27Kw08aGehX zTRopaOOV9d+bds3c0+tM4wMIBGrpxaq8elOpaFaouHfhTt01tw1gksBlAR8FCNY m+eeggQl0kk5VLICCEBMMdJOFocxVPmiswKB56ubeartbq1c5fjA/LXN5jtmZ7Lh dORlVi8YEz8fh7v0t84GmGpDkdw7IIAowUU33exo4A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdegledgjeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrf grthhtvghrnhephefftdffheduffehffdtgfejgffhveehueeivdfhfefhfeekheeugfeg fefgleffnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgurhgvshesrghnrghrrgiivghl rdguvg X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 13 Aug 2022 23:52:40 -0400 (EDT) Date: Sat, 13 Aug 2022 20:52:39 -0700 From: Andres Freund To: Xuan Zhuo Cc: Linus Torvalds , kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, alvaro.karsz@solid-run.com, colin.i.king@gmail.com, colin.king@intel.com, dan.carpenter@oracle.com, david@redhat.com, elic@nvidia.com, eperezma@redhat.com, gautam.dawar@xilinx.com, gshan@redhat.com, hdegoede@redhat.com, hulkci@huawei.com, jasowang@redhat.com, jiaming@nfschina.com, kangjie.xu@linux.alibaba.com, lingshan.zhu@intel.com, liubo03@inspur.com, michael.christie@oracle.com, pankaj.gupta@amd.com, peng.fan@nxp.com, quic_mingxue@quicinc.com, robin.murphy@arm.com, sgarzare@redhat.com, suwan.kim027@gmail.com, syoshida@redhat.com, xieyongji@bytedance.com, xuqiang36@huawei.com, "Michael S. Tsirkin" Subject: Re: [GIT PULL] virtio: fatures, fixes Message-ID: <20220814035239.m7rtepyum5xvtu2c@awork3.anarazel.de> References: <20220812114250-mutt-send-email-mst@kernel.org> <20220814004522.33ecrwkmol3uz7aq@awork3.anarazel.de> <1660441835.6907768-1-xuanzhuo@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1660441835.6907768-1-xuanzhuo@linux.alibaba.com> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Hi, On 2022-08-14 09:50:35 +0800, Xuan Zhuo wrote: > Sorry, I didn't get any valuable information from the logs, can you tell me how > to get such an image? Or how your [1] script is executed. Is there specific information you'd like from the VM? I just recreated the problem and can extract. The last image that succeeded getting built is publically available, so you could create a gcp VM for that, go to /usr/src/linux, git pull, make & install the new kernel and reproduce the problem that way. The git pull will take a bit because it's a shallow clone... gcloud compute instances create myvm --preemptible --project your-gcp-project --image-project pg-ci-images --image pg-ci-sid-newkernel-2022-08-12t06-52 --zone us-west1-a --custom-cpu=4 --custom-memory=4 --metadata=serial-port-enable=true If you want to log in via serial console, you'd have set a password before rebooting. gcloud compute connect-to-serial-port --zone us-west1-a --project=pg-ci-images-dev myvm Executing the script requires a gcp key with the right to create instances and images. Here's how to invoke it: PACKER_LOG=1 GOOGLE_APPLICATION_CREDENTIALS=~/image-builder@pg-ci-images-dev.iam.gserviceaccount.com.json \ packer build \ -var gcp_project=pg-ci-images-dev \ -var "image_date=$(date --utc +'%Y-%m-%dt%H-%M')" \ -var "task_name=sid-newkernel" \ -only 'linux.googlecompute.sid-newkernel' \ -on-error=ask \ packer/linux_debian.pkr.hcl Of course you'd need to change the gcp_project= variable to point to a the project you have access to and GOOGLE_APPLICATION_CREDENTIALS to point to your gcp key. Initially (package upgrades, kernel builds) the VM would be SSH accessible. After building the kernel it's only accessible via serial console. I can probably also get you the image in some other form that you prefer, although I don't know if the problem will reproduce outside gcp. If helpful I could upload a "broken" gcp image that you could use to > > [1] https://github.com/anarazel/pg-vm-images/blob/main/packer/linux_debian.pkr.hcl#L225 Greetings, Andres Freund