Your message dated Mon, 21 Aug 2023 07:27:58 +0000
with message-id <e1qxzkq-005ps6...@fasolo.debian.org>
and subject line Bug#1049925: fixed in qemu 1:8.0.4+dfsg-2
has caused the Debian Bug report #1049925,
regarding 9pfs support missing
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1049925: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1049925
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: qemu-system-xen
Version: 1:7.2+dfsg-7+deb12u1

Dear Maintainer,

The Xen build of Qemu lacks 9pfs support, which results in guests unable to mount 9pfs shares defined in the domU configuration file. This kind of setup was working correctly in bullseye, before the binaries were split.

The failure is silent on the host side. Qemu does not error out and Xen starts the domU as if the 9pfs backend was set up successfully. Inside the guest, the kernel spits out an error after a 270 seconds delay (see attachment).

The solution is to compile qemu-system-xen with  --enable-virtfs
This option also requires  --enable-attr --enable-cap-ng



Host information:
Debian bookworm
Linux 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-2 (2023-07-27) x86_64 GNU/Linux
libc6 2.36-9+deb12u1
xen 4.17.1+2-gb773c48e36-1
[  270.329274] BUG: kernel NULL pointer dereference, address: 0000000000000000
[  270.329319] #PF: supervisor read access in kernel mode
[  270.329350] #PF: error_code(0x0000) - not-present page
[  270.329380] PGD 0 P4D 0 
[  270.329399] Oops: 0000 [#1] PREEMPT SMP PTI
[  270.329424] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.1.44 #1
[  270.329465] RIP: 0010:strcmp+0xc/0x30
[  270.329495] Code: 48 89 fb 4d 89 c4 31 d2 eb de 45 31 c0 eb ac 0f 0b 66 66 
2e 0f 1f 84 00 00 00 00 00 66 90 31 c0 eb 08 48 83 c0 01 84 d2 74 13 <0f> b6 14 
07 3a 14 06 74 ef 19 c0 83 c8 01 c3 cc cc cc cc 31 c0 c3
[  270.329596] RSP: 0000:ffffc9000001bc70 EFLAGS: 00010246
[  270.329628] RAX: 0000000000000000 RBX: ffff88800382af00 RCX: 0000000000028fc0
[  270.329671] RDX: 0000000000000000 RSI: ffff888002f86d80 RDI: 0000000000000000
[  270.329715] RBP: ffff888002f86d80 R08: ffffc9000001bca8 R09: 0000000000000000
[  270.329758] R10: 000000000000002c R11: 00000004e5dc5048 R12: ffff88800382f000
[  270.329803] R13: ffff8880038fa540 R14: ffff888002f86d80 R15: ffff888003844930
[  270.329847] FS:  0000000000000000(0000) GS:ffff88803ec00000(0000) 
knlGS:0000000000000000
[  270.329892] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  270.329929] CR2: 0000000000000000 CR3: 0000000002210001 CR4: 00000000001706f0
[  270.329980] Call Trace:
[  270.330001]  <TASK>
[  270.330019]  ? __die+0x58/0x9b
[  270.330046]  ? page_fault_oops+0xa9/0x260
[  270.330073]  ? fixup_exception+0x1d/0x330
[  270.330123]  ? exc_page_fault+0x2d6/0x6d0
[  270.330149]  ? update_load_avg+0x7e/0x740
[  270.330177]  ? asm_exc_page_fault+0x22/0x30
[  270.330203]  ? strcmp+0xc/0x30
[  270.330229]  p9_xen_create+0x4d/0xa0
[  270.330258]  p9_client_create+0x2b6/0x600
[  270.330284]  ? __kmalloc_node_track_caller+0x47/0x120
[  270.330317]  v9fs_session_init+0x94/0x710
[  270.330343]  ? __kmem_cache_alloc_node+0x13c/0x3a0
[  270.330376]  ? v9fs_mount+0x3f/0x3d0
[  270.330404]  v9fs_mount+0x59/0x3d0
[  270.330430]  ? vfs_parse_fs_param+0x9b/0x110
[  270.330462]  legacy_get_tree+0x22/0x40
[  270.330488]  vfs_get_tree+0x20/0xb0
[  270.330515]  path_mount+0x45e/0xa80
[  270.330542]  init_mount+0x53/0x87
[  270.330574]  do_mount_root+0x85/0x110
[  270.330602]  mount_root+0xf8/0x14f
[  270.330629]  prepare_namespace+0x131/0x160
[  270.330655]  ? rest_init+0xc0/0xc0
[  270.330679]  kernel_init+0x11/0x110
[  270.330704]  ret_from_fork+0x22/0x30
[  270.330731]  </TASK>
[  270.330748] Modules linked in:
[  270.330773] CR2: 0000000000000000
[  270.330814] ---[ end trace 0000000000000000 ]---
[  270.330861] RIP: 0010:strcmp+0xc/0x30
[  270.330901] Code: 48 89 fb 4d 89 c4 31 d2 eb de 45 31 c0 eb ac 0f 0b 66 66 
2e 0f 1f 84 00 00 00 00 00 66 90 31 c0 eb 08 48 83 c0 01 84 d2 74 13 <0f> b6 14 
07 3a 14 06 74 ef 19 c0 83 c8 01 c3 cc cc cc cc 31 c0 c3
[  270.331044] RSP: 0000:ffffc9000001bc70 EFLAGS: 00010246
[  270.331091] RAX: 0000000000000000 RBX: ffff88800382af00 RCX: 0000000000028fc0
[  270.331154] RDX: 0000000000000000 RSI: ffff888002f86d80 RDI: 0000000000000000
[  270.331217] RBP: ffff888002f86d80 R08: ffffc9000001bca8 R09: 0000000000000000
[  270.331280] R10: 000000000000002c R11: 00000004e5dc5048 R12: ffff88800382f000
[  270.331343] R13: ffff8880038fa540 R14: ffff888002f86d80 R15: ffff888003844930
[  270.331407] FS:  0000000000000000(0000) GS:ffff88803ec00000(0000) 
knlGS:0000000000000000
[  270.331470] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  270.331510] CR2: 0000000000000000 CR3: 0000000002210001 CR4: 00000000001706f0
[  270.331570] note: swapper/0[1] exited with irqs disabled
[  270.331632] note: swapper/0[1] exited with preempt_count 1
[  270.331699] Kernel panic - not syncing: Attempted to kill init! 
exitcode=0x00000009
[  270.331857] Kernel Offset: disabled
[  270.331896] Rebooting in 1 seconds..


