They are not necessary per se, but running with all symbols loaded tends to make the debugger run quite a bit slower.
The debugger normally defers symbol loading, and so when looking for a symbol, first searches the already loaded symbols.
If you load all the symbols, then it has to scan the whole symbol space, instead of just what has already been loaded.
The .reload /u unloads all the symbols, but the cached files stay in the local symbol file cache.
The .reload /s puts the debugger back in to deferred loading mode, where it loads what it needs and no more, since all the symbol files have been put in the local cache, when a particular file is needed, loading it is very fast. Furthermore searching for symbols is still fast, since many symbol file loads are deferred, and the symbol space stays relatively small.
Joe.
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of M. M. O’Brien
Sent: Wednesday, June 30, 2010 12:34 PM
To: Kernel Debugging Interest List
Subject: RE: [windbg] *BUSY*
Joe, just out of curiosity, why are the second two ‘.reload’ commands
necessary.
Thanks,
mm
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Joe Ballantyne
Sent: Wednesday, June 30, 2010 2:58 PM
To: Kernel Debugging Interest List
Subject: RE: [windbg] *BUSY*
Read the docs about setting a cache at the start of your symbol path.
Then do a .reload /f - plan to wait for a long time. All the symbols will
get pulled down over the network to a local on disk cache.
Then do a .reload /u
Followed by a .reload /s
From then on, you shouldn’t be hitting the network much for symbols ever.
Joe.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Joe Ballantyne
Sent: Wednesday, June 30, 2010 11:55 AM
To: Kernel Debugging Interest List
Subject: RE: [windbg] *BUSY*
Sounds like you might be hitting network timeouts. They are 30secs.
Do you have all your symbols cached locally?
Joe.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Gary G. Little
Sent: Wednesday, June 30, 2010 7:49 AM
To: Kernel Debugging Interest List
Subject: [windbg] *BUSY*
About 5 minutes ago my target crashed, and *BUSY* has been shown ever since.
Now, having this happen frequently on the latest and greatest (cough cough)
WinDbg I know that about 40 minutes from now WinDbg will decide it isn’t
busy and I can finally do the !analyze -v I need to do to see why my driver
crashed.
I did do a Ctl+Alt+D with the following results. You can’t see it since no
timeline is in this dump but there were periodic pauses of ~ 20 to 30
seconds.
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=b8, PacketId=1a06,
READ: Received Type 2 data packet with id = 1a06 successfully.
KdReadVirtual(fffff800`02a20448, 80) returns 00000000, 80
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=b8, PacketId=1a07,
READ: Received Type 2 data packet with id = 1a07 successfully.
KdReadVirtual(fffff800`02a162f4, 80) returns 00000000, 80
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=b8, PacketId=1a08,
READ: Received Type 2 data packet with id = 1a08 successfully.
KdReadVirtual(fffff800`02a402e0, 80) returns 00000000, 80
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=b8, PacketId=1a09,
READ: Received Type 2 data packet with id = 1a09 successfully.
KdReadVirtual(fffff800`02a40360, 80) returns 00000000, 80
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=100, PacketId=1a0a,
READ: Received Type 2 data packet with id = 1a0a successfully.
KdReadVirtual(fffff880`03cfa268, c8) returns 00000000, c8
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=b8, PacketId=1a0b,
READ: Received Type 2 data packet with id = 1a0b successfully.
KdReadVirtual(fffff880`03cfe170, 80) returns 00000000, 80
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=b8, PacketId=1a0c,
READ: Received Type 2 data packet with id = 1a0c successfully.
KdReadVirtual(fffff880`03cfe494, 80) returns 00000000, 80
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=b8, PacketId=1a0d,
READ: Received Type 2 data packet with id = 1a0d successfully.
KdReadVirtual(fffff880`03cff6a0, 80) returns 00000000, 80
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=b8, PacketId=1a0e,
READ: Received Type 2 data packet with id = 1a0e successfully.
KdReadVirtual(fffff880`03cff5b8, 80) returns 00000000, 80
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=50, PacketId=1a0f,
READ: Received Type 2 data packet with id = 1a0f successfully.
KdReadVirtual(fffff880`03cff5a0, 18) returns 00000000, 18
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=2a6, PacketId=1a10,
READ: Received Type 2 data packet with id = 1a10 successfully.
KdReadVirtual(fffffa80`03254000, 26e) returns 00000000, 26e
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=40, PacketId=1a11,
READ: Received Type 2 data packet with id = 1a11 successfully.
DbgKdReadControlSpace returns 00000000
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=b8, PacketId=1a12,
READ: Received Type 2 data packet with id = 1a12 successfully.
KdReadVirtual(fffff880`009eb180, 80) returns 00000000, 80
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=7b8, PacketId=1a13,
READ: Received Type 2 data packet with id = 1a13 successfully.
KdReadVirtual(fffff880`009eb200, 780) returns 00000000, 780
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=b8, PacketId=1a14,
READ: Received Type 2 data packet with id = 1a14 successfully.
KdReadVirtual(fffff880`009efd50, 80) returns 00000000, 80
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=b8, PacketId=1a15,
READ: Received Type 2 data packet with id = 1a15 successfully.
KdReadVirtual(fffff800`02da5000, 80) returns 00000000, 80
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=b8, PacketId=1a16,
READ: Received Type 2 data packet with id = 1a16 successfully.
KdReadVirtual(fffff800`02da50a8, 80) returns 00000000, 80
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=b8, PacketId=1a17,
READ: Received Type 2 data packet with id = 1a17 successfully.
KdReadVirtual(fffff800`02da5198, 80) returns 00000000, 80
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=b8, PacketId=1a18,
READ: Received Type 2 data packet with id = 1a18 successfully.
KdReadVirtual(fffff800`02da5240, 80) returns 00000000, 80
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=b8, PacketId=1a19,
READ: Received Type 2 data packet with id = 1a19 successfully.
KdReadVirtual(fffff800`02dda998, 80) returns 00000000, 80
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=34c, PacketId=1a1a,
READ: Received Type 2 data packet with id = 1a1a successfully.
KdReadVirtual(fffff800`02ddaa18, 314) returns 00000000, 314
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=60, PacketId=1a1b,
READ: Received Type 2 data packet with id = 1a1b successfully.
KdReadVirtual(fffffa80`0242d3b0, 28) returns 00000000, 28
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=2c8, PacketId=1a1c,
READ: Received Type 2 data packet with id = 1a1c successfully.
KdReadVirtual(fffffa80`0242d458, 290) returns 00000000, 290
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=150, PacketId=1a1d,
READ: Received Type 2 data packet with id = 1a1d successfully.
KdReadVirtual(fffffa80`0242d768, 118) returns 00000000, 118
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=40, PacketId=1a1e,
READ: Received Type 2 data packet with id = 1a1e successfully.
DbgKdReadControlSpace returns 00000000
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=b8, PacketId=1a1f,
READ: Received Type 2 data packet with id = 1a1f successfully.
KdReadVirtual(fffff880`009ef898, 80) returns 00000000, 80
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=b8, PacketId=1a20,
READ: Received Type 2 data packet with id = 1a20 successfully.
KdReadVirtual(fffff800`02a280ec, 80) returns 00000000, 80
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=b8, PacketId=1a21,
READ: Received Type 2 data packet with id = 1a21 successfully.
KdReadVirtual(000007fe`f14d4000, 80) returns 00000000, 80
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=b8, PacketId=1a22,
READ: Received Type 2 data packet with id = 1a22 successfully.
KdReadVirtual(000007fe`f14d4080, 80) returns 00000000, 80
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=3e4, PacketId=1a23,
READ: Received Type 2 data packet with id = 1a23 successfully.
KdReadVirtual(000007fe`f14d4100, 3ac) returns 00000000, 3ac
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=42, PacketId=1a47,
READ: Received Type 2 data packet with id = 1a47 successfully.
KdReadVirtual(fffff880`0169cae0, a) returns 00000000, a
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=110, PacketId=1a48,
READ: Received Type 2 data packet with id = 1a48 successfully.
DbgKdReadControlSpace returns 00000000
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=1ae, PacketId=1a49,
READ: Received Type 2 data packet with id = 1a49 successfully.
KdReadVirtual(fffff880`0169c96a, 176) returns 00000000, 176
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=138, PacketId=1a4a,
READ: Received Type 2 data packet with id = 1a4a successfully.
KdReadVirtual(fffff880`0169cb6a, 100) returns 00000000, 100
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=1b8, PacketId=1a4b,
READ: Received Type 2 data packet with id = 1a4b successfully.
KdReadVirtual(fffff880`01793499, 180) returns 00000000, 180
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=138, PacketId=1a4c,
READ: Received Type 2 data packet with id = 1a4c successfully.
KdReadVirtual(fffff880`01793699, 100) returns 00000000, 100
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=1b8, PacketId=1a4d,
READ: Received Type 2 data packet with id = 1a4d successfully.
KdReadVirtual(fffff880`01794a31, 180) returns 00000000, 180
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=138, PacketId=1a4e,
READ: Received Type 2 data packet with id = 1a4e successfully.
KdReadVirtual(fffff880`01794c31, 100) returns 00000000, 100
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=1b8, PacketId=1a4f,
READ: Received Type 2 data packet with id = 1a4f successfully.
KdReadVirtual(fffff880`017aa37a, 180) returns 00000000, 180
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=138, PacketId=1a50,
READ: Received Type 2 data packet with id = 1a50 successfully.
KdReadVirtual(fffff880`017aa57a, 100) returns 00000000, 100
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=1b8, PacketId=1a51,
READ: Received Type 2 data packet with id = 1a51 successfully.
KdReadVirtual(fffff880`017bbbe7, 180) returns 00000000, 180
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=138, PacketId=1a52,
READ: Received Type 2 data packet with id = 1a52 successfully.
KdReadVirtual(fffff880`017bbde7, 100) returns 00000000, 100
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=1b8, PacketId=1a53,
READ: Received Type 2 data packet with id = 1a53 successfully.
KdReadVirtual(fffff880`017c78b8, 180) returns 00000000, 180
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=138, PacketId=1a54,
READ: Received Type 2 data packet with id = 1a54 successfully.
KdReadVirtual(fffff880`017c7ab8, 100) returns 00000000, 100
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=1b8, PacketId=1a55,
READ: Received Type 2 data packet with id = 1a55 successfully.
KdReadVirtual(fffff880`017c88b1, 180) returns 00000000, 180
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=138, PacketId=1a56,
READ: Received Type 2 data packet with id = 1a56 successfully.
KdReadVirtual(fffff880`017c8ab1, 100) returns 00000000, 100
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=1b8, PacketId=1a57,
READ: Received Type 2 data packet with id = 1a57 successfully.
KdReadVirtual(fffff880`017c98e8, 180) returns 00000000, 180
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=138, PacketId=1a58,
READ: Received Type 2 data packet with id = 1a58 successfully.
KdReadVirtual(fffff880`017c9ae8, 100) returns 00000000, 100
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=1b8, PacketId=1a59,
READ: Received Type 2 data packet with id = 1a59 successfully.
KdReadVirtual(fffff880`017cc904, 180) returns 00000000, 180
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=138, PacketId=1a5a,
READ: Received Type 2 data packet with id = 1a5a successfully.
KdReadVirtual(fffff880`017ccb04, 100) returns 00000000, 100
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=1b8, PacketId=1a5b,
READ: Received Type 2 data packet with id = 1a5b successfully.
KdReadVirtual(fffff880`017ccd78, 180) returns 00000000, 180
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=c0, PacketId=1a5c,
READ: Received Type 2 data packet with id = 1a5c successfully.
KdReadVirtual(fffff880`017ccf78, 88) returns 00000000, 88
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=b0, PacketId=1a5d,
READ: Received Type 2 data packet with id = 1a5d successfully.
KdReadVirtual(fffff880`017cd000, 78) returns 00000000, 78
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=1b8, PacketId=1a5e,
READ: Received Type 2 data packet with id = 1a5e successfully.
KdReadVirtual(fffff880`017cd497, 180) returns 00000000, 180
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=71, PacketId=1a5f,
READ: Received Type 2 data packet with id = 1a5f successfully.
KdReadVirtual(fffff880`017cd697, 39) returns 00000000, 39
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=1b8, PacketId=1a60,
READ: Received Type 2 data packet with id = 1a60 successfully.
KdReadVirtual(fffff880`0187337a, 180) returns 00000000, 180
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=138, PacketId=1a61,
READ: Received Type 2 data packet with id = 1a61 successfully.
KdReadVirtual(fffff880`0187357a, 100) returns 00000000, 100
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=99, PacketId=1a62,
READ: Received Type 2 data packet with id = 1a62 successfully.
KdReadVirtual(fffff880`0187367a, 61) returns 00000000, 61
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=138, PacketId=1a63,
READ: Received Type 2 data packet with id = 1a63 successfully.
KdReadVirtual(fffff880`0187375b, 100) returns 00000000, 100
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=1b8, PacketId=1a64,
READ: Received Type 2 data packet with id = 1a64 successfully.
KdReadVirtual(fffff880`0187948a, 180) returns 00000000, 180
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=138, PacketId=1a65,
READ: Received Type 2 data packet with id = 1a65 successfully.
KdReadVirtual(fffff880`0187968a, 100) returns 00000000, 100
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=1b8, PacketId=1a66,
READ: Received Type 2 data packet with id = 1a66 successfully.
KdReadVirtual(fffff880`01906a84, 180) returns 00000000, 180
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=138, PacketId=1a67,
READ: Received Type 2 data packet with id = 1a67 successfully.
KdReadVirtual(fffff880`01906c84, 100) returns 00000000, 100
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=1b8, PacketId=1a68,
READ: Received Type 2 data packet with id = 1a68 successfully.
KdReadVirtual(fffff880`03b092a3, 180) returns 00000000, 180
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=138, PacketId=1a69,
READ: Received Type 2 data packet with id = 1a69 successfully.
KdReadVirtual(fffff880`03b094a3, 100) returns 00000000, 100
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=1b8, PacketId=1a6a,
READ: Received Type 2 data packet with id = 1a6a successfully.
KdReadVirtual(fffff880`03b224fb, 180) returns 00000000, 180
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=138, PacketId=1a6b,
READ: Received Type 2 data packet with id = 1a6b successfully.
KdReadVirtual(fffff880`03b226fb, 100) returns 00000000, 100
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=1b8, PacketId=1a6c,
READ: Received Type 2 data packet with id = 1a6c successfully.
KdReadVirtual(fffff880`06f18935, 180) returns 00000000, 180
WRITE: Write type 2 packet
READ: Wait for type 2 packet
PacketType=2, ByteCount=138, PacketId=1a6d,
READ: Received Type 2 data packet with id = 1a6d successfully.
KdReadVirtual(fffff880`06f18b35, 100) returns 00000000, 100
Gary G. Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net
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
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
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
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