Newsgroups: comp.os.minix
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!solace!nntp.uio.no!news.apfel.de!fu-berlin.de!wuff.mayn.de!wuff.franken.de!rhohost.franken.de!rhoenie
From: rhoenie@rhohost.franken.de (Marcus Herbert)
Subject: Re: Arcnet driver/porting from linux to minix
X-Newsreader: TIN [UNIX 1.3 unoff BETA release 961216]
Lines: 90
X-No-Archive: yes
Organization: Suckware 3.1
Message-ID: <E458Ay.9G@rhohost.franken.de>
X-Cuse: rhoenie was mauled by a Rottweiler
References: <853461821.8489@dejanews.com>
Date: Fri, 17 Jan 1997 08:16:10 GMT
Xref: euryale.cc.adfa.oz.au comp.os.minix:27478

thebishop@atheist.com wrote:
: I got hold of a hole bunch of older intel computers and some arcnet card 
: and I want to network them(for fun!). Does an arcnet driver exist for 
: minix. I can run linux on the 306's but want to run minix on the other 
: boxes.

---------------------------<CUT HERE>-----------------------------------
Path: urmel!unido!mcsun!uunet!wupost!udel!mmdf
From: TM03%SWTEXAS.bitnet@ricevm1.rice.edu
Newsgroups: comp.os.minix
Subject: ARCNET for MINIX (PC)
Message-ID: <59028@nigel.ee.udel.edu>
Date: 18 Jul 91 16:22:05 GMT
Sender: mmdf@ee.udel.edu
Lines: 744

Folks,

Here is a package that extends Minix/amoeba to include
networking with Thomas Conrad Arcnet Cards (TC6042).

This work was done on IBM 386 clones.  We don't have
any idea about Minix networking on amiagas, ataris, etc.
We would be interested in hearing from anybody having
non-PC Minix whether this stuff works.

The diffs contained are based on official  Minix 1.5.  Most of
the diffs produced are simply to add Arcnet to Minix but a
couple actually were made for secondary reasons - e.g. to
make some files work with mref.


Create a temporary directory and copy this file into into it.
Use  uudecode,  compress -d    and  ar x    to extract the
various files contained herein. Then read  README  for
further instructions.  There is a script which should
patch the various parts of the kernel, lib,  etc.  Once
the script if finished you will have to recompile the
OS by using the Makefile in  /usr/src/amoeba.  As usual,
be sure to change klib88.x and mpx88.x to klib.x and mpx.x.

In order for the shell script to work, your directories
should be arranged as:
        /usr/src/kernel      kernel sources
        /usr/src/lib         lib sources
        /usr/src/amoeba      amoeba
        /usr/src/amoeba/kernel    amoeba kernel sources
Look at the script  make_arc if you're not sure.

The OS generated will use TC Arcnet instead of the WD Ethernet.
(It's considerably slower - but that's what some people have.)

        If you want to use these diffs to modify the OS sources
        but want to keep using Ethernet, that's fine. After
        making the changes, just go into  /usr/src/amoeba/Makefile
        and set the flags to  -DAM_KERNEL  or if you want amoeba
        without having a Ethernet card set  -DAM_KERNEL -DNONET.

Look in the file arccardinfo.h for information on interrupt settings,
i-o address, and other details on switch settings on your TC Card.
This work was part of a project to complete a graduate program.  The
emphasis was on making the additions transparent to the amoeba
operations - not on improving the speed of networking in Minix.
As an example, careful study shows that to do a 'trans' operation
between 2 machines requires a minimum of 18 context switches! Trust us.
We believe the modifications are successful - in that we have tested
on both ethernet and arcnet with no modifications to application code
to use one or the other.


A Print Server (fairly robust, using 'amoeba' in Minix) will be posted in a
few days.

This is posted from the Bitnet side. This is the first time we've tried
posting uuencoded files through gateways.  Let us know if it makes
it without damage.

Enjoy.

Jim Miles - jm04@swtexas.bitnet
Tom McCabe - tm03@swtexas.bitnet
---------------------------<CUT HERE>-----------------------------------

root@rhohost:/scratch/source/arcnet # ls -la
total 76
drw-r--r--   2 root     root         1024 Jan 17 09:13 ./
drwx------  42 root     root         2048 Jan 16 20:56 ../
-rw-r--r--   1 rhoenie  users       70050 Jul 19  1991 arc.a
-rw-r-----   1 rhoenie  users        2958 Jul 19  1991 header

-- 
   TLA-ISP-users click here _mailto:rhoenie@rhoen.com_
        Find my homepage on  _*http://www.franken.de*_ 
             As my mother said: "Don't eat *yellow* snow!"
