\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{Zip Drive Mini-HOWTO}
\author{×÷Õß£ºKyle Dansie {\ttfamily \onlynameurl{dansie@ibm.net}}\\ 
ÒëÕß£ºÑîÉÐ·å {\ttfamily \onlynameurl{storm@chempro.che.ntu.edu.tw}}}
\date{v2.5, 07 March 2002
·­ÒëÈÕÆÚ£º12 May 2002}
\abstract{Õâ·ÝÎÄ¼þÌá¹©ÄãÒ»¸öÔÚ Linux ÉÏÉè¶¨ÓëÊ¹ÓÃ Iomega ZIP ´Åµú»úµÄ¿ìËÙÖ¸Òý¡£}


\begin{document}
\maketitle
\tableofcontents

\section{¼ò½é}

Iomega ZIP ´Åµú»úÊÇÒ»ÖÖºÜÊÜ»¶Ó­µÄ³éÈ¡Ê½´Åµú»ú¡£ZIP ´Åµú»úÓÐºÜ¶à²»Í¬µÄ°æ±¾£º
\begin{itemize}
\item  ²¢ÁÐ²º(Parallel Port)
\item  SCSI
\item  IDE - ATAPI
\item  Plus 
\end{itemize}
  
ÆäÖÐ£¬×îÊÜ»¶Ó­µÄËÆºõÊÇ²¢ÁÐ²ºµÄ°æ±¾£¬Ö÷ÒªÊÇÒòÎª²¢ÁÐ²º°æ±¾µÄ»úÆ÷ÉÏÊÐÒÑÓÐÒ»¶Î²»¶ÌµÄÊ±¼ä£¬²¢ÇÒ¼Û¸ñµÍÁ®¡£
SCSI °æ±¾µÄ»úÆ÷ËäÈ»Ò²ÉÏÊÐÁËÒ»¶ÎÊ±¼äÁË£¬µ«ÊÇÒòÎªÐèÒªÓÐ SCSI Åä½Ó¿¨£¬¶ø SCSI ¿¨²¢²»ÊÇÈËÈË¶¼ÓÐµÄ£¬Òò´Ë£¬²¢Ã»ÓÐÈç²¢ÁÐ²º°æ±¾°ãÁ÷ÐÐ¡£
ATAPI °æ±¾µÄ»úÆ÷ÏÖÔÚÔòËÆºõÔ½À´Ô½³£¼ûÁË¡£
Plus ÊÇÒ»¸ö½ÏÐÂµÄ ZIP ´Åµú»ú°æ±¾£¬Ëü¾ßÓÐ×Ô¶¯Õì²â´Åµú»úÊÇÁ¬½ÓÔÚ²¢ÁÐ²º»òÕß SCSI ½éÃæµÄÄÜÁ¦¡£
±¾ÎÄ¼þÖ÷Òª»á½«½¹µã·ÅÔÚ²¢ÁÐ²ºµÄ°æ±¾ÉÏ£¬È»¶øÒ²»áÌá¹©Ò»Ð©ÆäËû°æ±¾»úÆ÷µÄÌáÊ¾¡£



±¾ÎÄ¼þ°üº¬ÁËÒ»Ð©ÆäËûÈËËùÊÕ¼¯¼°·¢±íµÄ×ÊÑ¶£¬ÓÈÆäÊÇ£º
\begin{itemize}
\item  Grant Guenther, grant@torque.net
\item  Scot Wilcoxon, sewilco@fielday.mn.org
\item  Joe Mack, mack@ncifcrf.gov
\item  Byron Jeff, byron@cc.gatech.edu
\end{itemize}
  

ÎÒ·Ç³£¸ÐÐ»ËûÃÇµÄÖØÒª¹±Ï×ÒÔ¼°Ö¸ÕýÎÒËù·¸µÄ´íÎó¡£

ÌØ±ð¸ÐÐ»Íê³É 0.26 °æµÄ ppa Çý¶¯³ÌÊ½ÒÔ¼°Õâ¸ö HOWTO µÄÔ­Ê¼°æ±¾×÷Õß Grant Guenther ¡£
Èç¹û·¢ÏÖ±¾ÎÄ¼þÓÐÈÎºÎ´íÎó»òÊèÊ§£¬ÇëÈÃÎÒÖªµÀ£º
\onlynameurl{dansie@ibm.net}

Èç¹ûÓÐÈÎºÎ·­ÒëÉÏµÄ´íÎó»òÊèÊ§£¬Ò²ÇëÈÃÒëÕßÖªµÀ£º
\onlynameurl{storm@chempro.che.ntu.edu.tw}




\subsection{±¾ÎÄ¼þµÄ·¢Ô´µØ}

