Rhialto The M
f432d23c41
Merge pull request #54 from PDP-10/ch11-fix2
...
CH11: fix long-standing data corruption bug
2021-02-23 21:27:53 +01:00
Björn Victor
0a9e34c36f
Update dvch11.txt
2021-02-23 08:31:29 +01:00
Björn Victor
efb657a55b
Don't read another until this one is read
...
Instead of accepting new input pkts after checking that the input pkt is shaped OK, do it after actually reading the pkt to ITS. Otherwise read pkts can be overwritten while only partially read to ITS, leading to corruption of data.
2021-02-22 07:34:37 +01:00
Björn Victor
4af56464aa
Fix 17-year-old spelling error
...
hopefully fixing horrible concurrency problems which appears on faster hardware(?).
2021-02-13 13:42:33 +01:00
Björn Victor
d6de1d64d3
Update dvch11.txt
...
aosnet.ch was replaced by chaosnet.net
2021-02-08 17:04:16 +01:00
Rhialto The M
bde5dcdc27
Merge pull request #52 from PDP-10/ch11-fix
...
Correct pklen calculations for CH11
2020-09-01 19:01:47 +02:00
Björn Victor
0a67ea9ea2
Correct pklen calculations for CH11
...
I'm terribly sorry about this, which dates back to 2005 (or earlier). The effect is on packets >127 bytes (data), but only when receiving from Ethernet, as far as I can see, where a "trailer" is added at the wrong place, resulting in garbage at the ITS end. (I think I've seen this live occasionally.)
2020-09-01 09:08:02 +02:00
Rhialto The M
6ac420eede
Merge pull request #50 from PDP-10/fix-some-compiler-warnings
...
Clean up compiler warnings.
2020-08-30 21:17:08 +02:00
Olaf Seibert
91af8d0b6b
Work around another couple of "nested comment" warning.
2020-08-29 22:45:09 +02:00
Olaf Seibert
94ec1830ca
Attempt to clean up compiler warnings
...
as given in https://cirrus-ci.com/task/5117093567791104?command=main
2020-08-29 22:13:09 +02:00
Rhialto The M
03bc707d3b
Merge pull request #48 from PDP-10/ch11-fix
...
Stop CH11 from spontaneously retransmitting last pkt
2020-08-29 21:30:16 +02:00
Rhialto The M
7933ebc3f0
Merge pull request #49 from PDP-10/lars/freebsd
...
Upgrade Cirrus CI build to FreeBSD 12.1.
2020-08-29 21:18:26 +02:00
Lars Brinkhoff
552b33ac0f
Upgrade Cirrus CI build to FreeBSD 12.1.
2020-08-29 19:54:45 +02:00
Björn Victor
c2d341945f
Stop CH11 from spontaneously retransmitting last pkt
...
by noting that the output buffer was consumed on transmission done.
2020-08-28 13:32:51 +02:00
Olaf Seibert
b014407ffa
Merge branch 'master' of github.com:PDP-10/klh10
...
* 'master' of github.com:PDP-10/klh10:
FreeBSD build on Cirrus CI.
Use PKG_CHECK_MODULES to locate libusb-1.0.
Add DFKFB numbers from a real KL10.
2020-03-28 16:42:32 +01:00
Olaf Seibert
ff749f6d2e
Fix some more -Wall warnings
...
(but there are many many more to go...)
2020-03-28 16:33:42 +01:00
Olaf Seibert
f5e506cc10
Copy the right size into the destination.
...
Fixes !45 .
2020-03-28 16:16:57 +01:00
Lars Brinkhoff
2f478c2df2
FreeBSD build on Cirrus CI.
2020-02-26 07:01:04 +01:00
Lars Brinkhoff
b41d4b8ac7
Use PKG_CHECK_MODULES to locate libusb-1.0.
...
This works better on FreeBSD.
2020-02-26 07:01:04 +01:00
Lars Brinkhoff
77473114b3
Add DFKFB numbers from a real KL10.
2019-08-30 08:22:18 +02:00
Rhialto The M
fcf812e4d7
Merge pull request #39 from PDP-10/configure-lights
...
Configure lights
2018-09-15 21:18:04 +02:00
Olaf Seibert
b28505e70a
Enable the lights for Travis CI.
2018-09-15 16:26:56 +02:00
Olaf Seibert
6a8a710ecf
Change configure to control the compilation of the Panda lights.
...
This needs to check for libusb-1.0. Since this shouldn't be linked to
the auxiliary programs, add another Makefile variable to record it in:
CPULIBS.
Stub out calls to outb() if it is unavailable, so that it can at least
use libusb in that case.
2018-09-15 00:04:31 +02:00
Lars Brinkhoff
129e3d0f16
Use USB Panda Display.
...
Build with -DKLH10_DEV_LITES=1. Use the KLH10 command "lights usb" to
enable this feature.
2018-09-14 06:40:59 +02:00
Rhialto The M
0402660bf0
Merge pull request #38 from Rhialto/more-cleanup-34
...
Clear file pointer when file is closed.
2018-09-08 16:13:03 +02:00
Olaf Seibert
c8bdff6d49
Clear file pointer when file is closed.
2018-09-07 18:44:32 +02:00
Rhialto The M
dc4751bc6f
Merge pull request #34 from atsampson/master
...
Add missing fclose after tape format detection.
2018-09-07 18:34:17 +02:00
Adam Sampson
591437d302
Add missing fclose after tape format detection.
...
Without this, doing something like:
devmount mta0 /tmp/foo
devunmount mta0
(i.e. without specifying fmt=bar to the devmount) will leak a FILE * and
file descriptor.
2018-05-12 12:35:34 +01:00
Björn Victor
678db7c80b
CH11 over Ether ( #33 )
...
Working chaos-over-ether implementation (in addition to Chaos-over-UDP).
Also rename dpchudp => dpchaos, both in code, files and the device process, since it no longer only supports Chaos-over-UDP, but is more generic.
Update doc for CH11.
2018-04-15 21:33:10 +02:00
JohnForecast
60d02258cb
Merge pull request #32 from PDP-10/RaspberryPi
...
cenv.h must be the first include file
2018-04-09 17:18:02 -04:00
John Forecast
dad5719aeb
cenv.h must be the first include so _FILE_OFFSET_BITS can affect system include files.
2018-04-09 11:23:40 -04:00
Olaf Seibert
d24efb8404
Point bugreports to the PDP-10 organisation, not to me personally.
2017-12-17 15:22:10 +01:00
Olaf Seibert
ba556fbd9d
Fix incorrect identification to VDE (should be klh10 of course).
2017-12-14 20:37:08 +01:00
Lars Brinkhoff
2242d4f226
Remove limitation on 12 devices.
...
Falls back to the default, which is 20.
2017-12-14 20:24:33 +01:00
Olaf Seibert
9d13c2b5e5
Remove unneeded length check for interface name.
...
Since the length is checked in all other relevant places, the check here
is not needed, and was too strict for the "vde" case.
2017-12-10 17:37:00 +01:00
Olaf Seibert
e904b0b49e
Increase the size for a device name
...
For the benefit of VDE.
For other interfacing methods, check that the name is at most IFNAMSIZ,
which should always have been checked, because of unexpected truncation.
2017-11-29 21:46:03 +01:00
Olaf Seibert
9d6add677a
Add proper dependency on dpni20.h.
2017-11-29 21:10:07 +01:00
Lars Brinkhoff
e0a65234a6
Make console input more solid.
2017-10-26 22:38:58 +09:00
Björn Victor
6f268f9be7
Merge pull request #23 from PDP-10/bictorv-dynamic-chudp-fix
...
Make dynamic chudp work again.
2017-08-29 21:53:32 +02:00
Björn Victor
9d12eee32b
Make dynamic chudp work again.
...
Supply size of socket to recvfrom call. This makes dynamic chudp work again. Also some minor modernisation.
2017-08-28 12:36:40 +02:00
Rhialto The M
3f3945f67b
Merge pull request #22 from PDP-10/massbus-serial-numbers
...
Massbus serial numbers
2017-05-14 19:12:56 +02:00
Olaf Seibert
4690de5b02
Fix call to memset (discovered due to compiler warning from Travis)
2017-05-14 13:39:48 +02:00
Olaf Seibert
b60c1e88a2
And in the other file. Should work for n < 100.
2017-05-14 13:10:33 +02:00
Olaf Seibert
22e336c700
Should fix Issue #17 .
2017-05-14 12:35:46 +02:00
Rhialto The M
87a3ea05c3
Merge pull request #16 from PDP-10/lars/ch11
...
Add Chaosnet device
2017-02-02 22:35:28 +01:00
Lars Brinkhoff
78fa98ac15
Add ch11 files and apply patch from http://victor.se/bjorn/its/ch11.tar.gz
2017-02-02 21:02:56 +01:00
Olaf Seibert
1cfe638d1c
Merge branch 'master' of github.com:PDP-10/klh10
2017-01-29 16:39:24 +01:00
Rhialto The M
0527e3d9b9
Merge pull request #15 from PDP-10/lars/merge-rich
...
Merge changes from Rich Alderson.
2017-01-29 16:17:14 +01:00
Olaf Seibert
c3484ed92b
Merge changes from Rich Alderson.
2017-01-27 22:12:43 +01:00
Olaf Seibert
2d96b28ec0
Unify duplicate code.
2017-01-23 23:45:58 +01:00