From: Christian Schoenebeck <linux_oss@crudebyte.com>
To: Robert Schwebel <r.schwebel@pengutronix.de>
Cc: Eric Van Hensbergen <ericvh@kernel.org>,
Robert Schwebel <r.schwebel@pengutronix.de>,
Latchesar Ionkov <lucho@ionkov.net>,
Dominique Martinet <asmadeus@codewreck.org>,
v9fs@lists.linux.dev, kernel@pengutronix.de
Subject: Re: mmap on 9p broken in 6.4
Date: Wed, 12 Jul 2023 17:57:40 +0200 [thread overview]
Message-ID: <13302114.90OgOEUrqp@silver> (raw)
In-Reply-To: <ZK61Kpii5To2zMJx@pengutronix.de>
On Wednesday, July 12, 2023 4:14:02 PM CEST Robert Schwebel wrote:
> Christian,
>
> On Wed, Jul 12, 2023 at 11:01:53AM +0200, Christian Schoenebeck wrote:
> > > TL;DR: mmap() seems to be broken on 9pfs on Linux 6.4. setting
> > > "rootflags=ignoreqv" fixes it as well, but it feels like a regression.
> >
> > What's the precise set of 9p mount options on guest, which 9p server is used
> > and what are 9p server's options respectively?
>
> The server is qemu, started like this:
>
> qemu-system-arm -machine vexpress-a9 -cpu cortex-a9 -smp 4 -m 1024M -nographic -no-reboot -net nic,netdev=net1 -netdev user,id=net1,hostfwd=tcp:127.0.0.1:27737-:22,hostfwd=tcp:127.0.0.1:12345-:12345 -rtc base=2000-01-01 -object rng-random,filename=/dev/random,id=rng0 -device virtio-rng-device,rng=rng0 -device virtio-scsi-device,id=scsi -fsdev local,id=rootfs,path=./platform-v7a/root,security_model=mapped-file -device virtio-9p-device,fsdev=rootfs,mount_tag=/dev/root -kernel ./platform-v7a/images/linuximage -dtb ./platform-v7a/images/vexpress-v2p-ca9.dtb -append 'root=/dev/root rootfstype=9p rootflags=trans=virtio console=ttyAMA0,115200 loglevel=5 systemd.show_status=auto'
>
> This is qemu 8.0.2.
Does adding QEMU option "multidevs=remap" [1] resolve it?
[1] https://wiki.qemu.org/Documentation/9psetup#Starting_the_Guest_directly
> > > I could track down the breakage to
> > >
> > > 1543b4c5071c54d76aad7a7a26a6e43082269b0c
> >
> > This patch is sensitive about 9p server transmitting a meaningful value for
> > file's QID version field. That's why more info about deployed 9p server would
> > help.
>
> rsc
>
next prev parent reply other threads:[~2023-07-12 15:57 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-11 20:19 mmap on 9p broken in 6.4 Robert Schwebel
2023-07-12 9:01 ` Christian Schoenebeck
2023-07-12 14:14 ` Robert Schwebel
2023-07-12 15:57 ` Christian Schoenebeck [this message]
2023-07-12 22:15 ` Robert Schwebel
2023-07-13 7:50 ` Christian Schoenebeck
[not found] ` <CAFkjPTmrbe9Djs_iYf=vu1xbTLhey0OmePR2Jw=C_dbQVYnAhQ@mail.gmail.com>
2023-07-13 10:54 ` Christian Schoenebeck
2023-07-14 5:36 ` Robert Schwebel
2023-07-16 14:54 ` Eric Van Hensbergen
2023-07-16 19:48 ` Eric Van Hensbergen
2023-07-17 11:26 ` Robert Schwebel
2023-07-17 15:29 ` Eric Van Hensbergen
2023-07-17 18:11 ` Eric Van Hensbergen
2023-07-17 18:59 ` Eric Van Hensbergen
2023-07-14 5:34 ` Robert Schwebel
2023-07-13 11:22 ` Linux regression tracking #adding (Thorsten Leemhuis)
2023-07-26 14:07 ` Linux regression tracking #update (Thorsten Leemhuis)
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=13302114.90OgOEUrqp@silver \
--to=linux_oss@crudebyte.com \
--cc=asmadeus@codewreck.org \
--cc=ericvh@kernel.org \
--cc=kernel@pengutronix.de \
--cc=lucho@ionkov.net \
--cc=r.schwebel@pengutronix.de \
--cc=v9fs@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.