[Apologies for cross posting, I forgot to add the device drivers group when
I posted in windbg]

Hi

We have a problem with a driver that is only reproducable on a Lenovo X300
notebook.
The X300 has no serial, no 1394, no docking station, and no PCMCIA.

The only usable port left to try is USB, but using Ajays USB debug cable we
also had no luck.

Has anybody been able to get USB based kernel debugging working with the
X300?
Anything else we could try?

Regards
P.

Re: Kernel debug Lenovo X300 by Scott

Scott
Wed Jul 23 12:57:51 CDT 2008

I do love my X300, but the lack of PCMCIA, 1394, and serial is a pain. I was
wondering what I would do if the time ever came to debug it, so interesting
that you're in this situation :)

Are you aware of all the restrictions in using USB to debug? The two big
ones are:

1) Target must be Vista (I picked the XP option, so I'm really hosed.)

2) HC must support kernel debugging. And I quote from the WinDBG
documention:

"Not all EHCI-compatible controllers have this support, and there is no
programmatic method to determine whether a given computer does have this
support."

I have no idea if the HC in the X300 supports kernel debugging, so you might
want to try exploring that.

You don't say what kind of issue you're having on the laptop, so it's hard
to recommend something that would help you in this particular scenario. But,
as you've guessed, you don't really have many other alternatives. If you've
instrumented your driver with good tracing then using one of the various
DbgPrint capture applications (or TraceView if you bothered with WPP) may be
your best bet.

We've also had luck in the past with customers sending a VMWare image of the
problematic machines created with VMWare Converter. This of course only
makes sense if your driver is software only (or possibly USB) and if it is a
timing sensitive issue then you might not see the problem.

-scott

--
Scott Noone
Software Engineer
OSR Open Systems Resources, Inc.
http://www.osronline.com


"P." <alias@newsgroup.nospam> wrote in message
news:899B8731-77B0-4B83-A116-269AF8E92178@microsoft.com...
> [Apologies for cross posting, I forgot to add the device drivers group
> when I posted in windbg]
>
> Hi
>
> We have a problem with a driver that is only reproducable on a Lenovo X300
> notebook.
> The X300 has no serial, no 1394, no docking station, and no PCMCIA.
>
> The only usable port left to try is USB, but using Ajays USB debug cable
> we also had no luck.
>
> Has anybody been able to get USB based kernel debugging working with the
> X300?
> Anything else we could try?
>
> Regards
> P.
>



Re: Kernel debug Lenovo X300 by Pavel

Pavel
Wed Jul 23 13:03:57 CDT 2008

For XP, you still have Softice :) at least, it worked on SP2.

--PA

Scott Noone wrote:
> I do love my X300, but the lack of PCMCIA, 1394, and serial is a pain. I was
> wondering what I would do if the time ever came to debug it, so interesting
> that you're in this situation :)
>
> Are you aware of all the restrictions in using USB to debug? The two big
> ones are:
>
> 1) Target must be Vista (I picked the XP option, so I'm really hosed.)
>
> 2) HC must support kernel debugging. And I quote from the WinDBG
> documention:
>
> "Not all EHCI-compatible controllers have this support, and there is no
> programmatic method to determine whether a given computer does have this
> support."
>
> I have no idea if the HC in the X300 supports kernel debugging, so you might
> want to try exploring that.
>
> You don't say what kind of issue you're having on the laptop, so it's hard
> to recommend something that would help you in this particular scenario. But,
> as you've guessed, you don't really have many other alternatives. If you've
> instrumented your driver with good tracing then using one of the various
> DbgPrint capture applications (or TraceView if you bothered with WPP) may be
> your best bet.
>
> We've also had luck in the past with customers sending a VMWare image of the
> problematic machines created with VMWare Converter. This of course only
> makes sense if your driver is software only (or possibly USB) and if it is a
> timing sensitive issue then you might not see the problem.
>
> -scott
>
> --
> Scott Noone
> Software Engineer
> OSR Open Systems Resources, Inc.
> http://www.osronline.com
>
>
> "P." <alias@newsgroup.nospam> wrote in message
> news:899B8731-77B0-4B83-A116-269AF8E92178@microsoft.com...
>> [Apologies for cross posting, I forgot to add the device drivers group
>> when I posted in windbg]
>>
>> Hi
>>
>> We have a problem with a driver that is only reproducable on a Lenovo X300
>> notebook.
>> The X300 has no serial, no 1394, no docking station, and no PCMCIA.
>>
>> The only usable port left to try is USB, but using Ajays USB debug cable
>> we also had no luck.
>>
>> Has anybody been able to get USB based kernel debugging working with the
>> X300?
>> Anything else we could try?
>>
>> Regards
>> P.