/*
 * tapedrv.msg -- message file used by tapedrv.exe
 * Copyright (c) 2000-2002 IBM Corporation
 * All rights reserved.
 */
0020 "1.4" /* .MSG and .EXE file versions must match */

/*
 * More (text to display) prompt
 */
1410 "--More-- <Enter>|<Space>|<Esc> "

/*
 * 'tapedrv help', 'tapedrv /?' messages
 */
1500 "tapedrv -- IBM Tape Device Firmware Utility - v%s"
1501 "Copyright (c) 2000-2002 IBM Corporation"
1502 ""
1503 "usage:"
1504 "  tapedrv autoupdate [options] -- updates tape device firmware"
1505 "  tapedrv status [options]     -- reports firmware version status"
1507 "  tapedrv ver                  -- shows version"
1508 ""
1509 "Options:"
150a "/o <outfile>        Direct output to a file (for status)"
150b "/p <firmware_path>  Directory containing firmware files (for autoupdate)"
150c "/r                  Print program recognizable output (for status)"

/*
 * SCSI peripheral device types
 */
2000 "Disk"
2001 "Tape"
2002 "Printer"
2003 "Processor"
2004 "WORM"
2005 "CDrom"
2006 "Scanner"
2007 "OpticalMemory"
2008 "Changer"
2009 "Communication"
200a "GraphicsA"
200b "GraphicsB"
200c "RaidController"
200d "Enclosure"
200e "SimpleDisk"
200f "OpticalCard"
2010 "Bridging"
2011 "ObjectStorage"
201f "Unknown"
2020 "Other"

/*
 * System errors
 */
2100 /* 0 EZERO*/        "Error 0"
2101 /* 1 EPERM*/        "Operation not permitted"
2102 /* 2 ENOENT*/       "No such file or directory"
2103 /* 3 ESRCH*/        "No such process"
2104 /* 4 EINTR*/        "Interrupted function call"
2105 /* 5 EIO*/          "Input/output error"
2106 /* 6 ENXIO*/        "No such device or address"
2107 /* 7 E2BIG*/        "Arg list too long"
2108 /* 8 ENOEXEC*/      "Exec format error"
2109 /* 9 EBADF*/        "Bad file descriptor"
210a /*10 ECHILD*/       "No child processes"
210b /*11 EAGAIN*/       "Resource temporarily unavailable"
210c /*12 ENOMEM*/       "Not enough memory space"
210d /*13 EACCES*/       "Permission denied"
210e /*14 EFAULT*/       "Bad address"
2110 /*16 EBUSY*/        "Resource device"
2111 /*17 EEXIST*/       "File exists"
2112 /*18 EXDEV*/        "Improper link"
2113 /*19 ENODEV*/       "No such device"
2114 /*20 ENOTDIR*/      "Not a directory"
2115 /*21 EISDIR*/       "Is a directory"
2116 /*22 EINVAL*/       "Invalid argument"
2117 /*23 ENFILE*/       "Too many open files in system"
2118 /*24 EMFILE*/       "Too many open files"
2119 /*25 ENOTTY*/       "Inappropriate I/O control operation"
211b /*27 EFBIG*/        "File too large"
211c /*28 ENOSPC*/       "No space left on device"
211d /*29 ESPIPE*/       "Invalid seek"
211e /*30 EROFS*/        "Read-only file system"
211f /*31 EMLINK*/       "Too many links"
2120 /*32 EPIPE*/        "Broken pipe"
2121 /*33 EDOM*/         "Domain error"
2122 /*34 ERANGE*/       "Result too large"
2124 /*36 EDEADLK*/      "Resource deadlock avoided"
2126 /*38 ENAMETOOLONG*/ "Filename too long"
2127 /*39 ENOLCK*/       "No locks available"
2128 /*40 ENOSYS*/       "Function not implemented"
2129 /*41 ENOTEMPTY*/    "Directory not empty"
212a /*42 EILSEQ*/       "Illegal byte sequence"
2200 /*256*/             "Undefined error"

   /* Device firmware state */
2300  /*0*/ "Unknown"
2301  /*1*/ "Unrecognized device"
2302  /*2*/ "Inaccessible device"
2303  /*3*/ "Device in use"
2304  /*4*/ "Ignored device"
2305  /*5*/ "Up to date"
2306  /*6*/ "Newer firmware"
2307  /*7*/ "Needs DOS mode update"
2308  /*8*/ "Needs alternate update method"
2309  /*9*/ "Out of date"

   /* Update status */
2500  /*0*/ "None"
2501  /*1*/ "Waiting"
2502  /*2*/ "Updating"
2503  /*3*/ "Success"
2504  /*4*/ "FAILED"

/*
 * command line parsing errors
 */
   // %s=<command>
3000 "%s error: "
3010 "\"%s\": Unrecognized tapedrv command"
   // %s=<argument>
3020 "\"%s\": Invalid argument"
   // %s=/<optionchar>
3030 "%s: Unrecognized option"
3032 "%s: Missing required argument"
3034 "%s: May only be used once"
   // %s=/a,/A %s=<digits> %c=<baddigit>
3060 "%s: Missing IDE adapter digit(s)"
3062 "%s %s: '%c': Invalid IDE adapter digit"
3064 "%s %s: '%c': IDE adapter digit not in the range 0 through 3"
3066 "%s %s: '%c': IDE adapter digit duplicate"
   // %s=/b,/B %s=<busname>
3070 "%s: Missing bus name: ide, atapi, or scsi"
3072 "%s %s: Not ide, atapi, or scsi: Unrecognized bus name"
   // %s=/f,/F
3075 "%s: Missing firmware filename"
   // %s=firmwarefilename
3076 "\"%s\": Invalid firmware filename"
3077 "\"%s\": Firmware file open error"
   // %s=/p,/P %s=<firmwarepath>
3080 "%s: Missing firmware path"
3082 "%s %s: Invalid firmware path"
   // %s=/i,/I
3085 "%s: Missing initialization filename"
   // %s=/l,/L
3090 "%s: Missing log filename"
   // %s=logfilename
3091 "\"%s\": Log file open error"
   // %s=/o,/O
3095 "%s: Missing output filename"
   // %s=outfilename
3096 "\"%s\": Output file open error"

/*
 * firmware download messages
 */
3410 "Examining firmware file..."
3460 "Waiting for device to become stable..."
3470 "Rewinding tape..."
3480 "Unloading tape media..."

/*
 * 'tapedrv scan' messages
 */
4410 "%d Host Adapter(s) found\n"
4420 "c.b/t.l    [Make    Model           Vers] PeripheralType\n"
     "      c[.b] = Controller number [ .Bus number (for NT/2000/XP) ]\n"
     "      t = Target SCSI ID (for IDE/ATAPI: 0=Master, 1=Slave)\n"
     "      l = Logical Unit Number\n"

   // "*** Controller <controller_number>: <controller_model> -- <aspi_manager>"
4440 "\n*** Controller %d: %s -- %s\n"

  // "*** Controller <controller_number>: Bus <bus_number>: <NT_port_driver>"
4442 "\n*** Controller %d: Bus %d: %s\n"

   // <device_address> [<inquiry[8-35]>] <peripheral_device_type>
   //                                    Device name unavailable

   // DOS,95,98,ME %d/%d.%d=controller#/scsiid.lun
4450 "%d/%d.%d"
   // NT,2000,XP  %d.%d/%d.%d=port#.bus#/scsiid.lun
4451 "%d.%d/%d.%d"
   // %-10s=<device_address> MSG(4450) or MSG(4451)
4454 "%-10s "
4456        "Device name unavailable"
   // %s=<inquiry[8-35]>; %s=<peripheral_device_type> or "Controller"
