APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

Unix (3.2v4.2) and ODT FAQ

This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

How do I change my SCSI host adapter on older SCO Unix?

This applies to at least 3.2v4.0 and later. As always, make and verify a backup and a set of emergency diskettes before any major system surgery.

See also How can I install a new disk controller that requires a different driver?

Make sure that the appropriate driver is already installed. It may already be there, or it may be in the form of a BTLD. Your manual should provide the instructions for this step.

The file /etc/conf/cf.d/mscsi contains a list of SCSI devices and the parameters (such as which host adapter, what SCSI ID they are, etc.) required for them. The safest change to make is to replace the name of the old adapter driver (e.g. ad for an Adaptec 154x) to the name of the new one (e.g. arad for an AIC-7770-based adapter) on each such line. There is another option, which is to use auto. I am not sure exactly how this works if there is more than one host adapter installed, so on systems with multiple host adapters it is probably wisest to list the specific host adapter rather than using auto.

In /etc/conf/sdevice.d you will find files named after the drivers you're installing and removing (e.g. ad and arad). You will need to edit each of them. The second column should be set to Y for a driver which is enabled, and N for a driver which is not. For some drivers, you will also need to edit the adapter address in columns 7 and 8; many adapters do not require this. There is no need to change /etc/conf/cf.d/sdevice, as it is built from these files when you relink the kernel.

There's at least one special case which deserves to be noted here. If you are moving from an EISA host adapter to a PCI one, you may need to enable PCI support in your kernel if this is the first PCI device. In /etc/conf/sdevice.d/pci, you should see a line which begins pci N. Change the N to Y. If you are removing your last EISA device, you may wish to do the inverse in /etc/conf/sdevice.d/eisarom with the eisarom line, though it probably doesn't hurt to have this support in the kernel even though you have no EISA devices. This also applies to other hardware changes involving addition or deletion of PCI and EISA devices, and it applies in reverse if you're removing your last PCI device and adding your first EISA one.

Relink the kernel, shut down, and swap the hardware.

See also Transferring to new hardware with a Supertar

Got something to add? Send me email.

(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> (SCO Unix) How do I change my SCSI host adapter?

Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us

Printer Friendly Version

If debugging is the process of removing bugs, then programming must be the process of putting them in. (Edsger W. Dijkstra)




Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode