.kdfiles won't override a driver

John,

FWIW, I have seen kdfiles not work correctly one too many times to not use it any more. If something is unreliable like kdfiles is, it is sometimes just better to do this manually rather than deal with what is wrong with kdfiles and forgetting what the debugging task at hand was.

Satya
http://www.winprogger.com

Could you provide some more details about your environment?

I use .kdfiles on a regular basis; I’d like to understand better what your repro environment (i.e. os version, when you’re attaching the debugger, what steps you take, ctrl-alt-d output when things fail, whether you have request initial breakin set, how you’re rebooting the target machine) is that is causing you grief here when you try to use .kdfiles.

  • S (Msft)

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@yahoo.com
Sent: Tuesday, September 28, 2010 6:23 PM
To: Kernel Debugging Interest List
Subject: RE:[windbg] .kdfiles won’t override a driver

John,

FWIW, I have seen kdfiles not work correctly one too many times to not use it any more. If something is unreliable like kdfiles is, it is sometimes just better to do this manually rather than deal with what is wrong with kdfiles and forgetting what the debugging task at hand was.

Satya
http://www.winprogger.com


WINDBG 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

I agree with what you are saying as a general statement - sometimes tools
aren’t worth the trouble/unreliable; however, the alternatives to .kdfiles
all suck, and I’ve found it to be pretty reliable (on the platforms where it
is supported at all at boot time), though the mapping file syntax tend to
trip me up at first every time I use it.

What sort of problems are you seeing?

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@yahoo.com
Sent: Tuesday, September 28, 2010 9:23 PM
To: Kernel Debugging Interest List
Subject: RE:[windbg] .kdfiles won’t override a driver

John,

FWIW, I have seen kdfiles not work correctly one too many times to not use
it any more. If something is unreliable like kdfiles is, it is sometimes
just better to do this manually rather than deal with what is wrong with
kdfiles and forgetting what the debugging task at hand was.

Satya
http://www.winprogger.com


WINDBG 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

Ken,

I avoid using it and I have not used it for last couple of years. So I do not have a repro envoronment as such to give details about.

IIRC, when I was using it, in various transports/OSes, it would work for some days fine and great and there will be that day, it won’t like this OP mentions. Driver paths rarely change in a product. And it is not like kdfiles was used for the first time in the setup either when it broke. I have wasted days trying to understand what it needs and have concluded that it is some kind of intermittent bug.

Eventually I got tired of kdfiles moodiness. I would rather copy files manually and I know that will work consistently and reliably.

Satya
http://www.winprogger.com

I’ve had problems with .kdfiles as well, but to this point over the past 5
years of using it, the problems have invariably been operator headspace. I
moved the target file and didn’t change the mapping, or the build really
didn’t build, or I FORGOT the map file all together, or I misspelled a path,
etc etc etc. I have as yet NOT to have it work after I cleared up a
boneheaded error.

Gary G. Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@yahoo.com
Sent: Wednesday, September 29, 2010 12:22 PM
To: Kernel Debugging Interest List
Subject: RE:[windbg] .kdfiles won’t override a driver

Ken,

I avoid using it and I have not used it for last couple of years. So I do
not have a repro envoronment as such to give details about.

IIRC, when I was using it, in various transports/OSes, it would work for
some days fine and great and there will be that day, it won’t like this OP
mentions. Driver paths rarely change in a product. And it is not like
kdfiles was used for the first time in the setup either when it broke. I
have wasted days trying to understand what it needs and have concluded that
it is some kind of intermittent bug.

Eventually I got tired of kdfiles moodiness. I would rather copy files
manually and I know that will work consistently and reliably.

Satya
http://www.winprogger.com


WINDBG 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

+1

My most common boneheaded error is not ensuring that the image path in the
registry is the same as the name in the map.

“Gary G. Little” wrote in message
news:xxxxx@windbg…
> I’ve had problems with .kdfiles as well, but to this point over the past 5
> years of using it, the problems have invariably been operator headspace. I
> moved the target file and didn’t change the mapping, or the build really
> didn’t build, or I FORGOT the map file all together, or I misspelled a
> path,
> etc etc etc. I have as yet NOT to have it work after I cleared up a
> boneheaded error.