Technical article 105356

Can I change my SCSI root controller to another type without reinstalling?

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6OpenServer 5.0.7

Written · Last revised

Problem

Can I change my SCSI root controller to another type without reinstalling?

Solution

Changing your SCSI root controller to another type without reinstalling is not strictly supported. One of the many issues that can add to the difficulty is a possible incompatibility problem with the disk geometry translation in the new adapters BIOS. This problem could force you to re-lowlevel format the drive to establish the geometry required by the new host adapter.

Because this can be a difficult procedure, it is a useful to have an example of steps involved in modifying the SCO UNIX Version 4.2 Link kit. Below you will find an example of replacing an Adaptec 1540 adapter with an Adaptec 2940 adapter under SCO UNIX Version 4.2.

1. You must install the new adapter driver into the link kit. If the new driver is a BTLD driver, install it using the following instructions (if it's not a BTLD, follow the instructions included with the driver):

- Mount the BTLD floppy on the /mnt directory:

/etc/mount -r /dev/install /mnt

- Install the BTLD floppy contents into the kernel link kit with the btldinstall(ADM) program:

/etc/btldinstall /mnt
- Unmount the floppy:
/etc/umount /dev/install

2. Remove the old host adapter driver from your kernel configuration by editing the file:

/etc/conf/sdevice.d/ad

Change the Y to N in the second column, as in this example:

From:

ad Y 1 5 0 0 330 332 0 0

To:

ad N 1 5 0 0 330 332 0 0

Make the same change in the file /etc/conf/cf.d/sdevice.

3. In the same directory, edit the file that corresponds to the new host adapter (alad). Change N to Y in the second column.

Make the same change in the file /etc/conf/cf.d/sdevice.

4. Edit the file /etc/conf/cf.d/mscsi, replacing each instance of the old host adapter driver name (ad) with the new name (alad). Change the first column only (from ad to alad).

*ha attach number ID lun bus
From:
ad Stp  0 2 0 0
ad Sdsk 0 0 0 0
To:
alad Stp  0 2 0 0
alad Sdsk 0 0 0 0

5. Relink your kernel to rebuild your system configuration with the new adapter using these commands:

cd /etc/conf/cf.d
./link_unix -y
6. Reboot the system.
NOTE:     Different adapters use different geometries in their BIOS,
          which means you may have to re-lowlevel format the drive on
          the new host adapter before the host adapter can write to the
          drive. If you still experience problems after following the
          steps above, reinstall the operating system using the new adapter.

From the Xinuos technical article database, record 105356. Reproduced with permission. The original is at www.sco.com/ta/105356, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.