Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

cvs get/update problem [Was: Re: more on proff crash building native]



On Sat, 14 Feb 2009, Anders Magnusson wrote:

Michael L. Hitch wrote:
...

  It seems that ssh corrupts inbound data.  It's been mentioned a couple
of times on port-vax.  I had seen it quite some time ago when trying to
run a cvs update, but wasn't aware at the time it was an ssh problem
instead of hardware/network.  Running the ssh on the remote system
(inbound through sshd instead of ssh) seems to work, as well as non-ssh
transfers.  Again, I've been collecting information on that problem and
will be submitting another PR.  I hit this again when trying to copy a
test kernel and didn't realize that was the problem for a while.

This unfortunate bug has been around since ~forever :-(  Even really long
time ago (> 10 years) this bug would hit me when for example trying to do
"cvs co" or "cvs update"; suddenly cvs would bail out complaining about
protocol error.   Because of this I usually use rsh instead (also the
encryption is not too fast on VAXen).

Hm, maybe it is some vax-tailored code in the encryption routines that
is incorrect?  Would be an good place to start hunting.

Anyway, I'll buy a cage of beer to the one that fixes this bug :-)

  I'm not sure what the problem may have been prior to the new pipe, but
the new pipe code trying to copy 64KB appears to been the cause since at
least 3.0.  I think the recent change that disable the pipe direct mode
made the problem more likely, but I still had filesystems with 4.0 and 3.0
and have done some testing.  A cvs get would fail on both 4.0 and 3.0, and
after applying my fix to fix copyin/copyout with 64KB, I have been able to
do a cvs get of both src and xsrc on both 4.0 and 3.0.  A pullup for
netbsd-4 is pending, and I will be requesting a pullup for netbsd-3 after
my cvs get completes and doesn't show any problems.

--
Michael L. Hitch                        mhitch%montana.edu@localhost
Computer Consultant
Information Technology Center
Montana State University        Bozeman, MT     USA


Home | Main Index | Thread Index | Old Index