From: Dominique Martinet <asmadeus@codewreck.org>
To: Itaru Kitayama <itaru.kitayama@linux.dev>
Cc: v9fs@lists.linux.dev
Subject: Re: ftruncate fails
Date: Mon, 8 Apr 2024 13:07:07 +0900 [thread overview]
Message-ID: <ZhNta7QZBrIO71mJ@codewreck.org> (raw)
In-Reply-To: <74C91BF3-4BC7-46A7-9BB2-1360E07B6FE5@linux.dev>
Itaru Kitayama wrote on Mon, Apr 08, 2024 at 11:22:56AM +0900:
>> FVP and just mount -t 9p FM /mnt
FVP is the arm "fixed virutal platforms"?
I've never used it and the doc I just found doesn't clarify much but it
looks like each individual "model" provides its own emulation program,
so they each might have a different 9p server.. doesn't look like
qemu-based either.
We have had other reports of problems with 9p recently (since 6.9-rc1)
so I'll keep digging with qemu for now, but writing down to try FVP
eventually.
> >> - Does this reproduce right after boot/mounting the 9p filesystem?
> >
> > Not immediately after the boot/mounting.
>
> My reproducer wasn’t explaining what a kselftests was showing.
>
> If you build the “mm” subsystem and execute one of the programs,
> gup_longterm from the 9p mounted directory, you’ll notice the
> ftruncate error.
Okay, the failure from gup_longterm isn't what you describe in your
first mail (no bus error, ENOENT on ftruncate)
I think it is a new bug though:
openat(AT_FDCWD, "gup_longterm.c_tmpfile_vKvLVC", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
unlink("gup_longterm.c_tmpfile_vKvLVC") = 0
fstatfs(3, 0x7ffcf7f74920) = -1 ENOENT (No such file or directory)
ftruncate(3, 4096) = -1 ENOENT (No such file or directory)
I think that used to work, we need to fix this.
If you can reproduce the bus error though I'd be very interested.
--
Dominique Martinet | Asmadeus
next prev parent reply other threads:[~2024-04-08 4:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-08 1:44 ftruncate fails Itaru Kitayama
2024-04-08 2:01 ` Dominique Martinet
2024-04-08 2:08 ` Itaru Kitayama
2024-04-08 2:22 ` Itaru Kitayama
2024-04-08 4:07 ` Dominique Martinet [this message]
2024-04-16 14:16 ` Eric Van Hensbergen
2024-04-12 20:36 ` Itaru Kitayama
2024-04-17 0:20 ` Eric Van Hensbergen
2024-04-17 0:25 ` Itaru Kitayama
2024-04-17 0:41 ` Eric Van Hensbergen
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=ZhNta7QZBrIO71mJ@codewreck.org \
--to=asmadeus@codewreck.org \
--cc=itaru.kitayama@linux.dev \
--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.