[HECnet] DECnet broken with 4.4.0-151 kernel
John Forecast
john at forecast.name
Wed Jun 26 12:09:19 PDT 2019
> On Jun 25, 2019, at 4:58 PM, Robert Armstrong <bob at jfcl.com> wrote:
>
> > John Forecast <john at forecast.name <mailto:john at forecast.name>> wrote:
>
> > I have DECnet running on a Raspberry Pi which appears to be using kernel 4.14.52+.
>
> Are you using Raspbian? I probably should have added that I’m using Ubuntu xenial 16.04 and 4.4.0 is the latest official kernel for that. I’ve heard that you can upgrade to later kernels, but I haven’t tried it yet. Other people have reported problems getting DECnet working un Ubuntu 18.04 so I figured it wasn’t worth it.
>
> What changes did you have to make to get DECnet working? On 16.04 it does require a few hacks…
>
> Thanks,
> Bob
My reply with an attached .zip file did not seems to make it so I’ve made it available through dropbox:
<https://www.dropbox.com/s/apmy08ydd9jjo6e/decnet-6_25_2019.zip?dl=0 <https://www.dropbox.com/s/apmy08ydd9jjo6e/decnet-6_25_2019.zip?dl=0>>
This is a snapshot of my decnet directory and dnprogs from about a year ago when I got this working. The base kernel was cloned by:
git clone —depth=1 -branch rpi-4.14.y https://github.com/raspberrypi/linux <https://github.com/raspberrypi/linux>
Extract all the files from the above zip file and:
1. Copy files from the zip file include directory to <kernel>/include/net
2. Replace the <kernel>/net/decnet directory with the zip file decnet directory
3. Config to add decnet support and rebuild kernel+modules
I have no idea if this will work with newer kernels.
I made a few changes to the original source code I received:
Kernel code:
Added special handling for the 0 area:
Connect to 0.0 connects to the local node
Connect to 0.n connects to node “n” in the local node’s area
Utility programs:
Fixed a number of bugs in cterm and DAP especially related to talking to Tops-10.
Allow the DAP utilities (dncopy, dntype etc) to use DECnet-Ultrix syntax for specifying access control infomation:
node/username/password/account::
which avoids the double quoting required to use the VMS syntax on Linux. To enable this feature, create an environment variable called
USE_ULTRIX_SYNTAX
Given that Raspberry Pi just released their version of Debian Buster which uses kernel 4.19.x I’ll probably take a look at getting running there and create a github repository for the changes. I need to finish my current project so it will probably be a couple of weeks or so.
John.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sonic.net/pipermail/hecnet-list/attachments/20190626/462db6bb/attachment.html>
More information about the Hecnet-list
mailing list