Enable tracing for USBEHCI.sys

Folks,

is there a way to enable tracing for usbehci.sys (checked version) for
XPSP2?

I’m debugging a crash on a XPSP2 machine that always happens within
usbehci.sys in the same exact spot (a NULL reference), and I cannot
understand what’s causing this (it happens in the DPC routine of USBPORT, so
my driver is not directly in the stack).

The checked version of usbehci and usbport trigger two assertions before the
crash, but I have no idea what they mean:

*** Assertion failed: !TEST_FLAG(td->Flags, TD_FLAG_DUMMY)
*** Source File: d:\xpsprtm\drivers\wdm\usb\hcd\miniport\usbehci\async.c,
line 2205

*** Assertion failed: FALSE
*** Source File: d:\xpsprtm\drivers\wdm\usb\hcd\miniport\usbehci\int.c,
line 89

Thanks!
GV

An update on this: after a morning of crashes and reboots, and different
versions of the usbehci/usbport drivers, this is what I always get from the
usbehci/usbport checked driver from XPSP3:

00007805 1:49:16 PM
00007806 1:49:16 PM *** Assertion failed: !TEST_FLAG(td->Flags,
TD_FLAG_DUMMY)
00007807 1:49:16 PM *** Source File:
d:\xpsp\drivers\wdm\usb\hcd\miniport\usbehci\async.c, line 2166
00007808 1:49:16 PM
00007809 1:49:16 PM 'xMP.SYS: 'HC asserted HostSystemError, attempting reset

Have you ever seen that assertion regarding Host System Error on the host
controller?

Moreover, I discovered that all my customers (and my test machine) having
this issue use the Intel EHCI 24CD controller (ICH4/ICH4-M).

Has any of you had problems with such controller?

Have a nice day
GV

----- Original Message -----
From: “Gianluca Varenni”
To: “Windows System Software Devs Interest List”
Sent: Thursday, April 30, 2009 8:42 AM
Subject: Enable tracing for USBEHCI.sys

> Folks,
>
> is there a way to enable tracing for usbehci.sys (checked version) for
> XPSP2?
>
> I’m debugging a crash on a XPSP2 machine that always happens within
> usbehci.sys in the same exact spot (a NULL reference), and I cannot
> understand what’s causing this (it happens in the DPC routine of USBPORT,
> so my driver is not directly in the stack).
>
> The checked version of usbehci and usbport trigger two assertions before
> the crash, but I have no idea what they mean:
>
> Assertion failed: !TEST_FLAG(td->Flags, TD_FLAG_DUMMY)
>
Source File:
> d:\xpsprtm\drivers\wdm\usb\hcd\miniport\usbehci\async.c, line 2205
>
> Assertion failed: FALSE
>
Source File: d:\xpsprtm\drivers\wdm\usb\hcd\miniport\usbehci\int.c,
> line 89
>
> Thanks!
> GV
>

Gianluca Varenni wrote:

An update on this: after a morning of crashes and reboots, and
different versions of the usbehci/usbport drivers, this is what I
always get from the usbehci/usbport checked driver from XPSP3:

00007805 1:49:16 PM
00007806 1:49:16 PM *** Assertion failed: !TEST_FLAG(td->Flags,
TD_FLAG_DUMMY)
00007807 1:49:16 PM *** Source File:
d:\xpsp\drivers\wdm\usb\hcd\miniport\usbehci\async.c, line 2166
00007808 1:49:16 PM
00007809 1:49:16 PM 'xMP.SYS: 'HC asserted HostSystemError, attempting
reset

Have you ever seen that assertion regarding Host System Error on the
host controller?

This TD_FLAG_DUMMY problem was reported by another poster on this list 2
years ago. His problem only occurred under continuous, strenuous load.
I do not think there was any resolution.

Moreover, I discovered that all my customers (and my test machine)
having this issue use the Intel EHCI 24CD controller (ICH4/ICH4-M).

Unfortunately, this chipset is an antique, circa 2001. This may
actually have been the first Intel chipset to include USB 2.0 support.
Thus, it’s not surprising there might have been problems.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

----- Original Message -----
From: “Tim Roberts”
To: “Windows System Software Devs Interest List”
Sent: Thursday, April 30, 2009 2:23 PM
Subject: Re: [ntdev] Enable tracing for USBEHCI.sys

> Gianluca Varenni wrote:
>> An update on this: after a morning of crashes and reboots, and
>> different versions of the usbehci/usbport drivers, this is what I
>> always get from the usbehci/usbport checked driver from XPSP3:
>>
>> 00007805 1:49:16 PM
>> 00007806 1:49:16 PM Assertion failed: !TEST_FLAG(td->Flags,
>> TD_FLAG_DUMMY)
>> 00007807 1:49:16 PM
Source File:
>> d:\xpsp\drivers\wdm\usb\hcd\miniport\usbehci\async.c, line 2166
>> 00007808 1:49:16 PM
>> 00007809 1:49:16 PM 'xMP.SYS: 'HC asserted HostSystemError, attempting
>> reset
>>
>> Have you ever seen that assertion regarding Host System Error on the
>> host controller?
>
> This TD_FLAG_DUMMY problem was reported by another poster on this list 2
> years ago. His problem only occurred under continuous, strenuous load.
> I do not think there was any resolution.
>