--- End Message ---
--- Begin Message ---
Source: qemu
Source-Version: 1:8.0.4+dfsg-2
Done: Michael Tokarev <m...@tls.msk.ru>

We believe that the bug you reported is fixed in the latest version of
qemu, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1049...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Tokarev <m...@tls.msk.ru> (supplier of updated qemu package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 21 Aug 2023 09:57:59 +0300
Source: qemu
Architecture: source
Version: 1:8.0.4+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian QEMU Team <pkg-qemu-de...@lists.alioth.debian.org>
Changed-By: Michael Tokarev <m...@tls.msk.ru>
Closes: 1049925 1050140 1050142
Changes:
 qemu (1:8.0.4+dfsg-2) unstable; urgency=medium
 .
   * remove linux-user-show-heap-address-in-proc-pid-maps.patch
   * pick 2 nvme fixes from upstream:
    - hw-nvme-fix-oob-memory-read-in-fdp-events-log-CVE-2023-4135.patch
      Closes: #1050142, CVE-2023-4135
    - hw-nvme-fix-null-pointer-access-in-directive-receive-CVE-2023-40360.patch
      Closes: #1050140, CVE-2023-40360
   * d/rules: --enable-virtfs (--enable-attr --enable-cap-ng) for xen build
     to enable 9pfs (Closes: #1049925)
   * d/rules: run-qemu.mount is linux-specific too
     (if we ever do non-linux system build)
   * d/control: disable sndio on debian too (disabled on ubuntu), for now anyway
   * d/*.install, d/rules: explicitly list all qemu-system modules
   * d/control: build-depend on libglib2.0-dev (forgotten!) and zlib1g-dev,
     move the two to the top before all optional deps
   * d/changelog: fix 7.1+dfsg-1 changelog entry (qemu-user and qemu-system)
Checksums-Sha1:
 67af15294dec273ecd6e39ecb06de5bdcefbb91a 7632 qemu_8.0.4+dfsg-2.dsc
 204aac4b15cbcd7826bea25066998f119d101c24 107052 qemu_8.0.4+dfsg-2.debian.tar.xz
 d9fa4fedbb3f094b09dd30dbe6bcea6471ed5045 14015 
qemu_8.0.4+dfsg-2_source.buildinfo
Checksums-Sha256:
 eb31e0e54d309b5e6b8b9bd8a6673b3e25d1b85cf8109ac71b81a552fe1c233e 7632 
qemu_8.0.4+dfsg-2.dsc
 d9521bc24c7923ef2582b41fe50b4afbad31a23d6e8b3bd0eca5da94b17eae4a 107052 
qemu_8.0.4+dfsg-2.debian.tar.xz
 cfe084e1e3c8065448a9e429fc54d51d1d5e765531c8557d603d4ddbb449e0a3 14015 
qemu_8.0.4+dfsg-2_source.buildinfo
Files:
 6831ff16bd07143b8b99eb4e3d350041 7632 otherosfs optional qemu_8.0.4+dfsg-2.dsc
 f7078cfab11abaad9266a0bcaf2aa321 107052 otherosfs optional 
qemu_8.0.4+dfsg-2.debian.tar.xz
 72f3dd7f3baefcc92eacee65f3d26f42 14015 otherosfs optional 
qemu_8.0.4+dfsg-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQFDBAEBCgAtFiEEe3O61ovnosKJMUsicBtPaxppPlkFAmTjCwkPHG1qdEB0bHMu
bXNrLnJ1AAoJEHAbT2saaT5ZzPgH/irXlbjvdJ//ViD32AalG8HuyyChhYFiQrKf
tAP0cqXtgBQnwARxOFR2QBSA8zAwjnp/fQl3pW7SL3+MM/6O7q77LVsP4gWvSdQm
nRT6v/gq1iRzOQ4irwaWVsF46vq8b4pJuhMvQd/krjFjzh3yhbEhMPE1LsI9+TVH
VM07qZSPeh2WVQIIyYVVmht753Moaew6oduQgLxojRtsvaVXlT7LtErzxfahDGu8
UGQjTEH6l/MM8lQQdS0oeTKciw5uahMtZ28DGxe9KESfQ1OSztPirEHH1gKGUFOR
ImNS7Trq8q/NG/AGWiDDbXKnjFfM85L0eyF4kvhTnhPCGtFKJGI=
=Yp1R
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to