leftbar
leftbar
Installing SuSE 7.0 Driver

Download Driver
Steps to Load the Adaptec module "dpt_i2o"
 
This is a modified version from SuSE to include the steps for loading the vendor specific driver.
 
This article applies to SuSE Linux: Version 7.0 using HBA Module: dpt_i2o
 
Symptom: The Adaptec SCSI RAID 2100S, 3200S, 3400S, and SmartRAID V Host Bus Adapter's will require a driver update to function properly. To determine if your configuration is affected, you can do the following command:
 
lspci -v | grep -i -A2 i2o
 

You may also poll information from system info: pci. From the YaST1 install menu, you should see something like this:

00:0d.1 I2O: Distributed Processing Technology SmartRAID V Controller Subsystem: Distributed Processing Technology: Unknown device 018

 
Unfortunately, the dpt_i2o module for these cards will fail to load during the install or thereafter manually.
 
Cause: This module needs to be updated and also compiled on a pre-2.91 ggc compiler
 
Solution: Follow the instructions below to install the dpt_i2o driver:
 
To install SuSE 7.0 from scratch using the updated dpt_i2o driver:
  1. If you are installing SuSE 7.0 from scratch, download the modules disk image you can find at ftp.suse.com/pub/suse/i386/update/7.0/kernel/dpt_i2o-1.14/modules. You can copy this file onto a floppy with the rawrite tool in the /dosutils directory of CD1 or just copy using dd as follows:

    dd if=modules of=/dev/fd0

    Label this floppy as the SuSE 7.0 updated modules disk. Also please determine if you are going to use the smp kernel for multi-processor computers or a uniprocessor kernel. Please download the uniprocessor module at ftp://ftp.suse.com/pub/suse/i386/update/7.0/kernel/dpt_i2o-1.14/dpt_i2o.o or the multiprocessor module at ftp.suse.com/pub/suse/i386/update/7.0/kernel/dpt_i2o-1.14/dpt_i2o-smp.o to a second, pre-formatted dos floppy, labeled as the Adaptec floppy disk.

  2. Install SuSE 7.0 via YaST1 with the boot floppy disk or CD2 so that you can do a text based install. At the main install menu, select kernel modules and then load SCSI modules. In the SCSI modules menu, use the menu item -- More Modules -- and put the SuSE 7.0 updated modules disk that you have created, into the floppy drive. From the Load SCSI Module menu select dpt_i2o. The next screen will ask you to enter parameters, simply press enter as there are no parameters to enter. After the module successfully loads, select OK in the Kernel Messages screen to bring you back to Kernel Modules menu. Select Back. In the main menu, select Start installation / system and continue with the install process.

  3. After you have selected the Standard kernel, you will see a new screen asking if you want to configure lilo. At this point, go to an alternate console by pressing alt-F2.

  4. Please issue the following commands after putting the Adaptec floppy disk in the floppy drive:

    cd /mnt
    cp /etc/mtab /mnt/etc/mtab
    chroot /mnt
    mount /floppy

    If you have a uniprocessor system do:

    cp /floppy/dpt_i2o.o /lib/modules/2.2.16/scsi/dpt_i2o.o
    umount /floppy
    depmod -a

    If you have a multiprocessor system do:

    cp /floppy/dpt_i2o-smp.o /lib/modules/2.2.16-SMP/scsi/dpt_i2o.o
    umount /floppy
    depmod -a

  5. Open the file: /etc/rc.config with your favorite editor and check if the line: INITRD_MODULES="dpt_i2o" exists (there may be other module names, separated by spaces, listed). If it does not, please edit and save /etc/rc.config.

  6. Before we create the ram disk we must edit /etc/mtab to reflect the mounted files of the chroot environment. Please edit /etc/mtab as follows:

    /dev/initrd on / type minix (rw) #erase this line

    none on /proc type proc (rw) #keep this line

    /dev/hdc on /var/adm/mount type iso9660 (ro)#erase this line

    /dev/sda3 on /mnt type ext2 (rw) #change /mnt to /

    /dev/sda1 on /mnt/boot type ext2 (rw) #change /mnt/boot to /boot

  7. Please note that your / partition may be on a different device than /dev/sda3 and likewise your /boot partition may be on a different device than /dev/sda1. After editing the file. Do: mount which should look something like this, except possibly for the device numbers:

    none on /proc type proc (rw) /dev/sda3 on / type ext2 (rw) /dev/sda1 on /boot type ext2 (rw)

  8. You are now ready to create your ramdisk. Create your ramdisk image by doing this command:

    mk_initrd

  9. Exit out of the chroot environment by issuing these commands:

    rm /etc/mtab

    touch /etc/mtab

    exit

    and then go to the install console by pressing alt-F1.

  10. Continue with the installation by configuring lilo. You can now proceed through the rest of the install.

To install a newer dpt_i2o driver on a system already running SuSE 7.0:
  1. Determine if you are running a multiprocessor kernel or a uniprocessor kernel. You can check this by doing:

    uname -a

    and see if the strings that are returned contain the word: smp (smp signifies that you have a multiprocessor kernel). Please download the uniprocessor module at ftp.suse.com/pub/suse/i386/update/7.0/kernel/dpt_i2o-1.14/dpt_i2o.o or the multiprocessor module at ftp.suse.com/pub/suse/i386/update/7.0/kernel/dpt_i2o-1.14/dpt_i2o.o to the /tmp directory.

  2. If you have an smp system please issue the following command:

    cp /tmp/dpt_i2o-smp.o /lib/modules/2.2.16-SMP/scsi/dpt_i2o.o

    If you are running a uniprocessor kernel please do:

    cp /tmp/dpt_i2o.o /lib/modules/2.2.16/scsi/dpt_i2o.o

  3. Open the file: /etc/rc.config with your favorite editor and check if the line:

    INITRD_MODULES="dpt_i2o"

    exists (there may be other module names, separated by spaces, listed). If it does not, please edit and save /etc/rc.config.

  4. Create your ramdisk image by doing these commands:

    SuSEconfig

    depmod -a

    mk_initrd

  5. Then check with your favorite editor that the file /etc/lilo.conf includes this line near the beginning of the file:

    initrd=/boot/initrd

    If it does not, please edit /etc/lilo.conf to include that line.

  6. After rebooting run: lilo (To create your ramdisk)or issue the following command:

    modprobe dpt_i2o

  7. You will now be able to use the YaST utilities under "adjustments of installation" to format, partition, and mount your drives on the raid controller.

Manual Compilation:

You can download the patch to the SuSE kernel at: ftp://ftp.suse.com/pub/suse/i386/update/7.0/kernel/dpt_i2o-1.14/dpt-1.14-SuSE7.0.gz. Please note that you will need a version of gcc that is less than 2.91 to compile the dpt_i2o module correctly. We offer no support for this procedure, and this compiler is not present on SuSE 7.0. We recommend that if you compile your own kernel, you use the modules provided for the ADAPTEC SCSI RAID and Smartraid V controllers. The next version of this module should work properly with our current compilers.

Final Note:

SuSE is working on a solution to make updating modules much easier in the future

rightbar
rightbar