1 |
On 02/09/2016 01:14 AM, Mike Frysinger wrote: |
2 |
> On 09 Feb 2016 00:11, Alex McWhirter wrote: |
3 |
>> On 02/08/2016 03:48 PM, Alex McWhirter wrote: |
4 |
>>> On 02/08/2016 10:21 AM, Mike Frysinger wrote: |
5 |
>>>> On 07 Feb 2016 05:35, Alex McWhirter wrote: |
6 |
>>>>> Have there been any reports of rsync being broken on sparc? I can't get |
7 |
>>>>> it to work on my 64bit host or my official 32 bit host. |
8 |
>>>> it's working on our sparc dev box and my sparc chroots |
9 |
>>>> |
10 |
>>>>> It always kicks this back almost instantly. Doesn't matter if it's local |
11 |
>>>>> or remote |
12 |
>>>> are you trying with plain rsync ? or rsync over a diff protocol ? try: |
13 |
>>>> rsync rsync://uclibc.org/svn/ |
14 |
>>>> it should provide a file listing |
15 |
>>>> |
16 |
>>>>> Oddly enough scp has issues too which may point to something being wrong |
17 |
>>>>> with ssh. This is what happens. |
18 |
>>>>> |
19 |
>>>>> On remote machine run.. |
20 |
>>>>> |
21 |
>>>>> |
22 |
>>>>> scp blah root@<ip-address>:~/ |
23 |
>>>>> root@<ip-address>'s password: |
24 |
>>>>> Permission denied, please try again. |
25 |
>>>>> root@<ip-address>'s password: |
26 |
>>>>> Permission denied, please try again. |
27 |
>>>>> root@<ip-address>'s password: |
28 |
>>>>> Permission denied (). |
29 |
>>>>> lost connection |
30 |
>>>>> |
31 |
>>>>> However if i try a second / third time... |
32 |
>>>>> |
33 |
>>>>> scp blah root@<ip-address>:~/ |
34 |
>>>>> Password: |
35 |
>>>>> blah 100% |
36 |
>>>>> 102MB 11.4MB/s 13.0MB/s 00:09 |
37 |
>>>>> |
38 |
>>>>> |
39 |
>>>>> Notice how in the first attempt sshd is returning the boxes IP and wont |
40 |
>>>>> take my password. A few attempts later and it will not return the IP, |
41 |
>>>>> but will take my password. It's completely intermittent. |
42 |
>>>> yes, it sounds like openssh or openssl is broken instead |
43 |
>>>> -mike |
44 |
>>> If i force --protocol=29 it works just fine. Can you think of any kernel |
45 |
>>> options that might cause this? I'm running a fairly minimal kernel. |
46 |
>>> |
47 |
>> I am completely stumped here. It's just simply broken. Fresh 64bit install |
48 |
>> |
49 |
>> localhost ~ # rsync -a /usr/portage/ /root/portage |
50 |
>> rsync: [sender] write error: Broken pipe (32) |
51 |
>> rsync error: error in socket IO (code 10) at io.c(820) [sender=3.1.2] |
52 |
>> |
53 |
>> It's almost like the rsync socket is broken or something... |
54 |
> EPIPE here looks like the server/receiver died. might want to try adding |
55 |
> -vvvvv to rsync, or running it through `strace -o log -f` and see if you |
56 |
> find anything interesting. |
57 |
> -mike |
58 |
Well, time for more fun |
59 |
|
60 |
Copying over the 3.4.14 kernel from the install cd will make rsync work. |
61 |
|
62 |
Kernel 4.1.12 rsync is dead |
63 |
Kernel 4.1.15 rsync is dead |
64 |
|
65 |
Since all sparc profiles use a 64bit kernel i would be heavily |
66 |
interested in what kernel / options you are running. |
67 |
|
68 |
|
69 |
|
70 |
Using the kernel config from the CD on a newer kernel still results in a |
71 |
broken rsync. So the kernel is either broken somehow or there's an |
72 |
option somewhere that genkernel, the cd config, and myself are missing. |
73 |
|
74 |
|
75 |
Strace wasn't all that helpful unfortunately. |