[ofw] What is an IOC device ID and what is DriverStore

Chris Worley worleys at gmail.com
Mon Aug 30 11:37:37 PDT 2010


I am also seeing the following Windows events for all eight drives:

Log Name:      System
Source:        Microsoft-Windows-UserPnp
Date:          8/30/2010 11:58:58 AM
Event ID:      20001
Task Category: (7005)
Level:         Information
Keywords:
User:          SYSTEM
Computer:      WIN-6EB0ETQ8M85
Description:
Driver Management concluded the process to install driver
FileRepository\disk.inf_amd64_neutral_10ce25bbc5a9cc43\disk.inf for
Device Instance ID SCSI\DISK&VEN_SCST_BIO&PROD_FIO-41001\000007 with
the following status: 0x0.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-UserPnp"
Guid="{96F4A050-7E31-453C-88BE-9634F4E02139}" />
    <EventID>20001</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>7005</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2010-08-30T17:58:58.867600000Z" />
    <EventRecordID>6846</EventRecordID>
    <Correlation />
    <Execution ProcessID="3228" ThreadID="3260" />
    <Channel>System</Channel>
    <Computer>WIN-6EB0ETQ8M85</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <UserData>
    <InstallDeviceID
xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events"
xmlns="http://manifests.microsoft.com/win/2004/08/windows/userpnp">
      <DriverName>FileRepository\disk.inf_amd64_neutral_10ce25bbc5a9cc43\disk.inf</DriverName>
      <DriverVersion>6.1.7600.16385</DriverVersion>
      <DriverProvider>Microsoft</DriverProvider>
      <DeviceInstanceID>SCSI\DISK&VEN_SCST_BIO&PROD_FIO-41001\000007</DeviceInstanceID>
      <SetupClass>{4D36E967-E325-11CE-BFC1-08002BE10318}</SetupClass>
      <RebootOption>false</RebootOption>
      <UpgradeDevice>false</UpgradeDevice>
      <IsDriverOEM>false</IsDriverOEM>
      <InstallStatus>0x0</InstallStatus>
      <DriverDescription>Disk drive</DriverDescription>
    </InstallDeviceID>
  </UserData>
</Event>

Log Name:      System
Source:        Disk
Date:          8/30/2010 11:58:58 AM
Event ID:      11
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      WIN-6EB0ETQ8M85
Description:
The driver detected a controller error on \Device\Harddisk8\DR8.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Disk" />
    <EventID Qualifiers="49156">11</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2010-08-30T17:58:58.789600000Z" />
    <EventRecordID>6845</EventRecordID>
    <Channel>System</Channel>
    <Computer>WIN-6EB0ETQ8M85</Computer>
    <Security />
  </System>
  <EventData>
    <Data>\Device\Harddisk8\DR8</Data>
    <Binary>0F00800001000000000000000B0004C0030100000000000000000000000000000000000000000000822B000000000000FFFFFFFF060000005800000302000007FE200A124A012000080000003C00000050B39D0280F8FFFFB84B962D80FAFFFF000000000000000070C8992D80FAFFFF0000000000000000000000000000000025000000000000000000000000000000000000000000000000000000000000000000000000000000</Binary>
  </EventData>
</Event>

