[ofw] SRP debugging level

John Carbone john-carbone at quantum-logic.com
Fri Nov 22 08:56:57 PST 2013


Hi all,

The Mellanox SRP drivers for VMWare 5.1 enumerate the targets properly. So, I tried the Mellanox 2.1.3 driver and installed the HPC drivers, however even after manually installing SRP, the minport driver would not even start on in the driver manager.

So, I switched back to the OFED drivers. I dug around a little more in the registry, and found that the "DEVICEMAP" key also shows that the improper target enumeration, Scsi Port 5 & 6 are on two different targets:

[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port 5]
"Dma64BitAddresses"=dword:00000001
"Driver"="ibsrp"
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port 5\Scsi Bus 0]
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port 5\Scsi Bus 0\Initiator Id 255]
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port 5\Scsi Bus 0\Target Id 0]
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port 5\Scsi Bus 0\Target Id 0\Logical Unit Id 0]
"InquiryData"=hex:00,00,05,12,45,10,00,02,4f,49,20,20,20,20,20,20,43,4f,4d,53,\
  54,41,52,20,20,20,20,20,20,20,20,20,31,2e,30,20
"SerialNumber"="    "
"Identifier"="OI      COMSTAR         1.0 "
"DeviceType"="DiskPeripheral"
"DeviceIdentifierPage"=hex:00,83,00,3c,f1,03,00,10,60,01,44,f0,a6,f6,43,00,00,\
  00,52,76,98,9d,00,01,42,90,00,14,65,75,69,2e,30,30,30,32,43,39,30,33,30,30,\
  32,42,31,37,39,41,01,15,00,04,00,00,00,00,01,14,00,04,00,00,00,01
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port 6]
"Dma64BitAddresses"=dword:00000001
"Driver"="ibsrp"
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port 6\Scsi Bus 0]
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port 6\Scsi Bus 0\Initiator Id 255]
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port 6\Scsi Bus 0\Target Id 0]
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port 6\Scsi Bus 0\Target Id 0\Logical Unit Id 1]
"InquiryData"=hex:00,00,05,12,45,10,00,02,4f,49,20,20,20,20,20,20,43,4f,4d,53,\
  54,41,52,20,20,20,20,20,20,20,20,20,31,2e,30,20
"SerialNumber"="    "
"Identifier"="OI      COMSTAR         1.0 "
"DeviceType"="DiskPeripheral"
"DeviceIdentifierPage"=hex:00,83,00,3c,f1,03,00,10,60,01,44,f0,82,4c,0f,00,00,\
  00,52,5e,45,20,00,01,42,90,00,14,65,75,69,2e,30,30,30,32,43,39,30,33,30,30,\
  35,39,33,33,37,43,01,15,00,04,00,00,00,00,01,14,00,04,00,00,00,01


From: Leonid Keller [mailto:leonid at mellanox.com] 
Sent: Friday, November 22, 2013 3:52 AM
To: John Carbone; ofw at lists.openfabrics.org
Subject: RE: SRP debugging level

Don't you see the debug output in windbg ?

From: John Carbone [mailto:john-carbone at quantum-logic.com] 
Sent: Friday, November 22, 2013 12:14 AM
To: Leonid Keller; ofw at lists.openfabrics.org
Subject: RE: SRP debugging level

Hi all,

I downloaded and installed WinDbg, set the debug level to 4, set "bcdedit /debug on" and rebooted  but I do not know where to locate the debug output. I cannot determine if the targets are being enumerated and just not being reported to windows.

However, I tried setting one of the LUNs on the SAN filer to 1, and Windows maps the drive correctly every time now. So, I suspect that because the diskpart  is reporting that all the targets are zero Window is indeed getting confused as to which drive is which as I had suspected. 

Leonid, is this something you could please help with?

From: Leonid Keller [mailto:leonid at mellanox.com] 
Sent: Wednesday, November 20, 2013 10:55 AM
To: John Carbone; ofw at lists.openfabrics.org
Subject: RE: SRP debugging level

Did you try to install checked drivers and look into debug prints ? (DbgView or Windbg)

Re to  debug level: 
Many years ago you could have done it by setting DebugLevel/DebugFlags DWORD-32bit parameters in Registry (under Services\srp\parameters).
By default, DebugLevel was then 2 and DebugFlags 0xffff.
You can try to set DebugLevel to 3 or 4 and see what happen.
(All this is relevant only for checked drivers).



From: John Carbone [mailto:john-carbone at quantum-logic.com] 
Sent: Wednesday, November 20, 2013 5:08 PM
To: ofw at lists.openfabrics.org
Cc: Leonid Keller
Subject: SRP debugging level

Hi all,

I'm trying to determine why SRP is not assigning target numbers with WinOF. Is there a way to change the debug level without compiling? Where can the output of SRP_PRINT be found?

Any help would be greatly appreciated. Thank you.

Kind regards,
John.

John Carbone | Quantum Logic Corporation
1225 Franklin Avenue, Suite 325 | Garden City, NY 11530
p: 800.482.2105 | f: 516.873.8881
john-carbone at quantum-logic.com





More information about the ofw mailing list