4458        "[%-28.28s] %s"
4460                   "Controller"

   //   "   Tape Controller Firmware - Rev: 0.00, Date: 0000/00/00, OEM model: -000"
4470 "   Tape Controller Firmware - Rev: %s"
4471              ", Date: %s"
4472                 ", OEM model: %s"
   // %s=<dfr_inquiry[5-..]>
4480 "   Tape Drive Firmware Revision: %s\n"
   // %s=<serno_inquiry[4-..]
4490 "   Tape Drive Serial Number: %s\n"
4500 "   -- Firmware download not supported by normal tapedrv update\n"
   // %d=<index> %s=<drive_description>
4510 "   vindex:%d %s\n"
4520 "   Warning: Drive does NOT contain standard distribution firmware.\n"
4530 "   -- Firmware not updatable in Windows 95/98/ME Graphics mode,\n"
     "      or from Windows NT/2000/XP.\n"
     "   -- Use MS-DOS, or Windows 95/98/ME in MS-DOS Only mode.\n"
4600 "   -- Seagate AIT Loader: Firmware update not supported by TAPEDRV.\n"

/*
 * 'tapedrv update' messages
 */
5100 "\n"
     "This program will update the firmware in a supported tape device.\n"
     "\n"
     "You can quit at any prompt, before the actual firmware download\n"
     "process begins, by pressing <Esc>.\n"
     "\n"
     "-- Press <Enter> to continue, or <Esc> to quit."

5110 "SELECT A BUS TO SEARCH FOR TAPE DEVICES, or <Esc> to quit."
5111 "\n"
     "Select a bus type.\n"
     "\n"
5121 "IDE/ATAPI"
5122 "SCSI or Fibre Channel"
512f "All the above"
5130 "\n"
     "-- Highlight a bus type using arrow (\30\31) keys then press <Enter>,\n"
     "-- or press <Esc> to quit."

   // %s= "", "ATAPI/IDE ", "SCSI "
5210 "Searching for supported %stape device...\n"
5220 "Searching for supported %stape device at Target ID %d...\n"
5230 "c.b/t.l    [Make    Model           Vers] PeripheralType\n"
     "      c[.b] = Controller number [ .Bus number (for NT/2000/XP) ]\n"
     "      t = Target SCSI ID (for IDE/ATAPI: 0=Master, 1=Slave)\n"
     "      l = Logical Unit Number\n"

   // %s= "", "IDE/ATAPI ", "SCSI "
5300 "\nSupported %stape device NOT found.\n"
5301 "\nSupported %stape device NOT found at target ID %d.\n"
5310 "-- Press any key to exit."

5320 "SELECT A TAPE DEVICE TO UPDATE, or <Esc> to quit."
5321 "\n"
     "Select a tape device.\n"
     "\n"
5322 "\n"
     "-- Highlight a tape device using arrow (\30\31) keys then press <Enter>,\n"
     "-- or press <Esc> to quit."

5340 "\n%d/%d.%d [%-28.28s]: TAPE DEVICE SELECTED\n"
5341 "\n%d.%d/%d.%d [%-28.28s]: TAPE DEVICE SELECTED\n"
5350  "-- Press <Enter> to continue, or <Esc> to quit."

5360 "Looking for firmware files..."
5370 "\nNo firmware files found in the current directory.\n"
5380 "-- Press any key to exit."

5390 "SELECT A FILE TO DOWNLOAD, or <Esc> to quit."
5400 "FILE: %s SELECTED"
5410 "Examining firmware file content..."
5420 "Firmware will be updated from version %s to %s.\n"
5422 "\n"
     "WARNING: NO UPDATE IS REQUIRED!\n"
     "         Continuing will update device with the SAME firmware version.\n"
     "\n"
5424 "\n"
     "WARNING: NO UPDATE IS REQUIRED!\n"
     "         Continuing will update device with an OLDER firmware version.\n"
     "\n"
