Bare Metal Restore (BMR) Windows Media or PXE boot fails with error message "File <file_name.sys> is corrupted.."

Article: 100023269
Last Published: 2011-12-29
Ratings: 0 0
Product(s): NetBackup & Alta Data Protection

Problem

Bare Metal Restore (BMR) Windows Media or PXE boot fails with error message "File *.sys is corrupted.."

Error Message

File ql2300.sys is corrupted
File elxstor.sys is corrupted

Solution

Newer versions of the HBA drivers released by OEM vendors are not compatible with the WinPE 1.6 image used by Bare Metal Restore (BMR) in the 6.5.X release.
This can occur for both the ISO/CD image and the PXE boot image.

For the "ql2300.sys" driver, the latest supported version is 9.1.4.10.
For the "elxstor.sys" driver, the latest supported version is 5.2.1.4..

If later versions of these drivers become part of the SRT/ISO image, the load of either driver file will cause the error to occur and stop the WinPE boot process.

To repair this environment you need to perform the following steps:

1. In the SRT file system on the Windows Boot Server, search for the given driver names in the folder:
   .$SRT_PATH\i386\system32\drivers
   
2. Verify the release level of the driver file. Remove the driver file or replace it with a version that is supported by the WinPE environment.

A fix for the ql2300.sys driver problem is part of the NBU 6.5.4 update release and should not occur for any SRT created and modified using a 6.5.4 Windows Boot Server and clients at the 6.5.4 release level..  A fix for the elxstor.sys driver is available for NBU 6.5.4.  Please contact support for ET 1746954. The fix natively part of the 6.5.6 release update.

The invalid driver becomes part of the SRT during the Prepare To Restore process if either driver is part of the configuration specified. Existing driver sets in the BMR database that are incompatible need to be marked as WinPE incompatible in order to stop this behavior.
Once the EEB is installed, the operation only needs to be performed once.

To mark the existing driver packages in the BMRDB as WinPE incompatible:

1. Run the following command on the BMR Master Server:

  bmrpans -o query -table BmrDba.BMR_Package
-where "name='QLogic Fibre Channel Adapter'"   (for the QLogic driver)

or

  bmrpans -o query -table BmrDba.BMR_Package
-where "name='Emulex LightPulse HBA - Storport Miniport Driver'"   (for the Emulex driver)

2. From output of the above command, note down the  IDs of the packages
which have version greater than 9.1.4.10 for the QLogic HBA driver
 or greater than 5.2.1.4 for the Emulex HBA driver.

3. Create a sql file with 'update' statements for each ID from the previous step.
For each ID, add the following line in sql file.
Replace <ID_OF_PACKAGE> with the id of package.

  UPDATE BmrDba.BMR_Package SET winpecompatible=0
WHERE Id=<ID_OF_PACKAGE>;

4. Once the file is complete, run the created sql file using bmrpans.
Replace <SQL_FILE> with the sql file name.

  bmrpans -o sql -in <SQL_FILE>

The bmrpans program can be found in the NetBackup bin directory.
 

Was this content helpful?