Installing the OnStream DI30 IDE/ATAPI Tape Drivers

Read the DI30 Installation Requirements Document

Download the 2.2.15 kernel from Kernel.org or your favorite kernel mirror site.

Download the DI30 Drivers files from SourceForge.net.

cp linux-2.2.14.tar.gz /usr/src/
cp ide.2.2.14.20000124.patch.gz /usr/src/
rm linux
    (it's actually a symbolic link)
tar -zxvf linux-2.2.14.tar.gz
    (this recreates the linux directory)
mv linux linux-2.2.14
ln -s linux-2.2.14 linux
cd linux
gzip -c ../ide.2.2.14.20000124.patch.gz | patch -p1
make menuconfig
    (make whatever selections you require throughout the
    configuration, but make sure that you have the modules
    information set as follows):

Under "Loadable Module Support"
    [*] Enable loadable module support
    [ ] Set version information on all symbols for modules
    [*] Kernel module loader
Under "Block Devices"
    <*> Include IDE/ATA-2 DISK support
    <*> Include IDE/ATAPI CDROM support
    <*> Include IDE/ATAPI TAPE support
    <*> Include IDE/ATAPI FLOPPY support

Finish configuring whatever other items you require for your system and save your new kernel config. Build and install the new kernel:

make dep bzImage && make modules modules_install
cp arch/i386/boot/bzImage /boot/vmlinuz-2.2.14-idepatch

edit /etc/lilo.conf and ADD a new entry at the top of the images section:

image=/boot/vmlinuz-2.2.14-idepatch
    label=idetape
    read-only
    root=/dev/$$WHATEVER_YOUR_BOOT_DEVICE_IS$$

Save your changes and run lilo. When you run lilo, you should see:

Added idetape *
Added linux

This means that the kernel that you just installed will boot by default on a reboot. If something went wrong, by typing linux at the LILO Boot: prompt, you will reboot using your original kernel.

Now, to activate the new ide-tape module, do the following:

depmod -a
insmod ide-tape
mt -f /dev/nht0 status

All should now be well. You can now access the DI30 via the /dev/ht0 and /dev/nht0 devices. For example:


tar -cvv -b 64 -f /dev/ht0 /home
 

or


bru -cvvf /dev/ht0 -b 32k /home
 

Please note that you MUST use a 32k blocksize when writing to the DI30 drive. Also note that the tar statement above uses "-b 64" due to its 512 blocksize.

Get a complete BRU configuration file for this drive from ftp://ftp.estinc.com/pub/brutabs/adr.bt