5426 "\n"
     "WARNING: Continuing will update device with ENGINEERING firmware.\n"
     "\n"
5428 "-- Press <Enter> to continue, or <Esc> to quit."

5430 "Ready to start firmware download.\n"
     "\n"
     "WARNING: Firmware update cannot be undone.\n"
     "\n"
5435 "CAUTION: Before continuing --\n"
5440 "   Close any tape backup applications (such as Backup Exec).\n"
5450 "   Remove tape media from device, if present.\n"
5455 "\n"
     "-- Press <Enter> to download firmware, or <Esc> to quit."

5480 "FIRMWARE UPDATE IN PROGRESS.  DO NOT REMOVE POWER."
5490 "Firmware Update in progress.\n"
     "   DO NOT remove power!\n"
     "   DO NOT exit the program!\n"
     "This may take up to %d minutes.  PLEASE WAIT..."

5500 "FIRMWARE UPDATE COMPLETE.  Press any key to exit."
5510 "\n\nFirmware update completed successfully.  Press any key to exit."

   // %-28.28s=<inquiry[8-35]>
5520 "Updated device Inquiry: [%-28.28s]\n"
5530 "Firmware update completed successfully.\n"
5540 "Firmware update not attempted\n"

/*
 * 'tapedrv autoupdate' messages
 */
6110 "Update pending.                    Update will start in %d seconds."
6111 "No updateable device found.                 Will end in %d seconds."
6112 "Tape device inaccessible.                   Will end in %d seconds."
6113 "Tape device in use by another program.      Will end in %d seconds."
6115 "Tape device(s) already up to date.          Will end in %d seconds."
6117 "Tape device needs DOS only mode update.     Will end in %d seconds."
6118 "Tape device needs alternate method update.  Will end in %d seconds."
6119 "Update failed.                              Will end in %d seconds."
6120 "Update successful.                          Will end in %d seconds."
6125 "Preparing to update the highlighted device..."
6126 "Update in progress for the highlighted device..."

6130 "Press Enter key to end without updating."
6131 "Press Enter key to end immediately."
6132 "This will take approximately %d minutes.   Do NOT power down!"

6150 "%d tape devices successfully updated.\n"
6160 "Firmware update not attempted\n"

6210 "Device Address: Controller_Number/SCSI_Device_ID.Logical_Unit_Number\n"
     "\n"
     "                                      Current            Update\n"
     "Device                             Ver-               Version\n"
     "Address  Device Inquiry            sion  State        Old,New  Status\n"
     "-------  ------------------------  ----------------  -----------------\n"
6211 "Device Address: Port_Number.Bus_Number/SCSI_Device_ID.Logical_Unit_Number\n"
     "\n"
     "                                      Current            Update\n"
     "Device                             Ver-               Version\n"
     "Address  Device Inquiry            sion  State        Old,New  Status\n"
     "-------  ------------------------  ----------------  -----------------\n"
6220 "         (No tape devices found)\n"

   // DOS,95,98,ME %d/%d.%d=controller#/scsiid.lun
6250 "%d/%d.%d"
   // NT,2000,XP  %d.%d/%d.%d=port#.bus#/scsiid.lun
6251 "%d.%d/%d.%d"
   //     Old,New    State
6260 "%-4.4s,%-4.4s %s"
   // %-8s=Address, %-24.24s=Inquiry, %-4.4s=Version, %-12.12s=State %s=Old,New Status
6270 "%-8s %-24.24s  %-4.4s %-12.12s %s"
   // %-8s=Address, %-24.24s=Inquiry, %-4.4s=Version, %s=State
6271 "%-8s %-24.24s  %-4.4s %s"

/*
 * 'tapedrv status' messages
 */

6810 "Device Address: Controller_Number/SCSI_Device_ID.Logical_Unit_Number\n"
6811 "Device Address: Port_Number.Bus_Number/SCSI_Device_ID.Logical_Unit_Number\n"
6819 "\n"
     "Device                            Device  Update\n"
     "Address  Device Inquiry           Version Version Device Firmware State\n"
     "-------  ------------------------ ------- ------- ---------------------\n"
