\documentclass[letterpaper,english]{article}
\nonstopmode
\akai
\usepackage{linuxdoc-sgml}
\usepackage{qwertz}
\usepackage{url}
\usepackage[latin1]{inputenc}
\usepackage{t1enc}
\usepackage[english]{babel}
\usepackage{epsfig}
\usepackage{null}
\def\addbibtoc{
\addcontentsline{toc}{section}{\numberline{\mbox{}}\relax\bibname}
}%end-preamble
\setcounter{page}{1}
\title{Token-Ring mini-HOWTO}
\author{×÷Õß:Mike Eckhoff {\ttfamily \onlynameurl{ mike.e@emissary.aus-etc.com}}\\  ÒëÕß:³Â¿¡Ö¾ {\ttfamily \onlynameurl{ matterchen@sinamail.com}}}
\date{v4.1, 7 January 1998     ·­ÒëÈÕÆÚ 15 December 2000}
\abstract{Õâ·ÖÎÄ¼þÊÇÓÃÀ´°ïÖúÄã°²×°ºËÐÄÐÞ²¹³ÌÊ½Í¬Ê±ÊÔÖøÖ¸³ö¸ÃÁôÐÄµÄÊÂÏî.ÎÒ½¨ÒéÄãÔÚÊÔÖø°²×°ÈÎºÎ Linux ÓÃµÄ Token Ring Çý¶¯³ÌÊ½Ö®Ç°×îºÃÄÜÔÄÀÀ¹ýÕâ·ÖÎÄ¼þ.}


\begin{document}
\maketitle
\tableofcontents
\begin{description}
\item[ÌØ±ð¸ÐÐ»] \mbox{}

¸ø Mark Swanson, Peter De Schrijver, David Morris, Paul Norton
ÒÔ¼°ÈÎºÎ»¨Ê±¼äÔÚ×«Ð´¼°Î¬»¤´ËÇý¶¯³ÌÊ½È´Î´±»ÎÒÔÚÕâÀïÁÐ³öµÄÈË.
²¢¸ø packrat ¸ÐÐ»ËûÔÚ linux-tr listserv µÄ°ïÃ¦.



\end{description}



\section{°æÈ¨ºÍ×¸ÑÔ}

ÎÒÃÇ²¢²»±£Ö¤Õâ·ÖÎÄ¼þ»áÇÐºÏÄãµÄÏµÍ³.
ºÜ¶àÈËÒÑ¾­Ê¹ÓÃ¹ýÕâ·ÖÎÄ¼þ²¢ÒÑ¾­³É¹¦µØÔÚ linux ÉÏ°²×° Token Ring ÍøÂ·.

Ê¹ÓÃ±¾ÎÄ,ÔðÈÎ×Ô¸º!!!
...
ÎÒÃÇ¶ÔÈÎºÎÒòÎª±¾ÎÄ¼þÔì³ÉµÄÎÊÌâ²¢²»¸ºÔð.

Èç¹ûÄãÓÐÈÎºÎ¹Øì¶±¾ÎÄÎ´Ìáµ½µÄÎÊÌâ,ÇëÀ´ÐÅ¸øÎÒ...
\begin{quotation}
\onlynameurl{mike.e@emissary.aus-etc.com}
\end{quotation}

ÄãÒ²¿ÉÒÔÀ´ÐÅ¼ÓÈë Linux ÉÏ Token Ring µÄÓÊ¼þÂÛÌ³
\onlynameurl{majordomo@emissary.aus-etc.com}
À´ÐÅÄÚÈÝÇë°üº¬:
\begin{tscreen}
\begin{verbatim}
±êÌâ linux-tr
\end{verbatim}
\end{tscreen}


´ËÎÄ¼þµÄ°æÈ¨¹é Michael Eckhoff (c) 1995-1998.
Ö»Òª°æÈ¨Ðû¸æ±£ÁôÔÚÃ¿·Ý¸½¼þÖÐ,Äã¿ÉÒÔÒÔÈÎºÎÐÎÊ½ËæÒâ¸´ÖÆ±¾ÎÄ.
ÉÌÒµ¸´ÖÆÒ²ÊÇ±»ÔÊÐí²¢°ë¹ÄÀøµÄ;µ«ÊÇ,ÇëÏÈÍ¨ÖªÎÒÈÃÎÒÈ·¶¨ÄãÓÐ×îÐÂµÄ×ÊÑ¶.


