Linux virtualization list
 help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Cc: peng.fan@nxp.com, kvm@vger.kernel.org,
	alvaro.karsz@solid-run.com,
	virtualization@lists.linux-foundation.org,
	quic_mingxue@quicinc.com, syoshida@redhat.com, elic@nvidia.com,
	eperezma@redhat.com, "Michael S. Tsirkin" <mst@redhat.com>,
	jiaming@nfschina.com, hulkci@huawei.com, liubo03@inspur.com,
	dan.carpenter@oracle.com, kangjie.xu@linux.alibaba.com,
	robin.murphy@arm.com, hdegoede@redhat.com, pankaj.gupta@amd.com,
	gautam.dawar@xilinx.com, suwan.kim027@gmail.com,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	xuqiang36@huawei.com, xieyongji@bytedance.com,
	colin.i.king@gmail.com, lingshan.zhu@intel.com,
	colin.king@intel.com,
	Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: [GIT PULL] virtio: fatures, fixes
Date: Sat, 13 Aug 2022 20:52:39 -0700	[thread overview]
Message-ID: <20220814035239.m7rtepyum5xvtu2c@awork3.anarazel.de> (raw)
In-Reply-To: <1660441835.6907768-1-xuanzhuo@linux.alibaba.com>

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
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

  reply	other threads:[~2022-08-14  3:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-12 15:42 [GIT PULL] virtio: fatures, fixes Michael S. Tsirkin
2022-08-12 16:59 ` pr-tracker-bot
2022-08-14  0:45 ` Andres Freund
2022-08-14  1:50   ` Xuan Zhuo
2022-08-14  3:52     ` Andres Freund [this message]
2022-08-14  4:39       ` Andres Freund
2022-08-14  8:59         ` Michael S. Tsirkin
2022-08-14 19:40           ` Andres Freund
2022-08-15  7:02             ` Andres Freund

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220814035239.m7rtepyum5xvtu2c@awork3.anarazel.de \
    --to=andres@anarazel.de \
    --cc=alvaro.karsz@solid-run.com \
    --cc=colin.i.king@gmail.com \
    --cc=colin.king@intel.com \
    --cc=dan.carpenter@oracle.com \
    --cc=elic@nvidia.com \
    --cc=eperezma@redhat.com \
    --cc=gautam.dawar@xilinx.com \
    --cc=hdegoede@redhat.com \
    --cc=hulkci@huawei.com \
    --cc=jiaming@nfschina.com \
    --cc=kangjie.xu@linux.alibaba.com \
    --cc=kvm@vger.kernel.org \
    --cc=lingshan.zhu@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liubo03@inspur.com \
    --cc=mst@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=pankaj.gupta@amd.com \
    --cc=peng.fan@nxp.com \
    --cc=quic_mingxue@quicinc.com \
    --cc=robin.murphy@arm.com \
    --cc=suwan.kim027@gmail.com \
    --cc=syoshida@redhat.com \
    --cc=torvalds@linux-foundation.org \
    --cc=virtualization@lists.linux-foundation.org \
    --cc=xieyongji@bytedance.com \
    --cc=xuanzhuo@linux.alibaba.com \
    --cc=xuqiang36@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox