Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 18b2ae22eb3867679548a0553132f659 > files > 126

howto-text-zh-9.0-1mdk.noarch.rpm


                             Token-Ring mini-HOWTO
                                       
§@ªÌ:Mike Eckhoff [1]mike.e@emissary.aus-etc.com
ĶªÌ:³¯«T»x [2]matterchen@sinamail.com

   v4.1, 7 January 1998 ½Ķ¤é´Á 15 December 2000
     _________________________________________________________________
   
   ³o¤À¤å¥ó¬O¥Î¨ÓÀ°§U§A¦w¸Ë®Ö¤ß­×¸Éµ{¦¡¦P®É¸ÕµÛ«ü¥X¸Ó¯d¤ßªº¨Æ¶µ.§Ú«Øij§A¦b
   ¸ÕµÛ¦w¸Ë¥ô¦ó Linux ¥Îªº Token Ring ÅX°Êµ{¦¡¤§«e³Ì¦n¯à¾\Äý¹L³o¤À¤å¥ó.
     _________________________________________________________________
   
   ¯S§O·PÁÂ
          µ¹ Mark Swanson, Peter De Schrijver, David Morris, Paul Norton
          ¥H¤Î¥ô¦óªá®É¶¡¦b¼¶¼g¤ÎºûÅ@¦¹ÅX°Êµ{¦¡«o¥¼³Q§Ú¦b³o¸Ì¦C¥Xªº¤H. ¨Ãµ¹
          packrat ·PÁÂ¥L¦b linux-tr listserv ªºÀ°¦£.
          
1. ª©Åv©MÂب¥

2. µwÅé»Ý¨D

3. ³nÅé»Ý¨D

4. ¦w¸Ë©M³]©w

5. NetTools ¦w¸Ë

6. ¤wª¾°ÝÃD

7. °ÝÃD»P¦^µª

8. ®M¥ó¯S¦³¦w¸Ë

     * 8.1 Slackware 96
     * 8.2 RedHat 4.0+
     _________________________________________________________________
   
   ¯S§O·PÁÂ
          µ¹ Mark Swanson, Peter De Schrijver, David Morris, Paul Norton
          ¥H¤Î¥ô¦óªá®É¶¡¦b¼¶¼g¤ÎºûÅ@¦¹ÅX°Êµ{¦¡«o¥¼³Q§Ú¦b³o¸Ì¦C¥Xªº¤H. ¨Ãµ¹
          packrat ·PÁÂ¥L¦b linux-tr listserv ªºÀ°¦£.
          
1. ª©Åv©MÂب¥

   §Ú­Ì¨Ã¤£«OÃÒ³o¤À¤å¥ó·|¤Á¦X§Aªº¨t²Î. «Ü¦h¤H¤w¸g¨Ï¥Î¹L³o¤À¤å¥ó¨Ã¤w¸g¦¨¥\
   ¦a¦b linux ¤W¦w¸Ë Token Ring ºô¸ô.
   
   ¨Ï¥Î¥»¤å,³d¥ô¦Û­t!!! ... §Ú­Ì¹ï¥ô¦ó¦]¬°¥»¤å¥ó³y¦¨ªº°ÝÃD¨Ã¤£­t³d.
   
   ¦pªG§A¦³¥ô¦óÃö©ó¥»¤å¥¼´£¨ìªº°ÝÃD,½Ð¨Ó«Hµ¹§Ú...
   
     [3]mike.e@emissary.aus-etc.com
     
   §A¤]¥i¥H¨Ó«H¥[¤J Linux ¤W Token Ring ªº¶l¥ó½×¾Â
   [4]majordomo@emissary.aus-etc.com ¨Ó«H¤º®e½Ð¥]§t:
   
¼ÐÃD linux-tr

   ¦¹¤å¥óªºª©ÅvÂk Michael Eckhoff (c) 1995-1998. ¥u­nª©Åv«Å§i«O¯d¦b¨C¥÷ªþ
   ¥ó¤¤,§A¥i¥H¥H¥ô¦ó§Î¦¡ÀH·N½Æ»s¥»¤å. °Ó·~½Æ»s¤]¬O³Q¤¹³\¨Ã¥b¹ªÀyªº;¦ý¬O,½Ð
   ¥ý³qª¾§ÚÅý§Ú½T©w§A¦³³Ì·sªº¸ê°T.
   