6820 "         (No tape devices found)\n"

   // DOS,95,98,ME %d/%d.%d=controller#/scsiid.lun
6850 "%d/%d.%d"
   // NT,2000,XP  %d.%d/%d.%d=port#.bus#/scsiid.lun
6851 "%d.%d/%d.%d"
6860 "%-8s %-24.24s %-4.4s    %-4.4s    %s\n"


/*
 * Error messages
 */
   // %s=<program_function>
8010 "TAPEDRV8010 error: \"%s\": Out of memory"

8110 "TAPEDRV8110: No IDE adapter found."
8111 "TAPEDRV8111: The DOS ASPI Manager was not found."
8112 "TAPEDRV8112: No IDE adapter found, and the "
     "DOS ASPI Manager was not found."
8113 "TAPEDRV8113: The Windows 95/98/ME ASPI Manager was not found."
   // %s="IDE/ATAPI ", "SCSI ", or "IDE/ATAPI, SCSI "
8115 "TAPEDRV8115: No %shost adapters found."

/**********************/
8120 "TAPEDRV8120 error: No %sfirmware files found"
/**********************/

   // %s=<device_section>   %s=<filepattern>   %s=<error_description>
8130 "TAPEDRV8130 error: [%s] \"%s\": File find error: %s"
8131 "Pattern syntax: Missing ]"
8132 "Pattern syntax: Missing }"
8133 "Insufficient stack memory"
8134 "File not found"
8135 "Filename not unique"

   // %s=<filename>   %s=<system_error_message>
8140 "TAPEDRV8140 error: \"%s\": Firmware file open error: %s"
8142 "TAPEDRV8142 error: \"%s\": Firmware file read error: %s"

   // %s(%ld)=<filename>(<line>)   %s=<error_description>
8150 "TAPEDRV8150 error: %s(%ld): Hexfile record error: %s"
8151 "End-of-file before EOF record"
8152 "Missing colon (:)"
8153 "Invalid or missing length field"
8154 "Invalid or missing address field"
8155 "Invalid or missing record type field"
8156 "Invalid or missing data field"
8157 "Invalid or missing checksum field"
8158 "Characters beyond checksum field"
8159 "Checksum error"

   // %s(%ld)=<filename>(<line>)   %s=<error_description>
8160 "TAPEDRV8160 error: %s(%ld): Hexfile syntax error: %s"
8161 "Data address discontinuity"
8162 "EOF record with non-zero data length"
8163 "Segment record with data length other than \"02\""
8164 "Unknown record type"

   // %s=<filename>
8170 "TAPEDRV8170 error: \"%s\": Firmware signature invalid"

   // %s=<filename>  %ld=<number_of_bytes>
8180 "TAPEDRV8180 error: \"%s\": Firmware image size = %ld bytes:\n"
     "Invalid image size"

   // %s=<filename>  %ld=<number_of_bytes>
8190 "TAPEDRV8190 error: \"%s\": Firmware image size (%ld bytes)\n"
     "does not match device requirement (%ld bytes)"

8200 "TAPEDRV8200 error: Insufficient memory for %uK transfer buffer"
8201 "TAPEDRV8201 error: Insufficient memory for %uK transfer buffer "
     "(additional %uK needed)"

8210 "TAPEDRV8210: Cannot update device's firmware "
     "in Windows 95/98/ME Graphics mode (within a DOS Box).  "
     "Reboot your system into MS-DOS only mode."

8220 "TAPEDRV8220: Cannot update device's firmware from "
     "Windows NT/2000/XP.  Use MS-DOS or Windows 95/98/ME in MS-DOS Only mode."

