-------------------------------------------------------------------------- SCO OpenServer Updated Wd Driver -------------------------------------------------------------------------- Contents * Overview * What's new in the updated wd driver * Before installing the wd driver * Installing the wd driver o Using the Wd BTLD + Creating a BTLD disk + Installing the Wd BTLD o Using the Wd Driver * Configuring large IDE hard disks -------- Overview -------- This updated version of the wd(HW) driver provides a number of bug fixes for SCO OpenServer Release 5.0.7 systems. Additionally, it adds support for IDE hard disks that are larger than 137GB, as well as Serial ATA (S-ATA) controllers that operate in Legacy Mode. The updated wd driver is supported on the following platforms: * SCO OpenServer Release 5.0.7 plus Maintenance Pack 3 Because of software dependencies, it is important that the updated wd driver be installed using the sequence outlined here. Depending on your situation, you may already have completed some of these steps. 1. Install the SCO OpenServer operating system using the Wd Boot-Time Loadable Driver (BTLD). If the operating system is already installed, proceed to Step 2. 2. Install Maintenance Pack 3. This pack adds the updated wd driver and additional supporting files to the system, and is required even if you used the Wd BTLD to install SCO OpenServer. Optionally: If you have the appropriate license, install Update Pack 3. 3. Customers using hard disks larger than 137GB can now reconfigure the drive to make use of all drive space. The Wd BTLD, Maintenance Pack 3 and Update Pack 3 for SCO OpenServer Release 5.0.7 are available at: http://www.sco.com/support/update/download/osr507list.html These steps are described in more detail later in this document. You should also read ``Before installing the wd driver'' prior to proceeding. NOTE: Customers who wish to use this BTLD with Maintenance Pack 1 and Update Pack 1 or 2 must refer to the wd_readme on the Supplement CD Version 1 or 2 for installation and use instructions for this BTLD. ----------------------------------- What's new in the updated wd driver ----------------------------------- The updated wd driver provides a number of bug fixes, including: * All compliant PCI IDE controllers now recognized. * UDMA mode 6 (UDMA 133) now supported. * Improved ATAPI device recognition. * ATAPI CD and DVD writer devices now supported. * More readable and useful debug output. To turn on debug output, use the wd.debug=[option] bootstring, where [option] can be any of the following: i for IDE controller identification u for Ultra DMA configuration g for disk geometry calculations * Better disk geometry configuration. * IDE hard disks larger than 137GB now recognized as having 137GB of space. Previously these drives were seen as smaller, possibly as small as 2GB. * When kernel debugger is enabled, driver no longer enters the debugger on certain unusual conditions. * Driver no longer panics when attempting to access a non-existent ATAPI device. * Driver no longer hangs during high levels of CD-Rom activity. (fz527519 / erg712269) * Driver now supports installation on an IDE disk located on the secondary IDE controller. (fz528226) Additionally, with SCO OpenServer Release 5.0.7 Maintenance Pack 3 installed, this updated wd driver also provides: * Full support for IDE hard disks that are larger than 137GB. * Support for SATA controllers that operate only in Legacy Mode or that can enable Legacy Mode in the BIOS. ------------------------------- Before installing the wd driver ------------------------------- Before installing the wd driver: * Back up the data on your SCO OpenServer system and verify the integrity of the backup. * Ensure that you have a current, working emergency boot floppy disk set. * If you want to take advantage of the new support for IDE disks that are larger than 137GB, first read ``Configuring large IDE hard disks''. The wd(HW) manual page shipped with SCO OpenServer Release 5.0.7 systems is still current. ------------------------ Installing the wd driver ------------------------ The wd driver is available on this CD-ROM in two forms: Wd Boot-Time Loadable For use at boot-time when installing SCO Driver (BTLD) OpenServer. We recommend that you use the Wd BTLD to install SCO OpenServer on IDE systems. Certain circumstances will require you to use the BTLD, including: * The FCS driver does not recognize system's IDE controller * The FCS driver does not support Ultra DMA on your system * The FCS driver incorrectly determines size of the hard disk during Initial System Load (ISL), which could lead to disk geometry conflicts after the installation is complete. You see the detected disk size during the Hard Disk Setup stage of ISL; the hard disk is not modified until this stage is complete so you can safely exit the installation at this point, if needed. (Note that disks larger than 137GB are limited in size to 137GB until MP3 is installed.) See ``Using the Wd BTLD'' for instructions on installing the BTLD during SCO OpenServer installation. Maintenance Pack 3 Contains the updated wd driver, as well as additional supporting files. This supplement is required on all systems that want to use the updated wd driver, even if the system was installed with the Wd BTLD. See ``Using the Wd Driver'' for more information. Using the Wd BTLD ----------------- This section describes how to use the Wd BTLD to perform an SCO OpenServer installation, including: * creating a BTLD disk * installing the Wd BTLD If your system is already installed, you do not need to use the Wd BTLD. You can install the updated Wd driver by installing Maintenance Pack 3. See ``Using the Wd Driver'' for more information. -------------------------------------------------------------------------- NOTE: The Wd BTLD provides a minimum set of wd driver functionality to enable the installation of SCO OpenServer. Once system installation is complete, you must add Maintenance Pack 3 for the wd driver to work correctly. -------------------------------------------------------------------------- To use the Wd BTLD: 1. Log in as root. 2. Download the Wd BTLD image, from either the SCO web site or using FTP, to a temporary directory (such as /tmp/wd_btld.img) on your machine: + to use the SCO web site, go to the SCO Update Service and Supplemental Downloads web page for SCO OpenServer Release 5.0.7: http://www.sco.com/support/update/download/osr507list.html + to use FTP, go to the SCO Support Download Area: ftp://ftp.sco.com/pub/openserver5/507/drivers/wd.suppcd3/ 3. Format a 3.5-inch high-density floppy disk using the format(C) command. 4. Copy the wd_btld.img image to the floppy disk using the dd(C) command: dd if=/tmp/wd_btld.img of=/dev/fd0 bs=18k 5. Verify that the image was both downloaded and written to the floppy disk correctly using the sum(C) command: sum -r /tmp/wd_btld.img sum -r /dev/fd0 The latter command should return: 38769 2880 /dev/fd0 If the checksum matches the above, the floppy disk is ready for use. 6. Insert the SCO OpenServer Primary Boot Disk (either CD-ROM or floppy disk) into the drive on the system that you want to install and turn on the computer. (This step assumes that the IDE controller is already installed in the computer.) 7. At the boot prompt, enter 'link'. 8. When prompted for the packages that you want linked in to the system, enter the driver name 'wd'. 9. When prompted for the driver volume, insert the Wd BTLD floppy disk that you created and press . 10. The link(HW) command prompts you to replace the current driver with the new wd driver. Type 'r' at the prompt and press . 11. After the wd driver is successfully installed, you are prompted to re-insert your boot disk. You can now continue with the SCO OpenServer installation. 12. After SCO OpenServer is installed, complete the wd driver installation by adding Maintenance Pack 3. MP3 and its installation instructions can be obtained at http://www.sco.com/support/update/download/osr507list.html. Using the Wd Driver ------------------- Maintenance Pack 3 installs the updated wd driver, as well as a number of supporting files that are required for the driver to work correctly. You must install this supplement to use the updated wd driver, even if you used the Wd BTLD to install the system. To install Maintenance Pack 3, see the instructions in the MP3 Release Notes, available from http://www.sco.com/support/update/download/osr507list.html. -------------------------------- Configuring large IDE hard disks -------------------------------- IDE hard disks that are larger than 137GB are supported on SCO OpenServer Release 5.0.7 systems that include Maintenance Pack 3. Once all of the required software is installed, you will need to reconfigure the hard disk so that all of the drive's space is available. * When using the updated wd driver to install SCO OpenServer on an IDE hard disk that is larger than 137GB, the partition is initially limited to 137GB. Once SCO OpenServer Release 5.0.7 Maintenance Pack 3 is installed, the drive areas above 137GB become available. At this point, you need to add additional partitions or expand existing partitions to make use of the entire hard disk. * Similarly, if SCO OpenServer is already installed on an IDE hard disk that is larger than 137GB, adding SCO OpenServer Release 5.0.7 Maintenance Pack 3 with the updated wd driver enables the system to recognize the full capacity of the drive, but the hard disk must be reconfigured to make use of the newly available space. ---------------------------------------------------------------------- NOTE: To add a new larger-than-137GB IDE hard disk to an existing SCO OpenServer system, install SCO OpenServer Release 5.0.7 Maintenance Pack 3 with the updated wd driver before adding the new disk. This will ensure that you can access the entirety of the hard disk immediately without additional intervention. ---------------------------------------------------------------------- There are a few options for reconfiguring your hard disk to make use of the drive space above 137GB. -------------------------------------------------------------------------- NOTE: All of these options involve the use of fdisk(ADM) and divvy(ADM). These are powerful tools that should be used with caution to ensure that you do not accidentally lose data. Before using these commands: * Back up the data on your SCO OpenServer system and verify the integrity of the backup. * Ensure that you have a current, working emergency boot floppy disk set. -------------------------------------------------------------------------- * Run fdisk(ADM). The utility reports a larger number of tracks than before, some of which are unallocated. -------------------------------------------------------------- NOTE: When performing any of the steps described below, fdisk may warn that your new UNIX partition is not on a cylinder boundary. You can safely ignore this message. -------------------------------------------------------------- o If your disk contains only one partition, which is of the type UNIX and starts on track 1, select fdisk option ``2. Use Entire Disk for UNIX''. The partition is expanded to the end of the disk; the contents of the partition are preserved. o If your disk contains a single UNIX partition that starts on a track other than 1, or contains multiple partitions where the last entry in the partition table is a UNIX partition, you can delete that partition (select option ``6. Delete Partition'') and then recreate it (select option ``4. Create UNIX Partition''), making it larger. You will not lose any data provided the new partition starts on the same track number as the deleted partition. ----------------------------------------------------------------- WARNING: Before attempting this, write down the starting track number of the partition you will delete. This number is extremely important and the fdisk utility will scroll this information off the screen before you need it again. Once you delete the partition, do not exit fdisk until you have recreated the replacement partition, or you will lose all data that existed in the deleted partition. ----------------------------------------------------------------- o If the last disk partition is any type other than UNIX, you must add a new UNIX partition to allocate the unused tracks on the disk. Select fdisk option ``3. Use Rest of Disk for UNIX''. This option preserves all existing partitions. * Once you have expanded existing partitions and/or added additional partitions, run divvy(ADM) to create new divisions and filesystems. See the ``Adding hard disks'' chapter in the SCO OpenServer Handbook and the fdisk(ADM) and divvy(ADM) manual pages for more information on performing any of these steps. ------------------ (c) 2004 The SCO Group, Inc. All rights reserved. June 2004