\section{Ó²ÌåÐèÇó}

È·¶¨ÄãÓÐ±»´ËÇý¶¯³ÌÊ½Ö§Ô®µÄ Token Ring ÍøÂ·¿¨.
Ä¿Ç°Ö»ÓÐ Tropic ¾§Æ¬±»Ö§Ô®. 

ÎÒ¸öÈËÒÑÖª¿ÉÓÃµÄ¿¨ÓÐ:
\begin{itemize}
\item 3Com 3C619B Token Link
\item 3Com 3C619C Token Link
\item HyperRing Classic 16/4
\item IBM Turbo 16/4 ISA adapter**      
\item IBM Token Ring Auto 16/4 ISA adapter
\item IBM Token Ring Auto 16/4 adapter /A
\item IBM Token Ring 16/4 adapter /A
\item IBM Token Ring adapter /A
\item IBM Token Ring adapter II (4 Megabit only)
\item IBM 16/4 ISA Token Ring card (16bit)
\item IBM 16/4 ISA Token Ring card (8bit)
\item Madge Blue (100\% IBM compatable)
\end{itemize}

ÆäËû 100\%; IBM ÏàÈÝµÄ shared-ram ÍøÂ·¿¨Ó¦¸ÃÒ²¿ÉÒÔË³Àû¹¤×÷.
Èç¹ûÓÐÆäËû¿ÉÄÜÇëÍ¨ÖªÎÒ.

½¨ÒéÄãÔÝÇÒÓÃ 16KB Shared RAM.

¿ÉÄÜÓÐÎÊÌâµÄÍøÂ·¿¨:
\begin{description}
\item[IBM Turbo 16/4 ISA adapter] \mbox{}

ÊÂÊµÉÏ´ËÍøÂ·¿¨ÔÚ Linux ÏÂ¹¤×÷Ë³Àû.  
µ«ÊÇ,Äã±ØÐëÒÔ Auto 16/4 ÏàÈÝÄ£Ê½ÔË×÷.
Éè¶¨´Ë¿¨×î¼òµ¥µÄ·½Ê½ÊÇÓÃËæ¿¨¸½µÄ LANAID disks ²¢´òÒÔÏÂÖ¸Áî:
\begin{tscreen}
\begin{verbatim}
LANAIDC /FAST=AUTO16
       
\end{verbatim}
\end{tscreen}

ÄãÓ¦¸Ã¸ù¾Ý±¾ÎÄÊ¹ÓÃ {\ttfamily LANAIDC} or {\ttfamily LANAID} À´Éè¶¨ÍøÂ·¿¨.



\item[Token-Ring Network 16/4 Adapter II] \mbox{}

´ËÍøÂ·¿¨{\bfseries ÎÞ·¨}¹¤×÷.
±ð°Ñ´Ë¿¨ºÍ IBM Token Ring ÍøÂ·¿¨ II (4mbit) ¸ã»ìÁË.
ÕâÊÇ ISA ½éÃæµÄ DMA/Busmaster ÍøÂ·¿¨.



\item[3Com TokenLink Velocity ISA] \mbox{}

Äã»òÐí¿ÉÈÃ´Ë¿¨ÔË×÷.
¸ù¾ÝÄ³Ð©µÄ»Ø±¨;ÓÐÐ©¹¤×÷ÎÞÎó,µ«Ò²ÓÐÈËÓÐÎÊÌâ. 



\item[PCI adapters] \mbox{}

Ä¿Ç°Ã»ÓÐÈÎºÎ IBM PCI ÍøÂ·¿¨±»Ö§Ô®. 



\item[IBM Auto LanStreamer 16/4 Token-Ring PCI Adapter] \mbox{}

Ä¿Ç°Î´Ö§Ô®,µ«ÒÑ¾­ÔÚ½øÐÐÖ§Ô®ÖÐ.
Ô¤¼ÆÍê³ÉÊ±ÊÇ Full Duplex.

\end{description}



\section{ÈíÌåÐèÇó}

\begin{description}
\item[ÁôÒâÊÂÏî :] \mbox{}

Èç¹ûÄãµÄÏµÍ³ºËÐÄÊÇ 2.0 °æÒÔááµÄ»°,ÇëÌøµ½±¾ÎÄÌ×¼þÌØÓÐ¶ÎÂä (distribution
specific section).
ÒÔÏÂÊÇÕë¶Ô 1.2°æµÄºËÐÄ¶øÑÔ. 

