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=-0.8 required=3.0 tests=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 49278C433DF for ; Sun, 17 May 2020 10:51:26 +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 15D432070A for ; Sun, 17 May 2020 10:51:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 15D432070A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bugs.launchpad.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:60060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaGtA-0001LZ-QE for qemu-devel@archiver.kernel.org; Sun, 17 May 2020 06:51:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaGsU-0000rS-Nc for qemu-devel@nongnu.org; Sun, 17 May 2020 06:50:42 -0400 Received: from indium.canonical.com ([91.189.90.7]:53372) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jaGsT-0006oU-AW for qemu-devel@nongnu.org; Sun, 17 May 2020 06:50:42 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1jaGsR-0003wo-Jj for ; Sun, 17 May 2020 10:50:39 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 903E62E805B for ; Sun, 17 May 2020 10:50:39 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sun, 17 May 2020 10:39:47 -0000 From: felix <1878915@bugs.launchpad.net> To: qemu-devel@nongnu.org X-Launchpad-Notification-Type: bug X-Launchpad-Bug: product=qemu; status=New; importance=Undecided; assignee=None; X-Launchpad-Bug-Tags: floppy io-uring X-Launchpad-Bug-Information-Type: Public X-Launchpad-Bug-Private: no X-Launchpad-Bug-Security-Vulnerability: no X-Launchpad-Bug-Commenters: felix.von.s X-Launchpad-Bug-Reporter: felix (felix.von.s) X-Launchpad-Bug-Modifier: felix (felix.von.s) References: <158954872808.31513.13433748579796760766.malonedeb@chaenomeles.canonical.com> Message-Id: <158971198762.31513.6734254493378419142.launchpad@chaenomeles.canonical.com> Subject: [Bug 1878915] Re: util/fdmon-io_uring.c:95: get_sqe: Assertion `ret > 1' failed. X-Launchpad-Message-Rationale: Subscriber (QEMU) @qemu-devel-ml X-Launchpad-Message-For: qemu-devel-ml Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="0385b538081bc4718df6fb844a3afc89729c94ce"; Instance="production-secrets-lazr.conf" X-Launchpad-Hash: ef01a0838b27f78b37566dbd058c2ea150360647 Received-SPF: none client-ip=91.189.90.7; envelope-from=bounces@canonical.com; helo=indium.canonical.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/17 06:50:40 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -65 X-Spam_score: -6.6 X-Spam_bar: ------ X-Spam_report: (-6.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bug 1878915 <1878915@bugs.launchpad.net> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" ** Description changed: qemu 5.0.0, liburing1 0.6-3, Linux 5.6.0-1-686-pae (Debian) = Stack trace: = - Stack trace of thread 31002: - #0 0x00000000b7faf1cd __kernel_vsyscall (linux-gate.so.1= + 0x11cd) - #1 0x00000000b6c618e2 __libc_signal_restore_set (libc.so= .6 + 0x348e2) - #2 0x00000000b6c4a309 __GI_abort (libc.so.6 + 0x1d309) - #3 0x00000000b6c4a1d1 __assert_fail_base (libc.so.6 + 0x= 1d1d1) - #4 0x00000000b6c59929 __GI___assert_fail (libc.so.6 + 0x= 2c929) - #5 0x0000000000ba80be get_sqe (qemu-system-i386 + 0x6d00= be) - #6 0x0000000000ba80cb add_poll_add_sqe (qemu-system-i386= + 0x6d00cb) - #7 0x0000000000ba820c fill_sq_ring (qemu-system-i386 + 0= x6d020c) - #8 0x0000000000ba7145 aio_poll (qemu-system-i386 + 0x6cf= 145) - #9 0x0000000000aede63 blk_prw (qemu-system-i386 + 0x615e= 63) - #10 0x0000000000aeef95 blk_pread (qemu-system-i386 + 0x61= 6f95) - #11 0x00000000008abbfa fdctrl_transfer_handler (qemu-syst= em-i386 + 0x3d3bfa) - #12 0x0000000000906c3d i8257_channel_run (qemu-system-i38= 6 + 0x42ec3d) - #13 0x00000000008ac119 fdctrl_start_transfer (qemu-system= -i386 + 0x3d4119) - #14 0x00000000008ab233 fdctrl_write_data (qemu-system-i38= 6 + 0x3d3233) - #15 0x0000000000708ae7 memory_region_write_accessor (qemu= -system-i386 + 0x230ae7) - #16 0x00000000007059e1 access_with_adjusted_size (qemu-sy= stem-i386 + 0x22d9e1) - #17 0x000000000070b931 memory_region_dispatch_write (qemu= -system-i386 + 0x233931) - #18 0x00000000006a87a2 address_space_stb (qemu-system-i38= 6 + 0x1d07a2) - #19 0x0000000000829216 helper_outb (qemu-system-i386 + 0x= 351216) - #20 0x00000000b06d9fdc n/a (n/a + 0x0) + Stack trace of thread 31002: + #0 0x00000000b7faf1cd __kernel_vsyscall (linux-gate.so.1 + 0x11cd) + #1 0x00000000b6c618e2 __libc_signal_restore_set (libc.so.6 + 0x348e2) + #2 0x00000000b6c4a309 __GI_abort (libc.so.6 + 0x1d309) + #3 0x00000000b6c4a1d1 __assert_fail_base (libc.so.6 + 0x1d1d1) + #4 0x00000000b6c59929 __GI___assert_fail (libc.so.6 + 0x2c929) + #5 0x0000000000ba80be get_sqe (qemu-system-i386 + 0x6d00be) + #6 0x0000000000ba80cb add_poll_add_sqe (qemu-system-i386 + 0x6d00cb) + #7 0x0000000000ba820c fill_sq_ring (qemu-system-i386 + 0x6d020c) + #8 0x0000000000ba7145 aio_poll (qemu-system-i386 + 0x6cf145) + #9 0x0000000000aede63 blk_prw (qemu-system-i386 + 0x615e63) + #10 0x0000000000aeef95 blk_pread (qemu-system-i386 + 0x616f95) + #11 0x00000000008abbfa fdctrl_transfer_handler (qemu-system-i386 + 0x3d3b= fa) + #12 0x0000000000906c3d i8257_channel_run (qemu-system-i386 + 0x42ec3d) + #13 0x00000000008ac119 fdctrl_start_transfer (qemu-system-i386 + 0x3d4119) + #14 0x00000000008ab233 fdctrl_write_data (qemu-system-i386 + 0x3d3233) + #15 0x0000000000708ae7 memory_region_write_accessor (qemu-system-i386 + 0= x230ae7) + #16 0x00000000007059e1 access_with_adjusted_size (qemu-system-i386 + 0x22= d9e1) + #17 0x000000000070b931 memory_region_dispatch_write (qemu-system-i386 + 0= x233931) + #18 0x00000000006a87a2 address_space_stb (qemu-system-i386 + 0x1d07a2) + #19 0x0000000000829216 helper_outb (qemu-system-i386 + 0x351216) + #20 0x00000000b06d9fdc n/a (n/a + 0x0) = Steps: = 0. qemu-img create -f raw fda.img 3840K 1. mformat -i fda.img -n 48 -t 80 -h 2 2. qemu-system-i386 -fda fda.img -hda freedos.qcow2 3. Attempt to run 'dosfsck a:' in the guest = According to hw/block/fdc.c, a 3840K image should result in a virtual floppy with a geometry of 48 sectors/track x 80 tracks x 2 sides. = The assert seems bogus either way. -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1878915 Title: util/fdmon-io_uring.c:95: get_sqe: Assertion `ret > 1' failed. Status in QEMU: New Bug description: qemu 5.0.0, liburing1 0.6-3, Linux 5.6.0-1-686-pae (Debian) Stack trace: Stack trace of thread 31002: #0 0x00000000b7faf1cd __kernel_vsyscall (linux-gate.so.1 + 0x11cd) #1 0x00000000b6c618e2 __libc_signal_restore_set (libc.so.6 + 0x348e2) #2 0x00000000b6c4a309 __GI_abort (libc.so.6 + 0x1d309) #3 0x00000000b6c4a1d1 __assert_fail_base (libc.so.6 + 0x1d1d1) #4 0x00000000b6c59929 __GI___assert_fail (libc.so.6 + 0x2c929) #5 0x0000000000ba80be get_sqe (qemu-system-i386 + 0x6d00be) #6 0x0000000000ba80cb add_poll_add_sqe (qemu-system-i386 + 0x6d00cb) #7 0x0000000000ba820c fill_sq_ring (qemu-system-i386 + 0x6d020c) #8 0x0000000000ba7145 aio_poll (qemu-system-i386 + 0x6cf145) #9 0x0000000000aede63 blk_prw (qemu-system-i386 + 0x615e63) #10 0x0000000000aeef95 blk_pread (qemu-system-i386 + 0x616f95) #11 0x00000000008abbfa fdctrl_transfer_handler (qemu-system-i386 + 0x3d3b= fa) #12 0x0000000000906c3d i8257_channel_run (qemu-system-i386 + 0x42ec3d) #13 0x00000000008ac119 fdctrl_start_transfer (qemu-system-i386 + 0x3d4119) #14 0x00000000008ab233 fdctrl_write_data (qemu-system-i386 + 0x3d3233) #15 0x0000000000708ae7 memory_region_write_accessor (qemu-system-i386 + 0= x230ae7) #16 0x00000000007059e1 access_with_adjusted_size (qemu-system-i386 + 0x22= d9e1) #17 0x000000000070b931 memory_region_dispatch_write (qemu-system-i386 + 0= x233931) #18 0x00000000006a87a2 address_space_stb (qemu-system-i386 + 0x1d07a2) #19 0x0000000000829216 helper_outb (qemu-system-i386 + 0x351216) #20 0x00000000b06d9fdc n/a (n/a + 0x0) Steps: 0. qemu-img create -f raw fda.img 3840K 1. mformat -i fda.img -n 48 -t 80 -h 2 2. qemu-system-i386 -fda fda.img -hda freedos.qcow2 3. Attempt to run 'dosfsck a:' in the guest According to hw/block/fdc.c, a 3840K image should result in a virtual floppy with a geometry of 48 sectors/track x 80 tracks x 2 sides. The assert seems bogus either way. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1878915/+subscriptions