2. µwÅé»Ý¨D

   ½T©w§A¦³³Q¦¹ÅX°Êµ{¦¡¤ä´©ªº Token Ring ºô¸ô¥d. ¥Ø«e¥u¦³ Tropic ´¹¤ù³Q¤ä
   ´©.
   
   §Ú­Ó¤H¤wª¾¥i¥Îªº¥d¦³:
     * 3Com 3C619B Token Link
     * 3Com 3C619C Token Link
     * HyperRing Classic 16/4
     * IBM Turbo 16/4 ISA adapter**
     * IBM Token Ring Auto 16/4 ISA adapter
     * IBM Token Ring Auto 16/4 adapter /A
     * IBM Token Ring 16/4 adapter /A
     * IBM Token Ring adapter /A
     * IBM Token Ring adapter II (4 Megabit only)
     * IBM 16/4 ISA Token Ring card (16bit)
     * IBM 16/4 ISA Token Ring card (8bit)
     * Madge Blue (100% IBM compatable)
       
   ¨ä¥L 100%; IBM ¬Û®eªº shared-ram ºô¸ô¥dÀ³¸Ó¤]¥i¥H¶¶§Q¤u§@. ¦pªG¦³¨ä¥L¥i
   ¯à½Ð³qª¾§Ú.
   
   «Øij§A¼È¥B¥Î 16KB Shared RAM.
   
   ¥i¯à¦³°ÝÃDªººô¸ô¥d:
   
   IBM Turbo 16/4 ISA adapter
          ¨Æ¹ê¤W¦¹ºô¸ô¥d¦b Linux ¤U¤u§@¶¶§Q. ¦ý¬O,§A¥²¶·¥H Auto 16/4 ¬Û®e
          ¼Ò¦¡¹B§@. ³]©w¦¹¥d³Ì²³æªº¤è¦¡¬O¥ÎÀH¥dªþªº LANAID disks ¨Ã¥´¥H¤U
          «ü¥O:
          
LANAIDC /FAST=AUTO16

          §AÀ³¸Ó®Ú¾Ú¥»¤å¨Ï¥Î LANAIDC or LANAID ¨Ó³]©wºô¸ô¥d.
          
   Token-Ring Network 16/4 Adapter II
          ¦¹ºô¸ô¥dµLªk¤u§@. §O§â¦¹¥d©M IBM Token Ring ºô¸ô¥d II (4mbit) ·d
          ²V¤F. ³o¬O ISA ¤¶­±ªº DMA/Busmaster ºô¸ô¥d.
          
   3Com TokenLink Velocity ISA
          §A©Î³\¥iÅý¦¹¥d¹B§@. ®Ú¾Ú¬Y¨Çªº¦^³ø;¦³¨Ç¤u§@µL»~,¦ý¤]¦³¤H¦³°ÝÃD.
          
   PCI adapters
          ¥Ø«e¨S¦³¥ô¦ó IBM PCI ºô¸ô¥d³Q¤ä´©.
          
   IBM Auto LanStreamer 16/4 Token-Ring PCI Adapter
          ¥Ø«e¥¼¤ä´©,¦ý¤w¸g¦b¶i¦æ¤ä´©¤¤. ¹w­p§¹¦¨®É¬O Full Duplex.
          
