Discussion:
[DTM] Any solution for DRM fail?
(too old to reply)
Winston
2007-09-04 06:32:01 UTC
Permalink
Raw Message
On Vista platform, my driver failed the DRM test [DTM].
( My driver can pass DRM test [DTM] on XP platform!)

The fail condition is "ks.sys could not be detected in the list of
expected failed drivers"!!
From audio driver's view, I don't know why ks.sys isn't in the list of
expected drivers.
I have searched for the solution for a very long time.

Does any one can give me some clues?

Thanks for your help

Best Regards

Winston


Following is the logging information of DRM test ..............
=======================================================

Title Result
Investigate
Investigate
Failed
Start Test 4/11/2007 10:24:15.110 AM Miniport\Authentication\Find all
drivers
Message 4/11/2007 10:24:15.110 AM Device Name = Sound Card
Message 4/11/2007 10:24:15.110 AM PnP ID = USB
\VID_1852&PID_7022&REV_0001&MI_01
Message 4/11/2007 10:24:15.110 AM Successfully instantiated Render
pin
Message 4/11/2007 10:24:15.110 AM Successfully instantiated Render
Pin. Handle = 0x00000584
Message 4/11/2007 10:24:15.110 AM ====> DRMKOpen
Message 4/11/2007 10:24:15.110 AM ---------> DRM_OK(0x00000000) : DRM
Handle 0x019FCEA8 : (API took 15 ms)
Message 4/11/2007 10:24:15.110 AM ====> DRMKCreateStream(0x019FCEA8,
KsPinHandle=0x00000584, IPropertyStore=0x0357B9C4,
ScmsCopyrighted=FALSE, ScmsOriginal=FALSE,
DigitalOutputDisable=FALSE)
Message 4/11/2007 10:24:15.110 AM ---------> DRM_OK(0x00000000) :
StreamId = 0x00000007 : Stream Handle = 0x019FD8D8 : (API took 16
ms)
Message 4/11/2007 10:24:15.110 AM ====> DRMKAuthenticate(0x019FD8D8,
CheckCat=TRUE, MinDrmLevel=100000, RequireCerts=TRUE, CheckImage=TRUE,
AllowTestCert=FALSE
Message 4/11/2007 10:24:15.110 AM --------->
DRM_BADDRIVER(0x80000072) : (API took 203 ms)
Message 4/11/2007 10:24:15.110 AM C:\Windows\system32\drivers\drmk.sys
- AuthInadequateDRMLevel(0x00000002)
Message 4/11/2007 10:24:15.110 AM C:\Windows\system32\drivers
\Tenor2ch.sys - AuthNoCert(0x00000001)
Message 4/11/2007 10:24:15.110 AM C:\Windows\system32\drivers
\portcls.sys - AuthInadequateDRMLevel(0x00000002)
Message 4/11/2007 10:24:15.110 AM Authentication failed
Message 4/11/2007 10:24:15.110 AM ====>
DRMKDestroyStream(0x019FD8D8)
Message 4/11/2007 10:24:15.110 AM ---------> DRM_OK(0x00000000) : (API
took 0 ms)
Message 4/11/2007 10:24:15.110 AM ====> DRMKClose(0x019FCEA8)
Message 4/11/2007 10:24:15.110 AM ---------> DRM_OK(0x00000000) : (API
took 15 ms)
Message 4/11/2007 10:24:15.110 AM Setting render pin to state
KSSTATE_STOP
Message 4/11/2007 10:24:15.110 AM authParam.NumFailures = 3, expected
at least 4
Message 4/11/2007 10:24:15.110 AM Failure condition: ks.sys could not
be detected in the list of expected failed drivers
End Test 4/11/2007 10:24:15.110 AM Miniport\Authentication\Find all
drivers
Result: Fail
Repro: C:\WTT\JobsWorkingDir\Tasks\WTTJobRun9ACFD3B7-407F-47B1-
BA9B-9985A2D8BD9A\drmtest.exe
u***@gmail.com
2013-02-05 23:22:03 UTC
Permalink
Raw Message
Hi Winston, I know it was a long time ago that you encountered this error, but I am seeing the same failure right now with my driver. Do you remember how you solved this? Thanks!
-Ryan
Post by Winston
On Vista platform, my driver failed the DRM test [DTM].
( My driver can pass DRM test [DTM] on XP platform!)
The fail condition is "ks.sys could not be detected in the list of
expected failed drivers"!!
From audio driver's view, I don't know why ks.sys isn't in the list of
expected drivers.
I have searched for the solution for a very long time.
Does any one can give me some clues?
Thanks for your help
Best Regards
Winston
Following is the logging information of DRM test ..............
=======================================================
Title Result
Investigate
Investigate
Failed
Start Test 4/11/2007 10:24:15.110 AM Miniport\Authentication\Find all
drivers
Message 4/11/2007 10:24:15.110 AM Device Name = Sound Card
Message 4/11/2007 10:24:15.110 AM PnP ID = USB
\VID_1852&PID_7022&REV_0001&MI_01
Message 4/11/2007 10:24:15.110 AM Successfully instantiated Render
pin
Message 4/11/2007 10:24:15.110 AM Successfully instantiated Render
Pin. Handle = 0x00000584
Message 4/11/2007 10:24:15.110 AM ====> DRMKOpen
Message 4/11/2007 10:24:15.110 AM ---------> DRM_OK(0x00000000) : DRM
Handle 0x019FCEA8 : (API took 15 ms)
Message 4/11/2007 10:24:15.110 AM ====> DRMKCreateStream(0x019FCEA8,
KsPinHandle=0x00000584, IPropertyStore=0x0357B9C4,
ScmsCopyrighted=FALSE, ScmsOriginal=FALSE,
DigitalOutputDisable=FALSE)
StreamId = 0x00000007 : Stream Handle = 0x019FD8D8 : (API took 16
ms)
Message 4/11/2007 10:24:15.110 AM ====> DRMKAuthenticate(0x019FD8D8,
CheckCat=TRUE, MinDrmLevel=100000, RequireCerts=TRUE, CheckImage=TRUE,
AllowTestCert=FALSE
Message 4/11/2007 10:24:15.110 AM --------->
DRM_BADDRIVER(0x80000072) : (API took 203 ms)
Message 4/11/2007 10:24:15.110 AM C:\Windows\system32\drivers\drmk.sys
- AuthInadequateDRMLevel(0x00000002)
Message 4/11/2007 10:24:15.110 AM C:\Windows\system32\drivers
\Tenor2ch.sys - AuthNoCert(0x00000001)
Message 4/11/2007 10:24:15.110 AM C:\Windows\system32\drivers
\portcls.sys - AuthInadequateDRMLevel(0x00000002)
Message 4/11/2007 10:24:15.110 AM Authentication failed
Message 4/11/2007 10:24:15.110 AM ====>
DRMKDestroyStream(0x019FD8D8)
Message 4/11/2007 10:24:15.110 AM ---------> DRM_OK(0x00000000) : (API
took 0 ms)
Message 4/11/2007 10:24:15.110 AM ====> DRMKClose(0x019FCEA8)
Message 4/11/2007 10:24:15.110 AM ---------> DRM_OK(0x00000000) : (API
took 15 ms)
Message 4/11/2007 10:24:15.110 AM Setting render pin to state
KSSTATE_STOP
Message 4/11/2007 10:24:15.110 AM authParam.NumFailures = 3, expected
at least 4
Message 4/11/2007 10:24:15.110 AM Failure condition: ks.sys could not
be detected in the list of expected failed drivers
End Test 4/11/2007 10:24:15.110 AM Miniport\Authentication\Find all
drivers
Result: Fail
Repro: C:\WTT\JobsWorkingDir\Tasks\WTTJobRun9ACFD3B7-407F-47B1-
BA9B-9985A2D8BD9A\drmtest.exe
Loading...