Karty Madge Token-Ring

Supportní databáze (findeisen_madge)
Platí pro

SuSE Linux: Verze 6.4 do 7.1


Kernel: Verze 2.2
Madge

Dotaz:

Chcete používat token ring kartu Madge (také v PCMCIA verzi). Nemůžete ale najít odpovídající modul.

Postup:

Potřebné ovladače jsou součástí balíku 'madge'. Stačí instalovat balík 'madge' ze série 'a'.

Podporovány jsou následující karty (informace jsou čerpány z README k balíku madge):

  * 51-02 Smart 16/4 PCI Ringnode Mk2
  * 51-04 Smart 16/4 PCI Ringnode Mk3
  * 51-09 Smart 16/4 Fiber PCI Ringnode
  * 51-07 Smart 100/16/4 PCI-HS Ringnode
  * 51-05 Smart 100/16/4 PCI Ringnode
  * 20-01 Smart 16/4 PCMCIA
  * 20-03 16/4 CardBus Adapter Mk 2
  * 60-07 Presto PCI 2000
  * 60-06 Presto PCI Plus
  * 60-05 Presto PCI
V balíku jsou k dispozici následující moduly
  /lib/modules/2.2.??/net/mtok.o
  /lib/modules/2.2.??/pcmcia/mtok_cb.o
  /lib/modules/2.2.??/pcmcia/mtok_cs.o
Tyto moduly jsou zkompilovány pro standardní Pentia.

Postup pro PCMCIA karty

Moduly mtok_cb a mtok_cs jsou pro PCMCIA karty. Tyto moduly jsou automaticky nahrávány PCMCIA CardManagerem. Stačí vytvořit položku v souboru '/etc/pcmcia/config':
    device "mtok_cs"
        class "network" module "mtok_cs"

    device "mtok_cb"
        class "network" module "mtok_cb"

    card "Madge Token Ring PCMCIA Adapter"
        version "MADGE", "SMART 16/4 PCMCIA RINGNODE"
        bind "mtok_cs"

    card "Madge Token Ring CardBus Adapter"
        version "MADGE", "CARDBUS ADAPTER MK 2"
        bind "mtok_cb"       
Tato položka musí být uvedena před řádkem 'source ./config.opts'. Poté restartujte PCMCIA systém pomocí 'rcpcmcia restart' a při zasunutí karty bude potřebný ovladač automaticky nahrán. Síťovou konfiguraci můžete poté provést pomocí instalátoru YaST nebo přímo v souboru '/etc/pcmcia/network.opts'.

Postup pro PCI karty

Můžete se pokusit nahrát modul ručně pomocí:
modprobe mtok
Pokud to bude třeba, můžete zde předat další volby, jako je 'ringspeed', 'dtr' atd.

Následně zkontrolujte, zda je modul nahrán:

lsmod
Pokud bylo možné nahrát modul a karta funguje, můžete provést odpovídající zápis do souboru /etc/modules:
alias tr0 mtok
options mtok ...
Za to ještě vykonejte příkaz 'depmod -a'.

Pokud jste to již neudělali dříve, tak programem YaST vytvořte základní konfiguraci sítě pro 'tr0'.

Volby pro modul 'mtok' naleznete v 'README' souboru zdrojového balíku '/usr/src/packages/SOURCES/mtok.tgz'. Stačí instalovat balík 'madge_spm' ze série 'zq' a ten rozbalit příkazem 'tar -xzvf ...'.

Níže je uvedena část voleb z tohoto README souboru:

...
6. Command Line Options
-----------------------

The Token-Ring driver module mtok.o supports several command line options.
Each option is specified using its name and then a comma separated list of
values corresponding to each Token Ring adapter controlled by the driver.

For example:-

    insmod mtok ringspeed=16,0,100

This means tr0 will open at 16 MBps, tr1 will try to auto detect or use the
default value for the adapter and tr2 will try to open at 100MBps.

The driver options are list below:-

ringspeed=N

    Specifies that the adapter should operate at the following ring speed:

        N=0   -> The ring speed to which the adapter has been programmed.
        N=4   -> 4 MBit/s
        N=16  -> 16 MBit/s
        N=100 -> 100 MBit/s

dtr=N

    Specifies in which mode the adapter should open.

        N=0 -> Either DTR or Classic Mode (DTR on a switch port and classic
               on a shared hub).
        N=1 -> DTR mode only.
        N=2 -> Classic mode only.

pcmcia=1

    Normally the driver will only stay loaded in memory if it successfully
    finds and configures an adapter. However if a PCMCIA adapter is to
    be used the driver must always be resident. Using the parameter 
    pcmcia=1 ensures that the driver stays resident.

txslots=N

    Specifies the number of transmit slots to be used.  The default depends
    on the adapter type.  Increasing this number uses more memory but
    allows more frames to be queued on the adapter for transmission.
    It is not advisable to queue too many transmits as this may interfere
    with higher layer flow control and queueing algorithms.

rxslots=N

    Specifies the number of receive slots to be used.  If this parameter is
    increased then more memory will be used by the driver but more frames
    can be queued for reception.

maxframesize=N

    Specifies the maximum frame size the adapter will be able to receive.
    This parameter has a maximum value of 4486 for an adapter running at
    4MBps and 17814 for adapters running at 16 and 100MBps.  The default
    value is 2040.  Performance improvements may be obtained by increasing
    this parameter if other machines on the network are also capable of
    sending and receiving large frames.

...
Aktuální zdrojový kód pak naleznete přímo na stránkách Madge:

  http://www.madge.com/connect/downloads/software/
  http://www.madge.com/software/tr_adap/linux/v231/source/msrc231.tgz


Klíčová slova: MADGE, TOKEN-RING, MTOK, PCMCIA

Kategorie: Hardware

SDB-findeisen_madge, Copyright SuSE Linux AG, Nürnberg, Germany - Verze: 09. Jan 2001
SuSE Linux AG - Poslední změnu: 25. Jun 2001 provedl findeisen (sdb_gen 1.40.0)