From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:33848) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsFRt-0002wA-HI for qemu-devel@nongnu.org; Fri, 08 Feb 2019 18:20:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsFRr-0006dd-Ow for qemu-devel@nongnu.org; Fri, 08 Feb 2019 18:20:45 -0500 Received: from indium.canonical.com ([91.189.90.7]:51094) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsFRp-0006Wu-Q1 for qemu-devel@nongnu.org; Fri, 08 Feb 2019 18:20:43 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1gsFRl-0006zZ-A7 for ; Fri, 08 Feb 2019 23:20:37 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 4B9182E80C7 for ; Fri, 8 Feb 2019 23:20:37 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 08 Feb 2019 23:08:20 -0000 From: john Reply-To: Bug 1815252 <1815252@bugs.launchpad.net> Sender: bounces@canonical.com References: <154966719970.21699.16286451963680929757.malonedeb@chaenomeles.canonical.com> Message-Id: <154966730074.22353.18157467149066233731.malone@chaenomeles.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1815252] Re: virtio-9p-pci passthrough fsync hang List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I forgot to add that the kernel in that image (/usr/lib/kernel/org.clearlinux.*) does not have 9p support. So to compile the kernel I used the attached config -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1815252 Title: virtio-9p-pci passthrough fsync hang Status in QEMU: New Bug description: Tested against QEMU: e47f81b617684c4546af286d307b69014a83538a and $qemu-system-x86_64 --version QEMU emulator version 2.11.1(Debian 1:2.11+dfsg-1ubuntu7.9) Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers + exec sudo qemu-system-x86_64 -enable-kvm -bios /usr/share/ovmf/OVMF.fd = -cpu host -smp sockets=3D1,cpus=3D4,cores=3D2 -m 2048 -vga none -nographic = -chardev socket,id=3Dchrtpm0,path=3D/tmp/clrwifi/swtpm2/tpm-sock -tpmdev em= ulator,id=3Dtpm0,chardev=3Dchrtpm0 -device tpm-tis,tpmdev=3Dtpm0 -device vi= rtio-rng-pci -netdev user,id=3Dmynet0,hostfwd=3Dtcp::10022-:22 -device virt= io-net-pci,netdev=3Dmynet0 -kernel /home/.../Documents/c/iwd/tools/bzImage = -append 'console=3DttyS0,115200n8 quiet kvm-intel.nested=3D1 init=3D/usr/bi= n/bash initcall_debug tsc=3Dreliable no_timer_check noreplace-smp cryptomgr= .notests rootfstype=3D9p root=3D/dev/root rootflags=3Dtrans=3Dvirtio,versio= n=3D9p2000.u rw' -fsdev local,id=3Dfsdev-root,path=3Dmnt,security_model=3Dp= assthrough -device virtio-9p-pci,fsdev=3Dfsdev-root,mount_tag=3D/dev/root [ 0.000000] Linux version 4.19.0-rc2 (...) (gcc version 7.3.0 (Ubuntu = 7.3.0-27ubuntu1~18.04)) #10 SMP Fri Feb 8 13:55:20 PST 2019 [ 0.000000] Command line: console=3DttyS0,115200n8 quiet kvm-intel.nes= ted=3D1 init=3D/usr/bin/bash initcall_debug tsc=3Dreliable no_timer_check n= oreplace-smp cryptomgr.notests rootfstype=3D9p root=3D/dev/root rootflags= =3Dtrans=3Dvirtio,version=3D9p2000.u rw [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating poi= nt registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 = bytes, using 'standard' format. [ 0.000000] BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usa= ble [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000007fffff] usa= ble [ 0.000000] BIOS-e820: [mem 0x0000000000800000-0x0000000000807fff] ACP= I NVS [ 0.000000] BIOS-e820: [mem 0x0000000000808000-0x000000000080ffff] usa= ble [ 0.000000] BIOS-e820: [mem 0x0000000000810000-0x00000000008fffff] ACP= I NVS [ 0.000000] BIOS-e820: [mem 0x0000000000900000-0x000000007e87efff] usa= ble [ 0.000000] BIOS-e820: [mem 0x000000007e87f000-0x000000007e888fff] ACP= I NVS [ 0.000000] BIOS-e820: [mem 0x000000007e889000-0x000000007e889fff] ACP= I data [ 0.000000] BIOS-e820: [mem 0x000000007e88a000-0x000000007e88bfff] usa= ble [ 0.000000] BIOS-e820: [mem 0x000000007e88c000-0x000000007e88ffff] ACP= I NVS [ 0.000000] BIOS-e820: [mem 0x000000007e890000-0x000000007e8a9fff] res= erved [ 0.000000] BIOS-e820: [mem 0x000000007e8aa000-0x000000007e8b9fff] ACP= I NVS [ 0.000000] BIOS-e820: [mem 0x000000007e8ba000-0x000000007e8bafff] res= erved [ 0.000000] BIOS-e820: [mem 0x000000007e8bb000-0x000000007e9e5fff] usa= ble [ 0.000000] BIOS-e820: [mem 0x000000007e9e6000-0x000000007e9edfff] ACP= I NVS [ 0.000000] BIOS-e820: [mem 0x000000007e9ee000-0x000000007eb1afff] res= erved [ 0.000000] BIOS-e820: [mem 0x000000007eb1b000-0x000000007fb9afff] usa= ble [ 0.000000] BIOS-e820: [mem 0x000000007fb9b000-0x000000007fbf2fff] res= erved [ 0.000000] BIOS-e820: [mem 0x000000007fbf3000-0x000000007fbfafff] ACP= I data [ 0.000000] BIOS-e820: [mem 0x000000007fbfb000-0x000000007fbfefff] ACP= I NVS [ 0.000000] BIOS-e820: [mem 0x000000007fbff000-0x000000007ff3ffff] usa= ble [ 0.000000] BIOS-e820: [mem 0x000000007ff40000-0x000000007ff5ffff] res= erved [ 0.000000] BIOS-e820: [mem 0x000000007ff60000-0x000000007fffffff] ACP= I NVS [ 0.352469] acpiphp_ibm: ibm_acpiphp_init: acpi_walk_namespace failed Started bpfilter bash: cannot set terminal process group (-1): Inappropriate ioctl for dev= ice bash: no job control in this shell grep: /proc/cpuinfo: No such file or directory grep: /proc/cpuinfo: No such file or directory root@clr / # passwd ... openat(AT_FDCWD, "/etc/nshadow", O_WRONLY|O_CREAT|O_TRUNC, 0666) =3D 4 umask(077) =3D 077 openat(AT_FDCWD, "/etc/shadow", O_RDONLY|O_CREAT|O_CLOEXEC, 000) =3D 5 fcntl(5, F_GETFL) =3D 0x8000 (flags O_RDONLY|O_LARG= EFILE) fstat(5, {st_mode=3DS_IFREG|0644, st_size=3D0, ...}) =3D 0 fchown(4, 0, 0) =3D 0 fchmod(4, 0100644) =3D 0 lseek(5, 0, SEEK_CUR) =3D 0 fstat(5, {st_mode=3DS_IFREG|0644, st_size=3D0, ...}) =3D 0 read(5, "", 8192) =3D 0 close(5) =3D 0 fstat(4, {st_mode=3DS_IFREG|0644, st_size=3D0, ...}) =3D 0 write(4, "root:$6$jihvB1NonG88C5Yt$kvDCqF7"..., 124) =3D 124 fsync(4 <- hung here To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1815252/+subscriptions