>Synopsis: openrsync(1) error: unexpected end of file >Category: system >Environment: System : OpenBSD 6.8-current && OpenBSD 6.8 Details : OpenBSD 6.8-current (GENERIC.MP) #449: Fri Jan 22 20:48:33 MST 2021 dera...@octeon.openbsd.org:/usr/src/sys/arch/octeon/compile/GENERIC.MP
Architecture: OpenBSD.octeon OpenBSD.amd64 OpenBSD.i386 Machine : octeon amd64 i386 >Description: openrsync(1) errors when attempting to sync local files (error output below). I've reproduced this on octeon 6.8-current, i386 6.8-current, and amd64 6.8-release. amd64 6.7-stable does not produce this error and achieves the desired result. >How-To-Repeat: $ mkdir ~/mydir $ touch ~/mydir/a ~/mydir/b $ openrsync -tvvv --del -r ~/mydir /tmp openrsync: : exec[0] = rsync openrsync: : exec[1] = --server openrsync: : exec[2] = --delete openrsync: : exec[3] = -r openrsync: : exec[4] = -t openrsync: : exec[5] = -v openrsync: : exec[6] = -v openrsync: : exec[7] = -v openrsync: : exec[8] = . openrsync: : exec[9] = /tmp openrsync: error: unexpected end of file openrsync: error: io_read_nonblocking openrsync: error: io_read_buf openrsync: error: io_read_int >Fix: unknown dmesg: OpenBSD 6.8-current (GENERIC.MP) #449: Fri Jan 22 20:48:33 MST 2021 dera...@octeon.openbsd.org:/usr/src/sys/arch/octeon/compile/GENERIC.MP real mem = 1073741824 (1024MB) avail mem = 1035599872 (987MB) random: good seed from bootblocks mainbus0 at root: board 20300 rev 1.23, model cavium,ubnt_e300 cpu0 at mainbus0: CN70xx/CN71xx CPU rev 0.2 1000 MHz, CN70xx/CN71xx FPU rev 0.0 cpu0: cache L1-I 78KB 39 way D 32KB 32 way, L2 1024KB 8 way cpu1 at mainbus0: CN70xx/CN71xx CPU rev 0.2 1000 MHz, CN70xx/CN71xx FPU rev 0.0 cpu1: cache L1-I 78KB 39 way D 32KB 32 way, L2 1024KB 8 way cpu2 at mainbus0: CN70xx/CN71xx CPU rev 0.2 1000 MHz, CN70xx/CN71xx FPU rev 0.0 cpu2: cache L1-I 78KB 39 way D 32KB 32 way, L2 1024KB 8 way cpu3 at mainbus0: CN70xx/CN71xx CPU rev 0.2 1000 MHz, CN70xx/CN71xx FPU rev 0.0 cpu3: cache L1-I 78KB 39 way D 32KB 32 way, L2 1024KB 8 way clock0 at mainbus0: int 5 octcrypto0 at mainbus0 iobus0 at mainbus0 simplebus0 at iobus0: "soc" "bootbus" at simplebus0 not configured octciu0 at simplebus0 octcib0 at simplebus0: max-bits 23 octcib1 at simplebus0: max-bits 12 octcib2 at simplebus0: max-bits 6 octcib3 at simplebus0: max-bits 15 octcib4 at simplebus0: max-bits 4 octcib5 at simplebus0: max-bits 11 octcib6 at simplebus0: max-bits 11 octgpio0 at simplebus0: 20 pins, xbit 16 octsmi0 at simplebus0 octsmi1 at simplebus0 octpip0 at simplebus0 octgmx0 at octpip0 interface 0 cnmac0 at octgmx0: port 0 SGMII, address 18:e8:29:b6:e7:33 ukphy0 at cnmac0 phy 4: Generic IEEE 802.3u media interface, rev. 2: OUI 0x0001c1, model 0x000c cnmac1 at octgmx0: port 1 SGMII, address 18:e8:29:b6:e7:34 ukphy1 at cnmac1 phy 5: Generic IEEE 802.3u media interface, rev. 2: OUI 0x0001c1, model 0x000c cnmac2 at octgmx0: port 2 SGMII, address 18:e8:29:b6:e7:35 ukphy2 at cnmac2 phy 6: Generic IEEE 802.3u media interface, rev. 2: OUI 0x0001c1, model 0x000c cnmac3 at octgmx0: port 3 SGMII, address 18:e8:29:b6:e7:36 ukphy3 at cnmac3 phy 7: Generic IEEE 802.3u media interface, rev. 2: OUI 0x0001c1, model 0x000c octgmx1 at octpip0 interface 1 cnmac4 at octgmx1: port 16 SGMII, address 18:e8:29:b6:e7:37 ukphy4 at cnmac4 phy 8: Generic IEEE 802.3u media interface, rev. 0: OUI 0x0001c1, model 0x0027 cnmac5 at octgmx1: port 17 SGMII, address 18:e8:29:b6:e7:38 ukphy5 at cnmac5 phy 9: Generic IEEE 802.3u media interface, rev. 0: OUI 0x0001c1, model 0x0027 octsctl0 at simplebus0: disabled octxctl0 at simplebus0: DWC3 rev 0x250a xhci0 at octxctl0, xHCI 1.0 usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr 1 octxctl1 at simplebus0: DWC3 rev 0x250a xhci1 at octxctl1, xHCI 1.0 usb1 at xhci1: USB revision 3.0 uhub1 at usb1 configuration 1 interface 0 "Generic xHCI root hub" rev 3.00/1.00 addr 1 "i2c" at simplebus0 not configured "i2c" at simplebus0 not configured com0 at simplebus0: ns16550a, 64 byte fifo com0: console com1 at simplebus0: ns16550a, 64 byte fifo com1: probed fifo depth: 0 bytes octmmc0 at simplebus0 sdmmc0 at octmmc0: 8-bit, mmc high-speed "spi" at simplebus0 not configured "ocla0" at simplebus0 not configured "dma-engine" at simplebus0 not configured "dma-engine" at simplebus0 not configured octrng0 at iobus0 base 0x1400000000000 irq 0 octpcie0 at iobus0: 3 ports octpcie0 port 0: link timeout octpcie0 port 1: reset timeout octpcie0 port 2: reset timeout umass0 at uhub0 port 1 configuration 1 interface 0 "SanDisk' Cruzer Fit" rev 2.00/1.00 addr 2 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: <SanDisk', Cruzer Fit, 1.00> removable serial.07815571181006101493 sd0: 29340MB, 512 bytes/sector, 60088320 sectors scsibus1 at sdmmc0: 2 targets, initiator 0 sd1 at scsibus1 targ 1 lun 0: <Kingston, MMC4GB, 0000> removable sd1: 3728MB, 512 bytes/sector, 7634944 sectors vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (9072e7213331116b.a) swap on sd0b dump on sd0b WARNING: /mnt was not properly unmounted WARNING: CHECK AND RESET THE DATE! usbdevs: Controller /dev/usb0: addr 01: 0000:0000 Generic, xHCI root hub super speed, self powered, config 1, rev 1.00 driver: uhub0 addr 02: 0781:5571 SanDisk', Cruzer Fit high speed, power 200 mA, config 1, rev 1.00, iSerial 4C530000181006101493 driver: umass0 Controller /dev/usb1: addr 01: 0000:0000 Generic, xHCI root hub super speed, self powered, config 1, rev 1.00 driver: uhub1