Yeah, I saw that.

>
>> Moreover, I discovered that all my customers (and my test machine)
>> having this issue use the Intel EHCI 24CD controller (ICH4/ICH4-M).
>
> Unfortunately, this chipset is an antique, circa 2001. This may
> actually have been the first Intel chipset to include USB 2.0 support.
> Thus, it’s not surprising there might have been problems.

I wouldn’t be surprised either. I’ve tested our hardware on a bunch on EHCI
controllers (basically from ICH5 on) and they all work flawlessy with our
hardware.

I asked the manufacturer of the chipset that we use if they have seen it
before, I’m now waiting for an answer.

Thanks again!
GV

>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer

Hi Gianluca,

This sounds very similar to the bug I was seeing in XP. See:

https://www.osronline.com/showthread.cfm?link=146643
and
http://www.osronline.com/showThread.cfm?link=152900

If it is the same Windows bug that’s causing your problem, Microsoft are
currently working on a fix, but it’s taking them a very long time. Their
first attempt actually broke more than it fixed.

I’ll post to the group when I have more information.

Cheers,

Stuart

“Gianluca Varenni” wrote in message
news:xxxxx@ntdev…
> Folks,
>
> is there a way to enable tracing for usbehci.sys (checked version) for
> XPSP2?
>
> I’m debugging a crash on a XPSP2 machine that always happens within
> usbehci.sys in the same exact spot (a NULL reference), and I cannot
> understand what’s causing this (it happens in the DPC routine of USBPORT,
> so my driver is not directly in the stack).
>
> The checked version of usbehci and usbport trigger two assertions before
> the crash, but I have no idea what they mean:
>
> Assertion failed: !TEST_FLAG(td->Flags, TD_FLAG_DUMMY)
>
Source File:
> d:\xpsprtm\drivers\wdm\usb\hcd\miniport\usbehci\async.c, line 2205
>
> Assertion failed: FALSE
>
Source File: d:\xpsprtm\drivers\wdm\usb\hcd\miniport\usbehci\int.c,
> line 89
>
> Thanks!
> GV
>
>

Same exact problem.

It would be great if you can keep me updated on it (even on my personal
e-mail).
Did you open a PSS with them?

Have a nice day
GV

----- Original Message -----
From: “Stuart Mills”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Friday, May 01, 2009 2:04 AM
Subject: Re:[ntdev] Enable tracing for USBEHCI.sys

> Hi Gianluca,
>
> This sounds very similar to the bug I was seeing in XP. See:
>
> https://www.osronline.com/showthread.cfm?link=146643
> and
> http://www.osronline.com/showThread.cfm?link=152900
>
> If it is the same Windows bug that’s causing your problem, Microsoft are
> currently working on a fix, but it’s taking them a very long time. Their
> first attempt actually broke more than it fixed.
>
> I’ll post to the group when I have more information.
>
> Cheers,
>
> Stuart
>
>
>
> “Gianluca Varenni” wrote in message
> news:xxxxx@ntdev…
>> Folks,
>>
>> is there a way to enable tracing for usbehci.sys (checked version) for
>> XPSP2?
>>
>> I’m debugging a crash on a XPSP2 machine that always happens within
>> usbehci.sys in the same exact spot (a NULL reference), and I cannot
>> understand what’s causing this (it happens in the DPC routine of USBPORT,
>> so my driver is not directly in the stack).
>>
>> The checked version of usbehci and usbport trigger two assertions before
>> the crash, but I have no idea what they mean:
>>
>> Assertion failed: !TEST_FLAG(td->Flags, TD_FLAG_DUMMY)
>>
Source File:
>> d:\xpsprtm\drivers\wdm\usb\hcd\miniport\usbehci\async.c, line 2205
>>
>> Assertion failed: FALSE
>>
Source File: d:\xpsprtm\drivers\wdm\usb\hcd\miniport\usbehci\int.c,
>> line 89
>>
>> Thanks!
>> GV
>>
>>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer

Yes, I submitted a support request back in January. Microsoft have been
working on it, but I think bugs in XP are very low on their priority list
just now.

I’ll keep you informed,

Stuart

