📄 zip-drive-4.html
字号:
<P>如果你是用 LOADLIN,那麽将你的核心启动参数加到你用来启动 loadin 的命令中。<P><PRE>(例如 loadlin c:\vmlinuz root=/dev/hda3 aha152x=0x140,10,5,1 ro)</PRE><P><P><H2><A NAME="ss4.4">4.4 ZIP Plus - IMM 驱动程序</A></H2><P>这是一种<B>比较新</B>的外接式 ZIP 磁碟机。<B>Zip Plus</B> 不是用 ppa 驱动程序, 而是使用 <B>imm</B> 驱动程序。<A HREF="mailto:Philippe_Andersson@ste.scitex.com">Philippe Andersson</A>提供了这段有关 ZIP Plus 的 imm 驱动程序的说明。谢谢 Philippe。<P>首先,重建一个包含下列组态的核心:<P><UL><LI>modules support</LI><LI>SCSI support</LI><LI>SCSI Disk support</LI><LI>lp 建成模块 (如果你需要的话)</LI></UL><P>你应该有注意到我们并没有选择任何低阶的 SCSI 驱动程序。这没关系 -- 我们将在稍後另外建立它。<P>接下来,你要到 Dave Campbell 的网站取得驱动程序的原始程序码 (<A HREF="javascript:if(confirm('http://www.torque.net/~campbell/imm.tar.gz \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.torque.net/~campbell/imm.tar.gz'" tppabs="http://www.torque.net/~campbell/imm.tar.gz">http://www.torque.net/~campbell/imm.tar.gz</A>)。0.18 版是在写这份文件时(Aug. '98)的最新版本<CODE><B>[译者注]</B></CODE>。将档案解压缩到某目录下(例如解到 <CODE>/usr/src</CODE> 下面)。接下来执行 <CODE>make</CODE>。你就会得到 imm 驱动程序模块(<CODE>imm.o</CODE>)。将该模块复制到 <PRE>/lib/modules/$(uname -r)/scsi</PRE> 下。<P><B><CODE>[译者注] 在我翻译这篇 mini-Howto 时(Jun. 1999),最新的版本仍是 0.18 版。</CODE></B><P>如果你已经载入 lp 模块(可以使用 <B>lsmod</B>(1) 命令检查),先卸除 lp 模块(<CODE>rmmod lp</CODE>),然後载入 <CODE>imm.o</CODE> 模块(<CODE>insmod imm</CODE>)。到这里,你已经完成了基本的设定。<P>如果你在载入 imm 模块时, ZIP 磁碟机并没有连接好或者没有打开电源,你会看到 "init_module: Device or resource busy" 的错误讯息,而无法载入模块。(附带一提,当你要连接 ZIP 磁碟机到电脑主机时,似乎不需要将电脑关机 -- 只要确定 imm 模块没有载入,而且磁碟机的电源是关的,接著只要将电缆线插好,打开电源,并载入模块就可以了。)<P>如果 ZIP 磁碟机已经接好而且也打开电源了,但是没有插磁片在里面,那麽 imm 模块还是会载入,但是你会看到无法读取磁碟分割表的错误讯息。这没关系,因为当你在磁碟机内插入磁片,系统会自动读取分割表。<P>若你在载入模块时,ZIP 磁碟机内有插磁片,那你会看到该磁片的分割区列表以及写入保护状态等等的完整信息。下面是一个载入模块时所看到的磁片信息的例子:<P><PRE>vger:~# insmod immimm: Version 0.18imm: Probing port 03bcimm: Probing port 0378imm: SPP port presentimm: ECP with a 16 byte FIFO presentimm: PS/2 bidirectional port presentimm: Passed Intel bug check.imm: Probing port 0278scsi0 : Iomega ZIP Plus drivescsi : 1 host. Vendor: IOMEGA Model: ZIP 100 PLUS Rev: J.66 Type: Direct-Access ANSI SCSI revision: 02Detected scsi removable disk sda at scsi0, channel 0, id 6, lun 0SCSI device sda: hdwr sector= 512 bytes. Sectors= 196608 [96 MB] [0.1 GB]sda: Write Protect is off sda: sda1vger:~#</PRE><P>最後值得一提的是,当磁片被挂载以後,这版的驱动程序会将磁片锁住。如果在这时按下退片钮,磁片并不会退出来,但是磁碟机会『记得』你的退片要求,并在你卸载(umount)磁片後立刻退片。<P><P><H2><A NAME="ss4.5">4.5 ATAPI 版本</A></H2><P>有关这种机型的信息可以在这里找到:<A HREF="javascript:if(confirm('http://www.iomega.com/zip/products/insider.html \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.iomega.com/zip/products/insider.html'" tppabs="http://www.iomega.com/zip/products/insider.html">http://www.iomega.com/zip/products/insider.html</A><P>之前有一小段时间还有一种 IDE 版本的磁碟机。不过我想现在绝大部分都已经被 ATAPI 版本的机器所取代。<P>Donald Stidwell 提供我下面这些有关 ATAPI 版本的说明。谢谢 Don。<P>我有一台 ATAPI ZIP 磁碟机,而且在 2.0.32 及 2.0.33 版的核心下都能正常运作。我在 RH 5.0 及 OpenLinux 1.2 (我现在在使用的发行版本)下都测试过<CODE><B>[译者注]</B></CODE>。我所需要做的只是开启 <B>ATAPI floppy support</B> 的核心组态设定。OpenLinux 的核心并没有内定开启这个功能。<P><B><CODE>[译者注] 我本身在 Slackware 3.3/3.6 以及 RedHat 5.2 下都能正常使用 ATAPI ZIP,测试过的核心版本有 2.0.35, 2.0.36, 2.2.1, 2.2.2 等。</CODE></B><P>不需要其他额外的驱动程序。ZIP 磁片会以延伸分割区(Extended Partition)的形式挂载在第 4 个分割区。例如,我的状况是挂载 HDB4。我以 noauto 的挂载选项将 ZIP 磁片挂载于 /mnt/zip,但是我想用自动挂载应该也不会有问题。我想唯一可能的问题是退片。我总是在要退片前,先卸载磁片。<P>在 1998 年五月号的 Linux Gazette 中,有对于在 Linux 下安装 ATAPI ZIP 的更详细介绍。请参考 2 cent tip 的部分。<P><A HREF="javascript:if(confirm('http://www.linuxgazette.com/issue28/lg_tips28.html \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.linuxgazette.com/issue28/lg_tips28.html#atapi'" tppabs="http://www.linuxgazette.com/issue28/lg_tips28.html#atapi">http://www.linuxgazette.com/issue28/lg_tips28.html#atapi</A><P><P><H2><A NAME="ss4.6">4.6 IDE 版本</A></H2><P>我没用过 IDE 版本的 ZIP。Eric Backus 提供下面这些说明。谢谢 Eric。<P>我有一台 IDE ZIP 磁碟机,是在一年前随著我的 Gateway 2000 电脑一起买来的。我想这种机型绝大部分都是在 ATAPI 版本的 ZIP 发行前,由这类的大型 OEM 公司随货卖出的。<P>好消息是:要支持这种磁碟机,不需要额外的核心模块或者核心组态变更。这种机型对核心而言,就跟 IDE 硬盘一样。我能在 2.0.31 及 2.0.32 版的核心上直接使用。<P>而坏消息是:因为不是使用 ATAPI 协定,所以你无法启动使用 SCSI 转 ATAPI 的核心组态,也就是说,你不能用 mtools 来开启磁片的防写功能以及退片<CODE><B>[译者注]</B></CODE>。<P><B><CODE>[译者注] 请参考 mzip(1) 指令以及 mtools 的 man page 说明。</CODE></B><P><H2><A NAME="ss4.7">4.7 USB 版本</A></H2><P>这台磁碟机的资料可以在这里找到:<A HREF="javascript:if(confirm('http://www.iomega.com/zip/products/usb.html \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.iomega.com/zip/products/usb.html'" tppabs="http://www.iomega.com/zip/products/usb.html">http://www.iomega.com/zip/products/usb.html</A><P>这种磁碟机看起来很酷,而且 USB 界面也看起来很棒。唯一的问题是目前 Linux 对 USB 界面的驱动程序还在发展中。因此,就目前而言,这种 ZIP 磁碟机无法在 Linux 下使用。看看这个网站以取得最新信息:<P><A HREF="javascript:if(confirm('http://peloncho.fis.ucm.es/~inaky/USB/news.html \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://peloncho.fis.ucm.es/~inaky/USB/news.html'" tppabs="http://peloncho.fis.ucm.es/~inaky/USB/news.html">http://peloncho.fis.ucm.es/~inaky/USB/news.html</A><P><H2><A NAME="ss4.8">4.8 ZIP 250 版本 </A></H2><P>这种机型是 1999 年 1 月推出的新机型。我买了一台,而且在 Linux 下使用非常良好。所要做的只有使用由 <A HREF="javascript:if(confirm('http://www.torque.net/~campbell/imm.tar.gz \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://www.torque.net/~campbell/imm.tar.gz'" tppabs="http://www.torque.net/~campbell/imm.tar.gz">http://www.torque.net/~campbell/imm.tar.gz</A> 取得的 imm 驱动程序。设定上和 ZIP Plus 相同。简单的说,先取得驱动程序原始码,解压缩,然後执行 make。接著复制 imm.o 到存放核心模块的目录下,例如 /lib/modules/2.0.35/scsi(2.0.35 是你的核心版本号码)。如果你不确定你的核心版本号码是多少,可以用 uname -r 指令查询。<P><P><P><P><HR><A HREF="ZIP-Drive-5.html" tppabs="http://www.linux.org.tw/CLDP/gb/mini/ZIP-Drive-5.html"><IMG SRC="next.gif" tppabs="http://www.linux.org.tw/CLDP/gb/img/next.gif" ALT="Next"></A><A HREF="ZIP-Drive-3.html" tppabs="http://www.linux.org.tw/CLDP/gb/mini/ZIP-Drive-3.html"><IMG SRC="prev.gif" tppabs="http://www.linux.org.tw/CLDP/gb/img/prev.gif" ALT="Previous"></A><A HREF="ZIP-Drive.html#toc4" tppabs="http://www.linux.org.tw/CLDP/gb/mini/ZIP-Drive.html#toc4"><IMG SRC="toc.gif" tppabs="http://www.linux.org.tw/CLDP/gb/img/toc.gif" ALT="Contents"></A> </BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -