From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76BB8C433E0 for ; Mon, 8 Feb 2021 17:34:24 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E3B5664DFF for ; Mon, 8 Feb 2021 17:34:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E3B5664DFF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:58338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9AQY-0006mw-VD for qemu-devel@archiver.kernel.org; Mon, 08 Feb 2021 12:34:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l93lW-0005dg-KN for qemu-devel@nongnu.org; Mon, 08 Feb 2021 05:27:35 -0500 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]:39695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l93lG-0001ho-KK for qemu-devel@nongnu.org; Mon, 08 Feb 2021 05:27:29 -0500 Received: by mail-ed1-x534.google.com with SMTP id y8so17417513ede.6 for ; Mon, 08 Feb 2021 02:27:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hFx+wOTDcNVjbhGQu+yUzGxUhMkwCgrOP6VvbKH1Thw=; b=uZFomgLwoL87yFgbPOrFUZR315zVM3KPtsJGoMQFNNmMy9xaAmoCexv7yzt/rUxql6 j1dv9M5RifU38o3L7uCfG3KQeDdfLir8Ti8vpEkMgXEDk4SKPHx/NJlMurqYX3Cf71oJ 6YZziE0vBd66jT6pG5dQNBUyiOzuW+y6RlOQ4qOrRCtB/37gTKL8wn4KsSF0UpER7VD3 m5LeaJECNTO1QMs8rEuE+Aa6BnucPJm5xhGe4neHazzT6ywa3dKNDJE5jdbcxzzd7eGL q4QbbhJdF4daWVk7chSuvgGKT/cQb4jt+531mfvaOx1JpBjyDAbbzLn3xbO3/vc4kkrE /75g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hFx+wOTDcNVjbhGQu+yUzGxUhMkwCgrOP6VvbKH1Thw=; b=Wka9Nu6Gj9bFR7hmRFSi8/sLd+9113V2bzBH+iiMuc/lxIvr/nDz+52wAc3i6/jSuZ TOULLNo9iBrDF8qwwR5fgylEilzhOTU/ss1eFdxi2DXrHmh7rQBAzfx51Ly55/q8KQm5 diTv/KMx9P5ytR0IZbdgNllQh2LAk90jm9S9tUAlOUUCGzJS7yKqFjuM2s9ZuwHlGwxd Exc03YRhdaXzUg+hF9qFdV5fIFtfLj75K54T9AoLw6/5L4DjjBvIPojGKt2q0/hAOJQp XwPomAYV6F9/9JwYKKA6ICPzJ+iP9AhFaZwfv+pHIVN2n8Ef0QUphgS+6PRfgClmhIhB z5KA== X-Gm-Message-State: AOAM533kqXnCDyb6D2a0zQ53O3MKEYPIRKn2V93d/lKP2z/FcQ/roNZG hc0wKk/kQu3YD8YYhS4nUk25zncahwW/o7yvhW2IwQ== X-Google-Smtp-Source: ABdhPJwIyeEKnkjFGcT7knw+T8tq/rjHzE9RTw7HSTIqcDGez1ukrGejOJh+7ez4m5SVSAHRtkHxAaQdXs3CowEfKCU= X-Received: by 2002:a05:6402:541:: with SMTP id i1mr7787498edx.36.1612780035055; Mon, 08 Feb 2021 02:27:15 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Peter Maydell Date: Mon, 8 Feb 2021 10:27:03 +0000 Message-ID: Subject: Re: getting the console output for s390 cdrom-test? To: Thomas Huth Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::534; envelope-from=peter.maydell@linaro.org; helo=mail-ed1-x534.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-s390x , Eric Farman , Cornelia Huck , QEMU Developers Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Thu, 4 Feb 2021 at 16:08, Thomas Huth wrote: > > On 22/01/2021 21.32, Peter Maydell wrote: > > Hi; I've been looking at why the s390 cdrom test has an intermittent > > failure on my aarch64 box. Looking at some TCG debug log output > > I think what is happening is that sometimes execution diverges from > > a successful run inside virtio_scsi_setup() and we end up failing > > a vs_assert(), which triggers a "Guest crashed on cpu 0: disabled-wait" > > which then makes the qtest hang until its timeout. > > > > I think that vs_assert() ought to be printing some information > > to the console about which assert fails when it happens, but > > how do I need to tweak the qtest to get it to capture this > > console log somewhere? > > Hi! > > Sorry for the late reply ... did you get any further with this already? No, I've been mostly working on other stuff. Thanks for the instructions on how to capture stdio. This is what a success looks like: LOADPARM=[ ] Using virtio-scsi. Warning: Could not locate a usable virtio-scsi device Using virtio-blk. Using guessed DASD geometry. Using ECKD scheme (block size 4096), CDL No zIPL section in IPL2 record. zIPL load failed. Using virtio-blk. ISO boot image size verified And this is a failure: LOADPARM=[ ] Using virtio-scsi. target: 0x0000000000000094 ! SCSI cannot report LUNs: response VS RESP=09 ! > A Heisen-bug ... ugh ... but I wonder whether it's maybe rather an issue in > the aarch64 TCG backend, since we've never seen this on other architectures > before? Certainly possible; but I would tend to expect TCG backend issues to be consistently reproducible, not intermittent like this one. thanks -- PMM