Chris
On Fri, Aug 27, 2010 at 6:10 PM, Chris Worley <worleys at gmail.com> wrote:
> On Fri, Aug 27, 2010 at 6:01 PM, Sufficool, Stanley
> <ssufficool at rov.sbcounty.gov> wrote:
>> What does your scst.conf look like? I assume you have LUNS in the default group.
>
> A Linux initiator has no trouble seeing these:
>
> # cat /proc/scsi_tgt/vdisk/vdisk
> Name              Size(MB)    Block size  Options         File name
>                                 T10 device id
> fio-71957         76774       512         NV BIO          /dev/sda
>                                fio-71957 8d58d2cc
> fio-71962         76774       512         NV BIO          /dev/sdb
>                                fio-71962 4ab477ef
> fio-71965         76774       512         NV BIO          /dev/sdc
>                                fio-71965 28ba5c58
> fio-71964         76774       512         NV BIO          /dev/sdd
>                                fio-71964 f2c69cf6
> fio-41000         76774       512         NV BIO          /dev/sde
>                                fio-41000 2492daab
> fio-41002         76774       512         NV BIO          /dev/sdf
>                                fio-41002 dd797f32
> fio-40948         76774       512         NV BIO          /dev/sdg
>                                fio-40948 a3ef7aa3
> fio-41001         76774       512         NV BIO          /dev/sdh
>                                fio-41001 543b6d8e
> [root at fusion-io-live .bak]# cat /proc/scsi_tgt/groups/Default/devices
> Device (host:ch:id:lun or name)                             LUN          Options
> fio-71957                                                   0
> fio-71962                                                   1
> fio-71965                                                   2
> fio-71964                                                   3
> fio-41000                                                   4
> fio-41002                                                   5
> fio-40948                                                   6
> fio-41001                                                   7
>
> (Adding scst-devel, as it looks like Windows logs in then immediately
> logs out or is forced out.)
>
> Thanks,
>
> Chris
>
>>
>>>-----Original Message-----
>>>From: ofw-bounces at lists.openfabrics.org
>>>[mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Chris Worley
>>>Sent: Friday, August 27, 2010 4:46 PM
>>>To: OFED mailing list
>>>Cc: ofw at lists.openfabrics.org
>>>Subject: Re: [ofw] What is an IOC device ID and what is DriverStore
>>>
>>>
>>>I'm resending this as plain text, as the
>>>linux-rdma at vger.kernel.org mailing list did not like my
>>>attempt to make the messages readable...
>>>
>>>On Fri, Aug 27, 2010 at 5:43 PM, Chris Worley
>>><worleys at gmail.com> wrote:
>>>>
>>>> On Fri, Aug 27, 2010 at 5:02 PM, Chris Worley <worleys at gmail.com>
>>>> wrote:
>>>> > On Fri, Aug 27, 2010 at 4:45 PM, Sufficool, Stanley
>>>> > <ssufficool at rov.sbcounty.gov> wrote:
>>>> >>
>>>> >>
>>>> >>>-----Original Message-----
>>>> >>>From: ofw-bounces at lists.openfabrics.org
>>>> >>>[mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Chris
>>>> >>>Worley
>>>> >>>Sent: Friday, August 27, 2010 1:52 PM
>>>> >>>To: ofw at lists.openfabrics.org; OFED mailing list
>>>> >>>Subject: [ofw] What is an IOC device ID and what is DriverStore
>>>> >>>
>>>> >>>
>>>> >>>In scouring the many manuals with the Window's IB drivers
>>>I found a
>>>> >>>clue as to why I can't get SRP working in WinOF:
>>>> >>>
>>>> >>>  Windows PNP (Plug-n-Play) will match the IOC device ID with
>>>> >>>DriverStore installed drives and then will load the IBiou.sys
>>>> >>>driver
>>>> >>>
>>>> >>>How do I set the "IOC device ID" and what is DriverStore?
>>>> >>
>>>> >> Not sure what this is, but I have never had to set any values on
>>>> >> the OFED-W initiator.
>>>> >>
>>>> >>>
>>>> >>>I can make the Windows SRP miniport devices appear and
>>>disappear by
>>>> >>>removing/reloading ib_srpt on the target (at least with the 2.1.1
>>>> >>>driver from Mellanox; the latest at openfabrics.org panics the
>>>> >>>WS2008R2 system when ib_srpt is rmmod'ed).
>>>> >>>
>>>> >>>Beyond that, Windows never sees the drives... Linux initiators
>>>> >>>don't have an issue.
>>>> >>
>>>> >> What messages do you get on the target? It it even receiving the
>>>> >> request?
>>>> >
>>>> > Yes:
>>>> >
>>>> > ib_srpt: ***ERROR***: received unrecognized IB CM event 10
>>>> > ib_srpt: Received DREQ and sent DREP for session
>>>> > 0x00247100000002c100247100000003d8.
>>>> > ib_srpt: Received SRP_LOGIN_REQ with i_port_id
>>>> > 0x247100000002c1:0x247100000003d8, t_port_id
>>>> > 0x247100000002c1:0x247100000002c1 and it_iu_len 4148 on port 1
>>>> > (guid=0xfe80000000000000:0x247100000002bf)
>>>> > ib_srpt: disconnected session 0x00247100000002c100247100000003d8
>>>> > because a new SRP_LOGIN_REQ has been received.
>>>> > ib_srpt: Session : kernel thread ib_srpt_compl (PID 31542) started
>>>> > scst: Using security group "Default" for initiator
>>>> > "0x00247100000002c100247100000003d8"
>>>>
>>>> There is more to it than that.  I'm going to do this as HTML
>>>so I can
>>>> fix the font:
>>>>
>>>> ib_srpt: Received SRP_LOGIN_REQ with i_port_id
>>>> 0x247100000002c1:0x247100000003d8, t_port_id
>>>0x247100000002c1:0x247100000002c1 and it_iu_len 4148 on port 2
>>>(guid=0xfe80000000000000:0x247100000002c3)
>>>> ib_srpt: Session : kernel thread ib_srpt_compl (PID 1109) started
>>>> scst: Using security group "Default" for initiator
>>>"0x00247100000002c100247100000003d8"
>>>> scst: Processing thread fio-719570_0 (PID 1110) started
>>>> scst: Processing thread fio-719570_1 (PID 1111) started
>>>> scst: Processing thread fio-719620_0 (PID 1112) started
>>>> scst: Processing thread fio-719620_1 (PID 1113) started
>>>> scst: Processing thread fio-719650_0 (PID 1114) started
>>>> scst: Processing thread fio-719650_1 (PID 1115) started
>>>> scst: Processing thread fio-719640_0 (PID 1116) started
>>>> scst: Processing thread fio-719640_1 (PID 1117) started
>>>> scst: Processing thread fio-410000_0 (PID 1118) started
>>>> scst: Processing thread fio-410000_1 (PID 1119) started
>>>> scst: Processing thread fio-410020_0 (PID 1120) started
>>>> scst: Processing thread fio-410020_1 (PID 1121) started
>>>> scst: Processing thread fio-409480_0 (PID 1122) started
>>>> scst: Processing thread fio-409480_1 (PID 1123) started
>>>> scst: Processing thread fio-410010_0 (PID 1124) started
>>>> scst: Processing thread fio-410010_1 (PID 1125) started
>>>> ib_srpt: ***ERROR***: received unrecognized IB CM event 10
>>>> ib_srpt: Received DREQ and sent DREP for session
>>>0x00247100000002c100247100000003d8.
>>>> ib_srpt: Received InfiniBand TimeWait exit for cm_id
>>>ffff81030b7c6c00.
>>>> ib_srpt: Session 0x00247100000002c100247100000003d8: kernel
>>>thread ib_srpt_compl (PID 1109) stopped
>>>> scst: Processing thread fio-719570_0 (PID 1110) finished
>>>> scst: Processing thread fio-719570_1 (PID 1111) finished
>>>> scst: Processing thread fio-719620_0 (PID 1112) finished
>>>> scst: Processing thread fio-719620_1 (PID 1113) finished
>>>> scst: Processing thread fio-719650_0 (PID 1114) finished
>>>> scst: Processing thread fio-719650_1 (PID 1115) finished
>>>> scst: Processing thread fio-719640_0 (PID 1116) finished
>>>> scst: Processing thread fio-719640_1 (PID 1117) finished
>>>> scst: Processing thread fio-410000_0 (PID 1118) finished
>>>> scst: Processing thread fio-410000_1 (PID 1119) finished
>>>> scst: Processing thread fio-410020_0 (PID 1120) finished
>>>> scst: Processing thread fio-410020_1 (PID 1121) finished
>>>> scst: Processing thread fio-409480_0 (PID 1122) finished
>>>> scst: Processing thread fio-409480_1 (PID 1123) finished
>>>> scst: Processing thread fio-410010_0 (PID 1124) finished
>>>> scst: Processing thread fio-410010_1 (PID 1125) finished
>>>> ib_srpt: Received SRP_LOGIN_REQ with i_port_id
>>>0x247100000002c1:0x24710000000390, t_port_id
>>>0x247100000002c1:0x247100000002c1 and it_iu_len 4148 on port 2
>>>(guid=0xfe80000000000000:0x247100000002c0)
>>>> ib_srpt: Session : kernel thread ib_srpt_compl (PID 1138) started
>>>> scst: Using security group "Default" for initiator
>>>"0x00247100000002c10024710000000390"
>>>> scst: Processing thread fio-719570_0 (PID 1139) started
>>>> scst: Processing thread fio-719570_1 (PID 1140) started
>>>> scst: Processing thread fio-719620_0 (PID 1141) started
>>>> scst: Processing thread fio-719620_1 (PID 1142) started
>>>> scst: Processing thread fio-719650_0 (PID 1143) started
>>>> scst: Processing thread fio-719650_1 (PID 1144) started
>>>> scst: Processing thread fio-719640_0 (PID 1145) started
>>>> scst: Processing thread fio-719640_1 (PID 1146) started
>>>> scst: Processing thread fio-410000_0 (PID 1147) started
>>>> scst: Processing thread fio-410000_1 (PID 1148) started
>>>> scst: Processing thread fio-410020_0 (PID 1149) started
>>>> scst: Processing thread fio-410020_1 (PID 1150) started
>>>> scst: Processing thread fio-409480_0 (PID 1151) started
>>>> scst: Processing thread fio-409480_1 (PID 1152) started
>>>> scst: Processing thread fio-410010_0 (PID 1153) started
>>>> scst: Processing thread fio-410010_1 (PID 1154) started
>>>> ib_srpt: ***ERROR***: received unrecognized IB CM event 10
>>>> ib_srpt: Received DREQ and sent DREP for session
>>>0x00247100000002c10024710000000390.
>>>> ib_srpt: Received InfiniBand TimeWait exit for cm_id
>>>ffff810191ae5400.
>>>> ib_srpt: Session 0x00247100000002c10024710000000390: kernel
>>>thread ib_srpt_compl (PID 1138) stopped
>>>> scst: Processing thread fio-719570_0 (PID 1139) finished
>>>> scst: Processing thread fio-719570_1 (PID 1140) finished
>>>> scst: Processing thread fio-719620_0 (PID 1141) finished
>>>> scst: Processing thread fio-719620_1 (PID 1142) finished
>>>> scst: Processing thread fio-719650_0 (PID 1143) finished
>>>> scst: Processing thread fio-719650_1 (PID 1144) finished
>>>> scst: Processing thread fio-719640_0 (PID 1145) finished
>>>> scst: Processing thread fio-719640_1 (PID 1146) finished
>>>> scst: Processing thread fio-410000_0 (PID 1147) finished
>>>> scst: Processing thread fio-410000_1 (PID 1148) finished
>>>> scst: Processing thread fio-410020_0 (PID 1149) finished
>>>> scst: Processing thread fio-410020_1 (PID 1150) finished
>>>> scst: Processing thread fio-409480_0 (PID 1151) finished
>>>> scst: Processing thread fio-409480_1 (PID 1152) finished
>>>> scst: Processing thread fio-410010_0 (PID 1153) finished
>>>> scst: Processing thread fio-410010_1 (PID 1154) finished
>>>>
>>>> While I do have two HCA's in both the target and initiator, I have
>>>> tried it with just one in the initiator.
>>>>
>>>> Hopefully that doesn't cause the email to bounce and makes it more
>>>> readable.
>>>>
>>>> Thanks,
>>>>
>>>> Chris
>>>> >
>>>> >>
>>>> >> Does windows disk management show a broken LUN?
>>>> >
>>>> > No.  Nothing (except local drives).
>>>> >>
>>>> >>>
>>>> >>>Someone throw me a bone!  The SRP initiator seems to have been
>>>> >>>broken for many months on WinDoh's.
>>>> >>
>>>> >> I have had no problems with the SRP initiator as long as I start
>>>> >> the target _after_ the windows systems boot.
>>>> >
>>>> > I've tried five different revs of the Windows driver, and
>>>no drives
>>>> > are seen.
>>>> >
>>>> > Thanks,
>>>> >
>>>> > Chris
>>>> >>
>>>> >>>
>>>> >>>Thanks,
>>>> >>>
>>>> >>>Chris
>>>> >>>_______________________________________________
>>>> >>>ofw mailing list
>>>> >>>ofw at lists.openfabrics.org
>>>> >>>http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
>>>> >>>
>>>> >>
>>>> >
>>>>
>>>_______________________________________________
>>>ofw mailing list
>>>ofw at lists.openfabrics.org
>>>http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
>>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
>> the body of a message to majordomo at vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>



More information about the ofw mailing list