8250 "   TAPEDRV8250: Above tape device inaccessible:\n"
     "      Device cannot be accessed via either a class driver\n" 
     "      or a SCSI port driver.\n"
     "         A class driver cannot be accessed as there is\n"
     "         no 'DeviceName' not in registry.  Possible causes:\n"
     "         Tape or changer device driver not installed, device service\n"
     "         disabled, or device driver failed to load.\n"

   // %s=\\.\Tape<N>  %u=<NT error number>  %s=<NT error message>
8252 "   TAPEDRV8252: Above tape device inaccessible:\n"
     "      Can't open device \"%s\": Operating system error %u:\n"
     "      %s\n"

   // %s=\\.\Tape<N>  %u=<NT error number>  %s=<NT error message>
8272 "TAPEDRV8272 error: Tape device inaccessible: "
     "Can't open device \"%s\": %s"

8310 "TAPEDRV8310 error: Controller re-select failure"
8320 "TAPEDRV8320 error: Tape device re-inquire failure"

   // %s replaced additional error information
8330 "TAPEDRV8330 error: Tape device is not responding:\n"
     "%s\n"
     "Firmware update not started."

   // %s replaced additional error information
8340 "TAPEDRV8340 error: Device communication error: Too many Unit Attentions:\n"
     "%s\n"
     "Firmware update not started."

   // %s replaced additional error information
8350 "TAPEDRV8350 error: Device communication error: Unexpected sense key:\n"
     "%s\n"
     "Firmware update not started."

   // %s replaced additional error information
8360 "TAPEDRV8360 error: Timeout waiting device to become stable:\n"
     "%s\n"
     "Firmware update not started."

   // %s=<device_section>   %s=<algorithm_name>
8410 "TAPEDRV8410 error: [%s]: UpdateAlgorithm \"%s\": Unrecognized or missing"

   // %s= "", "SCSI", "IDE/ATAPI"
8510 "TAPEDRV8510: A %stape device was NOT found."

/**********************/
   // %s= "", "SCSI", "IDE/ATAPI"
8520 "TAPEDRV8520: A supported %stape device was NOT found.\n"
     "Make sure tape device power is turned on, "
     "and cables are securely connected."

   // %s= "", "SCSI", "IDE/ATAPI"
8530 "TAPEDRV8530 error: A supported %stape device was NOT found "
     "at target SCSI ID %d.\n"
     "Make sure tape device power is turned on, "
     "and cables are securely connected."

8540 "TAPEDRV8540 error: The tape device's model is not recognized, and therefore, "
     "cannot be updated by TAPEDRV in the normal mode."

   // %s=<filename>
8550 "TAPEDRV8550 error: \"%s\": The firmware file is an invalid version.\n"
     "Try selecting a different firmware file."

   // %s=<filename>
8555 "TAPEDRV8555: \"%s\": The firmware file is "
     "meant for a different version of the tape device.\n"
     "No firmware update has been performed."

   // %s=<filename>
8560 "TAPEDRV8560 error: \"%s\": The firmware file does not match the device model.\n"
     "Try selecting a different firmware file."
/**********************/

   // %s replaced additional error information
8570 "TAPEDRV8570 error: Image offset 0x%lx: WriteBuffer(mode=%d, adrs=0x%08lx, length=%ld) error:\n"
     "%s\n"
     "An error occurred while downloading firmware.\n"
     "Firmware update failed."

   // %s replaced additional error information
8580 "TAPEDRV8580 error: An inquiry error occurred after updating firmware:\n"
     "%s\n"
     "Firmware might be successful.\n"
     "-- Please shutdown, power cycle all devices, then reboot\n"
     "and determine whether firmware was updated from \"%s\" to \"%s\""

8590 "TAPEDRV8590 error: Old version \"%s\": Current version \"%s\": "
     "Expected new version \"%s\": "
     "The version did not change to the expected.\n"
     "-- Please shutdown, power cycle all devices, then reboot\n"
     "and determine whether firmware was updated."
