| 1 | |
|---|
| 2 | 02 Dec 08 SHL |
|---|
| 3 | |
|---|
| 4 | This kernel debug data was extracted after Roderick requested and S3 suspect |
|---|
| 5 | on his T61. |
|---|
| 6 | |
|---|
| 7 | The basic setup is |
|---|
| 8 | |
|---|
| 9 | acpi29112008.zip |
|---|
| 10 | APIC enabled |
|---|
| 11 | /VBE |
|---|
| 12 | |
|---|
| 13 | The suspend was requested from a full-screen session using apm2.exe. |
|---|
| 14 | |
|---|
| 15 | |
|---|
| 16 | Opening COM1 |
|---|
| 17 | Attempting to set port to 38400,N,8,1,xon=on(normal) |
|---|
| 18 | Communications port opened and configured. |
|---|
| 19 | |
|---|
| 20 | Sending break ... please wait |
|---|
| 21 | eax=00000000 ebx=f9af6c18 ecx=8001003b edx=00000000 esi=f9400054 edi=f9af6cc0 |
|---|
| 22 | eip=fff09cfc esp=00004f80 ebp=00004f80 iopl=0 -- -- -- nv up ei pl zr na pe nc |
|---|
| 23 | cs=0178 ss=1530 ds=0170 es=0170 fs=0000 gs=0000 cr2=02f30000 cr3=00225000 p=00 |
|---|
| 24 | 0178:fff09cfc 66ff0df60c80ff dec word ptr [_PollCount (ff800cf6)] |
|---|
| 25 | ds:ff800cf6=5421 |
|---|
| 26 | ##ln |
|---|
| 27 | 0178:fff09c33 os2krnl:DOSHIGH32CODE:sch20a + c9 |
|---|
| 28 | 0178:fff09dd9 sch20b - dd |
|---|
| 29 | |
|---|
| 30 | This is just to verify the debug connection. |
|---|
| 31 | |
|---|
| 32 | ##g |
|---|
| 33 | |
|---|
| 34 | The suspend was requested here. It never completed, so we Ctrl-C'ed |
|---|
| 35 | to get the kernels attention. |
|---|
| 36 | |
|---|
| 37 | Sending break ... please wait |
|---|
| 38 | The kernel is running ... try ^C or Ctrl/Break |
|---|
| 39 | Could not break into kernel debugger |
|---|
| 40 | |
|---|
| 41 | The above messages are bogus. The kernel is just slow to respond in its |
|---|
| 42 | current state. |
|---|
| 43 | |
|---|
| 44 | IPI: IPIResponse timeout from processor number 0 |
|---|
| 45 | IPI: IPIInProgress timeout from processor number 0 |
|---|
| 46 | |
|---|
| 47 | Pasha, is this the spin lock problems you are working on? |
|---|
| 48 | |
|---|
| 49 | Sending break ... please wait |
|---|
| 50 | The kernel is running ... try ^C or Ctrl/Break |
|---|
| 51 | Could not break into kernel debugger |
|---|
| 52 | |
|---|
| 53 | ## |
|---|
| 54 | |
|---|
| 55 | We finally get the kernel's attention. |
|---|
| 56 | |
|---|
| 57 | ##r |
|---|
| 58 | eax=ffffffff ebx=fd388504 ecx=fd3884bc edx=00000004 esi=fd3884bc edi=f9400000 |
|---|
| 59 | eip=fff0f5c6 esp=00004eb0 ebp=00004f60 iopl=0 -- -- -- nv up di ng nz na pe nc |
|---|
| 60 | cs=0178 ss=1530 ds=0170 es=0170 fs=0000 gs=0000 cr2=00890000 cr3=00eb0000 p=01s |
|---|
| 61 | os2krnl:DOSHIGH32CODE:MPSpinLoop: |
|---|
| 62 | 0178:fff0f5c6 803b00 cmp byte ptr [ebx],00 ds:fd388504=01 |
|---|
| 63 | |
|---|
| 64 | We are stuck in MPSpinLoop |
|---|
| 65 | |
|---|
| 66 | ##k |
|---|
| 67 | 0178:fff134be fd388504 00000000 00000000 00000206 _CPUSpin + 72 |
|---|
| 68 | 0178:fff39208 00000001 fff8efc0 00000000 00000000 _MPDaemon + 67 |
|---|
| 69 | ##.p# |
|---|
| 70 | Slot Pid Ppid Csid Ord Sta Pri pTSD pPTDA pTCB Disp SG Name |
|---|
| 71 | *0003# 0001 0000 0000 0003 run 081f f9002000 ffde9898 f9adf324 0f34 00 *mpd |
|---|
| 72 | ## |
|---|
| 73 | |
|---|
| 74 | Analyzing Call Gate ... |
|---|
| 75 | *** Not in a call *** |
|---|
| 76 | |
|---|
| 77 | ##r |
|---|
| 78 | eax=ffffffff ebx=fd388504 ecx=fd3884bc edx=00000004 esi=fd3884bc edi=f9400000 |
|---|
| 79 | eip=fff0f5c6 esp=00004eb0 ebp=00004f60 iopl=0 -- -- -- nv up di ng nz na pe nc |
|---|
| 80 | cs=0178 ss=1530 ds=0170 es=0170 fs=0000 gs=0000 cr2=00890000 cr3=00eb0000 p=01s |
|---|
| 81 | os2krnl:DOSHIGH32CODE:MPSpinLoop: |
|---|
| 82 | 0178:fff0f5c6 803b00 cmp byte ptr [ebx],00 ds:fd388504=01 |
|---|
| 83 | ##u MPSpinLoop |
|---|
| 84 | |
|---|
| 85 | ##db Header |
|---|
| 86 | 0b00:0000a6ae 0d 0a 49 6e 74 65 72 6e-61 6c 20 72 65 76 69 73 ..Internal revis |
|---|
| 87 | 0b00:0000a6be 69 6f 6e 20 31 34 2e 31-30 34 61 5f 53 4d 50 00 ion 14.104a_SMP. |
|---|
| 88 | 0b00:0000a6ce 24 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 $............... |
|---|
| 89 | |
|---|
| 90 | Find return from MPSpin |
|---|
| 91 | |
|---|
| 92 | ##u |
|---|
| 93 | 0178:fff0f658 59 pop ecx |
|---|
| 94 | 0178:fff0f659 5b pop ebx |
|---|
| 95 | 0178:fff0f65a 8b8568ffffff mov eax,dword ptr [ebp+ffffff68] |
|---|
| 96 | 0178:fff0f660 8b956cffffff mov edx,dword ptr [ebp+ffffff6c] |
|---|
| 97 | 0178:fff0f666 c9 leave |
|---|
| 98 | 0178:fff0f667 c20c00 retd 000c |
|---|
| 99 | |
|---|
| 100 | Let's see it the spin ever finishes |
|---|
| 101 | |
|---|
| 102 | |
|---|
| 103 | ##bp %fff0f667 |
|---|
| 104 | ##g |
|---|
| 105 | |
|---|
| 106 | Nope... |
|---|
| 107 | |
|---|
| 108 | Sending break ... please wait |
|---|
| 109 | The kernel is running ... try ^C or Ctrl/Break |
|---|
| 110 | Could not break into kernel debugger |
|---|
| 111 | |
|---|
| 112 | ##r |
|---|
| 113 | eax=ffffffff ebx=fd388504 ecx=fd3884bc edx=00000004 esi=fd3884bc edi=f9400000 |
|---|
| 114 | eip=fff0f5c6 esp=00004eb0 ebp=00004f60 iopl=0 -- -- -- nv up di ng nz na pe nc |
|---|
| 115 | cs=0178 ss=1530 ds=0170 es=0170 fs=0000 gs=0000 cr2=00890000 cr3=00eb0000 p=01s |
|---|
| 116 | os2krnl:DOSHIGH32CODE:MPSpinLoop: |
|---|
| 117 | 0178:fff0f5c6 803b00 cmp byte ptr [ebx],00 ds:fd388504=01 |
|---|
| 118 | |
|---|
| 119 | #p |
|---|
| 120 | IPI: IPIInProgress timeout from processor number 0 |
|---|
| 121 | IPI: IPIInProgress timeout from processor number 0 |
|---|
| 122 | IPI: IPIInProgress timeout from processor number 0 |
|---|
| 123 | IPI: IPIInProgress timeout from processor number 0 |
|---|
| 124 | IPI: IPIInProgress timeout from processor number 0 |
|---|
| 125 | IPI: IPIInProgress timeout from processor number 0 |
|---|
| 126 | |
|---|
| 127 | The p command was a bad idea. We rebooted. |
|---|
| 128 | |
|---|