Skip to contentSkip to conversation

Kernels 4.+ are breaking rsync?

DISCUSSION [email protected] 1 participant 4 messages Mar 4, 2016 – Mar 16, 2016

lore
Share & tools
lore
#0 lore raw

Reverting commit e5a4b0bb803b39a36478451eae53a880d2663d5b does indeed resolve the problem on my side.

I do find it odd that the Debian port seems to be working fine. I'm going to give the latest kernel on a try on this box. Previously i had only tried up to the latest rendition of 4.1. If it's still broken I will boot up Debian and see what's going on. Hopefully it isn't hardware specific "This is a cheetah box IIRC"

#1 lore raw
Quoted 8 lines · John Paul Adrian Glaubitz
Quoted 6 lines · On 03/05/2016 05:24 AM, [email protected] wrote:

I do find it odd that the Debian port seems to be working fine. I'm going to give the latest kernel on a try on this box. Previously i had only tried up to the latest rendition of 4.1. If it's still broken I will boot up Debian and see what's going on. Hopefully it isn't hardware
specific "This is a cheetah box IIRC"

Quoted 5 lines

It might be a toolchain issue.

Are you using the default compiler options or did you tune anything?

Adrian

I'm just passing "-mcpu=ultrasparc -mtune=ultrasparc -O2 -pipe" on cflags, chost is sparc64-uknown-linux-gnu... which should be a fairly standard setup. I would also imagine that a toolchain issue would also cause issues on kernels older than 3.19.

I wonder if this is some odd interaction between OpenSSL and the kernel. I've been compiling OpenSSL without the assembly optimization because the build system needs fixed a bit on the Gentoo end for sparc64. SCP also exibits similar behaviour to rsync and both use ssh to do their respective jobs. That's literally only thing im aware of that deviates from the typical gentoo structure.

Anyways, im giving Debian a shot now. The installer refused to format my boot partition as ext2, so i had to use ext3. That probably a little off topic though, so ill keep you updated on my findings.

#2 lore raw
In reply to [email protected]
Quoted 14 lines · Alex McWhirter
Quoted 6 lines · John Paul Adrian Glaubitz
Quoted 5 lines · On 03/05/2016 06:21 AM, [email protected] wrote:

Anyways, im giving Debian a shot now. The installer refused to format my
boot partition as ext2, so i had to use ext3. That probably a little off
topic though, so ill keep you updated on my findings.

Quoted 6 lines

Great!

Please report issue with the installer on Debian sparc64 to the debian-sparc mailing list:

Quoted 1 line

https://lists.debian.org/debian-sparc/

Quoted 7 lines

I can confirm that this issue appears on my Sun Fire V215, but not my SPARC Enterprise T5120. I suppose i need to do a bit more digging. --
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Ok, so bit more info. This only seems to effect local disk transfers, not server -> client transfers. I can verify this behaviour on Debian and Gentoo, as well as on a Sun Fire V215 and Sun Blade 150.

Steps to reproduce.

rysnc -a rsync://rsync.ca.gentoo.org/gentoo-portage/ ~/portage rsync -a ~/portage ~/portage2

You should see something around these lines occur...

rsync: [sender] write error: Broken pipe (32)
rsync error: error in socket IO (code 10) at io.c(820) [sender=3.1.1]

If you don't want to download the whole portage tree, you can probably get away with a large subdirectory like x11-libs.

I.E.

rysnc -a rsync://rsync.ca.gentoo.org/gentoo-portage/x11-libs ~/x11-libs rsync -a ~/x11-libs ~/x11-libs2

As stated earlier, using git bisect to eventually roll back commit e5a4b0bb803b39a36478451eae53a880d2663d5b will resolve the problem.

#3 lore raw
In reply to [email protected]
Quoted 46 lines · On 2016-03-09 17:10, [email protected] wrote:
Quoted 14 lines · Alex McWhirter
Quoted 6 lines · John Paul Adrian Glaubitz
Quoted 5 lines · On 03/05/2016 06:21 AM, [email protected] wrote:

Anyways, im giving Debian a shot now. The installer refused to format my
boot partition as ext2, so i had to use ext3. That probably a little off
topic though, so ill keep you updated on my findings.

Quoted 6 lines

Great!

Please report issue with the installer on Debian sparc64 to the debian-sparc mailing list:

Quoted 1 line

https://lists.debian.org/debian-sparc/

Quoted 7 lines

I can confirm that this issue appears on my Sun Fire V215, but not my SPARC Enterprise T5120. I suppose i need to do a bit more digging. --
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Ok, so bit more info. This only seems to effect local disk transfers, not server -> client transfers. I can verify this behaviour on Debian and Gentoo, as well as on a Sun Fire V215 and Sun Blade 150.

Steps to reproduce.

rysnc -a rsync://rsync.ca.gentoo.org/gentoo-portage/ ~/portage rsync -a ~/portage ~/portage2

You should see something around these lines occur...

rsync: [sender] write error: Broken pipe (32)
rsync error: error in socket IO (code 10) at io.c(820) [sender=3.1.1]

If you don't want to download the whole portage tree, you can probably get away with a large subdirectory like x11-libs.

I.E.

rysnc -a rsync://rsync.ca.gentoo.org/gentoo-portage/x11-libs ~/x11-libs rsync -a ~/x11-libs ~/x11-libs2

Quoted 7 lines

As stated earlier, using git bisect to eventually roll back commit e5a4b0bb803b39a36478451eae53a880d2663d5b will resolve the problem. --
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Does anyone have any recommendations on how to proceed? I would very much like to get this fixed, if there's any more information you need please let me know. I can also setup a remote machine if needed.