3. ³nÅé»Ý¨D

   ¯d·N¨Æ¶µ :
          ¦pªG§Aªº¨t²Î®Ö¤ß¬O 2.0 ª©¥H«áªº¸Ü,½Ð¸õ¨ì¥»¤å®M¥ó¯S¦³¬q¸¨
          (distribution specific section). ¥H¤U¬O°w¹ï 1.2ª©ªº®Ö¤ß¦Ó¨¥.
          
   ³o¸Ì°²³]§A¤w¸g¦w¸Ë¨Ã¥i¹B§@ Linux.
   
   ¥i¥Ñ¥H¤U¦ì¸mÀò±o Token Ring ªº­×¸Éµ{¦¡:
   
     [5]ftp://ftp.wayne.esu1.k12.ne.us/pub/Linux/Token-Ring/TokenRing.pa
     tch-1.2.0.gz
     
   ¥i±q¤U¦C¦ì¸mÀò±o Net-Tools ­×¸Éµ{¦¡
   
     [6]ftp://ftp.wayne.esu1.k12.ne.us/pub/Linux/Token-Ring/net-tools-1.
     2.0.patched.tar.gz
     
   ´À­×¸Éµ{¦¡·s¼W¤@­Ó¥Ø¿ý (¨Ò¦p /usr/src/patches) ¨Ã§â­×¸Éµ{¦¡©ñ¦b³o.
   
mkdir /usr/src/patches             central directory for patch storage
mkdir /usr/src/patches/token       place TokenRing patch here

4. ¦w¸Ë©M³]©w

   ¯d·N¨Æ¶µ :
          ³o¨Ç»¡©ú¬O°w¹ï 1.2 ª©ªº token ring ¤ä´©ªº®Ö¤ß­×¸Éµ{¦¡. ¦pªG§A¥Î
          2.0 ª©¥H¤Wªº®Ö¤ß,§A¥u­n¦b­«·s½sĶ¥Ø«eªº®Ö¤ß®É,¹ï¤ä´© token ring
          ªº¿ï¶µ¿ï¾Ü "yes" ©Î "module" §Y¥i.
          
    1. §â Token Ring ºô¸ô¥d¦w¸Ë¨ì¹q¸£¤W¨Ã³]©w§A·Q­n¨Ï¥Îªº¥\¯à. ³Ì¦n¯à¥ý¦b
       DOS Àô¹Ò¤U´ú¸Õ¦¹¥dµL»~«á¦A¦b Linux ¤W¨Ï¥Î. ¦pªG¥¦¯à¦b DOS ¤U¤u§@,¨º
       ¥¦«Ü¦³¥i¯à¯à¥Î¬Û¦Pªº³]©w­È¦b Linux ¶]. ¦pªG³o¬O Plug and Play (ÀH´¡
       §Y¥Î) ºô¸ô¥d,·í§Aªº³]©w¥i¥HÅý¥¦¤u§@®É,°O±o§â³]©w­È°O¤U¨Ó.
    2. ´À§A­ì¥ýªº¨t²Î¥Ø¿ý§@­Ó³Æ¥÷. ·í§A¦³»Ý­n±N³o­×¸Éµ{¦¡±q§Aªº®Ö¤ß¤¤§¹¥þ
       ²¾°£¨Ã¦^¨ì§A­ì¥ýªº¨t²Î®É,³o´NÅã±o«Ü­«­n.
       
cd /usr/src
tar cvzhf linuxbak.tar.gz linux

    3. ¸ÑÀ£ÁY Token Ring ­×¸Éµ{¦¡.
       
cd /usr/src/patches/token
gzip -d TokenRing.patch-1.2.0.gz

    4. ´À§Aªº®Ö¤ß¼W¥[ TokenRing ¥\¯à.
       
cd /usr/src/linux
patch -p1 < /usr/src/patches/token/TokenRing.patch-1.2.0

       -©Î-
       
patch -p1 < <directory-of-patchfile>/TokenRing.patch-1.2.0

    5. ±q®Ö¤ß¤¤·j´M¦]­×¸É³y¦¨ªº rejects (¤£¦X®æ) ¨Ã§@¾A·íªº§ïÅÜ.
       
find . -name \*.rej -print

    6. ±q®Ö¤ß¤¤·j´M orig ÀɮרçR°£¥¦­Ì.
       
find . -name \*.orig -print | xargs rm

    7. ½sĶ®Ö¤ß.
       
        ¯d·N¨Æ¶µNOTE:
                ¦pªG§A¦³ swap ¤À³Î°Ï,½Ð§â¥L³]¦¨ active.
                
cd /usr/src/linux
make config

       (­×¸Éµ{¦¡·|±N¥H¤U¨â­Ó¿ï¶µ¥[¤J config.in
       
Token Ring support (CONFIG_TR) [y]

       (ÁÙ¦³¥H¤U³o¦æ...)
       
IBM Tropic chipset based adaptor support (CONFIG_IBMTR) [y]

make dep
make clean
make zImage

    8. ³]©w LILO. ­º¥ý§â§A®Ö¤ß vmlinuz §ï¦W¬° vmlinuz.old ¦A§â·s®Ö¤ß½Æ»s¦¨
       vmlinuz. ´N§Úªº¨t²Î¦Ó¨¥,½Æ»s¦³¥H¤U´X¨BÆJ
       
     /usr/src/linux/arch/i386/boot/zImage to /vmlinuz ¨Ã½s¿è
     /etc/lilo.conf ¨Ï®Ö¤ß¯à¸ü¤J.
       ¨Ã¦b´£¥Ü²Å¸¹¤U¥´ "lilo".
    9. §A²{¦b¥i­«·s¶}¾÷¨Ã¨Ï¥Î Token Ring ºô¸ô¥d¤F. ¬ÛÃö³]©wªº¸ê°T½Ð°Ñ¦Ò®M
       ¥ó¯S¦³¬q¸¨ (distribution specific section).
       
5. NetTools ¦w¸Ë

   NetTools packages(¥]¸Ë)¤¤¦³«Ü¦hºô¸ô³]³ÆÁpôªº°ò¥»¤u¨ã. ¥]§tªºµ{¦¡¦³
   arp, rarp, route, ifconfig and netstat. ¦]¬°³o¨Çµ{¦¡¹w³]¨Ã¤£¤F¸Ñ Token
   Ring, §A¥²¶·¥[¤J NetTools ­×¸Éµ{¦¡Åý³o¨Çµ{¦¡¯à»P Token Ring ÅX°Êµ{¦¡¤u
   §@¦a§ó¦³®Ä²v.
   
   ¯d·N¨Æ¶µ :
          ¥Ø«e 1.2.x ª©ªº®Ö¤ß¥Îªº NetTools ¬O 1.2.0 ª©. ¦pªG§A¥Îªº¬O 2.0
          ª©ªº®Ö¤ß,¨º»ò«Ü¥i¯à§Aªº NetTools ¤w¬O³Ì·sª©¤F. ¤£½×¦p¦ó,§A³£¥i¦b
          ¥H¤U¦ì¸m§ä¨ì³Ì·sªº­ì©lÀÉ:
          
     [7]ftp://tapac.inka.de/pub/comp/Linux/networking/NetTools/
     
    1. (1)½Æ»s¨Ã¸Ñ¶} NetTools ­ì©l½X¨ì¥Ø¿ý /usr/src
       
cp net-tools-1.2.0.patched.tar.gz  /usr/src
tar -zxvof /usr/src/net-tools-1.2.0.tar.gz

    2. (5) Make net-tools ÀÉ®×.
       
cd /usr/src/net
make install

6. ¤wª¾°ÝÃD

   §Ú­Ó¤H¨Ï¥Î¦¹ÅX°Êµ{¦¡´X¥G¨S¦³°ÝÃD. ¥¦¤w¸g§¹¬ü¹B§@¤F¤@¬q®É¶¡.
   
   ¦pªG§A¦b 1.2.x ª©®Ö¤ß¨Ï¥Î¦¹ÅX°Êµ{¦¡¦³¥ô¦ó°ÝÃD,½Ð§ó·s¦Ü 2.0 ª©®Ö¤ß. ¥»¤å
   ¼g§@®Éªº³Ì·s®Ö¤ßª©¥»¬O 2.0.33. Token Ring ÅX°Êµ{¦¡¦Û 1.2 ª©¥H«á¦³«Ü¤jªº
   §ïµ½,¦Ó¥B¤j³¡¤À³£¨S¦³¦^®Ò.
   
   ¦¹¥~,§A¤£¥²¹ï 2.0 ª©®Ö¤ß§@ token ring ªº­×¸É. ®Ö¤ß¤w¸g¤º«Ø.¦ý¦pªG§A·Q´ú
   ¸Õ·s¥\¯àªº¸Ü,¤]¦³µ¹ 2.1 ª©®Ö¤ßªº­×¸Éµ{¦¡.
   
7. °ÝÃD»P¦^µª

   Q:
          Token Ring ÅX°Êµ{¦¡¯à½sĶ¦¨ module(¼Ò²Õ) ¶Ü?
          
   A:
          ¥i¥H, ¥¦¤u§@¦a¬Û·í¦n.¦b½sĶ¦¨ module ®É¦³­ÓÃB¥~ªº°Ñ¼Æ¥i¥Î. ¦pªG
          §A¦³ "spoof(´ÛÄF)" ³nÅé¦w¸Ëµ{¦¡ªº»Ý­n,¨Ò¦p redhat boot disks §â
          token ring ºô¸ô¥d¬Ý¦¨ ethernet(¤A¤Óºô¸ô) ¸Ë¸m (¥Î NFS/FTP ¦w¸Ëµ¥
          µ¥),§A¥i¥H¥Î "device" ³o­Ó°Ñ¼Æ±j¦æ«ü©w³]³Æ¤£¥Î tr0 ³o­Ó¦WºÙ. ¦ý
          ·í§A¦³¦h±iºô¸ô¥d®É³o­Ó¤èªk¥i¯à·|¥X¿ù. ¤j¦h®É­Ô´N¬O³o¸Ì¦³¨Ç¤£¬Û®e
          ©Ê­n§JªA.¨Ò:
          
/sbin/insmod ibmtr device=eth0

   Q:
          §Ú¤@ª½¹J¨ì¿ù»~°T®§ "0011". ³o¬O¬Æ»ò·N«ä?
          
   A:
          ½T©w§Aªººô¸ô³s±µ¨S¦³°ÝÃD©Î¬O§Aªº token ring ºô¸ô¥d¦³ loopback
          connector.³o­Ó¿ù»~°T®§¬O«ü¥¦µLªk¶}±Ò token ring. ³oºØ±¡§Î;¦³
          99.99% ¬O¦]¬°¥¦¨S¦³³Q´¡¤J.
          
   C:
          ¦pªG§A¦³¸Ë­µ®Ä¥d¥B¥¦ªº IO 0x220,¨º«Ü¦³¥i¯à token ring ºô¸ô¥d·|©M
          0xa20 ªº IO ¦³½Ä¬ð.
          
          ¦pªG§Aµo²{¦³³Q¤ä´©ªººô¸ô¥dµLªk¤u§@¦Ó§A¤S¦³­µ®Ä¥d,½Ð¸ÕµÛ§â§Aªººô
          ¸ô¥d³]©w¦¨ 0xa24 ©Î¬O §ó§ï/²¾°£ ­µ®Ä¥d.
          
          °£¦¹¤§¥~...
          
          ³o¸Ì¦³¤@¨Ç§Ú¦¬¨ìÃö©ó Token Ring ©M Linux ªº email. ¬°¤F¤£¦ûªÅ
          ¶¡,§Ú§â¨ä¤¤¤@¨Ç email ¤£­«­nªº¤º®e§R¥h.
          
        Q:
                
From: "Mr. Chuck Rickard" <chuck@gl.umbc.edu>
Subject: Re: Token Ring Kernel patch.

§Ú¤w¥[¤J®Ö¤ß¨Ã­«·s½sĶ.·í¶}¾÷®É¥¦»¡,"tr0: Can't assign device to adapter"
and again for tr1".±z¦³¦ó¬Ýªk©O?
(¥H¤U¬°­ì¤å...)

I d/l'd the patch, applied it, and re-compiled. When booting it said,
"tr0: Can't assign device to adapter" and again for tr1.  Any ideas?

Thanks!

Chuck Rickard
(chuck@umbc8.umbc.edu)

        A:
                
From: David Morris <dwm@shell.portal.com>

                ¦pªG¥u¦³³o­Ó°T®§,¥¦ªí¥Ü¦³Ãöºô¸ô¥d¸ê°Tªº PIO request (°Ñ¦Ò
                segment = inb(PIOaddr) in ibmtr.c) ¤w¶W¥X Token Ring ºô¸ô
                ¥d©Ò¦bªº IO address ªº½d³ò¤F. (¥H¤U¬°­ì¤å...)
                
                When this is the only message issued, it means that the
                PIO request for adapter information (see segment =
                inb(PIOaddr) in ibmtr.c) was so out of range that there
                is no TR card at that IO address.
                
        Q:
                
From: Mike Glover <glover@credit.erin.utoronto.ca>
Subject: Token ring problems.
·PÁ±zªº¦^µª.§Ú·Q§Ú¤§«e°Ýªº¤£¹ïÃD,²{¦b­«·s»¡©ú¤@¹M.¤£½×¦p¦ó,¥H¤U°Å¿è¬O¶}¾÷«á±q
/var/adm/messages §Û¥X¨Óªº.
(¥H¤U­ì¤å¥¼§R...)

Thanks for responding. I was starting to thing that I posted incorrectly,
and I was about to post again. Anyway, the following  clip is part of my
/var/adm/messages file from when I boot up.

May  2 10:03:14 linux kernel: tr0: Unable to assign adapter to device.
May  2 10:03:14 linux kernel: tr1: Unable to assign adapter to device.

³o¬q¤¤, tr0: Unable to assign adapter device.µÛ¹ê§xÂZµÛ§Ú.³o°T®§Â²µu¦Ü·¥¨Ïªº§Ú
¤£ª¾¦p¦ó³B²z.§Ú¥uª¾¹D§Ú¨S¦³«ü©w¥ô¦ó token ring ªº¸ê°T,¦ý§Ú¤£ª¾¦p¦ó¤U¤â.
The section, tr0: Unable to assign adapter device. is what kinda confuses
me. The documentation is slim at best so I didn't know what to do with
the message. I know I didn't assign any token ring information,
and I didn't know where to do it.

The hardware(µwÅé):
            Its a PC clone (Dell OMNIPLEX 560 to be exact)
            The token ring card is a Olicom 16/4 Adapter.

§Ú¦³ DOS Àô¹Òªº token ring ÅX°Êµ{¦¡¦Ó¥B¥¦°¨¤W³s¤Wºô¸ô,©Ò¥H¤£¬O³o±iºô¸ô¥dªº°ÝÃD.
§Ú·Q¥i¯à¬O§Ú¦b Linux ¤U³]©w®É©¿²¤¤F¬Æ»ò¤pªF¦è.
I have DOS token ring drivers and it snaps into the network, so there is
nothing wrong with the card. I think, I am just missing something really
small in the config on the Linux side.

        A:
                Olicom 16/4 ºô¸ô¥d¨Ã¤£¨Ï¥Î Tropic ´¹¤ù.¸ÕµÛ¥h¥Î¤W­± HOWTO
                ©Ò¦Cªººô¸ô¥d. (¥H¤U¬°­ì¤å...)
                
                The Olicom 16/4 Adapter does not use the Tropic Chipset.
                Try using one of the cards that are listed at the top of
                the HOWTO.
                
        Q:
                
From: Mike Glover <glover@credit.erin.utoronto.ca>
Subject: Found an IBM card...

§Úµo²{¤@±i IBM token ring ºô¸ô¥d¨Ã¥B§ó¶i¤@¨B,¦ý¦ü¥G¤£«ç»ò¦n¹B.(¦b
/etc/rc.d/rc.inet1 ¤¤ ifconfig ¶µ¥Ø§Ú¦³§â eth0 §ï¦¨ tr0)
(­ì¤å...)
I found myself an IBM token ring card and I got a little further,
but still not luck. (I did change /etc/rc.d/rc.inet1 ifconfig entry
from eth0 to tr0)

¤£ºÞ«ç¼Ë,¥H¤U¬O /var/adm/messages ªº¤º®e:
Anyway, here is part of the /var/adm/messages file:
May  2 16:23:07 linux kernel: IPX Portions Copyright (c) 1995 Caldera, Inc.
May  2 16:23:07 linux kernel: tr0: PIOaddr:  a20 seg/intr: b8 mmio base:
   000dc000 intr: 0
May  2 16:23:07 linux kernel: tr0: Channel ID string not found for PIOaddr: a20
May  2 16:23:07 linux kernel: tr0: Expected for ISA: 5049434f3631313039393020
May  2 16:23:07 linux kernel: tr0:            found: 000902003021111000182000
May  2 16:23:07 linux kernel: tr0: Expected for MCA: 4d4152533633583435313820
May  2 16:23:07 linux kernel: tr0: Unable to assign adapter to device.
May  2 16:23:07 linux kernel: tr1: Unable to assign adapter to device.
May  2 16:23:07 linux kernel: PPP: version 0.2.7 (4 channels) NEW_TTY_DRIVERS
   OPTIMIZE_FLAGS


³o¦³»¡¬Æ»ò¶Ü?§Ú¬Ý¤£¥X¨Ó.
Does this tell you anything. It tells me little.

        A:
                
From: David Morris <dwm@shell.portal.com>

                ³o°T®§¥Nªí MMTO area ©Î¬O TR ºô¸ô¥d¦³°O¾ÐÅé½Ä¬ð³y¦¨©Mºô¸ô
                ¥dªº¤£¬Û®e (¦Ü¤Ö³o°T¸¹¥¼ª¾).
                
                This message means either a memory conflict with the MMIO
                area or a TR card which is not compatible with the driver
                (at least the signature isn't known).
                
        Q:
                
From: Mike Glover <glover@credit.erin.utoronto.ca>
Subject: Almost there...

The following sample is what I'm getting on my messages file:

May  3 14:50:24 linux kernel: tr0: now opening the board...
May  3 14:50:24 linux kernel: tr0: board opened...
May  3 15:11:47 linux kernel: tr0: Arrg. Transmitter busy for more than 50 msec
.
   Donald resets adapter, but resetting
May  3 15:11:47 linux kernel:  the IBM tokenring adapter takes a long time.
   It might not even help when the
May  3 15:11:47 linux kernel:  ring is very busy, so we just wait a little long
er
   and hope for the best.
May  3 15:11:47 linux kernel: tr0: Arrg. Transmitter busy for more than 50 msec
.
   Donald resets adapter, but resetting
May  3 15:11:47 linux kernel:  the IBM tokenring adapter takes a long time.
   It might not even help when the
May  3 15:11:47 linux kernel:  ring is very busy, so we just wait a little long
er
   and hope for the best.
May  3 15:11:47 linux kernel: tr0: Arrg. Transmitter busy for more than 50 msec
.
   Donald resets adapter, but resetting

Arrg ¶µ¥Ø¥u¦³·í§Ú telnet ,rlogin ©Î ftp ¨ì»·ºÝ¾÷¾¹®É¤~·|²£¥Í.·í¦³¤W­z±¡§Î®É,ºô¸ô
·|·í±¼¤@°}¤l.
§Ú²¾°£¨ä¥LµwÅé¸Ë¸m(§Úªº SCSI ¥d)Åýºô¸ô¥d³æ¿W¤u§@.¤@¼Ë¦³°ÝÃD,³o±Æ°£¤FµwÅ鶡 IRQ
½Ä¬ðªº±¡§Î.
¥H¤U¬O¦¹¥dªº DIP switches:
The Arrg entry only comes when I telnet, rlogin or ftp to a remote
machine. Once that happens, the connection hangs big time. I took out all
the other hardware (which was 1 SCSI card) and tried running the card all
by itself. Same thing, so it eliminates hardware IRQ's from getting into
a yelling match. The following are the DIP switches on the card:

1       Up      |
2       Down    |
3       Down    |       According to the manual this sets the
4       Up      |       base address to CC000 Which is fine for
5       Up      |       my machine.
6       Down    |
7       Down    +       This sets the IRQ to 2. Which is also fine
8       Down    +
9       Up      X       Primary Lan adapter. Which it is.
10      Up      =       16 KB shared RAM size. This OK?
11      Down    =
12      Up      #       16 Mbps Data rate.

§ÚÃhºÃ³o¬O§_¯uªº¬O dip switches,©Î¬O§Ú³]©wºô¸ô®Éªº route table ¦³°ÝÃD.
I was wondering if it is in fact the dip switches, or the way I have
configured my route table and other network info.

ttfn,
Mike

        A:
                ¦b 2.0 ª©®Ö¤ß¤¤ Arrg ªº°ÝÃD­È±o¯d·N.©Ò¦³ªº­×¸Éµ{¦¡³£¨S¦³¦^
                ®Ò¨ì 1.2 ª©,²{¦b§Ú¦b·Q³o¥²­n©Ê¤F.¦pªG§A¦³¹L¦h Arrg °T®§ªº
                °ÝÃD,§AÄ@·N¤É¯Å¨ì 2.0 ª©ªº®Ö¤ß¶Ü? The Arrg problem is
                pretty much taken care of in the 2.0 kernels. All of the
                patches have not been ported back to 1.2, and I doubt
                that they will be. If you get excessive Arrg messages, do
                yourself a favour and move to Linux 2.0.
                
8. ®M¥ó¯S¦³¦w¸Ë

8.1 Slackware 96

   ¦pªG§Aªº¨t²Î¥¼°õ¦æ¹L "netconfig" ,½Ð²{¦b°õ¦æ. ³]©w­È¦p¦P¨t²Î¬O³B©ó
   Ethernet(¤A¤Óºô¸ô) ¤¤.
   
   ½s¿è /etc/rc.d/rc.inet1 «ü¦V tr0 device(³]³Æ)¦Ó¤£¬Oeth0 device(³]³Æ)
   
   §AÀ³¸Ó·|¬Ý¨ì¦³¤@¦æ¹³³o¼Ë
   
/sbin/ifconfig eth0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}

   §â³o¦æ§ï¦¨¬°
   
/sbin/ifconfig tr0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}

8.2 RedHat 4.0+

   ¦b RedHat Linux ¤¤¦³¤@­Ó«Ü´Îªº Xwindows ±±¨î¥x¥i¥H³]©w modules(¼Ò²Õ) ©M
   devices(³]³Æ). ¦pªG§A¦b¦w¸Ë RedHat ®É´N¤w¸g¸Ë¤W¤F token ring ºô¸ô¥d,¨º
   »ò§AÀ³¸Ó¤w¸g¦³¤F token ring ªº¼Ò²Õ¤ä´©¤F. ¸Õ¸Õ¥H¤U«ü¥O:
   
modprobe ibmtr

   ¬Ý¬Ý§A±o¨ì¬Æ»ò. ¦pªG§Aªººô¸ô¥d³Q¤ä´©,¨º»ò«Ü¥i¯à§A¤w¸g¯à¨Ï¥Î¥¦¤F.
   
   ³]©w¤¶­±³Ì¦n¥Îªº¬O control-panel(±±¨î¥x). ­º¥ý§A·|·Q¥Î kernel module
   control(¼Ò²Õ®Ö¤ß±±¨î) ¨Ã«ü¥Ü¥¦¸ü¤J token ring ³o­Ó·sªººô¸ô³]³Æ. ¥¦À³¸Ó
   ·|¦b¶}¾÷®É¦Û°Ê¸ü¤J ibmtr ³o­ÓÅX°Êµ{¦¡. µM«á§A·|·Q¸õ¹Lºô¸ô²ÕºA¨Ã¼W¥[·sªº
   ³]³Æ,tr,¨Ãµ¹¥¦¤@­Ó ip address,µ¥µ¥.
   
   §A¥i¥H­«·s¶}¾÷¨Ã¦b RedHat Linux 4.0+ ¤W¨Ï¥Î Token Ring ºô¸ô¥d¤F.
   
   ½Ð¯d·NÃö©ó RedHat ªº»¡©ú³¡¥÷¬O¾a¸£¤¤ªº¦L¶H¼gªº. ¦]¬°§Ú¦³¤@¬q®É¶¡¨S¦³­×
   §ï¹L§Úªº RedHat ¨t²Î¤F,²{¦b³o¬O¾Ì°O¾Ð¼gªº. ¤£½×¦p¦ó,¥¦­Ì¥i¥H¹F¦¨§Aªº¥Ø
   ªº.

References

   1. mailto:mike.e@emissary.aus-etc.com
   2. mailto:matterchen@sinamail.com
   3. mailto:mike.e@emissary.aus-etc.com
   4. mailto:majordomo@emissary.aus-etc.com
   5. ftp://ftp.wayne.esu1.k12.ne.us/pub/Linux/Token-Ring/TokenRing.patch-1.2.0.gz
   6. ftp://ftp.wayne.esu1.k12.ne.us/pub/Linux/Token-Ring/net-tools-1.2.0.patched.tar.gz
   7. ftp://tapac.inka.de/pub/comp/Linux/networking/NetTools/