[nvmewin] don't create the disk device
Mike Berhan
mikeb at bustrace.com
Wed Apr 15 12:08:20 PDT 2015
It looks like STORPORT is calling you to enumerate your devices (i.e. Report
LUNs, Inquiry, TUR) but you're failing the requests with
SRB_STATUS_INVALID_REQUEST:
00000047 0.22342743 STORMINI: FYI: SRB status 0x6 scsi 0x0 for CDB 0xa0 BTL
0 0 0
00000048 0.22343650 STORMINI: FYI: SRB status 0x6 scsi 0x0 for CDB 0xa0 BTL
0 0 0
00000049 0.22344086 STORMINI: FYI: SRB status 0x6 scsi 0x0 for CDB 0xa0 BTL
0 0 0
00000050 0.22344598 STORMINI: FYI: SRB status 0x6 scsi 0x0 for CDB 0x12 BTL
0 0 0
00000051 0.22344993 STORMINI: FYI: SRB status 0x6 scsi 0x0 for CDB 0x12 BTL
0 0 0
00000052 0.22345348 STORMINI: FYI: SRB status 0x6 scsi 0x0 for CDB 0x12 BTL
0 0 0
00000053 0.22369038 STORMINI: FYI: SRB status 0x6 scsi 0x8 for CDB 0x0 BTL 0
0 0
Trace through your SRB handler for these commands and you'll likely find the
root cause.
Mike
From: nvmewin-bounces at lists.openfabrics.org
[mailto:nvmewin-bounces at lists.openfabrics.org] On Behalf Of Robles, Raymond
C
Sent: Wednesday, April 15, 2015 12:20 PM
To: cheng.peng at memblaze.com; nvmewin
Subject: Re: [nvmewin] don't create the disk device
Hi Cheng,
I'm not sure I understand your question. Could you please elaborate?
When the driver is loaded, if can see the drive in "Device Manager" and
"Disk Manager", then all the necessary structures were created and/or
populated.
Thanks,
Ray
From: nvmewin-bounces at lists.openfabrics.org
<mailto:nvmewin-bounces at lists.openfabrics.org>
[mailto:nvmewin-bounces at lists.openfabrics.org] On Behalf Of
cheng.peng at memblaze.com <mailto:cheng.peng at memblaze.com>
Sent: Wednesday, March 04, 2015 11:50 PM
To: nvmewin
Subject: [nvmewin] don't create the disk device
when driver is loaded, ScsiAdapter device is created, but disk device isn't
created.
00000000 0.00000000 STORMINI: StorPortInitialize returns Status(0x0)
00000001 0.02776694 STORMINI: Access Range, VirtualAddr=0xFFFFF8800654F000.
00000002 0.02778550 STORMINI: NVMeFindAdapter: Stride Size set to 0x4
00000003 0.02785815 STORMINI: NVMeEnumNumaCores: # of NUMA node(s) = 1.
00000004 0.02786289 STORMINI: NVMeEnumNumaCores: Number of groups = 1.
00000005 0.02786644 STORMINI: NVMeEnumNumaCores: Group(0) affinity
mask(0x3).
00000006 0.02786920 STORMINI: NVMeEnumNumaCores: Total 2 logical processors
00000007 0.02787118 STORMINI: NVMeEnumNumaCores: NUMA Node#0
00000008 0.02787394 STORMINI: Core mask is 0x3 in Group(0)
00000009 0.02787749 STORMINI: There are 2 cores in Node#0.
00000010 0.02787986 STORMINI: The total number of CPU cores 2.
00000011 0.02829325 STORMINI: NVMeEnumMsiMessages: Msg granted=2
00000012 0.02831062 STORMINI: NVMeAllocateMem: Succeeded!
00000013 0.02832010 STORMINI: NVMeAllocateMem: Succeeded!
00000014 0.02833590 STORMINI: NVMeInitSubQueue : SQ 0x0 pSubTDBL
0xFFFFF88006550000 at index 0x0
00000015 0.02835406 STORMINI: NVMeInitCplQueue : CQ 0x0 pCplHDBL
0xFFFFF88006550004 at index 0x1
00000016 0.02836788 STORMINI: NVMeEnableAdapter: Setting EN...
00000017 0.02837617 STORMINI: NVMeAllocateMem: Succeeded!
00000018 0.02838446 STORMINI: NVMeAllocateMem: Succeeded!
00000019 0.02874849 STORMINI: NVMeRunningWaitOnRDY: Waiting...
00000020 0.03745769 STORMINI: NVMeRunningWaitOnRDY: RDY has been set
00000021 0.05304605 STORMINI: NVMeGetIdentifyStructures: IDEN_CONTROLLER
00000022 0.05310448 STORMINI: NVMeInitCallback: Driver state: 33
00000023 0.06864980 STORMINI: NVMeGetIdentifyStructures: IDEN_NAMESPACE
00000024 0.06865493 STORMINI: NVMeGetIdentifyStructures: Get NS INFO for
NSID 0x1 tgt lun 0x0
00000025 0.06867468 STORMINI: NVMeInitCallback: Driver state: 34
00000026 0.08686497 STORMINI: NVMeInitCallback: Driver state: 35
00000027 0.09989244 STORMINI: NVMeInitCallback: Driver state: 35
00000028 0.11546224 STORMINI: NVMeInitCallback: Driver state: 35
00000029 0.11546777 STORMINI: pLbaRangeTypeEntry type : 0x0 lun id 0 nsid
0x1
00000030 0.11547054 STORMINI: NVMeSetFeaturesCompletion: FYI LnuExt at 0 has
been cleared (NSID not visible)
00000031 0.13106994 STORMINI: NVMeAllocateMem: Succeeded!
00000032 0.13109048 STORMINI: NVMeAllocateMem: Succeeded!
00000033 0.13111298 STORMINI: NVMeAllocIoQueues: Core 0x0 ---> QueueID 0x1
00000034 0.13112088 STORMINI: NVMeAllocateMem: Succeeded!
00000035 0.13113983 STORMINI: NVMeAllocateMem: Succeeded!
00000036 0.13116075 STORMINI: NVMeAllocIoQueues: Core 0x1 ---> QueueID 0x2
00000037 0.13116352 STORMINI: NVMeMsiMapCores: Core(0x0)Msg#(0x0)
00000038 0.13116549 STORMINI: NVMeMsiMapCores: Core(0x1)Msg#(0x1)
00000039 0.13117695 STORMINI: NVMeInitSubQueue : SQ 0x1 pSubTDBL
0xFFFFF88006550008 at index 0x2
00000040 0.13121486 STORMINI: NVMeInitSubQueue : SQ 0x2 pSubTDBL
0xFFFFF88006550010 at index 0x4
00000041 0.13125157 STORMINI: NVMeInitCplQueue : CQ 0x1 pCplHDBL
0xFFFFF8800655000C at index 0x3
00000042 0.13126460 STORMINI: NVMeInitCplQueue : CQ 0x2 pCplHDBL
0xFFFFF88006550014 at index 0x5
00000043 0.14669226 STORMINI: NVMeInitCallback: Driver state: 38
00000044 0.16231970 STORMINI: NVMeInitCallback: Driver state: 38
00000045 0.17787489 STORMINI: NVMeInitCallback: Driver state: 39
00000046 0.19351892 STORMINI: NVMeInitCallback: Driver state: 39
00000047 0.22342743 STORMINI: FYI: SRB status 0x6 scsi 0x0 for CDB 0xa0 BTL
0 0 0
00000048 0.22343650 STORMINI: FYI: SRB status 0x6 scsi 0x0 for CDB 0xa0 BTL
0 0 0
00000049 0.22344086 STORMINI: FYI: SRB status 0x6 scsi 0x0 for CDB 0xa0 BTL
0 0 0
00000050 0.22344598 STORMINI: FYI: SRB status 0x6 scsi 0x0 for CDB 0x12 BTL
0 0 0
00000051 0.22344993 STORMINI: FYI: SRB status 0x6 scsi 0x0 for CDB 0x12 BTL
0 0 0
00000052 0.22345348 STORMINI: FYI: SRB status 0x6 scsi 0x0 for CDB 0x12 BTL
0 0 0
00000053 0.22369038 STORMINI: FYI: SRB status 0x6 scsi 0x8 for CDB 0x0 BTL 0
0 0
00000054 0.22462179 STORMINI: NVMeRunning: StorPortReady...
please tell me the reason, thank you
_____
cheng.peng at memblaze.com <mailto:cheng.peng at memblaze.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/nvmewin/attachments/20150415/eac745d3/attachment.html>
More information about the nvmewin
mailing list