Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2022 04:04:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 264196] sysutils/fusefs-ntfs: read(2)ing big files in blocks of 32768 bytes and smaller fails with EINVAL
Message-ID:  <bug-264196-7788-0LTEeD31nV@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264196-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264196-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264196

--- Comment #8 from Alexey Dokuchaev <danfe@FreeBSD.org> ---
(In reply to Alan Somers from comment #1)
> Have you tried running the daemon in the foreground, with debug output?
So I did.  Apparently the bug exhibits itself when the controversial (see b=
ug
#194526 and bug #206978) UBLIO option is OFF (mentioned in the comment #1).=
=20
Here's the relevant part of the diff between correct and buggy debug output:

 [...]
 unique: 14, opcode: BMAP (37), nodeid: 3, insize: 56, pid: <snip>
-   unique: 14, error: -78 (Function not implemented), outsize: 16
-unique: 15, opcode: READ (15), nodeid: 3, insize: 80, pid: <snip>
-read[0] 131072 bytes from 65536 flags: 0x0
-   read[0] 131072 bytes from 65536
-   unique: 15, success, outsize: 131088
-unique: 16, opcode: GETATTR (3), nodeid: 3, insize: 56, pid: <snip>
+bmap /Temp/qemu6-6.2.0.pkg blocksize: 65536 index: 1
+   unique: 14, error: -22 (Invalid argument), outsize: 16
+unique: 15, opcode: GETATTR (3), nodeid: 3, insize: 56, pid: <snip>
 getattr /Temp/qemu6-6.2.0.pkg
-   unique: 16, success, outsize: 120
-unique: 17, opcode: GETATTR (3), nodeid: 3, insize: 56, pid: <snip>
+   unique: 15, success, outsize: 120
+unique: 16, opcode: BMAP (37), nodeid: 3, insize: 56, pid: <snip>
+bmap /Temp/qemu6-6.2.0.pkg blocksize: 65536 index: 1
+   unique: 16, error: -22 (Invalid argument), outsize: 16
+unique: 17, opcode: FLUSH (25), nodeid: 3, insize: 64, pid: <snip>
+   unique: 17, error: -78 (Function not implemented), outsize: 16
+unique: 18, opcode: SETATTR (4), nodeid: 3, insize: 128, pid: <snip>
 getattr /Temp/qemu6-6.2.0.pkg
-   unique: 17, success, outsize: 120
-unique: 18, opcode: GETATTR (3), nodeid: 3, insize: 56, pid: <snip>
-getattr /Temp/qemu6-6.2.0.pkg
    unique: 18, success, outsize: 120

(In reply to Alan Somers from comment #6)
> I can't reproduce the bug using these instructions
Can you rebuild the port with UBLIO=3Doff and retry?  In bug #194526, comme=
nt #8
you say that fusefs(5) now has sane caching builtin and suggest that we
eliminate libublio, so I guessed you must have it disabled for a long time.=
 :-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264196-7788-0LTEeD31nV>