I just realised that the offset to the first hole matches the default
wsize=16580 argument for SMB 1.0 mounts, or at least that is what "mount
-l" reports.
That is, cifs is writing each time wsize bytes with the right data + a
hole of 3900 bytes made of binary zeros. And the next blocks look the
s
I am attaching the other file version with the binary zero holes inside,
as copied back from the server.
** Attachment added: "testdata-back-from-server.txt"
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2049634/+attachment/5744352/+files/testdata-back-from-server.txt
--
You received
I have done some more tests on a different computer with the same OS,
this time with the following Kernel version as reported by "uname -a":
Linux 6.5.0-15-generic #15~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC
Fri Jan 12 18:54:30 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
I generated a reproducible pseudo-ra
I haven't tested much, but this corruption was obvious very quickly. I
just copied a few megabytes of files and got several corruptions. Most
files were compressed, and the easiest file to look at was a text file,
and the binary zeros were quickly visible in the text editor. I think
you will not ha
Exactly 3900 bytes long? That sure is strange. Do you think I would be
able to reproduce if I set up a smb1.0 mount, make a bunch of text files
with random content, take their sha256 checksums, copy to the smb1.0
share, then re-compute the sha256 checksums to see if they match?
I would probably be
I have kept one corrupt text file (which I cannot post here), and I ran
this command on it:
grep --perl-regexp --text --byte-offset '\x00{3900}' my-corrupt-
text-file
The file has 2 blocks of binary zeros which should not be there. Their
offsets are random, but both blocks are exactly 3900 b
Today I temporarily reverted back to Kernel 6.2.0-39-generic, by
choosing it from the Grub bootloader, and the SMB 1.0 network shares
started working correctly again. I think it is clear that Kernel 6.5 is
broken in this respect.
Fortunately, package linux-image-6.2.0-39-generic is still installed
7 matches
Mail list logo