Hotfix Array Support Library (ASL) for EMC Symmetrix Diskarray (libvxemc.so) on VERITAS Volume Manager 4.0 MP3 and MP3 PP1 on RHEL 3 Linux

Article:TECH57798  |  Created: 2008-01-19  |  Updated: 2009-01-18  |  Article URL http://www.symantec.com/docs/TECH57798
Article Type
Technical Solution


Environment

Problem



Hotfix Array Support Library (ASL) for EMC Symmetrix Diskarray (libvxemc.so) on VERITAS Volume Manager 4.0 MP3 and MP3 PP1 on RHEL 3 Linux

Error



After upgraded to VxVM 4.0MP3 on RHEL 3, EMC devices disappear.

Solution



After upgraded to VxVM 4.0MP3 on RHEL 3, EMC devices disappear.  It may be caused by the following Etrack incident.

Etrack 599092 - libvxemc.so is skipping all the devices treating all as VCM devices.

To confirm if the problem is caused by the above Etrack incident, please check the vxasldebug output.

# /etc/vx/diag.d/vxasldebug

According to the vxasldebug output, those EMC devices are skipped.

      Device                                 : /dev/sdaa
      Vendor Identification                  : EMC
      Product Identification                 : SYMMETRIX
      Revision                               : 5670
      Serial Number                          : 92B9F000U^H
      libvxemc.so:claim_device()             : SKIPPED     <<< SKIPPED

The SCSI inquiry returns the following data.

--------- Decoded Inquiry Information for /dev/sdaa
Peripheral Qualifier/Device Type : 0
Removable bit : 0
Device type modifier : 0
ISO Version : 0
ECMA Version : 0
ANSI Version : 2
AEN Capability : 0
Terminat I/O Capability : 0
Additional Length : 90
Relative Addressing : 0
32 bit I/O : 0
16 bit I/O : 0
Sync capabilities : 1
Linked command : 1
Command Queing : 1
Soft Reset : 0
Vendor Identification : EMC
Product Identification : SYMMETRIX
Revision Number : 5670
Serial Number : 92B9F000U^H
      /dev/sdaa: Raw data size 149
Bytes 0 - 9      0x00  0x00  0x02  0x12  0x90  0x00  0x00  0x1a  0x45  0x4d
Bytes 10 - 19    0x43  0x20  0x20  0x20  0x20  0x20  0x53  0x59  0x4d  0x4d
Bytes 20 - 29    0x45  0x54  0x52  0x49  0x58  0x20  0x20  0x20  0x20  0x20
Bytes 30 - 39    0x20  0x20  0x35  0x36  0x37  0x30  0x39  0x32  0x42  0x39
Bytes 40 - 49    0x46  0x30  0x30  0x30  0x55  0x00  0x00  0x08  0xe0  0x00
Bytes 50 - 59    0x00  0x00  0x00  0x00  0x00  0x00  0x56  0x70  0x00  0x99
Bytes 60 - 69    0x00  0x00  0x00  0x00  0x00  0x10  0x31  0x06  0x00  0x00
Bytes 70 - 79    0x00  0x00  0x00  0x00  0x00  0x00  0x00  0x00  0x00  0x00
Bytes 80 - 89    0x00  0x00  0x00  0x00  0x00  0x00  0x00  0x00  0x00  0x00
Bytes 90 - 99    0x00  0x00  0x00  0x00  0x00  0x00  0x00  0x00  0x00  0x00
Bytes 100 - 109  0x00  0x00  0x00  0x00  0x12  0x00  0x40  0x00  0x55  0x11
Bytes 110 - 119  0x00  0x08  0x7f  0x80  0x00  0x00  0x00  0x00  0x00  0x00
Bytes 120 - 129  0x55  0x00  0x2a  0x01  0x01  0x87  0x72  0x16  0x92  0x00
Bytes 130 - 139  *0x4d*  0x00  0x30  0x42  0x39  0x46  0x00  0x00  0x00  0x00      <<< Byte 130 is 0x4d
Bytes 140 - 148  0x00  0x00  0x00  0x00  0x00  0x00  0x00  0x00  0x00

In the 4.0MP3 libvxemc.so ASL library, the wrong bit in byte 130 is checked and it causes the ASL to misinterpret that device as VCMDB device.

#define EMC_VCMDB_OFFSET    130 <<===
#define EMC_VCMDB_MASK      0x8 <<=== ( should be 0x2 )

0x4d = 0100 1101      
Bit 0x8 is set to 1 in the above example.

Instead of checking bit 0x8, the ASL should check bit 0x2 which is 0 in the above example.

This hotfix is for VxVM 4.0MP3 and 4.0MP3PP1 on RHEL 3 Linux.

Please backup the following two files on your system and then replace them with the files provided in this hotfix.

/etc/vx/lib/discovery.d/libvxemc.so
/etc/vx/aslkey.d/libvxemc.key

Please restart the vxconfigd or reboot the system after the files are replaced.

# vxconfigd -k -m enable

The following are the checksums of the files.

$ cksum libvxemc.*
4103191976      96      libvxemc.key
295758181       17908   libvxemc.so


Attachments

libvxemc_40MP3_RHEL3.tar_298718.gz (8 kBytes)

Supplemental Materials

SourceETrack
Value599092
Descriptionlibvxemc.so is skipping all the devices treating all as VCM devices


Legacy ID



298718


Article URL http://www.symantec.com/docs/TECH57798


Terms of use for this information are found in Legal Notices