还有就是找到了一篇文章
*1.1 Purpose:
The purpose of this document is to describe the common procedures and tips to enable PCMCIA ATA storage cards (both rotating HDD and FLASH ATA) in DOS/Win3.x, Windows 95, and OS/2.
There are other types of PCMCIA memory cards, both SRAM (which is battery backed) and Flash cards that do not use the ATA interface (nor do they typically use a FAT file system, usually requiring a file system driver), these cards are not covered by this document.
*1.2 ThinkPad Types:
This Document will refer to ThinkPad systems in three generic categories:
A. Legacy systems - These include the older systems which use the "generic" PC Card Director software for DOS/WIN and OS/2 (currently PCTPX130 or PC36Bxxx from the Web Site), and the built in, default support included with Windows 95. Examples are the 75X, 360, 365(C and E series), 701, and similar.
B. Current ThinkPads - This includes those which use the PCTPG series of PCMCIA drivers for all operating systems. This includes all 760 models, as well as the 560 and 365X machines.
C. ThinkPad 380 which uses System Soft Card Wizard software to support cards in Windows 3.x and 95. OS/2 PCMCIA support is still provided via PC Card Director on this system.
*1.3 General Information:
ATA cards typically are among the easiest PCMCIA cards to install, and with few exceptions, FLASH ATA and Rotating HDD ATA cards work the same way and with the same driver software.
Bootable ATA cards may be used as a boot device in most of the current systems. The system BIOS will provide the basic support to get the system up and running in this scenario. In order to determine if a particular system supports this option, go into Easy Setup to the start-up sequence selection. If the ThinkPad supports booting from the PCMCIA slot there will be a selection to choose PCMCIA as a boot device. There are a few limitations and quirks to watch out for, especially with OS/2 in order to make sure that the BIOS support for the device does not subsequently get overwritten or stepped on by the PCMCIA driver support during the operating system bootup. Refer to the operating system documentation and ThinkPad product announcement for this information. Actual customer use of ATA devices as boot drives has been extremely infrequent.
In some rare instances, it may be necessary to "Initialize" an ATA card prior to its first use. This performs the same function as low level formatting and partitioning the drive. Some of the PCMCIA utilities referenced within this document support initializing ATA drives, and some do not. Where they do, the instructions have been provided. It is important to note that if the card has ever been used, it will not generally be necessary to initialize it again.
*2.0 Legacy Systems:
*2.1 DOS/Win3.x Support:
Installing the Support.
Support is provided by installing the drivers from the PC Card Director diskette for the specific system (PCTPX130 for most, PC36B*** for 365 C/E series.)
This will provide support for ATA cards with the included driver DISKDRV.SYS (this driver will also enable SRAM cards). This driver allocates a drive letter for each PCMCIA slot present, as well as a letter for each slot that may be reserved (such as for a Dock-2 PCMCIA slots reserved with the /D option on the IBMDSS01.SYS line on config.sys.) Slots on the Thinkpad are recognized with the top slot getting the first available drive letter, the bottom the next, then the dock slots top and bottom in sequence. These drive letters are assigned when the diskdrv.sys line in config.sys loads, so any CD-ROM will have its drive letter assignment moved when this driver is added.
Formatting and using the cards:
ATA cards can be formatted by the operating system (DOS). Once you have identified the correct drive letter, you can simply use the command FORMAT x: (where x: is the drive letter assigned to the slot). Some ATA cards need to be initialized prior to their first use. This is akin to a low level format and partitioning with FDISK. EZPLAY.EXE, the DOS utility program for PC Card director will initialize ATA cards. If you are unable to read and write, or run a DOS level format on the card, use the following instructions to initialize the card. (NOTE: The option to initialize the cards is NOT provided within the Windows PC Card Director interface)
Boot DOS:
A. Run the EZPLAY program from the Thinkpad directory.
B. You will see the card identified with it's drive letter identified. If it is not identified as READY, then you may need to review that the appropriate driver (diskdrv.sys) is loaded.
C. Highlight the card on the menu and press ENTER
D. In the card information screen that comes up you will see the legend, "F9=Initailize"
Hit F9, and choose any options that may apply, Volume Label, Transfer System files (aka make bootable ), etc., and press enter to confirm.
E. The card will be initialized, formatted and made ready for use.
If the card needs to be reformatted for any reason, it can be done through the DOS format command.
Resources :
The ATA cards require some I/O space, which card services will automatically handle, no IRQ will be required or allocated if the card is being managed by DISKDRV.SYS.
Checklist:
- Proper PCMCIA Drivers (including diskdrv.sys) are installed?- Check Config.sys.
- Drive Letter identified? - EZPLAY or PC Card Director will show the assigned letter.
- Can it read and write? If not, is it formatted?
- DOS Level Format? - If not able to, you may need to...
- Initialize Card using EZPLAY.
If all the above are done properly, and the card still does not work, it is either defective or incompatible.
*2.2 Windows 95:
Installing the drivers:
Legacy systems in Windows 95 use the Windows 95 default PCMCIA support. This includes support for ATA drives. If basic PCMCIA support is not installed, it should be installed via the PCMCIA wizard invoked by selecting the PCMCIA icon within the Control Panel.
If there is a specific need to run real mode (DOS) drivers in config.sys, the drivers can be installed in config.sys from the DOS/Win3.x diskette INSTEAD of using the Windows 95 support. This is usually only done if there is a particular card which is not supported in Windows 95, which is rare.
PCMCIA Hard Disk Drives and ATA Flash cards are recognized as IDE controller devices by Windows 95, and will show up in Device Manager. The card may show up as a generic IDE controller, or with some vendor specific information to distinguish it from the IDE controller already present in your Thinkpad.
It is important to note that, like any IDE controller, this card will require the use of an IRQ, as well as an I/O range. If the drive is not recognized, checking the properties of the device manager entry for the card should be the first step in troubleshooting. Resolve any resource conflict issues before trying to go any further.
Once any resource issues are resolved, the cards will normally just work. You should get a drive letter (just one) assigned when the card is in the system.
Formatting and using the cards:
Formatting is available from the drive icon for the drive or a DOS box within Windows 95. Windows 95 does not include any utility for initializing an ATA drive, so if the drive will not read/write or format, especially if the drive is new, you will need to obtain the DOS/WIN PCMCIA driver disk and install the real mode drivers in order to run the initialization from the EZPLAY utility. This can be done without affecting your Windows 95 configuration by doing the following:
A. From the Start Menu select Shut Down - Restart in MS DOS mode.
B. From the PCMCIA features diskette run the DOS ONLY install - PCMINST (if prompted about any changes to your windows directory, refuse them)
C. After the install completes, reboot into DOS mode again, you can then run the EZPLAY utility as described in the DOS/WIN section to initialize the drive.
D. When finished, edit your config.sys and remove all the PCMCIA drivers that were installed (all reference the c:\thinkpad directory)
E. Restart the system and hit ESC when prompted to boot into Windows 95 The ATA device should now be ready for use.
Checklist:
- PCMCIA Support installed? Check PCMCIA object in control panel.
- Card recognized? Check Device Manager.
- Resource conflicts? Make sure you have a free IRQ, set it manually if you must.
- Read/Write OK? - if not, attempt a format.
- Format OK? - If not then...
- Load the DOS drivers temporarily and initialize the card that way.
*2.3 OS/2 Warp V3:
OS/2 Warp Version 3 including Warp Connect includes basic PCMCIA support for some systems that is installed either when the operating system is installed or subsequently via selective install. Since this support is not usually the most current, and is not available for all Thinkpad systems, this is not a complete solution. Accordingly, the install of ATA support in Warp is a two step process, installing the ATA support, along with the base Warp PCMCIA support, and then updating the card and socket services with the correct diskette for your Thinkpad.
Installation:
If the system already has the Thinkpad specific (PCTPX130 or equivalent) drivers installed, they will have to be removed before running the install. They will be reinstalled after the ATA support is installed. It is a good idea in this case to have a copy of the config.sys the way it was before starting the install for backup. If you need instructions on this in the "PREPARE" section below, and do that BEFORE completing the "INSTALL" section.
PREPARE: (only if you have the Thinkpad PCMCIA drivers already installed.)
Open the system editor and edit the config.sys to remove or remark the following lines:
BASEDEV=PCMCIA.SYS /P
BASEDEV=IBM2SS01.SYS
DEVICE=C:\THINKPAD\VPCMCIA.SYS
DEVICE=C:\THINKPAD\AUTODRV.SYS C:\THINKPAD\AUTODRV.INI
DEVICE=C:\THINKPAD\$ICPMOS2.SYS
Shut down and restart the system.
INSTALL:
First, install the Base PCMCIA support from Warp with ATA(PCMCIA Hard Disk) support selected. This can be done either during the Warp install, or by running selective install if Warp is already installed. Select the Thinkpad that is most similar to the one you are using. In the case of Thinkpad 760, for instance, this would be selecting 755CE as the system type. On the right side of the box for PCMCIA options there are three selections: Modem/Fax, , PCMCIA Hard Disk, and PCMCIA Flash. Make sure that the Hard Disk option (only) is selected and complete the installation. This will install the ATA drivers in addition to the Basic Card and Socket Services support. Even if your ATA card is a Flash device, do not select the PCMCIA Flash support, that option is for Bulk Flash cards. This will assign a drive letter for each PCMCIA slot present on the system for the ATA card to assume when installed. An IRQ will also be needed for a card that is installed, and will be allocated automatically by OS/2, but it is important to note that if all available IRQs are in use the card will not come ready. Restart OS/2.
You can now update the Card and Socket services drivers by running the OS/2 installation from the PCMCIA driver diskette to install PC Card Director, Autodrv, and the rest of the drivers, while retaining the ATA support from the base operating system. The install process from the Thinkpad diskette will properly remove and replace the Warp card and socket services. This installation is started from the diskette by invoking the PCMINST2 command.
Formatting and using the cards:
OS/2 will properly format and read/write these cards. There is documentation to state that initialization of a new card prior to use is not required, and there is no utility to initialize a new card. You should be able to just format it from an OS/2 window and it will be ready for use.
*2.4 OS/2 V4:
OS/2 Warp v4.0 contains current drivers for the legacy systems. Therefore, you can just use the drivers that are supplied with Warp v4.0, installing the ATA support via selective install.
Installing the Drivers :
When Installing v4.0, or when running selective install to install or reinstall the OS/2 base PCMCIA support, there is a selection on the right side of the selection box to choose what optional support you wish to install. Select "PCMCIA Hard Disk" for ATA cards. This will install the Card and Socket services an well as the ATA support drivers necessary to support ATA. This will assign a drive letter for each PCMCIA slot present on the system for the ATA card to assume when installed. An IRQ will also be needed for a card that is installed, and will be allocated automatically by OS/2, but it is important to note that if all available IRQs are in use the card will not come ready.
Using and formatting the cards:
ATA cards may be formatted by the operating system. There is no provision for initializing an ATA card, should that be necessary, however this should not be necessary in OS/2, so this should not be an issue. You should be able to run the OS level format and then be able to read/write the card. Searching the online help for ATA will turn up all the config.sys command like switches having to do with the ATA driver, reserving drive letters, etc.
There is a utility (ATAMNT.EXE) in the inside the "Plug and Play for PCMCIA" object, (inside the system setup folder) which will allow various partitions on an ATA card to be mounted, additional drive letters to be assigned or reserved, etc., see the help within the utility for that. IBM does not provide any way tocreate more than one partition on an ATA drive*, but this utility may be useful for someone who does have more than one partition on an their ATA card.
See Tips and Tricks section for a solution
Checklist:
- Drivers Installed - Selective install - Update with Thinkpad diskette if the OS support is outdated.
- PC Card Director sees the card and identifies drive letter?
- Resources OK? The card will not report OK if all available IRQs are already in use or reserved.
- Read/Write? If not, may need to ...
- Format - If unable to , you may need to initialize the card, but the current OS/2 support does not have this as an option. In this case, you might want to make sure that the card is usable in another system/device. If so, then initialization is not the issue and there is either a compatibility issue or hardware problem.
*3.0 Current Thinkpad Systems:
The current model ThinkPads including the 760's 560's and 365X/XD series machines are basically similar to the legacy systems except that they use a newer version of the PCMCIA driver diskettes, PC Card Director, and use IBM supplied card and socket service drivers within Windows 95. Accordingly, this section looks similar to that for the legacy systems, with a few exceptions.
*3.1 DOS/Win3.x Support:
Installing the Support.
Diskette = PCTPGW31.EXE.
Support is provided by installing the drivers from either the PC Card Director diskette for the current specific system.
This will provide support for ATA cards with the included driver PAWATA.SYS. This driver allocates a drive letter for each PCMCIA slot present, as well as a letter for each slot that may be reserved (such as for a Dock-2 PCMCIA slots reserved with the /D option on the IBMDSS01.SYS line on config.sys.) Slots on the Thinkpad are recognized with the top slot getting the first available drive letter, the bottom the next, then the dock slots top and bottom in sequence. These drive letters are assigned when the diskdrv.sys line in config.sys loads, so any CD-ROM will have its drive letter assignment moved when this driver is added.
Formatting and using the cards:
ATA cards can be formatted by the operating system (DOS). Once you have identified the correct drive letter, you can simply use the command FORMAT x: (where x: is the drive letter assigned to the slot). Some ATA cards need to be initialized prior to their first use. This is akin to a low level format and partitioning with FDISK. EZPLAY.EXE, the DOS utility program for PC Card directory will initialize ATA cards. If you are unable to read and write, or run a DOS level format on the card, use the following instructions to initialize the card. (NOTE: The option to initialize the cards is NOT provided within the Windows PC Card Director interface.)
Boot DOS:
A. Run the EZPLAY program from the Thinkpad directory.
B. You will see the card identified with it's drive letter identified. If it is not identified as READY, then you may need to review that the appropriate driver (diskdrv.sys) is loaded.
C. Highlight the card on the menu and press ENTER.
D. In the card information screen that comes up you will see the legend, "F9=Initailize".
E. Hit F9, and choose any options that may apply, Volume Label, Transfer System files (aka make bootable, ) etc. and press enter to confirm. The card will be initialized, formatted and made ready for use.
If the card needs to be reformatted for any reason, it can be done through the DOS format command.
Resources :
The ATA cards require some I/O space, which card services will automatically handle, no IRQ will be allocated if the card is being managed by PAWATA.SYS.
Checklist:
- Proper PCMCIA Drivers (including diskdrv.sys) are installed? Check Config.sys.
- Drive Letter identified? EZPLAY or PC Card Director will show the assigned letter.
- Can it read and write? If not, is it formatted?
- DOS Level Format? - If not able to, you may need to...
- Initialize Card using EZPLAY.
If all the above are done properly, and the card still does not work, it is probably either defective or incompatible.
*