“Gianluca Varenni” wrote in message
news:xxxxx@ntdev…
> Same exact problem.
>
> It would be great if you can keep me updated on it (even on my personal
> e-mail).
> Did you open a PSS with them?
>
> Have a nice day
> GV
>
> ----- Original Message -----
> From: “Stuart Mills”
> Newsgroups: ntdev
> To: “Windows System Software Devs Interest List”
> Sent: Friday, May 01, 2009 2:04 AM
> Subject: Re:[ntdev] Enable tracing for USBEHCI.sys
>
>
>> Hi Gianluca,
>>
>> This sounds very similar to the bug I was seeing in XP. See:
>>
>> https://www.osronline.com/showthread.cfm?link=146643
>> and
>> http://www.osronline.com/showThread.cfm?link=152900
>>
>> If it is the same Windows bug that’s causing your problem, Microsoft are
>> currently working on a fix, but it’s taking them a very long time. Their
>> first attempt actually broke more than it fixed.
>>
>> I’ll post to the group when I have more information.
>>
>> Cheers,
>>
>> Stuart
>>
>>
>>
>> “Gianluca Varenni” wrote in message
>> news:xxxxx@ntdev…
>>> Folks,
>>>
>>> is there a way to enable tracing for usbehci.sys (checked version) for
>>> XPSP2?
>>>
>>> I’m debugging a crash on a XPSP2 machine that always happens within
>>> usbehci.sys in the same exact spot (a NULL reference), and I cannot
>>> understand what’s causing this (it happens in the DPC routine of
>>> USBPORT, so my driver is not directly in the stack).
>>>
>>> The checked version of usbehci and usbport trigger two assertions before
>>> the crash, but I have no idea what they mean:
>>>
>>> Assertion failed: !TEST_FLAG(td->Flags, TD_FLAG_DUMMY)
>>>
Source File:
>>> d:\xpsprtm\drivers\wdm\usb\hcd\miniport\usbehci\async.c, line 2205
>>>
>>> Assertion failed: FALSE
>>>
Source File:
>>> d:\xpsprtm\drivers\wdm\usb\hcd\miniport\usbehci\int.c, line 89
>>>
>>> Thanks!
>>> GV
>>>
>>>
>>
>>
>> —
>> NTDEV is sponsored by OSR
>>
>> For our schedule of WDF, WDM, debugging and other seminars visit:
>> http://www.osr.com/seminars
>>
>> To unsubscribe, visit the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>
>

Do you know if the bug affects Vista/win7 as well?

Have a nice day
GV

----- Original Message -----
From: “Stuart Mills”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Monday, May 04, 2009 3:20 AM
Subject: Re:[ntdev] Re:Enable tracing for USBEHCI.sys

> Yes, I submitted a support request back in January. Microsoft have been
> working on it, but I think bugs in XP are very low on their priority list
> just now.
>
> I’ll keep you informed,
>
> Stuart
>
> “Gianluca Varenni” wrote in message
> news:xxxxx@ntdev…
>> Same exact problem.
>>
>> It would be great if you can keep me updated on it (even on my personal
>> e-mail).
>> Did you open a PSS with them?
>>
>> Have a nice day
>> GV
>>
>> ----- Original Message -----
>> From: “Stuart Mills”
>> Newsgroups: ntdev
>> To: “Windows System Software Devs Interest List”
>> Sent: Friday, May 01, 2009 2:04 AM
>> Subject: Re:[ntdev] Enable tracing for USBEHCI.sys
>>
>>
>>> Hi Gianluca,
>>>
>>> This sounds very similar to the bug I was seeing in XP. See:
>>>
>>> https://www.osronline.com/showthread.cfm?link=146643
>>> and
>>> http://www.osronline.com/showThread.cfm?link=152900
>>>
>>> If it is the same Windows bug that’s causing your problem, Microsoft are
>>> currently working on a fix, but it’s taking them a very long time.
>>> Their first attempt actually broke more than it fixed.
>>>
>>> I’ll post to the group when I have more information.
>>>
>>> Cheers,
>>>
>>> Stuart
>>>
>>>
>>>
>>> “Gianluca Varenni” wrote in message
>>> news:xxxxx@ntdev…
>>>> Folks,
>>>>
>>>> is there a way to enable tracing for usbehci.sys (checked version) for
>>>> XPSP2?
>>>>
>>>> I’m debugging a crash on a XPSP2 machine that always happens within
>>>> usbehci.sys in the same exact spot (a NULL reference), and I cannot
>>>> understand what’s causing this (it happens in the DPC routine of
>>>> USBPORT, so my driver is not directly in the stack).
>>>>
>>>> The checked version of usbehci and usbport trigger two assertions
>>>> before the crash, but I have no idea what they mean:
>>>>
>>>> Assertion failed: !TEST_FLAG(td->Flags, TD_FLAG_DUMMY)
>>>>
Source File:
>>>> d:\xpsprtm\drivers\wdm\usb\hcd\miniport\usbehci\async.c, line 2205
>>>>
>>>> Assertion failed: FALSE
>>>>
Source File:
>>>> d:\xpsprtm\drivers\wdm\usb\hcd\miniport\usbehci\int.c, line 89
>>>>
>>>> Thanks!
>>>> GV
>>>>
>>>>
>>>
>>>
>>> —
>>> NTDEV is sponsored by OSR
>>>
>>> For our schedule of WDF, WDM, debugging and other seminars visit:
>>> http://www.osr.com/seminars
>>>
>>> To unsubscribe, visit the List Server section of OSR Online at
>>> http://www.osronline.com/page.cfm?name=ListServer
>>
>>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer