| 1 | Welcome to Kernel Debugging Land... |
|---|
| 2 | Running on CPU 0 |
|---|
| 3 | kdebug> threads 1 |
|---|
| 4 | thread id state sem/cv cpu pri stack team name |
|---|
| 5 | 0x90f03800 124 waiting 3482 - 20 0x9f526000 1 ps2 service |
|---|
| 6 | 0x90e35000 62 waiting 1769 - 15 0x808a8000 1 loop consumer |
|---|
| 7 | 0x90d49800 31 suspended - - 10 0x80597000 1 disk/ata/0/master/raw |
|---|
| 8 | 0x90e35800 63 waiting 1780 - 15 0x808ac000 1 /dev/net/ipro1000/0 consumer |
|---|
| 9 | 0x90d4c000 32 suspended - - 10 0x805a1000 1 disk/ata/0/slave/raw |
|---|
| 10 | 0x800d55a0 1 ready - - 0 0x80101000 1 idle thread 1 |
|---|
| 11 | 0x90e39000 64 ready - - 5 0x90c45000 1 ethernet link state checker |
|---|
| 12 | 0x90d25000 2 ready - - 5 0x800ef000 1 kernel daemon |
|---|
| 13 | 0x90e42000 65 waiting 1613 - 90 0x90c49000 1 /dev/net/ipro1000/0 reader |
|---|
| 14 | 0x90d49000 34 waiting 515 - 20 0x805a5000 1 scsi_bus_service |
|---|
| 15 | 0x90d25800 3 ready - - 1 0x800f3000 1 page scrubber |
|---|
| 16 | 0x90d26000 4 running - 0 11 0x800f7000 1 page writer |
|---|
| 17 | 0x90d4c800 36 waiting 677 - 5 0x80629000 1 syslog sender |
|---|
| 18 | 0x90d26800 5 waiting 143 - 10 0x800fb000 1 page daemon |
|---|
| 19 | 0x90d8a800 37 waiting 694 - 10 0x80632000 1 invalidate_loop |
|---|
| 20 | 0x90d27000 6 waiting 149 - 5 0x80569000 1 low memory handler |
|---|
| 21 | 0x90d27800 7 waiting 114 - 110 0x8056d000 1 heap grower |
|---|
| 22 | 0x90d34000 8 zzz 122 - 5 0x80571000 1 block writer |
|---|
| 23 | 0x90f79800 136 waiting 3780 - 20 0x9f684000 1 uhci finish thread |
|---|
| 24 | 0x90f7c000 137 waiting 3786 - 20 0x9f688000 1 uhci isochronous finish thread |
|---|
| 25 | 0x90f90800 139 ready - - 5 0x9f690000 1 usb explore |
|---|
| 26 | 0x90d35000 17 zzz 122 - 10 0x80579000 1 media checker |
|---|
| 27 | 0x90de7000 59 waiting 1580 - 120 0x806a4000 1 fast taskq |
|---|
| 28 | 0x90df0000 60 waiting 1618 - 99 0x806c8000 1 em_taskq |
|---|
| 29 | 0x90d46000 29 waiting 330 - 10 0x8057d000 1 locked_pool_enlarger |
|---|
| 30 | 0x90e16000 61 waiting 1669 - 10 0x806cf000 1 net timer |
|---|
| 31 | 0x90d46800 30 waiting 349 - 20 0x80581000 1 scsi_bus_service |
|---|
| 32 | kdebug> sc 4 |
|---|
| 33 | stack trace for thread 4 "page writer" |
|---|
| 34 | kernel stack: 0x800f7000 to 0x800fb000 |
|---|
| 35 | frame caller <image>:function + offset |
|---|
| 36 | 800fa834 (+ 52) 80085d23 <kernel>:invoke_debugger_command + 0x00cf |
|---|
| 37 | 800fa868 (+ 64) 80086ac4 <kernel>:_ParseCommand__16ExpressionParserRi + 0x01f8 |
|---|
| 38 | 800fa8a8 (+ 48) 800864b6 <kernel>:EvaluateCommand__16ExpressionParserPCcRi + 0x01de |
|---|
| 39 | 800fa8d8 (+ 228) 80087bd8 <kernel>:evaluate_debug_command + 0x0088 |
|---|
| 40 | 800fa9bc (+ 64) 800848f6 <kernel>:kernel_debugger_loop__Fv + 0x017a |
|---|
| 41 | 800fa9fc (+ 48) 80085541 <kernel>:kernel_debugger + 0x010d |
|---|
| 42 | 800faa2c (+ 192) 80085429 <kernel>:panic + 0x0029 |
|---|
| 43 | 800faaec (+ 48) 9f521e19 </boot/beos/system/add-ons/kernel/bus_managers/ps2>:ps2_interrupt + 0x00cd |
|---|
| 44 | 800fab1c (+ 64) 80028d28 <kernel>:int_io_interrupt_handler + 0x00e0 |
|---|
| 45 | 800fab5c (+ 48) 80093b9a <kernel>:hardware_interrupt + 0x007a |
|---|
| 46 | 800fab8c (+ 12) 80096e0d <kernel>:int_bottom + 0x001d (nearest) |
|---|
| 47 | iframe at 0x800fab98 (end = 0x800fabf0) |
|---|
| 48 | eax 0x200 ebx 0x0 ecx 0x800d82b4 edx 0x246 |
|---|
| 49 | esi 0x800fafac edi 0x800fad28 ebp 0x800fabe8 esp 0x800fabcc |
|---|
| 50 | eip 0x80093820 eflags 0x246 |
|---|
| 51 | vector: 0x21, error code: 0x0 |
|---|
| 52 | 800fab98 (+ 80) 80093820 <kernel>:arch_int_restore_interrupts + 0x0020 |
|---|
| 53 | 800fabe8 (+ 32) 800287b2 <kernel>:restore_interrupts + 0x0012 |
|---|
| 54 | 800fac08 (+ 80) 80063a0f <kernel>:next_modified_page__FR7vm_page + 0x00e7 |
|---|
| 55 | 800fac58 (+ 896) 80063ad0 <kernel>:page_writer__FPv + 0x00b0 |
|---|
| 56 | 800fafd8 (+ 32) 8003984f <kernel>:_create_kernel_thread_kentry__Fv + 0x001b |
|---|
| 57 | 800faff8 (+2146455560) 800397e4 <kernel>:thread_kthread_exit__Fv + 0x0000 |
|---|
| 58 | kdebug> page_stats |
|---|
| 59 | page stats: |
|---|
| 60 | active: 96419 |
|---|
| 61 | inactive: 0 |
|---|
| 62 | busy: 0 |
|---|
| 63 | unused: 294 |
|---|
| 64 | wired: 6684 |
|---|
| 65 | modified: 0 |
|---|
| 66 | free: 19016 |
|---|
| 67 | clear: 8659 |
|---|
| 68 | reserved pages: 0 |
|---|
| 69 | page deficit: 0 |
|---|
| 70 | |
|---|
| 71 | free queue: 0x800d8250, count = 19016 |
|---|
| 72 | clear queue: 0x800d825c, count = 8659 |
|---|
| 73 | modified queue: 0x800d8268, count = -1 (0 temporary) |
|---|
| 74 | active queue: 0x800d8280, count = 103398 |
|---|
| 75 | inactive queue: 0x800d8274, count = 0 |
|---|
| 76 | kdebug> page_queue modified |
|---|
| 77 | queue = 0x800d8268, queue->head = 0x00000000, queue->tail = 0x00000000, queue->count = -1 |
|---|
| 78 | kdebug> expr *0x800d82b8 |
|---|
| 79 | 138 (0x8a) |
|---|
| 80 | kdebug> sem 138 |
|---|
| 81 | SEM: 0x9f0539e0 |
|---|
| 82 | id: 138 (0x8a) |
|---|
| 83 | name: 'page writer' |
|---|
| 84 | owner: 1 |
|---|
| 85 | count: 0 |
|---|
| 86 | queue: - |
|---|
| 87 | last acquired by: 0, count: 0 |
|---|
| 88 | last released by: 0, count: 0 |
|---|
| 89 | kdebug> expr *0x800d82a0 |
|---|
| 90 | 0 (0x0) |
|---|