\end{description}

ÕâÀï¼ÙÉèÄãÒÑ¾­°²×°²¢¿ÉÔË×÷ Linux.

¿ÉÓÉÒÔÏÂÎ»ÖÃ»ñµÃ Token Ring µÄÐÞ²¹³ÌÊ½:
\begin{tscreen}
\nameurl{ftp://ftp.wayne.esu1.k12.ne.us/pub/Linux/Token-Ring/TokenRing.patch-1.2.0.gz}{}
\end{tscreen}

¿É´ÓÏÂÁÐÎ»ÖÃ»ñµÃ Net-Tools ÐÞ²¹³ÌÊ½
\begin{tscreen}
\nameurl{ftp://ftp.wayne.esu1.k12.ne.us/pub/Linux/Token-Ring/net-tools-1.2.0.patched.tar.gz}{}
\end{tscreen}

ÌæÐÞ²¹³ÌÊ½ÐÂÔöÒ»¸öÄ¿Â¼ (ÀýÈç {\ttfamily /usr/src/patches}) ²¢°ÑÐÞ²¹³ÌÊ½·ÅÔÚÕâ.
\begin{tscreen}
\begin{verbatim}
mkdir /usr/src/patches             central directory for patch storage
mkdir /usr/src/patches/token       place TokenRing patch here
\end{verbatim}
\end{tscreen}



\section{°²×°ºÍÉè¶¨}

\begin{description}
\item[ÁôÒâÊÂÏî :] \mbox{}

ÕâÐ©ËµÃ÷ÊÇÕë¶Ô 1.2 °æµÄ token ring Ö§Ô®µÄºËÐÄÐÞ²¹³ÌÊ½.
Èç¹ûÄãÓÃ 2.0 °æÒÔÉÏµÄºËÐÄ,ÄãÖ»ÒªÔÚÖØÐÂ±àÒëÄ¿Ç°µÄºËÐÄÊ±,¶ÔÖ§Ô® token
ring µÄÑ¡ÏîÑ¡Ôñ  "{\ttfamily y}es" »ò "{\ttfamily m}odule" ¼´¿É.

\end{description}

\begin{enumerate}
\item °Ñ Token Ring ÍøÂ·¿¨°²×°µ½µçÄÔÉÏ²¢Éè¶¨ÄãÏëÒªÊ¹ÓÃµÄ¹¦ÄÜ.
×îºÃÄÜÏÈÔÚ DOS »·¾³ÏÂ²âÊÔ´Ë¿¨ÎÞÎóááÔÙÔÚ Linux ÉÏÊ¹ÓÃ.
Èç¹ûËüÄÜÔÚ DOS ÏÂ¹¤×÷,ÄÇËüºÜÓÐ¿ÉÄÜÄÜÓÃÏàÍ¬µÄÉè¶¨ÖµÔÚ Linux ÅÜ.
Èç¹ûÕâÊÇ Plug and Play (Ëæ²å¼´ÓÃ) ÍøÂ·¿¨,µ±ÄãµÄÉè¶¨¿ÉÒÔÈÃËü¹¤×÷Ê±,¼ÇµÃ°ÑÉè¶¨Öµ¼ÇÏÂÀ´.
\item ÌæÄãÔ­ÏÈµÄÏµÍ³Ä¿Â¼×÷¸ö±¸·Ý.

µ±ÄãÓÐÐèÒª½«ÕâÐÞ²¹³ÌÊ½´ÓÄãµÄºËÐÄÖÐÍêÈ«ÒÆ³ý²¢»Øµ½ÄãÔ­ÏÈµÄÏµÍ³Ê±,Õâ¾ÍÏÔµÃºÜÖØÒª.
\begin{tscreen}
\begin{verbatim}
cd /usr/src
tar cvzhf linuxbak.tar.gz linux
        
\end{verbatim}
\end{tscreen}

\item ½âÑ¹Ëõ Token Ring ÐÞ²¹³ÌÊ½.
\begin{tscreen}
\begin{verbatim}
cd /usr/src/patches/token
gzip -d TokenRing.patch-1.2.0.gz
        
\end{verbatim}
\end{tscreen}

\item ÌæÄãµÄºËÐÄÔö¼Ó TokenRing ¹¦ÄÜ.
\begin{tscreen}
\begin{verbatim}
cd /usr/src/linux
patch -p1 < /usr/src/patches/token/TokenRing.patch-1.2.0
        
\end{verbatim}
\end{tscreen}

-»ò-
\begin{tscreen}
\begin{verbatim}
patch -p1 < <directory-of-patchfile>/TokenRing.patch-1.2.0
        
\end{verbatim}
\end{tscreen}

\item ´ÓºËÐÄÖÐËÑÑ°ÒòÐÞ²¹Ôì³ÉµÄ rejects (²»ºÏ¸ñ) ²¢×÷ÊÊµ±µÄ¸Ä±ä.
\begin{tscreen}
\begin{verbatim}
find . -name \*.rej -print
        
\end{verbatim}
\end{tscreen}

\item ´ÓºËÐÄÖÐËÑÑ° orig µµ°¸²¢É¾³ýËüÃÇ.
\begin{tscreen}
\begin{verbatim}
find . -name \*.orig -print | xargs rm
        
\end{verbatim}
\end{tscreen}

\item ±àÒëºËÐÄ.
\begin{description}
\item[ÁôÒâÊÂÏîNOTE:] \mbox{}

Èç¹ûÄãÓÐ swap ·Ö¸îÇø,Çë°ÑËûÉè³É active.

\end{description}

\begin{tscreen}
\begin{verbatim}
cd /usr/src/linux
make config
        
\end{verbatim}
\end{tscreen}

(ÐÞ²¹³ÌÊ½»á½«ÒÔÏÂÁ½¸öÑ¡Ïî¼ÓÈë {\ttfamily config.in}
\begin{tscreen}
\begin{verbatim}
Token Ring support (CONFIG_TR) [y]
        
\end{verbatim}
\end{tscreen}

(»¹ÓÐÒÔÏÂÕâÐÐ...)
\begin{tscreen}
\begin{verbatim}
IBM Tropic chipset based adaptor support (CONFIG_IBMTR) [y]
        
\end{verbatim}
\end{tscreen}

\begin{tscreen}
\begin{verbatim}
make dep
make clean
make zImage
        
\end{verbatim}
\end{tscreen}

\item Éè¶¨ LILO.

Ê×ÏÈ°ÑÄãºËÐÄ {\ttfamily vmlinuz} ¸ÄÃûÎª {\ttfamily vmlinuz.old}
ÔÙ°ÑÐÂºËÐÄ¸´ÖÆ³É {\ttfamily vmlinuz}.
¾ÍÎÒµÄÏµÍ³¶øÑÔ,¸´ÖÆÓÐÒÔÏÂ¼¸²½Öè
\begin{quotation}
{\ttfamily /usr/src/linux/arch/i386/boot/zImage} to {\ttfamily /vmlinuz}
²¢±à¼­ {\ttfamily /etc/lilo.conf} Ê¹ºËÐÄÄÜÔØÈë.
\end{quotation}

²¢ÔÚÌáÊ¾·ûºÅÏÂ´ò "{\ttfamily lilo}".
\item ÄãÏÖÔÚ¿ÉÖØÐÂ¿ª»ú²¢Ê¹ÓÃ Token Ring ÍøÂ·¿¨ÁË.
Ïà¹ØÉè¶¨µÄ×ÊÑ¶Çë²Î¿¼Ì×¼þÌØÓÐ¶ÎÂä (distribution specific section).
\end{enumerate}



\section{NetTools °²×°}

NetTools packages(°ü×°)ÖÐÓÐºÜ¶àÍøÂ·Éè±¸ÁªÏµµÄ»ù±¾¹¤¾ß.
°üº¬µÄ³ÌÊ½ÓÐ {\ttfamily arp}, {\ttfamily rarp}, {\ttfamily route},
{\ttfamily ifconfig} and {\ttfamily netstat}.
ÒòÎªÕâÐ©³ÌÊ½Ô¤Éè²¢²»ÁË½â Token Ring,
Äã±ØÐë¼ÓÈë NetTools ÐÞ²¹³ÌÊ½ÈÃÕâÐ©³ÌÊ½ÄÜÓë Token Ring
Çý¶¯³ÌÊ½¹¤×÷µØ¸üÓÐÐ§ÂÊ.
\begin{description}
\item[ÁôÒâÊÂÏî :] \mbox{}

Ä¿Ç° 1.2.x °æµÄºËÐÄÓÃµÄ NetTools ÊÇ 1.2.0 °æ.
Èç¹ûÄãÓÃµÄÊÇ 2.0 °æµÄºËÐÄ,ÄÇ÷áºÜ¿ÉÄÜÄãµÄ NetTools ÒÑÊÇ×îÐÂ°æÁË.
²»ÂÛÈçºÎ,Äã¶¼¿ÉÔÚÒÔÏÂÎ»ÖÃÕÒµ½×îÐÂµÄÔ­Ê¼µµ:
\begin{tscreen}
\nameurl{ftp://tapac.inka.de/pub/comp/Linux/networking/NetTools/}{}
\end{tscreen}


\end{description}

\begin{enumerate}
\item (1)¸´ÖÆ²¢½â¿ª NetTools Ô­Ê¼Âëµ½Ä¿Â¼ /usr/src
\begin{tscreen}
\begin{verbatim}
cp net-tools-1.2.0.patched.tar.gz  /usr/src
tar -zxvof /usr/src/net-tools-1.2.0.tar.gz 
        
\end{verbatim}
\end{tscreen}

\item (5) Make net-tools µµ°¸.
\begin{tscreen}
\begin{verbatim}
cd /usr/src/net
make install
        
\end{verbatim}
\end{tscreen}
\end{enumerate}



\section{ÒÑÖªÎÊÌâ}

ÎÒ¸öÈËÊ¹ÓÃ´ËÇý¶¯³ÌÊ½¼¸ºõÃ»ÓÐÎÊÌâ.
ËüÒÑ¾­ÍêÃÀÔË×÷ÁËÒ»¶ÎÊ±¼ä.

Èç¹ûÄãÔÚ 1.2.x °æºËÐÄÊ¹ÓÃ´ËÇý¶¯³ÌÊ½ÓÐÈÎºÎÎÊÌâ,Çë¸üÐÂÖÁ 2.0 °æºËÐÄ.
±¾ÎÄÐ´×÷Ê±µÄ×îÐÂºËÐÄ°æ±¾ÊÇ 2.0.33.
Token Ring Çý¶¯³ÌÊ½×Ô 1.2 °æÒÔááÓÐºÜ´óµÄ¸ÄÉÆ,¶øÇÒ´ó²¿·Ö¶¼Ã»ÓÐ»ØË·.

´ËÍâ,Äã²»±Ø¶Ô 2.0 °æºËÐÄ×÷ token ring µÄÐÞ²¹.
ºËÐÄÒÑ¾­ÄÚ½¨.µ«Èç¹ûÄãÏë²âÊÔÐÂ¹¦ÄÜµÄ»°,Ò²ÓÐ¸ø 2.1 °æºËÐÄµÄÐÞ²¹³ÌÊ½.


\section{ÎÊÌâÓë»Ø´ð}

\begin{description}
\item[Q:] \mbox{}

Token Ring Çý¶¯³ÌÊ½ÄÜ±àÒë³É module(Ä£×é) Âð?

\item[A:] \mbox{}

¿ÉÒÔ, Ëü¹¤×÷µØÏàµ±ºÃ.ÔÚ±àÒë³É module Ê±ÓÐ¸ö¶îÍâµÄ²ÎÊý¿ÉÓÃ.
Èç¹ûÄãÓÐ "spoof(ÆÛÆ­)" ÈíÌå°²×°³ÌÊ½µÄÐèÒª,ÀýÈç redhat boot disks °Ñ
token ring ÍøÂ·¿¨¿´³É ethernet(ÒÒÌ«ÍøÂ·) ×°ÖÃ (ÓÃ NFS/FTP °²×°µÈµÈ),Äã¿ÉÒÔÓÃ
"{\ttfamily device}" Õâ¸ö²ÎÊýÇ¿ÐÐÖ¸¶¨Éè±¸²»ÓÃ {\ttfamily tr0} Õâ¸öÃû³Æ.
µ«µ±ÄãÓÐ¶àÕÅÍøÂ·¿¨Ê±Õâ¸ö·½·¨¿ÉÄÜ»á³ö´í.
´ó¶àÊ±ºò¾ÍÊÇÕâÀïÓÐÐ©²»ÏàÈÝÐÔÒª¿Ë·þ.Àý:
\begin{tscreen}
\begin{verbatim}
/sbin/insmod ibmtr device=eth0
        
\end{verbatim}
\end{tscreen}




\item[Q:] \mbox{}

ÎÒÒ»Ö±Óöµ½´íÎóÑ¶Ï¢ "0011". ÕâÊÇÉõ÷áÒâË¼?

\item[A:] \mbox{}

È·¶¨ÄãµÄÍøÂ·Á¬½ÓÃ»ÓÐÎÊÌâ»òÊÇÄãµÄ token ring ÍøÂ·¿¨ÓÐ loopback
connector.Õâ¸ö´íÎóÑ¶Ï¢ÊÇÖ¸ËüÎÞ·¨¿ªÆô token ring.
ÕâÖÖÇéÐÎ;ÓÐ 99.99\% ÊÇÒòÎªËüÃ»ÓÐ±»²åÈë.

\item[C:] \mbox{}

Èç¹ûÄãÓÐ×°ÒôÐ§¿¨ÇÒËüµÄ IO 0x220,ÄÇºÜÓÐ¿ÉÄÜ token ring ÍøÂ·¿¨»áºÍ
0xa20 µÄ IO ÓÐ³åÍ».

Èç¹ûÄã·¢ÏÖÓÐ±»Ö§Ô®µÄÍøÂ·¿¨ÎÞ·¨¹¤×÷¶øÄãÓÖÓÐÒôÐ§¿¨,ÇëÊÔÖø°ÑÄãµÄÍøÂ·¿¨Éè¶¨³É
0xa24 »òÊÇ ¸ü¸Ä/ÒÆ³ý ÒôÐ§¿¨.

³ý´ËÖ®Íâ...

ÕâÀïÓÐÒ»Ð©ÎÒÊÕµ½¹Øì¶ Token Ring ºÍ Linux µÄ email.
ÎªÁË²»Õ¼¿Õ¼ä,ÎÒ°ÑÆäÖÐÒ»Ð© email ²»ÖØÒªµÄÄÚÈÝÉ¾È¥.
\begin{description}
\item[Q:] \mbox{}

\begin{tscreen}
\begin{verbatim}
From: "Mr. Chuck Rickard" <chuck@gl.umbc.edu>
Subject: Re: Token Ring Kernel patch.

ÎÒÒÑ¼ÓÈëºËÐÄ²¢ÖØÐÂ±àÒë.µ±¿ª»úÊ±ËüËµ,"tr0: Can't assign device to adapter"
and again for tr1".ÄúÓÐºÎ¿´·¨ÄØ?
(ÒÔÏÂÎªÔ­ÎÄ...)

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)
              
\end{verbatim}
\end{tscreen}




\item[A:] \mbox{}

\begin{tscreen}
\begin{verbatim}
From: David Morris <dwm@shell.portal.com>
              
\end{verbatim}
\end{tscreen}

Èç¹ûÖ»ÓÐÕâ¸öÑ¶Ï¢,Ëü±íÊ¾ÓÐ¹ØÍøÂ·¿¨×ÊÑ¶µÄ PIO request (²Î¿¼
{\ttfamily segment = inb(PIOaddr)} in {\ttfamily ibmtr.c}) ÒÑ³¬³ö Token Ring
ÍøÂ·¿¨ËùÔÚµÄ IO address µÄ¡õÎ§ÁË.
(ÒÔÏÂÎªÔ­ÎÄ...)

When this is the only message issued,
it means that the PIO request for adapter information
(see {\ttfamily segment = inb(PIOaddr)} in {\ttfamily ibmtr.c})
was so out of range that there is no TR card at that IO address.



\item[Q:] \mbox{}

\begin{tscreen}
\begin{verbatim}
From: Mike Glover <glover@credit.erin.utoronto.ca>
Subject: Token ring problems.
¸ÐÐ»ÄúµÄ»Ø´ð.ÎÒÏëÎÒÖ®Ç°ÎÊµÄ²»¶ÔÌâ,ÏÖÔÚÖØÐÂËµÃ÷Ò»±é.²»ÂÛÈçºÎ,ÒÔÏÂ¼ô¼­ÊÇ¿ª»úáá´Ó
/var/adm/messages ³­³öÀ´µÄ.
(ÒÔÏÂÔ­ÎÄÎ´É¾...)

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.

Õâ¶ÎÖÐ, tr0: Unable to assign adapter device.ÖøÊµÀ§ÈÅÖøÎÒ.ÕâÑ¶Ï¢¼ò¶ÌÖÁ¼«Ê¹µÄÎÒ
²»ÖªÈçºÎ´¦Àí.ÎÒÖ»ÖªµÀÎÒÃ»ÓÐÖ¸¶¨ÈÎºÎ token ring µÄ×ÊÑ¶,µ«ÎÒ²»ÖªÈçºÎÏÂÊÖ.
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(Ó²Ìå):
            Its a PC clone (Dell OMNIPLEX 560 to be exact)
            The token ring card is a Olicom 16/4 Adapter.

ÎÒÓÐ DOS »·¾³µÄ token ring Çý¶¯³ÌÊ½¶øÇÒËüÂíÉÏÁ¬ÉÏÍøÂ·,ËùÒÔ²»ÊÇÕâÕÅÍøÂ·¿¨µÄÎÊÌâ.
ÎÒÏë¿ÉÄÜÊÇÎÒÔÚ Linux ÏÂÉè¶¨Ê±ºöÂÔÁËÉõ÷áÐ¡¶«Î÷.
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.
              
\end{verbatim}
\end{tscreen}




\item[A:] \mbox{}

Olicom 16/4 ÍøÂ·¿¨²¢²»Ê¹ÓÃ Tropic ¾§Æ¬.ÊÔÖøÈ¥ÓÃÉÏÃæ HOWTO ËùÁÐµÄÍøÂ·¿¨.
(ÒÔÏÂÎªÔ­ÎÄ...)              

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.



\item[Q:] \mbox{}

\begin{tscreen}
\begin{verbatim}
From: Mike Glover <glover@credit.erin.utoronto.ca>
Subject: Found an IBM card...

ÎÒ·¢ÏÖÒ»ÕÅ IBM token ring ÍøÂ·¿¨²¢ÇÒ¸ü½øÒ»²½,µ«ËÆºõ²»Ôõ÷áºÃÔË.(ÔÚ
/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)

²»¹ÜÔõÑù,ÒÔÏÂÊÇ /var/adm/messages µÄÄÚÈÝ:
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


ÕâÓÐËµÉõ÷áÂð?ÎÒ¿´²»³öÀ´.
Does this tell you anything. It tells me little.
              
\end{verbatim}
\end{tscreen}




\item[A:] \mbox{}

\begin{tscreen}
\begin{verbatim}
From: David Morris <dwm@shell.portal.com>
              
\end{verbatim}
\end{tscreen}

ÕâÑ¶Ï¢´ú±í MMTO area »òÊÇ TR ÍøÂ·¿¨ÓÐ¼ÇÒäÌå³åÍ»Ôì³ÉºÍÍøÂ·¿¨µÄ²»ÏàÈÝ
(ÖÁÉÙÕâÑ¶ºÅÎ´Öª).

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).



\item[Q:] \mbox{}

\begin{tscreen}
\begin{verbatim}
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 longer
   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 longer
   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 ÏîÄ¿Ö»ÓÐµ±ÎÒ telnet ,rlogin »ò ftp µ½Ô¶¶Ë»úÆ÷Ê±²Å»á²úÉú.µ±ÓÐÉÏÊöÇéÐÎÊ±,ÍøÂ·»áµ±µôÒ»Õó×Ó.
ÎÒÒÆ³ýÆäËûÓ²Ìå×°ÖÃ(ÎÒµÄ SCSI ¿¨)ÈÃÍøÂ·¿¨µ¥¶À¹¤×÷.Ò»ÑùÓÐÎÊÌâ,ÕâÅÅ³ýÁËÓ²Ìå¼ä IRQ ³åÍ»µÄÇéÐÎ.
ÒÔÏÂÊÇ´Ë¿¨µÄ 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.

ÎÒ»³ÒÉÕâÊÇ·ñÕæµÄÊÇ dip switches,»òÊÇÎÒÉè¶¨ÍøÂ·Ê±µÄ route table ÓÐÎÊÌâ.
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
              
\end{verbatim}
\end{tscreen}




\item[A:] \mbox{}

ÔÚ 2.0 °æºËÐÄÖÐ Arrg µÄÎÊÌâÖµµÃÁôÒâ.ËùÓÐµÄÐÞ²¹³ÌÊ½¶¼Ã»ÓÐ»ØË·µ½
1.2 °æ,ÏÖÔÚÎÒÔÚÏëÕâ±ØÒªÐÔÁË.Èç¹ûÄãÓÐ¹ý¶à Arrg Ñ¶Ï¢µÄÎÊÌâ,ÄãÔ¸ÒâÉý¼¶µ½ 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.

\end{description}


\end{description}



\section{Ì×¼þÌØÓÐ°²×°}


\subsection{Slackware 96}

Èç¹ûÄãµÄÏµÍ³Î´Ö´ÐÐ¹ý "{\ttfamily netconfig}" ,ÇëÏÖÔÚÖ´ÐÐ.
Éè¶¨ÖµÈçÍ¬ÏµÍ³ÊÇ´¦ì¶ Ethernet(ÒÒÌ«ÍøÂ·) ÖÐ.

±à¼­ {\ttfamily /etc/rc.d/rc.inet1} Ö¸Ïò {\ttfamily tr0} device(Éè±¸)¶ø²»ÊÇ{\ttfamily eth0}
device(Éè±¸)  

ÄãÓ¦¸Ã»á¿´µ½ÓÐÒ»ÐÐÏñÕâÑù
\begin{tscreen}
\begin{verbatim}
/sbin/ifconfig eth0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}
\end{verbatim}
\end{tscreen}

°ÑÕâÐÐ¸Ä³ÉÎª
\begin{tscreen}
\begin{verbatim}
/sbin/ifconfig tr0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}
\end{verbatim}
\end{tscreen}