±¾ÎÄ¼þµÄ×îÐÂÔ­ÎÄ°æ±¾¿ÉÒÔÔÚÕâÀïÈ¡µÃ£º
\nameurl{http://www.njtcom.com/dansie/zip-drive.html}{}






\section{¿ìËÙÉÏÊÖÖ¸Òý}

ÏÖÔÚ£¬ÄãÂòÁËÒ»Ì¨ÐÂµÄ ZIP ´Åµú»ú£¬¶øÄãÏëÒªÊ¹ÓÃËü¡£
ÓÐÐ© Linux µÄ·¢ÐÐ°æ±¾£¨Distribution£©ÒÑ¾­°üº¬ÁË ppa Ä£×é¡£
Äã¿ÉÒÔÊÔÖøÒÔ insmod ppa Ö¸ÁîÀ´ÔØÈë ppa Ä£×éÒÔÊ¹ÓÃ ZIP ´Åµú»ú¡££¨ÇëÈ·¶¨ÄãÓÐ°Ñ ZIP ´Åµú»ú°²×°Í×µ±£¬²¢ÇÒÔÚ´Åµú»úÄÚ²åÓÐ´ÅÆ¬¡££©
Èç¹û·¢ÏÖÏµÍ³ÖÐÃ»ÓÐ ppa Ä£×é£¬ÄÇ÷áÄã±ØÐëÒªµ÷ÕûºËÐÄ×éÌ¬Éè¶¨¡£
ÎÒµÄ»úÆ÷ÉÏÓÐÁ½¸ö²¢ÁÐ²º£¬Ò»¸ö½Ó ZIP ´Åµú»ú£¬¶øÁíÒ»¸ö½ÓÓ¡±í»ú¡£
ÕâÑù¿ÉÒÔÃâÈ¥ÇÐ»»Óë²å°ÎµçÀÂÏßµÄÂé·³¡£

Éè¶¨ÏµÍ³ºËÐÄ(kernel)×éÌ¬£º
\begin{itemize}
\item  ÇÐ»»¹¤×÷Ä¿Â¼ÖÁ /usr/src/linux
\item  make xconfig
\item  Ñ¡Ôñ scsi support = Y  
\item  Ñ¡Ôñ scsi disk support = Y
\item  Ñ¡Ôñ Iomega zip support as a module 
\item  Ñ¡Ôñ printer support also as a module 
\item  ½áÊø²¢´¢´æÉè¶¨
\item  make dep
\item  make clean
\item  make zImage or zlilo or zdisk 
\item  make modules
\item  make modules\_install
\end{itemize}


½ÓÏÂÀ´£¬ÒªÊ¹ÓÃ ppa Çý¶¯³ÌÊ½£º
\begin{itemize}
\item  ÔØÈë ppa Ä£×é£º {\ttfamily insmod ppa}
\item  ½¨Á¢Ò»¸ö¹ÒÔØµã£¨mounting point£©£º {\ttfamily mkdir /zip}
\item  ²åÈëÒ»Æ¬ÒÑ¾­ÒÔ Windows µµ°¸ÏµÍ³¸ñÊ½¸ñÊ½»¯ºÃµÄ ZIP ´ÅÆ¬µ½ ZIP ´Åµú»úÖÐ¡£
\item  ½« ZIP ´ÅÆ¬¹ÒÔØ£¨mount£©ÆðÀ´£º {\ttfamily mount -t vfat /dev/sda4 /zip}
\item  Ê¹ÓÃÈÎºÎ±ê×¼µÄµµ°¸Ö¸Áî£¬ÀýÈç {\ttfamily  l /zip, ls /zip, df, cp,}
\item  µ±Äã¹¤×÷Íê³ÉÒÔáá£º {\ttfamily  umount /zip }
\end{itemize}


Èç¹ûÄãÔÚÉÏÃæµÄ²Ù×÷²½ÖèÖÐÓöµ½ÈÎºÎÎÊÌâ£¬Çë²Î¿¼½ÓÏÂÀ´µÄ¸÷ÕÂ½ÚÒÔ»ñµÃ¸üÏêÏ¸µÄËµÃ÷¡£








\section{½¨Á¢Ò»¸öÄÜÊ¹ÓÃ ZIP ´Åµú»úµÄºËÐÄ}

ÒªÔÚ Linux ÏÂÊ¹ÓÃ ZIP ´Åµú»ú£¬Äã±ØÐëÒªÓÐÒ»¸öÖ§Ô® SCSI ×°ÖÃ£¬Ö§Ô® SCSI ´Åµú£¬ÒÔ¼°Ö§Ô®ÄãËùÓÃµÄÖ÷Åä½ÓÆ÷£¨Host Adapter£©µÄºËÐÄ¡£
Èç¹ûÄã¶Ôì¶ÈçºÎ½¨Á¢ºËÐÄ²¢²»ÊìÏ¤£¬Äã¿ÉÒÔÓÉ \nameurl{http://metalab.unc.edu/mdw/HOWTO/Kernel-HOWTO.html}{Linux Kernel HOWTO} »ñµÃÏà¹Ø×ÊÑ¶{\ttfamily {\bfseries [ÒëÕß×¢]}}¡£

{\bfseries {\ttfamily [ÒëÕß×¢] ÖÐÎÄ»¯µÄ Linux Kernel HOWTO ¿ÉÒÔÔÚ \nameurl{http://www.linux.org.tw/CLDP/Kernel-HOWTO.html}{CLDP Linux Kernel HOWTO} ÖÐÕÒµ½¡£}}

½¨Á¢ºËÐÄµÄµÚÒ»²½ÊÇÉè¶¨ºËÐÄ×éÌ¬¡£ÏÂÃæ»á¸æËßÄãÄÄÐ©ºËÐÄÉè¶¨Ñ¡Ïî±ØÐëÒªÑ¡¶¨¡£
Ê×ÏÈ£¬ {\ttfamily  cd /usr/src/linux}¡£ÓÐÐí¶à·½·¨¿ÉÒÔ½øÐÐ×éÌ¬Éè¶¨¡£
ÔÚ X window ÏÂÎÒÓÃ {\bfseries make xconfig}¡£
´ËÍâ£¬ÔÚÃüÁîÁÐÏÂ£¬»¹¿ÉÒÔÓÃ {\ttfamily make menuconfig} »ò {\ttfamily make config}¡£È»¶ø£¬×î¼òµ¥µÄ·½·¨ÊÇÓÃ xconfig¡£

ÔÚ {\bfseries SCSI Support} ×éÌ¬Èº×éÖÐ£¬Ñ¡¶¨ {\bfseries SCSI support = Y}¡£ÁíÍâÒ²ÒªÑ¡¶¨ {\bfseries SCSI disk support = Y}¡£

ÔÚ {\bfseries SCSI low-level drivers} ×éÌ¬Èº×éÖÐ£¬ÄãÒªÑ¡¶¨ {\bfseries IOMEGA Parallel Port ZIP drive SCSI support = M}¡£ "M" ´ú±íÉè¶¨³ÉÄ£×é¡£

ÔÚ {\bfseries Character Devices} ×éÌ¬Èº×éÖÐ£¬ÕÒµ½²¢Ñ¡¶¨
{\bfseries Parallell Printer support = M}¡£

Èç¹ûÄã¶ÔÉÏÃæµÄ²½Öè¸Ðµ½ÈÎºÎÒ»µãµãµÄ²»È·¶¨£¬ÄÇ÷áÔÚ±àÒëºËÐÄÊ±£¬ÇëÊ¹ÓÃ {\ttfamily make zdisk} µÄ±àÒë·½Ê½¡£
ÕâÑù»á½¨Á¢²¢°²×°ºËÐÄµ½Èíµú»úÉÏ¡£Èç´ËÒ»À´£¬Èç¹ûÄãÒòÎªÄ³Ð©Ô­Òò¶ø¸ãÔÒÁË£¬ÔÚÓ²µúÉÏÄãÈÔÈ»»¹ÓÐÒ»¸ö¿ÉÒÔÕý³£¿ª»úµÄÏµÍ³¡£

ÏÖÔÚ£¬ÒÔÏÂÁÐµÄ²½Öè½¨Á¢ºËÐÄ£º
\begin{itemize}
\item  make dep
\item  make clean
\item  make zImage »ò zlilo »ò zdisk 
\item  make modules
\item  make mdoules\_install
\end{itemize}


{\bfseries {[}Ð¡ÌáÊ¾]} Èç¹ûÄãÏë¼ÇÂ¼ÔÚ make zImage ¹ý³ÌÖÐµÄÓ©Ä»Êä³öµÄ»°£¬Äã¿ÉÒÔÓÃÏÂÁÐÖ¸Áî£º
\begin{tscreen}
\begin{verbatim}
   make zImage 2>&1 | tee zImage.out
  
\end{verbatim}
\end{tscreen}

Ê®·Ö½¨ÒéÄã½«±àÒë¹ý³Ì¼ÇÂ¼ÏÂÀ´£¬ÓÈÆäÊÇµ±±àÒë¹ý³ÌÓÐ·¢Éú´íÎó£¬»òÕßºËÐÄ×éÌ¬Éè¶¨ÓÐ´íµÄÊ±ºò£¬
Äã¿ÉÒÔÔÚ¼ÇÂ¼µµÖÐÕÒµ½Ïà¹ØµÄ´íÎóÑ¶Ï¢¡£ÕâÑù»á·½±ãÄãÔÚÏò±ðÈËÇóÖúÊ±ÄÜÌá¹©Ïà¹ØÑ¶Ï¢¡£

´ËÍâ£¬Äã±ØÐë½«Ä£×éÔØÈë¡£ÔÚÎÒµÄÏµÍ³ÉÏ£¬ÎÒÖ»ÊÇÔÚ boot.local ÖÐ¼ÓÁËÏÂÃæ¼¸ÐÐ£º
\begin{itemize}
\item  insmod ppa
\item  insmod lp
\end{itemize}

ÎÒµÄÏµÍ³ÊÇ SuSE 5.3 £¬¶øÕâ¸öµµ°¸ÔÚ /etc/rc.d ÏÂ¡£ Õâ¸öµµ°¸µÄÃû³ÆºÍÂ·¾¶ÔÚÃ¿¸ö·¢ÐÐ°æ±¾ÖÐ¶¼»áÂÔÓÐ²»Í¬£¬µ«×Ü»áÓÐÒ»¸öÕâÑùµÄµµ°¸£¬ÓÃÀ´¼ÍÂ¼Ò»Ð©Äã×Ô¼ºÏ£ÍûÔÚÏµÍ³Æô¶¯Ê±£¬×Ô¶¯Ö´ÐÐµÄÃüÁî¡£
ÄãÓ¦¸ÃÕÒµ½²¢Ê¹ÓÃÄãËù°²×°µÄ·¢ÐÐ°æ±¾ÖÐÏà¶ÔÓ¦µÄµµ°¸{\ttfamily {\bfseries [ÒëÕß×¢]}}¡£

{\bfseries {\ttfamily [ÒëÕß×¢] ÔÚ RedHat ºÍ Slackware ÕâÁ½¸ö·¢ÐÐ°æ±¾ÖÐ£¬Õâ¸öµµ°¸ÊÇ /etc/rc.d/rc.local¡£}}

ÏÖÔÚ£¬{\ttfamily ¹Ø±ÕÏµÍ³²¢ÖØÐÂÆô¶¯}¡£

ÄãÒ²¿ÉÒÔ½«È«²¿»òÕß²¿·ÖµÄ SCSI ×°ÖÃÉè¶¨½¨³ÉÄ£×é¡£
Èç¹ûÄãÕâÑù×ö£¬ÔÚÄãÊÔÖøÊ¹ÓÃ ZIP ´Åµú»úÇ°£¬¼ÇµÃÒªÏÈÈ·¶¨ÔØÈë scsi.o £¬½ÓÏÂÀ´ÔØÈë sd.o £¬×îááÔØÈëÄãµÄÖ÷Åä½ÓÆ÷µÄÄ£×é¡£




\subsection{SCSI °æ±¾}



Èç¹ûÄãÒÑ¾­ÓÐÒ»Ì¨ SCSI Ó²µú£¬¶øÇÒÄã½« ZIP ´Åµú»ú½ÓÔÚÍ¬Ò»¸ö SCSI ¿ØÖÆÆ÷ÉÏ£¬ÄÇ÷áÄã²»ÐèÒª±ä¸üºËÐÄµÄ×éÌ¬Éè¶¨£»·ñÔò£¬ÄãºÜ¿ÉÄÜ±ØÐë½¨Á¢Ò»¸öÐÂµÄºËÐÄ¡£

Èç¹ûÄãÔÚ½¨Á¢Ò»¸ö¿ÉÒÔÊ¹ÓÃ SCSI ZIP ´Åµú»úµÄºËÐÄ£¬ÄãÓ¦¸ÃÒª¿ªÆôÖ§Ô® SCSI ÒÔ¼° SCSI ´Åµú»úµÄÉè¶¨Ñ¡Ïî¡£
´ËÍâ£¬ÄãÒ²±ØÐëÑ¡ÔñÒ»¸öÖ§Ô®ÄãËùÓÃµÄ SCSI Åä½Ó¿¨µÄÇý¶¯³ÌÊ½¡£Èç¹ûÄãÓÐ ZIP Zoom SCSI Åä½Ó¿¨£¬ÇëÑ¡Ôñ aha152x Õâ¸öÇý¶¯³ÌÊ½¡£

ÇëÎñ±Ø¶Á¹ýÔÚ SCSI HOWTO ÎÄ¼þÖÐ£¬ÓÐ¹ØÄãËùÊ¹ÓÃµÄ SCSI Åä½Ó¿¨µÄÏà¹Ø×ÊÑ¶£¬²¢ÇÒÎñ±Ø¶Á¹ýÔÚ Linux ºËÐÄÔ­Ê¼³ÌÊ½ÂëÄ¿Â¼ÏÂ£¬drivers/scsi Ä¿Â¼ÏÂËùÓÐµÄ README µµ¡£
ÇëÌØ±ð×¢ÒâÊÇ·ñÓÐ±ØÐë´«¸øºËÐÄÒÔÇý¶¯ÄãµÄ SCSI Åä½Ó¿¨µÄÏà¹ØºËÐÄÆô¶¯²ÎÊý¡£

ÀýÈç£¬Èç¹ûÄãÊÇÓÃ ZIP Zoom ½éÃæ¿¨£¬Äã½«±ØÐëÔÚ¿ª»ú³öÏÖ boot: ÌáÊ¾·ûºÅÊ±£¬ÊäÈëÀàËÆ

\begin{tscreen}
\begin{verbatim}
          aha152x=0x340,11,7,1
\end{verbatim}
\end{tscreen}


µÄºËÐÄ²ÎÊý£¨»òÕß½«Õâ¶Î²ÎÊý¼ÓÔÚÄãµÄ /etc/lilo.conf ÖÐµÄ append ÃüÁîÖÐ£©¡£
ÕâÁÐ²ÎÊý¸æËßÇý¶¯³ÌÊ½ÓÐ¹ØÄãµÄ ZIP Zoom ¿¨µÄÊä³öÈë²ºÎ»Ö·ÒÔ¼°ÖÐ¶Ï£¨IRQ£©- Îñ±ØÈ·¶¨ËùÓÃµÄÊýÖµÓëÄã¿¨ÉÏµÄÓ²ÌåÌøÏßÆ÷£¨Jumper£©Éè¶¨Ïà·û¡£

ÄãÒ²¸Ã¿´¿´ Paul Gortmaker µÄ
\nameurl{http://metalab.unc.edu/mdw/HOWTO/BootPrompt-HOWTO.html}{BootPrompt HOWTO} ÒÔ»ñµÃ¸ü¶àÓÐ¹ØÈçºÎÉè¶¨ÓëÊ¹ÓÃ LILO »ò LOADLIN{\ttfamily {\bfseries [ÒëÕß×¢]}}¡£

{\bfseries {\ttfamily [ÒëÕß×¢] ÖÐÎÄ»¯µÄ BootPrompt HOWTO ¿ÉÒÔÔÚ \nameurl{http://www.linux.org.tw/CLDP/BootPrompt-HOWTO.html}{CLDP BootPrompt HOWTO} ÖÐÕÒµ½¡£}}






\section{ZIP ´Åµú»ú}

Iomega ZIP 100 ´Åµú»ú×îÉÙÓÐÎåÖÖ»òÁùÖÖ²»Í¬°æ±¾¡£
Iomega ÍøÕ¾ÉÏÓÐ¹ØÕâÐ©´Åµú»úµÄ²¿·ÖÔÚ \nameurl{http://www.iomega.com/zip/}{}¡£
ËùÓÐµÄ»úÖÖ¶¼ÄÜÊ¹ÓÃÈÝÁ¿Îª 100 MB µÄÌØÊâ 3.5" ´ÅÆ¬Ï»¡£
ÕâÖÖ´ÅÆ¬Êµ¼ÊÉÏÓÐ 96 ¸ö´ÅÖù£¨Cylinder£©£¬Ã¿¸ö´ÅÖùÓÐ 2048 ¸ö´ÅÇø£¬Ã¿¸ö´ÅÇøÓÐ 512 Î»Ôª×é¡£ÕâÖÖ´ÅÆ¬µÄÊµ¼ÊÈÝÁ¿Í¨³£Îª 96 MB¡£

Íâ½ÓÊ½µÄ»úÖÖÓÐ£º
\begin{itemize}
\item  ²¢ÁÐ²º
\item  SCSI
\item  Plus
\end{itemize}


ÄÚ½ÓÊ½µÄ»úÖÖÓÐ£º
\begin{itemize}
\item  SCSI
\item  IDE
\item  ATAPI
\end{itemize}


ÄÚ½ÓÊ½µÄ»úÖÖÄÜ¹»×°ÔÚµçÄÔ»ú¿ÇµÄ 3.5 »ò 5.25 ¡õ´Åµú»ú²Û¡£
Íâ½ÓÊ½µÄ»úÖÖÔòÊÇ×°ÔÚÒ»¸öÀ¶É«Ð¡ËÜ½º»ú¿ÇÖÐ{\ttfamily {\bfseries [ÒëÕß×¢]}}£¬²¢ÓÉÍâ²¿µÄµçÔ´¹©Ó¦Æ÷¹©Ó¦µçÔ´¡£

{\bfseries {\ttfamily [ÒëÕß×¢] ÔçÆÚÔøÓÐÒ»¶ÎÊ±¼ä£¬EPSON ÓÐ´úÀíÍâ½ÓÊ½²¢ÁÐ²º ZIP ´Åµú»ú£¬EPSON Ëù´úÀíµÄ»úÆ÷µÄ»ú¿ÇÑÕÉ«ÊÇ°×É«µÄ¡£}}

²»¹ÜÊÇÄÄÒ»ÖÖ»úÐÍ£¬Ã¿²¿ ZIP ´Åµú»úµÄÇ°Ãæ°å¶¼»áÓÐÒ»¸ö°´Å¥¡£ÄÇÊÇÍËÆ¬Å¥¡£
µ± ZIP ´Åµú»ú±»Ê¹ÓÃÊ±£¬Linux »áËø×¡´ÅÆ¬£¬È»¶øÈôÔÚ´ËÊ±°´ÏÂÁËÍËÆ¬Å¥£¬ZIP ´Åµú»ú»á¡º¼ÇÆðÀ´¡»ÍËÆ¬ÒªÇó£¬²¢ÇÒÔÚÏµÍ³½â³ýËø¶¨´ÅÆ¬áá£¬Á¢¿Ì½«´ÅÆ¬ÍË³öÀ´¡£




\subsection{²¢ÁÐ²º°æ±¾µÄ ZIP 100 ´Åµú»ú}

Õâ¸ö°æ±¾µÄ ZIP ´Åµú»úÏà¹Ø×ÊÑ¶¿ÉÒÔÔÚÕâÀïÕÒµ½£º\nameurl{http://www.iomega.com/zip/products/parallel_port.html}{}

Linux µÄ ZIP Çý¶¯³ÌÊ½ÓÐ¼¸¸ö²»Í¬µÄ°æ±¾¡£ÔÚ 2.0.x µÄºËÐÄ¸½µÄÊÇ 0.26 °æµÄ ppa.c Çý¶¯³ÌÊ½¡£
Èç¹ûÄãµÄºËÐÄ°æ±¾µÍì¶ 2.0.35£¬ÄÇ÷áÄãÓÐÒ»¸ö{\bfseries ÀÏ¾É°æ±¾µÄ}Çý¶¯³ÌÊ½¡£
µ½
\nameurl{http://www.torque.net/~campbell/}{David Campbell's page}
À´ÕÒÕÒ±È½ÏÐÂµÄ°æ±¾¡£ÔÚÐ´ÕâÆª mini-Howto Ê±£¬×îÐÂµÄ°æ±¾ÊÇ 1.42 °æ{\ttfamily {\bfseries [ÒëÕß×¢]}}¡£

{\bfseries {\ttfamily [ÒëÕß×¢] ÔÚÎÒ·­ÒëÕâÆª mini-Howto Ê±£¨May 1999£©£¬×îÐÂµÄ°æ±¾ÈÔÊÇ 1.42 °æ¡£}}

1.4x °æÇý¶¯³ÌÊ½µÄ×Ô¶¯Ó²Ìå×éÌ¬Õì²â¹¦ÄÜÊµÔÚÌ«°ôÁË¡£
Äã²»ÐèÒª¸æËßÇý¶¯³ÌÊ½ÄãµÄ²¢ÁÐ²ºµÄ»ùµ×¼ÇÒäÌåÎ»ÖÃ£¬Çý¶¯³ÌÊ½»á×Ô¶¯Õì²â²¢ÁÐ²ºµÄ±ê×¼»ùµ×Î»Ö·£¬Èç¹ûÕì²âµ½ ZIP ´Åµú»úµÄ»°£¬»¹»á×Ô¶¯Á¬½Ó´Åµú»ú¡£

×î³£Óöµ½µÄ´íÎóÊÇÔÚÔØÈë ppa Çý¶¯³ÌÊ½Ç°£¬ÏÈÔØÈëÁË lp Ó¡±í»úÄ£×é¡£ppa Çý¶¯³ÌÊ½±ØÐëÔÚ lp Ä£×éÖ®Ç°ÔØÈë¡£
ppa Çý¶¯³ÌÊ½Ö®ËùÒÔ±ØÐëÏÈÔØÈëµÄÔ­ÒòÊÇÒòÎª lp Ä£×é»áÕ¼ÓÃ ZIP ´Åµú»úËùÓÃµÄÊä³öÈë²º¡£

ÁíÍâÒ²ÇëÈ·¶¨ËùÓÐµçÀÂ¶¼ÓÐÎÈ¹ÌµÄÁ¬½ÓÍ×µ±¡£

Èç¹ûÄãÒ»ÇÐ¶¼×ö¶ÔÁË :) Äã»áÔÚ¿ª»úÊ±¿´µ½ÀàËÆÕâÑùµÄÑ¶Ï¢£º

\begin{verbatim}
  VFS: Mounted root (ext2 filesystem) readonly.
  Adding Swap: 102528k swap-space (priority -1)
  ppa: Version 1.42
  ppa: Probing port 03bc
  ppa: Probing port 0378
  ppa:     SPP port present
  ppa:     EPP 1.9 with hardware direction protocol
  ppa: Found device at ID 6, Attempting to use EPP 32 bit
  ppa: Communication established with ID 6 using EPP 32 bit
  ppa: Probing port 0278
  ppa:     SPP port present
  scsi0 : Iomega parport ZIP drive
  scsi : 1 host.
    Vendor: IOMEGA    Model: ZIP 100           Rev: D.09
    Type:   Direct-Access                      ANSI SCSI revision: 02
  Detected scsi removable disk sda at scsi0, channel 0, id 6, lun 0
  SCSI device sda: hdwr sector= 512 bytes. Sectors= 196608 [96 MB] [0.1 GB]
  sda: Write Protect is off
    sda: sda4
  lp2 at 0x0278, (polling)
  
\end{verbatim}


ÄãÄÜ¹»ÓÃ dmesg $|$ more Ö¸ÁîÀ´²é¿´¿ª»úÑ¶Ï¢¡£
ÄãÒ²¿ÉÒÔÓÃ dmesg {$>$} dmesg.txt Ö¸Áî½«¿ª¼ÇÑ¶Ï¢´æµ½µµ°¸ÖÐ¡£
µ±ÄãÊÔÖøÕÒ³ö°²×°ÉÏµÄ´íÎóÊ±£¬Õâ¸öµµ³£³£Ê®·ÖÓÐÓÃ¡£



´ËÍâ£¬Ò²Çë¿´¿´ "\ref{sec-more-info} {(È¡µÃ¸ü¶à×îÐÂ×ÊÑ¶)}" Õâ¸öÕÂ½Ú¡£




\subsection{SCSI Íâ½ÓÊ½°æ±¾}

Iomega ÍøÕ¾ÉÏÓÐ¹ØÕâÖÖ´Åµú»úµÄ²¿·ÖÔÚ \nameurl{http://www.iomega.com/zip/products/scsi.html}{}¡£

SCSI ½éÃæµÄÍâ½ÓÊ½ ZIP ´Åµú»úÓÐÁ½¸ö DB25F ½ÓÍ·¼°Á½¸öÉè¶¨¿ª¹Ø¡£
ÆäÖÐÒ»¸ö¿ª¹ØÊÇÓÃÀ´Éè¶¨´Åµú»úµÄ±êµÄÎ»Ö·{\ttfamily {\bfseries [ÒëÕß×¢]}}¡£ÄÜ¹»Ñ¡ÔñµÄÖµÏÞÖÆÔÚ 5 »ò 6¡£
ÁíÒ»¸ö¿ª¹ØÊÇµ± ZIP ´Åµú»úÊÇ SCSI µçÀÂÉÏ´®½ÓµÄ×îááÒ»¸ö×°ÖÃÊ±£¬ÓÃÀ´¿ªÆôÄÚ²¿ÖÕ¶Ëµç×èÓÃµÄ¡£
25 ÕëµÄ SCSI ½ÓÍ·ÊÇ²ÉÓÃÀàËÆÂó½ðËþ£¨Macintosh£©µçÄÔËùÓÃµÄÅäÏß·½Ê½¡£
¹ºÂò´Åµú»úÊ±£¬»áËæ»õ¸½Ò»ÌõÂó½ðËþµÄ SCSI µçÀÂÏß£¬È»¶ø£¬ÈôÄãµÄ SCSI Åä½Ó¿¨ÊÇÓÃ Centronics ½ÓÍ·»òÕß¸ßÃÜ¶È½ÓÍ·µÄ»°£¬±ê×¼ SCSI µçÀÂÏßÒÔ¼°×ª»»½ÓÍ·Ó¦¸ÃºÜÈÝÒ×È¡µÃ¡£

{\bfseries {\ttfamily [ÒëÕß×¢] Ô­ÎÄÊÇ target address£¬ÓÉÓïÒâÅÐ¶Ï£¬Ó¦¸ÃÊÇÖ¸ SCSI ID¡£}}

ÎÒÃ»¿´¹ýÄÚ½ÓÊ½µÄ SCSI ZIP ´Åµú»ú£¬µ«ÎÒ²ÂÓ¦¸ÃÒ²ÓÐÒ»¸ö 50 Õë DIP SCSI ½ÓÍ·ÒÔ¼°Á½¸öÒ»ÑùµÄÉè¶¨¿ª¹Ø¡£

ÇëÈ·¶¨ÄãËùÉè¶¨µÄ±êµÄÎ»Ö·Ã»ÓÐºÍÔÚÍ¬Ò»¸ö»ãÁ÷ÅÅÉÏµÄÆäËû SCSI ×°ÖÃÏà³åÍ»¡£
Ò²ÇëÈ·¶¨ÔÚ SCSI µçÀÂÏßÉÏ´®½ÓµÄ×îááÒ»¸ö×°ÖÃÓÐÆô¶¯ÄÚ²¿ÖÕ¶Ëµç×è£¬»òÕß×°ÉÏÒ»¸öÍâ²¿ÖÕ¶Ëµç×è¡£

Èç¹ûÄãÓÐÄÚ½ÓÊ½µÄ SCSI Ó²µú»ò¹âµú»ú£¬²¢ÇÒÄã½«ÄãµÄ ZIP ´Åµú»ú½ÓÔÚÍ¬Ò»¸ö SCSI Åä½Ó¿¨ÉÏ£¬ÄãÓ¦¸Ã¼ì²é¿´¿´ÊÇ·ñÓÐ±ØÐëÒªÒÆ³ýµÄÖÕ¶Ëµç×è¡£
Ö»ÓÐ SCSI »ãÁ÷ÅÅÉÏ×îÄ©Á½¶Ë±ØÐë½ÓÉÏÖÕ¶Ëµç×è¡£
Èç¹ûÄãµÄ SCSI »ãÁ÷ÅÅÉÏÍ¬Ê±ÓÐÄÚ½ÓÊ½ÒÔ¼°Íâ½ÓÊ½µÄ SCSI ×°ÖÃ£¬ÄÇ÷á×îááµÄÒ»¸öÄÚ½ÓÒÔ¼°Íâ½Ó×°ÖÃÉÏ±ØÐë½ÓÉÏÖÕ¶Ëµç×è£¬µ«ÊÇ SCSI Åä½Ó¿¨±¾Éí²»ÐèÒªÖÕ¶Ëµç×è¡£

ÇëÈ·¶¨ËùÓÐµÄµçÀÂÏß¶¼ÓÐ½ô½ôµØ½ÓºÃ¡£

ºËÐÄµÄ×éÌ¬Éè¶¨ºÍÉè¶¨ÄÚ½ÓÊ½°æ±¾Ê±Ò»Ñù¡£Çë²Î¿¼ÏÂÃæ SCSI ÄÚ½ÓÊ½°æ±¾ÕÂ½ÚÖÐµÄÉè¶¨¡õÀý¡£




\subsubsection{ZIP ZOOM Ö÷Åä½Ó¿¨}

ZIP Zoom ÊÇ Iomega ÂôµÄ SCSI Ö÷Åä½Ó¿¨¡£
Õâ¿é¿¨µÄÉè¼ÆÊµ¼ÊÉÏÊÇ»ùì¶ {\bfseries Adaptec AHA1520} ÏµÁÐÅä½Ó¿¨¡£
Õâ¿é¿¨ÉÏÓÐÒ»¸öÓëËæ ZIP ´Åµú»ú¸½ÔùµÄµçÀÂÏßÏàÈÝµÄ£¬Macintosh ÓÃµÄ DB25F Íâ½Ó½ÓÍ·¡£

Ö§Ô®Õâ¿éÅä½Ó¿¨µÄ Linux Çý¶¯³ÌÊ½ÊÇ {\bfseries aha152x}¡£




\subsection{SCSI ÄÚ½ÓÊ½°æ±¾}

  

Ó²ÌåµÄ°²×°Çë¼û¡º°²×°Óë²Î¿¼Ö¸Òý¡»¡£Çë×¢ÒâËùÊ¹ÓÃµÄ SCSI ID£¬IRQ ¼° I/O ²ºÎ»Ö·£¨ÉÔááÄã½«»áÐèÒªÕâÐ©×ÊÑ¶£©¡£

{\bfseries ÇëÐ¡ÐÄ} ZIP Zoom Õâ¿é¿¨ÔÚÓ²ÌåÏßÂ·ÉÏÖ±½ÓÉè¶¨ÁËÊ¹ÓÃ SCSI ID 7¡£
ÔÚ½ÓÏÂÀ´µÄÃüÁîÁÐÖÐËùÌáµ½µÄ SCSI ID ÊÇÖ¸ SCSI ¿¨µÄ ID £¬¶ø²»ÊÇ´Åµú»úµÄ¡£
¿¨ºÍ´Åµú»ú±ØÐëÊ¹ÓÃ²»Í¬µÄ SCSI ID¡£ÀýÈç£¬Èç¹û¿¨µÄ ID ÊÇ 7£¬Ôò´Åµú»úÊ¹ÓÃ 5 »òÆäËûµÄ ID¡£

ÔÚ¿ªÆôÁËÖ§Ô® ¡ºSCSI¡»£¬¡ºSCSI disk¡»¼°¡ºAHA152X/2825¡»µÈµÄ×éÌ¬Éè¶¨áá£¬ÖØÐÂ±àÒëºËÐÄ£¬²¢Çë°²×°ÐÂµÄºËÐÄ :-(

Çë¾ö¶¨ÊÊºÏÄãµÄÏµÍ³µÄºËÐÄÆô¶¯²ÎÊý£º

{\ttfamily  aha152x=[I/O Port][,IRQ][,SCSI ID][,RECONNECT][,PARITY] }

ÀýÈç£º

{\ttfamily   aha152x=0x140,10,7,1 }

Èç¹ûÄãÊÇÊ¹ÓÃ LILO£¬½«ºËÐÄÆô¶¯²ÎÊý¼Óµ½ lilo.conf µÄ append ÃüÁîÖÐ¡£

£¨ÀýÈç½« append = "aha152x=0x140,10,7,1" ¼Óµ½ lilo.conf ÖÐ£©

Èç¹ûÄãÊÇÓÃ LOADLIN£¬ÄÇ÷á½«ÄãµÄºËÐÄÆô¶¯²ÎÊý¼Óµ½ÄãÓÃÀ´Æô¶¯ loadin µÄÃüÁîÖÐ¡£

\begin{verbatim}
£¨ÀýÈç loadlin c:\vmlinuz root=/dev/hda3 aha152x=0x140,10,5,1 ro£©
\end{verbatim}







\subsection{ZIP Plus - IMM Çý¶¯³ÌÊ½}

ÕâÊÇÒ»ÖÖ{\bfseries ±È½ÏÐÂ}µÄÍâ½ÓÊ½ ZIP ´Åµú»ú¡£
{\bfseries Zip Plus} ²»ÊÇÓÃ ppa Çý¶¯³ÌÊ½, ¶øÊÇÊ¹ÓÃ {\bfseries imm} Çý¶¯³ÌÊ½¡£
\onlynameurl{Philippe Andersson}
Ìá¹©ÁËÕâ¶ÎÓÐ¹Ø ZIP Plus µÄ imm Çý¶¯³ÌÊ½µÄËµÃ÷¡£Ð»Ð» Philippe¡£

Ê×ÏÈ£¬ÖØ½¨Ò»¸ö°üº¬ÏÂÁÐ×éÌ¬µÄºËÐÄ£º

\begin{itemize}
\item modules support
\item SCSI support
\item SCSI Disk support
\item lp ½¨³ÉÄ£×é (Èç¹ûÄãÐèÒªµÄ»°)
\end{itemize}


ÄãÓ¦¸ÃÓÐ×¢Òâµ½ÎÒÃÇ²¢Ã»ÓÐÑ¡ÔñÈÎºÎµÍ½×µÄ SCSI Çý¶¯³ÌÊ½¡£ÕâÃ»¹ØÏµ -- ÎÒÃÇ½«ÔÚÉÔááÁíÍâ½¨Á¢Ëü¡£

½ÓÏÂÀ´£¬ÄãÒªµ½ Dave Campbell µÄÍøÕ¾È¡µÃÇý¶¯³ÌÊ½µÄÔ­Ê¼³ÌÊ½Âë 
(\nameurl{http://www.torque.net/~campbell/imm.tar.gz}{http://www.torque.net/\~{}campbell/imm.tar.gz})¡£0.18 °æÊÇÔÚÐ´Õâ·ÝÎÄ¼þÊ±£¨Aug. '98£©µÄ×îÐÂ°æ±¾{\ttfamily {\bfseries [ÒëÕß×¢]}}¡£
½«µµ°¸½âÑ¹Ëõµ½Ä³Ä¿Â¼ÏÂ£¨ÀýÈç½âµ½ {\ttfamily /usr/src} ÏÂÃæ£©¡£½ÓÏÂÀ´Ö´ÐÐ {\ttfamily make}¡£
Äã¾Í»áµÃµ½ imm Çý¶¯³ÌÊ½Ä£×é£¨{\ttfamily imm.o}£©¡£½«¸ÃÄ£×é¸´ÖÆµ½ 
\begin{verbatim}
/lib/modules/$(uname -r)/scsi
\end{verbatim}
 ÏÂ¡£

{\bfseries {\ttfamily [ÒëÕß×¢] ÔÚÎÒ·­ÒëÕâÆª mini-Howto Ê±(Jun. 1999)£¬×îÐÂµÄ°æ±¾ÈÔÊÇ 0.18 °æ¡£}}

Èç¹ûÄãÒÑ¾­ÔØÈë lp Ä£×é£¨¿ÉÒÔÊ¹ÓÃ {\bfseries lsmod}(1) ÃüÁî¼ì²é£©£¬ÏÈÐ¶³ý lp Ä£×é£¨{\ttfamily rmmod lp}£©£¬È»ááÔØÈë {\ttfamily imm.o} Ä£×é£¨{\ttfamily insmod imm}£©¡£
µ½ÕâÀï£¬ÄãÒÑ¾­Íê³ÉÁË»ù±¾µÄÉè¶¨¡£

Èç¹ûÄãÔÚÔØÈë imm Ä£×éÊ±£¬ ZIP ´Åµú»ú²¢Ã»ÓÐÁ¬½ÓºÃ»òÕßÃ»ÓÐ´ò¿ªµçÔ´£¬Äã»á¿´µ½ "init\_module: Device or resource busy" µÄ´íÎóÑ¶Ï¢£¬¶øÎÞ·¨ÔØÈëÄ£×é¡££¨¸½´øÒ»Ìá£¬µ±ÄãÒªÁ¬½Ó ZIP ´Åµú»úµ½µçÄÔÖ÷»úÊ±£¬ËÆºõ²»ÐèÒª½«µçÄÔ¹Ø»ú -- Ö»ÒªÈ·¶¨ imm Ä£×éÃ»ÓÐÔØÈë£¬¶øÇÒ´Åµú»úµÄµçÔ´ÊÇ¹ØµÄ£¬½ÓÖøÖ»Òª½«µçÀÂÏß²åºÃ£¬´ò¿ªµçÔ´£¬²¢ÔØÈëÄ£×é¾Í¿ÉÒÔÁË¡££©

Èç¹û ZIP ´Åµú»úÒÑ¾­½ÓºÃ¶øÇÒÒ²´ò¿ªµçÔ´ÁË£¬µ«ÊÇÃ»ÓÐ²å´ÅÆ¬ÔÚÀïÃæ£¬ÄÇ÷á imm Ä£×é»¹ÊÇ»áÔØÈë£¬µ«ÊÇÄã»á¿´µ½ÎÞ·¨¶ÁÈ¡´Åµú·Ö¸î±íµÄ´íÎóÑ¶Ï¢¡£
ÕâÃ»¹ØÏµ£¬ÒòÎªµ±ÄãÔÚ´Åµú»úÄÚ²åÈë´ÅÆ¬£¬ÏµÍ³»á×Ô¶¯¶ÁÈ¡·Ö¸î±í¡£

ÈôÄãÔÚÔØÈëÄ£×éÊ±£¬ZIP ´Åµú»úÄÚÓÐ²å´ÅÆ¬£¬ÄÇÄã»á¿´µ½¸Ã´ÅÆ¬µÄ·Ö¸îÇøÁÐ±íÒÔ¼°Ð´Èë±£»¤×´Ì¬µÈµÈµÄÍêÕû×ÊÑ¶¡£
ÏÂÃæÊÇÒ»¸öÔØÈëÄ£×éÊ±Ëù¿´µ½µÄ´ÅÆ¬×ÊÑ¶µÄÀý×Ó£º

\begin{verbatim}
vger:~# insmod imm
imm: Version 0.18
imm: Probing port 03bc
imm: Probing port 0378
imm:     SPP port present
imm:     ECP with a 16 byte FIFO present
imm:     PS/2 bidirectional port present
imm:     Passed Intel bug check.
imm: Probing port 0278
scsi0 : Iomega ZIP Plus drive
scsi : 1 host.
  Vendor: IOMEGA    Model: ZIP 100 PLUS      Rev: J.66
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi removable disk sda at scsi0, channel 0, id 6, lun 0
SCSI device sda: hdwr sector= 512 bytes. Sectors= 196608 [96 MB] [0.1 GB]
sda: Write Protect is off
 sda: sda1
vger:~#
\end{verbatim}


×îááÖµµÃÒ»ÌáµÄÊÇ£¬µ±´ÅÆ¬±»¹ÒÔØÒÔáá£¬Õâ°æµÄÇý¶¯³ÌÊ½»á½«´ÅÆ¬Ëø×¡¡£
Èç¹ûÔÚÕâÊ±°´ÏÂÍËÆ¬Å¥£¬´ÅÆ¬²¢²»»áÍË³öÀ´£¬µ«ÊÇ´Åµú»ú»á¡º¼ÇµÃ¡»ÄãµÄÍËÆ¬ÒªÇó£¬²¢ÔÚÄãÐ¶ÔØ£¨umount£©´ÅÆ¬ááÁ¢¿ÌÍËÆ¬¡£






\subsection{ATAPI °æ±¾}

ÓÐ¹ØÕâÖÖ»úÐÍµÄ×ÊÑ¶¿ÉÒÔÔÚÕâÀïÕÒµ½£º\nameurl{http://www.iomega.com/zip/products/insider.html}{}

Ö®Ç°ÓÐÒ»Ð¡¶ÎÊ±¼ä»¹ÓÐÒ»ÖÖ IDE °æ±¾µÄ´Åµú»ú¡£²»¹ýÎÒÏëÏÖÔÚ¾ø´ó²¿·Ö¶¼ÒÑ¾­±» ATAPI °æ±¾µÄ»úÆ÷ËùÈ¡´ú¡£

Donald Stidwell Ìá¹©ÎÒÏÂÃæÕâÐ©ÓÐ¹Ø ATAPI °æ±¾µÄËµÃ÷¡£Ð»Ð» Don¡£

ÎÒÓÐÒ»Ì¨ ATAPI ZIP ´Åµú»ú£¬¶øÇÒÔÚ 2.0.32 ¼° 2.0.33 °æµÄºËÐÄÏÂ¶¼ÄÜÕý³£ÔË×÷¡£
ÎÒÔÚ RH 5.0 ¼° OpenLinux 1.2 £¨ÎÒÏÖÔÚÔÚÊ¹ÓÃµÄ·¢ÐÐ°æ±¾£©ÏÂ¶¼²âÊÔ¹ý{\ttfamily {\bfseries [ÒëÕß×¢]}}¡£
ÎÒËùÐèÒª×öµÄÖ»ÊÇ¿ªÆô {\bfseries ATAPI floppy support} µÄºËÐÄ×éÌ¬Éè¶¨¡£OpenLinux µÄºËÐÄ²¢Ã»ÓÐÄÚ¶¨¿ªÆôÕâ¸ö¹¦ÄÜ¡£

{\bfseries {\ttfamily [ÒëÕß×¢] ÎÒ±¾ÉíÔÚ Slackware 3.3/3.6 ÒÔ¼° RedHat 5.2 ÏÂ¶¼ÄÜÕý³£Ê¹ÓÃ ATAPI ZIP£¬²âÊÔ¹ýµÄºËÐÄ°æ±¾ÓÐ 2.0.35, 2.0.36, 2.2.1, 2.2.2 µÈ¡£}}

²»ÐèÒªÆäËû¶îÍâµÄÇý¶¯³ÌÊ½¡£ZIP ´ÅÆ¬»áÒÔÑÓÉì·Ö¸îÇø(Extended Partition£©µÄÐÎÊ½¹ÒÔØÔÚµÚ 4 ¸ö·Ö¸îÇø¡£
ÀýÈç£¬ÎÒµÄ×´¿öÊÇ¹ÒÔØ HDB4¡£ÎÒÒÔ noauto µÄ¹ÒÔØÑ¡Ïî½« ZIP ´ÅÆ¬¹ÒÔØì¶ /mnt/zip£¬µ«ÊÇÎÒÏëÓÃ×Ô¶¯¹ÒÔØÓ¦¸ÃÒ²²»»áÓÐÎÊÌâ¡£
ÎÒÏëÎ¨Ò»¿ÉÄÜµÄÎÊÌâÊÇÍËÆ¬¡£ÎÒ×ÜÊÇÔÚÒªÍËÆ¬Ç°£¬ÏÈÐ¶ÔØ´ÅÆ¬¡£

ÔÚ 1998 ÄêÎåÔÂºÅµÄ Linux Gazette ÖÐ£¬ÓÐ¶Ôì¶ÔÚ Linux ÏÂ°²×° ATAPI ZIP µÄ¸üÏêÏ¸½éÉÜ¡£
Çë²Î¿¼ 2 cent tip µÄ²¿·Ö¡£

\nameurl{http://www.linuxgazette.com/issue28/lg_tips28.html#atapi}{}






\subsection{IDE °æ±¾}

ÎÒÃ»ÓÃ¹ý IDE °æ±¾µÄ ZIP¡£Eric Backus Ìá¹©ÏÂÃæÕâÐ©ËµÃ÷¡£Ð»Ð» Eric¡£

ÎÒÓÐÒ»Ì¨ IDE ZIP ´Åµú»ú£¬ÊÇÔÚÒ»ÄêÇ°ËæÖøÎÒµÄ Gateway 2000 µçÄÔÒ»ÆðÂòÀ´µÄ¡£
ÎÒÏëÕâÖÖ»úÐÍ¾ø´ó²¿·Ö¶¼ÊÇÔÚ ATAPI °æ±¾µÄ ZIP ·¢ÐÐÇ°£¬ÓÉÕâÀàµÄ´óÐÍ OEM ¹«Ë¾Ëæ»õÂô³öµÄ¡£

ºÃÏûÏ¢ÊÇ£ºÒªÖ§Ô®ÕâÖÖ´Åµú»ú£¬²»ÐèÒª¶îÍâµÄºËÐÄÄ£×é»òÕßºËÐÄ×éÌ¬±ä¸ü¡£
ÕâÖÖ»úÐÍ¶ÔºËÐÄ¶øÑÔ£¬¾Í¸ú IDE Ó²µúÒ»Ñù¡£
ÎÒÄÜÔÚ 2.0.31 ¼° 2.0.32 °æµÄºËÐÄÉÏÖ±½ÓÊ¹ÓÃ¡£

¶ø»µÏûÏ¢ÊÇ£ºÒòÎª²»ÊÇÊ¹ÓÃ ATAPI Ð­¶¨£¬ËùÒÔÄãÎÞ·¨Æô¶¯Ê¹ÓÃ SCSI ×ª ATAPI µÄºËÐÄ×éÌ¬£¬
Ò²¾ÍÊÇËµ£¬Äã²»ÄÜÓÃ mtools À´¿ªÆô´ÅÆ¬µÄ·ÀÐ´¹¦ÄÜÒÔ¼°ÍËÆ¬{\ttfamily {\bfseries [ÒëÕß×¢]}}¡£

{\bfseries {\ttfamily [ÒëÕß×¢] Çë²Î¿¼ mzip(1) Ö¸ÁîÒÔ¼° mtools µÄ man page ËµÃ÷¡£}}




\subsection{USB °æ±¾}

ÕâÌ¨´Åµú»úµÄ×ÊÁÏ¿ÉÒÔÔÚÕâÀïÕÒµ½£º\nameurl{http://www.iomega.com/zip/products/usb.html}{}

ÕâÖÖ´Åµú»ú¿´ÆðÀ´ºÜ¿á£¬¶øÇÒ USB ½éÃæÒ²¿´ÆðÀ´ºÜ°ô¡£
Î¨Ò»µÄÎÊÌâÊÇÄ¿Ç° Linux ¶Ô USB ½éÃæµÄÇý¶¯³ÌÊ½»¹ÔÚ·¢Õ¹ÖÐ¡£
Òò´Ë£¬¾ÍÄ¿Ç°¶øÑÔ£¬ÕâÖÖ ZIP ´Åµú»úÎÞ·¨ÔÚ Linux ÏÂÊ¹ÓÃ¡£
¿´¿´Õâ¸öÍøÕ¾ÒÔÈ¡µÃ×îÐÂ×ÊÑ¶£º

\nameurl{http://peloncho.fis.ucm.es/~inaky/USB/news.html}{}




\subsection{ZIP 250 °æ±¾ }

ÕâÖÖ»úÐÍÊÇ 1999 Äê 1 ÔÂÍÆ³öµÄÐÂ»úÐÍ¡£ÎÒÂòÁËÒ»Ì¨£¬¶øÇÒÔÚ Linux ÏÂÊ¹ÓÃ·Ç³£Á¼ºÃ¡£
ËùÒª×öµÄÖ»ÓÐÊ¹ÓÃÓÉ \nameurl{http://www.torque.net/~campbell/imm.tar.gz}{} È¡µÃµÄ imm Çý¶¯³ÌÊ½¡£
Éè¶¨ÉÏºÍ ZIP Plus ÏàÍ¬¡£¼òµ¥µÄËµ£¬ÏÈÈ¡µÃÇý¶¯³ÌÊ½Ô­Ê¼Âë£¬½âÑ¹Ëõ£¬È»ááÖ´ÐÐ make¡£
½ÓÖø¸´ÖÆ imm.o µ½´æ·ÅºËÐÄÄ£×éµÄÄ¿Â¼ÏÂ£¬ÀýÈç /lib/modules/2.0.35/scsi£¨2.0.35 ÊÇÄãµÄºËÐÄ°æ±¾ºÅÂë£©¡£
Èç¹ûÄã²»È·¶¨ÄãµÄºËÐÄ°æ±¾ºÅÂëÊÇ¶àÉÙ£¬¿ÉÒÔÓÃ uname -r Ö¸Áî²éÑ¯¡£










\section{°²×°¹ý³Ì¹ÊÕÏÅÅ³ý}

µ±ÄãÖ´ÐÐ {\ttfamily insmod ppa} Ö¸Áî£¬È´µÃµ½ÏÂÃæÕâÑùµÄ´íÎóÑ¶Ï¢£º
\par
\addvspace{\medskipamount}
\nopagebreak\hrule
\begin{verbatim}
root# insmod ppa
Using /lib/modules/version/kernel/drivers/scsi/ppa.o
/lib/modules/version/kernel/drivers/scsi/ppa.o: unresolved symbol parport_register_device_Rf274b881/lib/modules/version/kernel/drivers/scsi/ppa.o: unresolved symbol parport_unregister_device_Rb0814cd3
/lib/modules/version/kernel/drivers/scsi/ppa.o: unresolved symbol parport_release_Rf8ec22de
/lib/modules/version/kernel/drivers/scsi/ppa.o: unresolved symbol parport_claim_R4c7222c6
/lib/modules/version/kernel/drivers/scsi/ppa.o: unresolved symbol parport_enumerate_Rbc847709
/lib/modules/version/kernel/drivers/scsi/ppa.o: Note: modules without a GPL compatible license cannot use GPLONLY_ symbols
\end{verbatim} 
\nopagebreak\hrule 
\addvspace{\medskipamount}




Ôì³ÉÕâ¸öÎÊÌâµÄÔ­ÒòÊÇÒòÎªÄãÃ»ÓÐÔÚ 'Printer Configuration' ÖÐ¼ÓÈëÒ»Ì¨Ó¡±í»úÖÁÄãµÄÏµÍ³ÖÐ¡£
ÔÚÄãÖ´ÐÐ 'insmod ppa' Ç°£¬Äã±ØÐëÏÈÔö¼ÓÒ»Ì¨Ó¡±í»ú¡£
ÒÔ KDE ÊÓ´°»·¾³¶øÑÔ£¬ÒÔ»¬ÊóµãÑ¡ {[}¿ªÊ¼]-{$>$}{[}ÏµÍ³]-{$>$}{[}Ó¡±í»úÉè¶¨]£¬
ÒÔ /dev/lp0 £¨»òÊ¹ÓÃ lp1 »ò lp2£¬ÊÓ dmesg $|$more µÄÊä³ö¶ø¶¨£©ÐÂÔöÒ»¸öÃûÎª 'sometestprinter' µÄÓ¡±í»ú¡£
ÏÖÔÚ£¬²âÊÔ¿´¿´ÐÂÔöµÄÓ¡±í»ú£º
{\itshape {\ttfamily /etc/rc.d/init.d/lpd restart }\/}
Èç¹û lpd daemon Ë³ÀûÆô¶¯ÁË£¬±íÊ¾ÐÂÔöµÄÓ¡±í»úÉè¶¨Ã»ÓÐÎÊÌâ¡£
½ÓÏÂÀ´£¬ÊÔÊÔ£º
\par
\addvspace{\medskipamount}
\nopagebreak\hrule
\begin{verbatim}
bash# insmod ppa
bash# insmod lp
\end{verbatim} 
\nopagebreak\hrule 
\addvspace{\medskipamount}

ÄãÓ¦¸Ã¾Í²»»áÓöµ½ÈÎºÎ´íÎóÁË¡£






\section{Ê¹ÓÃ ZIP ´Åµú»ú}

Èç¹ûÄãÒÑ¾­½¨Á¢ºÃËùÓÐÐèÒªµÄÔª¼þ£¬ÄÇ÷áºËÐÄÓ¦¸ÃÄÜÔÚ¿ª»úÊ±±æÊ¶³öÄãµÄÅä½Ó¿¨ÒÔ¼°´Åµú»ú¡£
Èç¹ûÄãÊÇÓÃ¿ÉÔØÈëÊ½Ä£×éµÄ·½Ê½½¨Á¢Çý¶¯³ÌÊ½µÄ»°£¬½ÓÏÂÀ´µÄÌÖÂÛ½öÊÊÓÃì¶Ä£×éÒÔÔØÈëááµÄÇéÐÎ¡£

ÔÚ´ó²¿·ÖÇéÐÎÏÂ£¬SCSI ºÍ ²¢ÁÐ²º°æ±¾µÄ´Åµú»ú±íÏÖÏàÍ¬£¬³ýÁË²¢ÁÐ²º°æ±¾µÄ±È½ÏÂýÒÔÍâ¡£






\subsection{Fdisk, mke2fs, mount, µÈµÈ}

Ò»µ©ÄãÖªµÀÄãµÄ ZIP ´Åµú»úËùÊôµÄ´Åµú×°ÖÃÃû³Æ£¬Äã¾ÍÒÑ¾­×¼±¸¾ÍÐ÷¡£
ÄãÄÜ¹»Ê¹ÓÃ Linux µÄ´Åµú¹ÜÀíÃüÁîÀ´¶Ô¸Ã´Åµú×°ÖÃ½øÐÐ²Ù×÷¡£
{\ttfamily fdisk}£¨»òÕß {\ttfamily cfdisk}£©ÊÇÓÃÀ´¹æ»®´ÅµúµÄ·Ö¸î±í¡£
{\ttfamily mke2fs} ÄÜÓÃÀ´½«·Ö¸îÇø¸ñÊ½»¯£¨Format£©³É ext2 µµ°¸ÏµÍ³ -- ÕâÊÇ Linux ÏÂ×î³£Ê¹ÓÃµÄµµ°¸ÏµÍ³¡£
{\ttfamily mount} ÔòÊÇÓÃÀ´½«¸ñÊ½»¯ºÃµÄ·Ö¸îÇøÁ¬½Óµ½ÄãµÄÄ¿Â¼ÌåÏµÖÐ¡£

Èç¹ûÄã¶ÔÕâÐ©¹¤¾ß²¢²»ÊìÏ¤£¬ÄãÓ¦¸ÃÑÐ¶ÁÒ»ÏÂÕâÐ©¹¤¾ßµÄÊÖ²á¡£
ÇëÐ¡ÐÄ×¢Òâ {\ttfamily fdisk} ³ÌÊ½ÏÖÔÚÓÐÐí¶àÊ®·Ö²»Ò»ÑùµÄ°æ±¾ - ÇëÎñ±ØÐ¡ÐÄ¡£

ÎÒ½«³ÂÊöÁ½¸ö³£¼ûµÄ°¸Àý¡£




\subsection{Ê¹ÓÃÒ»Æ¬ÒÑ¾­ÓÃ DOS ¸ñÊ½»¯ºÃµÄ´ÅÆ¬}

Èç¹ûÄãÓÐÒ»ÕÅÔ­±¾ÓÉ Iomega µÄ¹¤¾ß³ÌÊ½¸ñÊ½»¯³É DOS µµ°¸½á¹¹µÄ ZIP ´ÅÆ¬£¬ÄÇ÷áÉ¨Ãé·Ö¸î±íÊ±Ó¦¸Ã»á·¢ÏÖ´ÅÆ¬ÉÏÓÐÒ»¸ö·Ö¸îÇø {\ttfamily /dev/sda4}¡£

ÄãÓ¦¸ÃÏÈ½¨Á¢Ò»¸öÓÃÀ´¹ÒÔØ ZIP ´ÅÆ¬µÄÄ¿Â¼£¬ÀýÈç {\ttfamily /zip}£¬È»ááÒÔ MS-DOS µµ°¸ÏµÍ³¸ñÊ½½«´ÅÆ¬¹ÒÔØÆðÀ´£º

\begin{tscreen}
\begin{verbatim}
       mkdir /zip
       mount -t vfat /dev/sda4 /zip
\end{verbatim}
\end{tscreen}


ÄãÒ²¿ÉÒÔÓÃ msdos À´È¡´úÉÏÃæµÄ vfat¡£Á½ÕßµÄ²î±ðÔÚì¶£¬ vfat Ö§Ô®³¤µµÃû£¬¶ø msdos ²»Ö§Ô®¡£
ÏÖÔÚ£¬´ÅÆ¬ÉÏµÄµµ°¸Ó¦¸Ã»á³öÏÖÔÚ /zip Ä¿Â¼ÏÂ¡£
µ±´ÅÆ¬±»¹ÒÔØÁË£¬Äã½«ÎÞ·¨ÓÉ´Åµú»úÖÐ½«´ÅÆ¬ÍË³ö¡£
µ±ÄãÍê³ÉÁË¶Ô´ÅÆ¬µÄ´æÈ¡£¬Äã¿ÉÒÔÐ¶ÔØ´ÅÆ¬À´ÇÐ¶Ï´ÅÆ¬ºÍÄ¿Â¼ÌåÏµµÄÁ¬½Ó£¬²¢È¡³ö´ÅÆ¬£º

\begin{tscreen}
\begin{verbatim}
       umount /zip
\end{verbatim}
\end{tscreen}


Ò»µ©ÄãÒÑ¾­½¨ºÃ /zip Õâ¸ö¹ÒÔØµã - Äã²»ÐèÒªÔÙ½¨Á¢Ò»´Î¡£
ËùÒÔÉÔááÄãÄÜÔÙ½«ÁíÒ»Æ¬´ÅÆ¬¹ÒÔØÔÚÄÇ¶ù¡£




\subsection{ÖØÐÂ½«´ÅÆ¬¸ñÊ½»¯³É Linux ¸ñÊ½µÄ´ÅÆ¬}



Èç¹ûÄãÏëÒªÏûÈ¥ ZIP ´ÅÆ¬ÉÏÔ­ÓÐµÄµµ°¸ÏµÍ³£¬²¢½¨Á¢ Linux µÄµµ°¸ÏµÍ³£¬ÄãÓ¦¸ÃÊ¹ÓÃ fdisk À´ÖØÐÂ¹æ»®ÕûÆ¬´ÅÆ¬µÄ·Ö¸îÇø£º

\begin{tscreen}
\begin{verbatim}
       fdisk /dev/sda
\end{verbatim}
\end{tscreen}


²¢ÇÒÉ¾³ýËùÓÐÒÑ´æÔÚµÄ·Ö¸îÇø£¨ÓÃ fdisk µÄ {\ttfamily d} ÃüÁî£©¡£
½ÓÖø£¬ÓÃ {\ttfamily n} ÃüÁî½¨Á¢Ò»¸öÐÂµÄ·Ö¸îÇø£¬Ñ¡ÔñÖ÷·Ö¸îÇøºÅÂë 1 £¬ÓÃ {\ttfamily w} ÃüÁî½«·Ö¸î±íÐ´µ½´ÅÆ¬ÉÏ£¬È»ááÓÃ {\ttfamily q} ÃüÁîÀë¿ª fdisk ³ÌÊ½¡£

½ÓÖø¸ñÊ½»¯·Ö¸îÇø£º

\begin{tscreen}
\begin{verbatim}
       mke2fs /dev/sda1
\end{verbatim}
\end{tscreen}


£¨Êý×Ö 1 ¾ÍÊÇÄãÔÚ {\ttfamily fdisk} ÖÐ¸ø¶¨¸Ã·Ö¸îÇøµÄ·Ö¸îÇø±àºÅ£©¡£
ÏÖÔÚ£¬Äã¿ÉÒÔ½«´ÅÆ¬¹ÒÔØÆðÀ´£º

\begin{tscreen}
\begin{verbatim}
       mount -t ext2 /dev/sda1 /zip
\end{verbatim}
\end{tscreen}


£¨ÔÙ´ÎÊ¹ÓÃÎÒÃÇÖ®Ç°½¨Á¢µÄ¹ÒÔØµã£©¡£




\subsection{fstab µµ}

/etc/fstab ÄÜÈÃÄã¶Ô mount ÃüÁî½øÐÐÉè¶¨¡£
ÎÒÏ£ÍûÏµÍ³ÉÏµÇÂ¼µÄÈÎºÎÊ¹ÓÃÕß¶¼ÄÜ¹ÒÔØ¼°Ð´Èë ZIP ´ÅÆ¬£¬Òò´ËÎÒÔÚ fstab µÄµµ°¸½áÎ²¼ÓÁËÁ½ÁÐÏñÕâÑùµÄÄÚÈÝ£º

\begin{verbatim}
   /dev/sda1    /zip            ext2            noauto,rw,user,nosuid,sync
   /dev/sda4    /zipdos         vfat            noauto,rw,user,nosuid,sync,mode=0777
   
\end{verbatim}


ÕâÀï¼ÙÉèÄãÓÐÒ»¸ö /zip Ä¿Â¼ºÍÒ»¸ö /zipdos Ä¿Â¼¡£
Èç¹ûÄãÒªËùÓÐÊ¹ÓÃÕß¶¼ÄÜ¹»¶ÁÐ´ ZIP ´ÅÆ¬£¬ÇëÈ·¶¨ÄãÉè¶¨ÁËÊÊµ±µÄ´æÈ¡È¨ÏÞ£¬ÀýÈç {\bfseries chmod 666 /zip}¡£
Äã±ØÐëÒÔ root µÄÉí·ÝÖ´ÐÐ chmod ÃüÁî¡£
ÉÏÃæ fstab µÄÄÚÈÝÒ²¼ÙÉèÁËÄãµÄ DOS ¸ñÊ½ ZIP ´ÅÆ¬µÄ·Ö¸îÇø±àºÅÊÇ 4 £¨ÔÚÎÒµÄÏµÍ³ÊÇ sda4£©£¬ÒÔ¼° ext2£¨Linux£©¸ñÊ½µÄ´ÅÆ¬·Ö¸îÇø±àºÅÊÇ 1£¨sda1£©¡£
Äã¿ÉÒÔÓÃ {\bfseries man mount} ÕÒµ½¸ü¶à fstab µµ°¸µÄÉè¶¨Ñ¡Ïî×ÊÁÏ¡£

Èç¹ûÄãÔÚ fstab µµ°¸ÖÐ¼ÓÈëÉÏÃæÁ½ÁÐÉè¶¨£¬ÄÇ÷áÄã¿ÉÒÔÓÃ {\bfseries  mount /zipdos } ¹ÒÔØ DOS ¸ñÊ½´ÅÆ¬¡£
Èç¹ûÄãÒª¹ÒÔØ Linux ext2 ¸ñÊ½µÄ´ÅÆ¬£¬ÄÇ÷áÃüÁîÊÇ {\bfseries  mount /zip }¡£






\subsection{ZIP Tools ¹¤¾ß´ÅÆ¬}



Èç¹ûÄãÏëÊ¹ÓÃËæ ZIP ´Åµú»ú¸½ÔùµÄ´ÅÆ¬£¬»¹ÓÐÒ»µã¶îÍâµÄ¹¤×÷Òª×ö¡£
ÕâÐ©´ÅÆ¬ÔÚ³ö»õÊ±£¬ÈíÌå¿ØÖÆµÄÐ´Èë±£»¤¹¦ÄÜÊÇ±»¿ªÆôµÄ¡£
´ó²¿·ÖµÄÈËÔÚÒªÔÚ Linux ÏÂÊ¹ÓÃ ZIP ´ÅÆ¬Ê±£¬»áÏÈÔÚ DOS ÏÂ½«Ð´Èë±£»¤¹¦ÄÜ¹Ø±Õ¡£
Linux ÎÞ·¨´æÈ¡±»Ð´Èë±£»¤Ëø¶¨µÄ´ÅÆ¬£¬ËùÒÔ±ØÐëÏÈÓÃ Iomega µÄ¹¤¾ß³ÌÊ½À´½â³ýËø¶¨¡£

ÏàÐÅÔÚ Linux ÏÂ£¬ÄÜÓÃÀ´¹ÜÀí´ÅÆ¬µÄÐ´Èë±£»¤ÒÔ¼°ÆäËû¹¦ÄÜµÄ³ÌÊ½£¬½«ÔÚ²»¾ÃµÄ½«À´·¢Õ¹Íê³É{\ttfamily {\bfseries [ÒëÕß×¢]}}¡£

{\bfseries {\ttfamily [ÒëÕß×¢] ÏÖÔÚÒÑ¾­ÓÐÒ»Ð©¹¤¾ß³ÌÊ½¿ÉÒÔÓÃÀ´¿ØÖÆ ZIP ´ÅÆ¬µÄ¸÷ÖÖ×´Ì¬£¬¼ÆÓÐ mtools ÖÐµÄ mzip(1) £¬ÒÔ¼°ÏÖÔÚÓÉ Mirko Kraft Ëù·¢Õ¹Î¬»¤µÄ ziptool µÈµÈ¡£}}




\section{ÐÔÄÜ±íÏÖ \label{sec-performance}}

±ê×¼ 2.0.x °æµÄºËÐÄÔ­Ê¼³ÌÊ½ÖÐËù¸½µÄ ppa.c Çý¶¯³ÌÊ½ÂëÊÇ 0.26 °æµÄ¡£
ÕâÊÇÒ»¸ö·Ç³£¿É¿¿µÄ¼òµ¥³ÌÊ½£¬Òò´Ë±»´óÁ¿¶ø¹ã·ºµÄÊ¹ÓÃ¡£
Õâ¸ö³ÌÊ½Î¨Ò»µÄÈ±µãÊÇËÙ¶È²»ÊÇºÜ¿ì¡£
ÔÚÎÒ×Ô¼ºµÄ»úÆ÷ÉÏ£¬ÎÒÊÇÓÃ 2.0.30 °æµÄºËÐÄ£¬¶øÇÒÓÐÁ½¸ö²¢ÁÐ²º¡£
ÕâÒ²ÊÇÒ»Ì¨µÍ¼ÛÎ»µÄ»úÆ÷£ºpentium 133 - 16 MB ¼ÇÒäÌå£¬5 GB Maxter EIDE Ó²µú¡£
»úÆ÷»¨ÁËÎÒ 500 ÔªÃÀ½ð£¬¶ø ZIP ´Åµú»úÔò»¨ÁË 250 Ôª¡£
ÎÒÓÃµÄ¶¼ÊÇÁ®¼ÛÆ·£¬µ«ÄÇÓÐÊ²÷á¹ØÏµ¡£

ÎÒ½« ZIP ´Åµú»ú×°ÔÚµÚ¶þ¸ö²¢ÁÐ²º£¬¶ø½«Ó¡±í»ú×°ÔÚµÚÒ»¸ö¡£
µÚ¶þ¸ö²¢ÁÐ²ºÊÇÒ»ÕÅ¾ÉÊ½µÄ²¢ÁÐ²ºÀ©³ä¿¨£¬Ã»ÓÐ EPP Ä£Ê½¡£
Òò´Ë ZIP ´Åµú»úÖ»ÄÜÔÚ 4 Î»Ôª±ê×¼²¢ÁÐ²ºÄ£Ê½ÏÂÔË×÷¡£

²âÊÔÐÔÄÜ±íÏÖµÄ»ù×¼·½·¨ÊÇ£¬ÎÒÓÉÓ²µú¸´ÖÆÒ»¸ö Netscape µÄ tar Ñ¹Ëõµµµ½ ZIP ´Åµú»ú¡£
Õâ¸öµµ´óÔ¼ÊÇ 10.6 MB£¬Ëù»¨µÄÊ±¼äÊÇ 7 ·Ö 15 Ãë¡£
¶øÓÉ ZIP ´Åµú»ú½«Í¬Ò»¸öµµ°¸¸´ÖÆµ½Ó²µúÉÏ£¬Ôò´óÔ¼»¨ÁË 7 ·ÖÖÓ¡£

½ÓÖøÎÒ×öÁËÁ½Ïî¸Ä±ä¡£Ê×ÏÈ£¬ÎÒ½« ZIP´Åµú»ú½Óµ½µÚÒ»¸ö²¢ÁÐ²º£¬²¢¿ªÆô BIOS ÖÐµÄ EPP Ä£Ê½Ñ¡Ïî¡£
ÁíÍâ£¬ÎÒ½«Ó¡±í»ú½Óµ½µÚ¶þ¸ö²¢ÁÐ²º¡£

Æä´Î£¬ÎÒÓÉ \nameurl{http://www.torque.net/~campbell/}{David Campbell µÄÍøÒ³}ÏÂÔØÐÂµÄ PPA Çý¶¯³ÌÊ½¡£
ÎÒ°²×°Çý¶¯³ÌÊ½£¬²¢ÔÄ¶ÁËæ³ÌÊ½Ëù¸½µÄ readme µµ¡£

È»ááÎÒÔÙ´Î½øÐÐÏàÍ¬µÄ²âÊÔ£¬¸´ÖÆ Netscape tar µµµ½ ZIP ÉÏ£¬ÒÔ¼°ÓÉ ZIP ÉÏ¸´ÖÆ³öÀ´¡£
ÓÉ ZIP ÉÏ¸´ÖÆµ½ C ´Åµú»¨ÁË 1 ·Ö 55 Ãë¡£¶øÓÉÓ²µú¸´ÖÆµ½ ZIP ´Åµú»úÔò»¨ÁË 1 ·ÖÖÓÕû¡£
ÕâÏà½Ïì¶Ê¹ÓÃ¾É°æÇý¶¯³ÌÊ½µÄ 7:15 ÒÔ¼° 7:00 À´Ëµ£¬ÐÂ°æ³ÌÊ½µÄÐ§ÄÜ´ó·ùÌáÉý£¬Ô¶Ô¶³¬Ô½ÁË 0.26 °æ³ÌÊ½µÄÐ§ÄÜ¡£
ÕâÐ©²âÊÔÊÇÔÚ ZIP ´Åµú»úÒ²Ê¹ÓÃ vfat µµ°¸ÏµÍ³¸ñÊ½µÄÇé¿öÏÂ½øÐÐµÄ¡£

½ÓÖø£¬ÎÒÖØÐÂ½« ZIP ´Åµú»ú¸ñÊ½»¯³É ext2 µµ°¸ÏµÍ³¸ñÊ½¡£²¢ÔÙ´Î½øÐÐÍ¬ÑùµÄ²âÊÔ¡£
ÓÉ ZIP ´Åµú»úÉÏ¸´ÖÆµ½Ó²µúÖ»»¨ÁË 50 Ãë¡£¶øÓÉÓ²µú¸´ÖÆµ½ ZIP ´Åµú»úÔòÖ»»¨ÁË 40 Ãë¡£

{\bfseries ÐÔÄÜ±íÏÖÕªÒª}

ÔÚ°áÒÆÒ»¸ö 10.6 MB µµ°¸µÄ²âÊÔÖÐ£¬ÔÚÊ¹ÓÃ 4 Î»Ôª±ê×¼²¢ÁÐ²ºÄ£Ê½ÒÔ¼° 0.26 °æ ppa Çý¶¯³ÌÊ½µÄÇé¿öÏÂ£¬ËÙ¶È×îÂý£¬Ê±¼äÊÇ 7:00 ¼° 7:15¡£

ÔÚÊ¹ÓÃÐÂ°æ£¨1.41 °æ)Çý¶¯³ÌÊ½£¬EPP ²¢ÁÐ²ºÄ£Ê½£¬²¢Ê¹ÓÃ ext2 µµ°¸ÏµÍ³µÄÇé¿öÏÂ£¬ËÙ¶È×î¿ì£¬Ê±¼äÊÇ 50 ÃëºÍ 40 Ãë¡£






\section{³£¼ûÎÊ´ð¼¯}

ÕâÀïÊÇÒ»Ð©ÎÒ³£±»ÎÊµ½µÄÎÊÌâ¡£ÇëÔÚÔÙ´Î·¢ÎÊÇ°£¬ÏÈÕÒÕÒ¿´ÕâÀïµÄ´ð°¸£¡




\subsection{ÎÒÄÜ¹»½«Ó¡±í»ú´®½ÓÔÚ²¢ÁÐ²º°æ±¾µÄ ZIP ´Åµú»úÉÏÂð£¿ }

¿ÉÒÔ£¬µ«ÊÇ¾ÍÄ¿Ç°¶øÑÔ£¬Äã²»ÄÜÔÚÍ¬Ò»¸ö²¢ÁÐ²ºÉÏÍ¬Ê±¹ÒÔØÆô¶¯ lp ¼° ppa Çý¶¯³ÌÊ½Ä£×é¡£
Ä¿Ç°ÕýÔÚÉè¼ÆÒÔ¼°¿ªÊ¼Êµ×öÒ»¸ö×ÊÔ´·ÖÏíÐ­¶¨£¬µ«ÔÚ Linux 2.0 ÊÍ³öÇ°²»»áÕýÊ½·¢ÐÐ¡£

Èç¹ûÄãÏ²»¶Ã°ÏÕ£¬ÄÇ÷áÈ¡µÃ²¢°²×° 2.1.x °æµÄºËÐÄ£¬Äã¾ÍÄÜÊ¹²¢ÁÐ²º×ÊÔ´¹²Ïí¡£
Çë²Î¿¼
\nameurl{http://www.cyberelk.demon.co.uk/parport.html}{}  

ÔÚ 2.0.x µÄºËÐÄÏÂ×î¼òµ¥µÄ½â¾ö°ì·¨ÊÇÊ¹ÓÃÁ½¸ö²»Í¬µÄ²¢ÁÐ²º¡£
ÎÒ»¨ÁË 15 ÃÀÔªÂòÁËµÚ¶þ¸ö²¢ÁÐ²º½éÃæ£¬¶øÇÒÔË×÷µÃºÜºÃ¡£
Äã¿ÉÒÔÒ»¸öÓÃÀ´½Ó ZIP ´Åµú»ú£¬ÁíÒ»¸ö½ÓÓ¡±í»ú¡£
ËùÒª×öµÄÖ»ÓÐ½¨Á¢Ò»¸öÖ§Ô® lp ºÍ ppa Ä£×éµÄºËÐÄ£¬ÒÔ¼°ÕâÁ½¸öÄ£×é¡£
ÎÒÓÃµÄÊÇ±È½ÏÐÂ£¨1.41 °æ£©µÄ ppa Çý¶¯³ÌÊ½£¬ËùÒÔÎÒÏÈÔØÈë ppa Ä£×é£¨insmod ppa£©¡£
ppa Çý¶¯³ÌÊ½»áÕì²âµ½ÔÚµÚÒ»¸ö²¢ÁÐ²ºÉÏµÄ ZIP ´Åµú»ú¡£
½ÓÖøÎÒÔÙÔØÈë lp Ä£×é£¨insmod lp£©À´Çý¶¯µÚ¶þ¸ö²¢ÁÐ²ºÉÏµÄÓ¡±í»ú¡£

Èç¹ûÄãÊÇÓÃ 0.26 °æµÄ ppa Çý¶¯³ÌÊ½£¬ÄÇ÷áÇë¸üÐÂµ½ 1.41 °æ»ò¸üÐÂµÄ°æ±¾¡£
Èç¹ûÄãÔÚÊ¹ÓÃ ppa Çý¶¯³ÌÊ½Ê±Óöµ½ÈÎºÎÎÊÌâ£¬Î¨Ò»µÄ½â´ðÊÇÇë¸üÐÂ ppa µ½¸üÐÂµÄ°æ±¾¡£




\subsection{ÊÇ·ñÓÐ¼Æ»­ÔÚ ppa ÖÐÖ§Ô® EPP/ECP Ä£Ê½µÄ²¢ÁÐ²º£¿}



0.26 °æµÄ³ÌÊ½²¢²»Ö§Ô® EPP¡£¶ø 1.41 °æÔò{\bfseries ÓÐ}Ö§Ô® EPP¡£
Õâ°æµÄ³ÌÊ½Ò²±È¾É°æ¿ì¶àÁË¡£¸üÏêÏ¸µÄ×ÊÑ¶Çë²Î¿¼"\ref{sec-performance} {(ÐÔÄÜ±íÏÖ)}"µÄ²¿·Ö¡£




\subsection{ÎÒÄÜ¹»½« Linux °²×°ÔÚ ZIP ´Åµú»úÉÏ£¬²¢ÓÉ ZIP ´Åµú»úÉÏÆô¶¯Ö´ÐÐÂð£¿}

ÒÑ¾­ÓÐÈËÕâ÷á×öÁË¡£ÕâÖÖ°²×°·½Ê½ÊÇÖÆ×÷Ò»¸ö¼±¾È´ÅÆ¬»òÕß²âÊÔ°²×°Ê±µÄºÃ·½·¨¡£

\nameurl{http://metalab.unc.edu/LDP/HOWTO/mini/ZIP-Install.html}{}{\ttfamily {\bfseries [ÒëÕß×¢]}}

{\bfseries {\ttfamily [ÒëÕß×¢] ÖÐÎÄ»¯µÄ ZIP Install mini-HOWTO ¿ÉÒÔÔÚ \nameurl{http://www.linux.org.tw/CLDP/mini/ZIP-Install.html}{CLDP ZIP Install mini-HOWTO} ÖÐÕÒµ½¡£}}




\subsection{ÎÒÄÜÓÃ ZIP ´Åµú»ú¿ª»úÂð£¿}

ÕâÒªÊÓÄãËùÊ¹ÓÃµÄÖ÷Åä½ÓÆ÷ÖÖÀà¶ø¶¨¡£Èç¹ûÄãµÄÖ÷Åä½ÓÆ÷µÄ BIOS ROM ÔÊÐíÄãÓÉ SCSI ID Îª 5 »ò 6 µÄ×°ÖÃÉÏ¿ª»ú£¬ÄÇ÷áÄã¾ÍÄÜÓÃ SCSI ZIP ´Åµú»ú¿ª»ú¡£
²¢ÁÐ²º°æ±¾µÄ ZIP ´Åµú»úÎÞ·¨ÓÃÀ´¿ª»ú¡£

Èç¹ûÄãµÄÓ²µúÉÏÓÐ×° DOS£¬¶øÄãÏëÒªÆô¶¯ÔÚ ZIP ´ÅÆ¬ÉÏµÄ Linux ÏµÍ³£¬ÄÇ÷áÄã¿ÉÒÔÓÃ LOADLIN ¡£
Äã±ØÐë¸´ÖÆÒ»·ÝºËÐÄÓ°Ïñµµµ½ DOS µÄÓ²µúÉÏ£¬¶øÍêÕûµÄ Linux ÏµÍ³ÔòÐè×°ÔÚ ZIP ´ÅÆ¬ÉÏ¡£
ÇëÈ·¶¨ÄãËù¸´ÖÆµÄºËÐÄµµµÄÏà¹ØÇý¶¯³ÌÊ½×éÌ¬Éè¶¨ÊÇ¶ÔµÄ¡£

¾ÝÎÒËùÖª£¬Ä¿Ç°³£¼ûµÄ·¢ÐÐ°æ±¾ÖÐ£¬Ã»ÓÐÈÎºÎÒ»¸öÓÐÌá¹©ÓÃÀ´°²×°ì¶²¢ÁÐ²º°æ±¾ ZIP ÉÏµÄ¿É¿ª»ú°²×°´ÅÆ¬¡£




\subsection{ÎªºÎ Iomega Ê¹ÓÃµÚ 4 ¸ö·Ö¸îÇø£¿}

ÕâÊÇ×î³£¼ûµ½µÄÎÊÌâ£¬µ«ÎÒÏëÃ»ÓÐÈËÖªµÀÈ·ÊµµÄ´ð°¸¡£
¿ÉÄÜÊÇËûÃÇÍ·ÄÔ²»Çå³þ°É£¿Ò²ÐíÃ»ÓÐÌØ±ðµÄÔ­Òò¡£




\subsection{ÎÒÒªÔõÑù²ÅÄÜÔÚ¿ª»úÊ±£¬×Ô¶¯½«´ÅÆ¬¹ÒÔØÆðÀ´£¿}

ÄãËùÒª×öµÄÖ»ÓÐÔÚÄãµÄ {\ttfamily /etc/fstab} µµÄÚ¼ÓÒ»ÐÐÉè¶¨¡£
¾ÙÀýÀ´Ëµ£¬Èç¹ûÄã¿ª»úÊ±×Ü»á²åÒ»Æ¬ DOS ¸ñÊ½µÄ´ÅÆ¬ÔÚ ZIP ´Åµú»úÄÚ£¬ÄÇÄã¿ÉÒÔ½«

\begin{tscreen}
\begin{verbatim}
       /dev/sda4   /zip  vfat  defaults  0 0
\end{verbatim}
\end{tscreen}


¼Óµ½ÄãµÄ {\ttfamily fstab} µµ°¸ÖÐ¡£
ËæÄãËùÊ¹ÓÃµÄ·¢ÐÐ°æ±¾¶øÂÔÓÐ²»Í¬£¬µ«¿ª»úÊ±£¬Í¨³£¸ºÔðÏµÍ³³õÊ¼»¯µÄÃüÁî¸å£¨Script£©»áÊÔÖøÔÚ fstab ÄÚÓÐ¼ÍÂ¼µÄ·Ö¸îÇøÉÏÖ´ÐÐ fsck¡£
Çë×¢Òâ£¬Èç¹û¿ª»úÊ±ÄãÍüÁË·Å´ÅÆ¬»òÕß·ÅÁË´íÎó¸ñÊ½µÄ´ÅÆ¬£¬ÕâÑù¿ÉÄÜ»áÔì³ÉÎÊÌâ¡£




\subsection{Èç¹ûµ±ÎÒ¿ª»úÊ±Ã»ÓÐ²å´ÅÆ¬ÔÚ´Åµú»úÄÚ£¬ÄÇ÷á»áÔõÑùÄØ£¿}

ÏµÍ³ºËÐÄ»áÊÔÖø¶ÁÈ¡´ÅÆ¬µÄ·Ö¸î±í£¬µ«ÊÇ»á×÷ÒµÓâÊ±¡£
È»¶ø£¬ÕâÃ»Ê²÷áºÃµ£ÐÄµÄ¡£
Ò»µ©µ±Äã²åÁËÒ»Æ¬´ÅÆ¬µ½´Åµú»úÄÚ£¬²¢ÇÒÊÔÖø½øÐÐ¶ÁÐ´µÈ¶¯×÷Ê±£¬ºËÐÄ»áÖØÐÂ¶ÁÈ¡·Ö¸î±í¡£

ÌáÊ¾£ºµ±Äã³é»»´ÅÆ¬Ê±£¬×îºÃÄÜ¹»ÓÃ fdisk ¼ì²éÒ»ÏÂÐÂ²åÈëµÄ´ÅÆ¬ÉÏµÄ·Ö¸î±í½á¹¹¡£

Ä³Ð© SCSI Ö÷Åä½ÓÆ÷ÉÏµÄ BIOS »áÔÚÏµÍ³¿ª»úÆÚ¼äÊÔÖø¶ÁÈ¡ÄãµÄ´ÅÆ¬ÉÏµÄ·Ö¸î±í¡£
Èç¹ûÄã²»ÄÜ½« SCSI ¿¨µÄÕâÏî¹¦ÄÜ¹Øµô£¬ÄÇ÷áÄã¿ÉÄÜ»á±»ÆÈÔÚ¿ª»úÊ±£¬±ØÐë²åÒ»Æ¬´ÅÆ¬ÔÚ´Åµú»úÄÚ¡£




\subsection{ÎÒÄÜ¹»°Ñ²¢ÁÐ²º´Åµú»úµ±³ÉÕæÊµµÄ SCSI ´Åµú»úÀ´ÓÃÂð£¿}

PPA-3 ²¢ÁÐ²º×ª SCSI ×ª½ÓÆ÷ÊÇ±»Êµ×ö³ÉÒ»¸ö Iomega ³ÆÎª VPI0 µÄ ASIC µ¥¾§Æ¬¡£
ÕâÆ¬¾§Æ¬±»ÄÚÇ¶ì¶ ZIP ´Åµú»ú¿ØÖÆ¿¨ÉÏ¡£
Êµ¼ÊÉÏÊÇÓÐÒ»¸ö SCSI »ãÁ÷ÅÅ´æÔÚ£¬µ«ÊÇ²»ÊÇÔÚÄÜÊ¹ÓÃµÄÐÎÊ½ÏÂ¡£

ËäÈ»ÎÒ»¹Ã»±È½Ï¹ýÕâÁ½ÖÖ¿¨£¬Âß¼­ÉÏËÆºõ VPI0 È¡´úÁË´«Í³µÄ SCSI »ãÁ÷ÅÅÍâ½ÓÑÓÉì×°ÖÃËùÐèÒªµÄµç×Ó»º³åµçÂ·¡£






\subsection{ppa Çý¶¯³ÌÊ½ÄÜÓÃÔÚ Iomega µÄ²¢ÁÐ²º´Å´ø»úÉÏÂð£¿}

²»ÄÜ¡£ÕâÐ©´Å´ø»úÊÇÈíµúÊ½´Å´ø»ú£¨floppy-tape drive£©£¬¸ú SCSI ÎÞ¹Ø¡£

ÓÐÐ©ÈË±íÊ¾¶Ôì¶Ó¦ÓÃÎÒµÄ·½·¨£¬À´ÊÔÖøÕÒ³ö´«ÊäÐ­¶¨£¬¼°·¢Õ¹ÕâÐ©´Å´ø»úµÄÇý¶¯³ÌÊ½¸Ðµ½ÐËÈ¤¡£
µÚÒ»²½ÊÇÒªÏÈÈÃ DOS ÏÂµÄÇý¶¯³ÌÊ½ÄÜÔÚ DOSemu ÏÂÊ¹ÓÃ¡£
µ½Ä¿Ç°ÎªÖ¹£¬ÎÒ»¹Ã»ÌýËµÓÐ³É¹¦µÄ°¸Àý¡£




\subsection{ppa Çý¶¯³ÌÊ½ÊÇ·ñÄÜÔÚ²¢ÁÐ²º°æµÄ SyQuest EZ135 ÉÏÕý³£ÔË×÷£¿}

²»ÄÜ¡£ EZ135 ÊÇÒ»¸öÄÚ½¨ ShuttlePort ²¢ÁÐ²º×ª IDE ×ª»»Æ÷µÄ IDE ´Åµú»ú¡£

È»¶ø£¬ÕâÌ¨´Åµú»úµÄÇý¶¯³ÌÊ½·¢Õ¹Ò²ÒÑ¾­ÓÐÒ»Ð©³É¹û¡£µ½Õâ¶ùÇÆÇÆ£º

\nameurl{http://www.torque.net/linux-pp.html}{}






\section{È¡µÃ¸ü¶à×îÐÂ×ÊÑ¶ \label{sec-more-info}}

×îÐÂ°æ±¾µÄ²¢ÁÐ²º ZIP Çý¶¯³ÌÊ½£¨ppa.c£©ÒÔ¼°¹Øì¶¸ÃÇý¶¯³ÌÊ½µÄ¼¼Êõ×ÊÑ¶¿ÉÒÔÔÚÏÂÃæ URL ÕÒµ½£º

\nameurl{http://www.torque.net/~campbell/}{}

Ðí¶à²¢ÁÐ²ºÍâ½Ó×°ÖÃÇý¶¯³ÌÊ½µÄ×ÊÑ¶¿ÉÒÔÔÚÏÂÃæ URL ÕÒµ½£º

\nameurl{http://www.torque.net/linux-pp.html}{}

²¢ÁÐ²º¹²Ïí£¨Parallel Port sharing£©µÄÏà¹Ø×ÊÑ¶¿ÉÒÔÔÚÏÂÃæ URL ÕÒµ½£º

\nameurl{http://www.cyberelk.demon.co.uk/parport.html}{}

ÓÉ ZIP ´Åµú»ú°²×° Linux£¨¶Ôì¶Ã»ÓÐ CD-ROM µÄ»úÆ÷£©µÄÏà¹ØÑ¶Ï¢¿ÉÒÔÔÚÏÂÃæµÄ mini HOWTO ÕÒµ½£º

\nameurl{http://metalab.unc.edu/mdw/HOWTO/mini/Install-From-ZIP.html}{}

ziptool ³ÌÊ½µÄ X Ç°¶Ë½éÃæ¿ÉÒÔÔÚÏÂÃæ URL ÕÒµ½£º

\nameurl{http://www.scripps.edu/~jsmith/jazip/}{}

¹Øì¶ LILO µÄÉè¶¨Ïà¹Ø×ÊÑ¶¿ÉÒÔÔÚÏÂÃæµÄ mini HOWTO ÖÐÕÒµ½£º

\nameurl{http://metalab.unc.edu/mdw/HOWTO/mini/LILO.html}{}

¹Øì¶ BootPrompt µÄÊ¹ÓÃ×ÊÑ¶¿ÉÒÔÔÚÏÂÃæµÄ HOWTO ÎÄ¼þÖÐÕÒµ½£º

\nameurl{http://metalab.unc.edu/mdw/HOWTO/BootPrompt-HOWTO.html}{}

Èç¹ûÄãÏëÒª°Ñ Linux °²×°ÔÚ ZIP ´Åµú»úÉÏ£¬²¢ÇÒÓÉ ZIP ´Åµú»úÖ´ÐÐ Linux µÄ»°£¬
ÏÂÃæµÄ mini HOWTO ÎÄ¼þ½«Ìá¹©ÄãÏà¹ØÑ¶Ï¢£º

\nameurl{http://metalab.unc.edu/LDP/HOWTO/mini/ZIP-Install.html}{}

Iomega µÄÍøÒ³ÔÚ£º

\nameurl{http://www.iomega.com/}{}.

´ËÍâ£¬Èç¹ûÄãÏëÑ°ÕÒÔÚ PC ÉÏÐ´²¢ÁÐ²ºÓ¦ÓÃ³ÌÊ½µÄÏà¹Ø×ÊÑ¶µÄ»°£¬Ò²ÐíÄã»áÏë¿´¿´ÏÂÃæÕâ¸öÍøÒ³£º

\nameurl{http://www.lvr.com/parport.htm}{}





\end{document}
