Hi there, On Mon, 22 May 2023, Gregory P. Ennis wrote:
I recently upgraded my raspberrypi4 to a 64 bit os from 32 which had an upgrade of BackupPc from 3 to 4. This created an enhancement going from the 5 kernel to 6. BackupPC 3 on the 5 kernel worked perfectly, but so far BackupPC 4 fails to wprk on the 6 kernel. So far I have not been able to get rsync to work. I keep getting the following error : Got fatal error during xfer (rsync error: unexplained error (code 255) at io.c(226) [Receiver=3.1.3.0]) I get this error when backing up the raspberrypi itself as well as other remote machines. So far I have not been able to find a fix on the internet. The setup I am using for 4 is the same as 3. I have checked the ssh keys and I am able to log on to each machine with the user being backuppc and the remote user as root but I am unable to get rsync to function without the above message and failure.
Do you have any particular reason for blaming the kernel? I think it unlikely that the kernel is the issue. Can you boot an older kernel to test if the theory holds water? [Aside: I *never* let a package management system delete an old kernel.] There have been issues with differing versions of rsync, if you search the list archives you'll find plenty of mention of that - you'll even see the exact same error message which you posted. I don't want to send you off on a wild goose chase by suggesting that you build a version of rsync from source, but I've seen people do that to fix this kind of problem. It shouldn't be too onerous for you to try a different version using the package management system, or you might try tar instead of rsync (I've seen people do that too) but it isn't really the right answer. More just a test, to see if you're on the right lines with your diagnosis. FWIW my main BackupPC server is also a Pi. It's a 3B+. It backs up more than a dozen other machines, some of them over WAN links, and I have no problems with rsync, although out of an abundance of caution it's still running a fairly old kernel. The rsync is version 3.2.3: 8<---------------------------------------------------------------------- $ rsync -V rsync version 3.2.3 protocol version 31 Copyright (C) 1996-2020 by Andrew Tridgell, Wayne Davison, and others. Web site: https://rsync.samba.org/ Capabilities: 64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints, socketpairs, hardlinks, hardlink-specials, symlinks, IPv6, atimes, batchfiles, inplace, append, ACLs, xattrs, optional protect-args, iconv, symtimes, prealloc, stop-at, no crtimes Optimizations: no SIMD, no asm, openssl-crypto Checksum list: xxh128 xxh3 xxh64 (xxhash) md5 md4 none Compress list: zstd lz4 zlibx zlib none rsync comes with ABSOLUTELY NO [snip] 8<---------------------------------------------------------------------- -- 73, Ged. _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/