First, this is not intended to be a complete HowTo on the subject. You can think of this documents as CliffsNotes on getting a 100MB Internal Zip Drive, an HP Colorado 20 (Travan), and a Mitsumi CR-2801TE CD Burner working with SuSE Linux 7.1.
- The Linux 2.4 SCSI subsystem HOWTO
- Zip Drive Mini-HOWTO
- CD-Writing HOWTO
- BRU - The Backup and Restore Utility (support page)
- Determine Hardware IDE Locations
- Edit /etc/lilo.conf
- Use modprobe to detect the ide-scsi devices
- See what scsi-ide devices your system discovered
- Discover useful device names as listed in /dev
- Add useful entries to /etc/fstab
Motherboard || |----| Hard Drive |---| CD Burner | | ----| Zip Drive |---| Tape Drive |I determined that (whether correct or not) all 4 devices were discovered by the IDE kernel driver and assigned device addresses in /dev. The device names were as follows:
Motherboard || |----| /dev/hda |---| /dev/hdb | | ----| /dev/hdc |---| /dev/hdd |As mentioned this was just a guess that happened to work. If you know of a more concrete way to discover the device names I would be happy to know the trick.
append = "hdb=ide-scsi hdc=ide-scsi hdd=ide-scsi"Of course your line may look different. Essentially we are telling the kernel that hd* will be controled by the ide-scsi kernel module rather than the ide kernel module. Here is what my whole entry looks like:
image = /boot/vmlinuz_24 label = linux_2.4 root = /dev/hda3 initrd = /boot/initrd_24 append = "hdb=ide-scsi hdc=ide-scsi hdd=ide-scsi"Obviously you will need to reboot for this setting to take affect.
modprobe ide-scsiYou will probably want to add this to your startup scripts.
cat /proc/scsi/scsiThis should list out your devices. My results look like this:
Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: IOMEGA Model: ZIP 100 Rev: 14.A Type: Direct-Access ANSI SCSI revision: ffffffff Host: scsi0 Channel: 00 Id: 01 Lun: 00 Vendor: HP Model: COLORADO 20GB Rev: 4.01 Type: Sequential-Access ANSI SCSI revision: 02 Host: scsi0 Channel: 00 Id: 02 Lun: 00 Vendor: MITSUMI Model: CR-2801TE Rev: 1.07 Type: CD-ROM
- /dev/sg* All SCSI devices are assigned one of these files. I don't know why but you can't use these from applications, you need to use the more specialized device files below.
- /dev/scd* SCSI CD ROMS
- /dev/st* & /dev/nst* Tape devices.
- /dev/sda* I don't know what type of subclass this represents but /dev/sda4 is my zip drive.
scsi_info /dev/sda4Which gave me these results:
SCSI_ID="0,0,0" MODEL="IOMEGA ZIP 100" FW_REV="14.A"Note: I had to have media in the device before it displayed my drive info.
/dev/scd0 /cdrom auto ro,noauto,user,exec 0 0 /dev/sda4 /zip auto noauto,user 0 0Now just type the following command to access your drives:
mount /zip mount /cdrom