\subsection{RedHat 4.0+}

ÔÚ RedHat Linux ÖÐÓÐÒ»¸öºÜ°ôµÄ Xwindows ¿ØÖÆÌ¨¿ÉÒÔÉè¶¨ modules(Ä£×é) ºÍ
devices(Éè±¸).
Èç¹ûÄãÔÚ°²×° RedHat Ê±¾ÍÒÑ¾­×°ÉÏÁË token ring ÍøÂ·¿¨,ÄÇ÷áÄãÓ¦¸ÃÒÑ¾­ÓÐÁË
token ring µÄÄ£×éÖ§Ô®ÁË.
ÊÔÊÔÒÔÏÂÖ¸Áî:
\begin{tscreen}
\begin{verbatim}
modprobe ibmtr
\end{verbatim}
\end{tscreen}

¿´¿´ÄãµÃµ½Éõ÷á.
Èç¹ûÄãµÄÍøÂ·¿¨±»Ö§Ô®,ÄÇ÷áºÜ¿ÉÄÜÄãÒÑ¾­ÄÜÊ¹ÓÃËüÁË.

Éè¶¨½éÃæ×îºÃÓÃµÄÊÇ control-panel(¿ØÖÆÌ¨).
Ê×ÏÈÄã»áÏëÓÃ kernel module control(Ä£×éºËÐÄ¿ØÖÆ) ²¢Ö¸Ê¾ËüÔØÈë token ring
Õâ¸öÐÂµÄÍøÂ·Éè±¸.
ËüÓ¦¸Ã»áÔÚ¿ª»úÊ±×Ô¶¯ÔØÈë ibmtr Õâ¸öÇý¶¯³ÌÊ½.
È»ááÄã»áÏëÌø¹ýÍøÂ·×éÌ¬²¢Ôö¼ÓÐÂµÄÉè±¸,{\ttfamily tr},²¢¸øËüÒ»¸ö ip address,µÈµÈ.

Äã¿ÉÒÔÖØÐÂ¿ª»ú²¢ÔÚ RedHat Linux 4.0+ ÉÏÊ¹ÓÃ Token Ring ÍøÂ·¿¨ÁË.

ÇëÁôÒâ¹Øì¶ RedHat µÄËµÃ÷²¿·ÝÊÇ¿¿ÄÔÖÐµÄÓ¡ÏóÐ´µÄ.
ÒòÎªÎÒÓÐÒ»¶ÎÊ±¼äÃ»ÓÐÐÞ¸Ä¹ýÎÒµÄ RedHat ÏµÍ³ÁË,ÏÖÔÚÕâÊÇÆ¾¼ÇÒäÐ´µÄ.
²»ÂÛÈçºÎ,ËüÃÇ¿ÉÒÔ´ï³ÉÄãµÄÄ¿µÄ.

\end{document}
