Ticket #6036: 255619.txt

File 255619.txt, 8.9 KB (added by aldeck, 10 years ago)

debugging session

Line 
1PANIC: hit kernel breakpoint: dr6: 0xffff0ff1, dr7: 0x703
2Welcome to Kernel Debugging Land...
3Thread 60 "scsi_bus_service" running on CPU 0
4stack trace for thread 60 "scsi_bus_service"
5 kernel stack: 0x819e6000 to 0x819ea000
6frame caller <image>:function + offset
7 0 819e9c38 (+ 32) 800ff56e <kernel_x86>:arch_debug_stack_trace + 0x0012
8 1 819e9c58 (+ 16) 80073b53 <kernel_x86> stack_trace_trampoline(NULL) + 0x000b
9 2 819e9c68 (+ 12) 8010710a <kernel_x86>:arch_debug_call_with_fault_handler + 0x001b
10 3 819e9c74 (+ 48) 80075607 <kernel_x86>:debug_call_with_fault_handler + 0x005b
11 4 819e9ca4 (+ 64) 80073d77 <kernel_x86> kernel_debugger_loop(0x8013d277 "PANIC: ", 0x80156ee0 "hit kernel %spoint: dr6: 0x%lx, dr7: 0x%lx", 0x819e9d50 "&#9618;n&#9618;&#9618;&#9618;&#9618;", int32: 0) + 0x021f
12 5 819e9ce4 (+ 48) 800740d8 <kernel_x86> kernel_debugger_internal(0x8013d277 "PANIC: ", 0x80156ee0 "hit kernel %spoint: dr6: 0x%lx, dr7: 0x%lx", 0x819e9d50 "&#9618;n&#9618;&#9618;&#9618;&#9618;", int32: 0) + 0x0048
13 6 819e9d14 (+ 48) 80075978 <kernel_x86>:panic + 0x0024
14 7 819e9d44 (+ 80) 80109acc <kernel_x86>:x86_handle_debug_exception + 0x00d8
15 8 819e9d94 (+ 12) 801080bd <kernel_x86>:int_bottom + 0x003d
16kernel iframe at 0x819e9da0 (end = 0x819e9df0)
17 eax 0x1 ebx 0x8179bb28 ecx 0x8383ad24 edx 0x50
18 esi 0x8383ad24 edi 0x0 ebp 0x819e9e08 esp 0x819e9dd4
19 eip 0x81795c8d eflags 0x210246
20 vector: 0x1, error code: 0x0
21 9 819e9da0 (+ 104) 81795c8d <ata> ATAChannel<0x83033960>::FinishRequest(ATARequest*: 0x830310c0, uint32: 0x50 (80), uint8: 0x0 (0)) + 0x0129
2210 819e9e08 (+ 48) 81798dc8 <ata> ATAPIDevice<0x8383ab20>::_FinishRequest(ATARequest*: 0x830310c0, uint32: 0x10 (16)) + 0x002c
2311 819e9e38 (+ 64) 81798912 <ata> ATAPIDevice<0x8383ab20>::SendPacket(ATARequest*: 0x830310c0) + 0x0332
2412 819e9e78 (+ 64) 81798c71 <ata> ATAPIDevice<0x8383ab20>::ExecuteIO(ATARequest*: 0x830310c0) + 0x0091
2513 819e9eb8 (+ 80) 8179530c <ata> ATAChannel<0x83033960>::ExecuteIO(scsi_ccb*: 0x819ea6d4) + 0x01d4
2614 819e9f08 (+ 48) 8179823a <ata> ata_sim_scsi_io(0x83033960, scsi_ccb*: 0x819ea6d4) + 0x0046
2715 819e9f38 (+ 48) 8191fd9f <scsi>:scsi_check_exec_service + 0x00ef
2816 819e9f68 (+ 48) 8191bb89 <scsi>:scsi_do_service + 0x0031
2917 819e9f98 (+ 64) 8191bbf5 <scsi>:scsi_service_threadproc + 0x0059
3018 819e9fd8 (+ 32) 80064b1f <kernel_x86> _create_kernel_thread_kentry() + 0x001b
3119 819e9ff8 (+2120310792) 80064abc <kernel_x86> thread_kthread_exit() + 0x0000
32
33kdebug> calling periph_io
34
35thread id state wait for object cpu pri stack team name
360x824ad000 407 waiting sem 314 - 10 0x80268000 407 cat
370x83868800 51 waiting sem 313 - 10 0x81967000 1 media checker
38
39kdebug> bt 407
40
41stack trace for thread 407 "cat"
42 kernel stack: 0x80268000 to 0x8026c000
43 user stack: 0x7efef000 to 0x7ffef000
44frame caller <image>:function + offset
45 0 8026b394 (+ 48) 8006f577 <kernel_x86> context_switch(thread*: 0x824ad000, thread*: 0x8016b180) + 0x003f
46 1 8026b3c4 (+ 96) 8006f948 <kernel_x86> reschedule() + 0x038c
47 2 8026b424 (+ 64) 80059531 <kernel_x86>:switch_sem_etc + 0x0355
48 3 8026b464 (+ 48) 80059184 <kernel_x86>:acquire_sem + 0x001c
49 4 8026b494 (+ 112) 81936678 <scsi_periph> periph_io(scsi_periph_device_info*: 0x83031100, IOOperation*: 0x8026b5e4, 0x8026b530) + 0x0268
50 5 8026b504 (+ 48) 8192e5b2 <scsi_cd> do_io(0x83030398, IOOperation*: 0x8026b5e4) + 0x0032
51 6 8026b534 (+ 96) 80091953 <kernel_x86> IOCache<0xce51dd20>::_DoOperation(IOCache::Operation&: 0x8026b5e4) + 0x003f
52 7 8026b594 (+ 320) 80091c64 <kernel_x86> IOCache<0xce51dd20>::_TransferPages(uint32: 0x0 (0), uint32: 0xff (255), false) + 0x0240
53 8 8026b6d4 (+ 144) 800915a1 <kernel_x86> IOCache<0xce51dd20>::_TransferRequestLine(IORequest*: 0xce5807f8, int64: 486539264, uint32: 0xfe800 (1042432), int64: 486539264, uint32: 0xf800 (63488)) + 0x0615
54 9 8026b764 (+ 112) 80090f60 <kernel_x86> IOCache<0xce51dd20>::_DoRequest(IORequest*: 0xce5807f8, 0x8026b808) + 0x0164
5510 8026b7d4 (+ 64) 80090cab <kernel_x86> IOCache<0xce51dd20>::ScheduleRequest(IORequest*: 0xce5807f8) + 0x0087
5611 8026b814 (+ 48) 8192ea10 <scsi_cd> cd_io(0xcd93fd08, IORequest*: 0xce5807f8) + 0x003c
5712 8026b844 (+ 32) 80084a2c <kernel_x86> AbstractModuleDevice<0x83027b58>::IO(0xcd93fd08, IORequest*: 0xce5807f8) + 0x001c
5813 8026b864 (+ 64) 8008ab11 <kernel_x86> devfs_io(fs_volume*: 0xccd170a0, fs_vnode*: 0xccdfa0cc, 0xcd93fd00, IORequest*: 0xce5807f8) + 0x01b9
5914 8026b8a4 (+ 64) 800c5c94 <kernel_x86>:vfs_vnode_io + 0x002c
6015 8026b8e4 (+ 224) 800c5795 <kernel_x86> do_iterative_fd_io_iterate(0xce5e0960, IORequest*: 0x8026bab0, 0x8026b9f3) + 0x0255
6116 8026b9c4 (+ 64) 800c60db <kernel_x86>:do_iterative_fd_io + 0x016b
6217 8026ba04 (+ 64) 86607cf5 </boot/system/add-ons/kernel/file_systems/iso9660> fs_io(fs_volume*: 0xcd9726e0, fs_vnode*: 0x830721dc, NULL, IORequest*: 0x8026bab0) + 0x0071
6318 8026ba44 (+ 64) 800c5c94 <kernel_x86>:vfs_vnode_io + 0x002c
6419 8026ba84 (+ 192) 800bbfff <kernel_x86>:vfs_read_pages + 0x0063
6520 8026bb44 (+ 496) 8003fc64 <kernel_x86> read_into_cache(file_cache_ref*: 0x83064b18, NULL, int64: 20643840, int32: 0, uint32: 0x18038000, uint32: 0x10000 (65536), true, vm_page_reservation*: 0x8026bde8, uint32: 0x0 (0)) + 0x01a8
6621 8026bd34 (+ 192) 80040e31 <kernel_x86> cache_io(0x83064b18, NULL, int64: 20705280, uint32: 0x18047000, 0x8026bf2c, false) + 0x06d9
6722 8026bdf4 (+ 80) 80041832 <kernel_x86>:file_cache_read + 0x0036
6823 8026be44 (+ 64) 86607e64 </boot/system/add-ons/kernel/file_systems/iso9660> fs_read(fs_volume*: 0xcd9726e0, fs_vnode*: 0x830721dc, 0xcebad000, int64: 20643840, 0x18038000, 0x8026bf2c) + 0x0074
6924 8026be84 (+ 64) 800bdcaf <kernel_x86> file_read(file_descriptor*: 0xce5e0708, int64: 20643840, 0x18038000, 0x8026bf2c) + 0x0067
7025 8026bec4 (+ 80) 800aab35 <kernel_x86> common_user_io(int32: 3, int64: -1, 0x18038000, uint32: 0x10000 (65536), false) + 0x017d
7126 8026bf14 (+ 48) 800aafd0 <kernel_x86>:_user_read + 0x0028
7227 8026bf44 (+ 100) 801082f2 <kernel_x86>:handle_syscall + 0x00af
73user iframe at 0x8026bfa8 (end = 0x8026c000)
74 eax 0x87 ebx 0x2d11c0 ecx 0x7ffeedc0 edx 0xffff0114
75 esi 0x10000 edi 0x10000 ebp 0x7ffeedfc esp 0x8026bfdc
76 eip 0xffff0114 eflags 0x207 user esp 0x7ffeedc0
77 vector: 0x63, error code: 0x0
7828 8026bfa8 (+ 0) ffff0114 <commpage>:commpage_syscall + 0x0004
7929 7ffeedfc (+ 48) 00204b31 <_APP_>:safe_read + 0x0029
8030 7ffeee2c (+ 48) 002021d8 <_APP_>:usage (nearest) + 0x0248
8131 7ffeee5c (+ 288) 00202b7a <_APP_>:main + 0x0482
8232 7ffeef7c (+ 48) 00201e6b <_APP_>:_start + 0x005b
8333 7ffeefac (+ 48) 00105d62 </boot/system/runtime_loader@0x00100000>:unknown + 0x5d62
8434 7ffeefdc (+ 0) 7ffeefec 4528:cat_main_stack@0x7efef000 + 0xffffec
85
86kdebug> io_operation 0x8026b5e4
87
88io_operation at 0x8026b5e4
89 parent: 0x8026b640
90 status: No Error (1)
91 dma buffer: 0xcd38f480
92 offset: 487063552 (original: 487063552)
93 length: 518144 (original: 518144)
94 transferred: 0
95 block size: 2048
96 saved vec index: 20600
97 saved vec length: 52913
98 r/w: read
99 phase: do all
100 partial begin: no
101 partial end: no
102 bounce buffer: no
103
104kdebug> io_request 0x8026b640
105
106io_request at 0x8026b640
107 owner: 0x00000000
108 parent: 0x00000000
109 status: No Error (1)
110 mutex: 0x8026b65c
111 IOBuffer: 0xce5e87f8
112 offset: 486539264
113 length: 1042432
114 transfer size: 1042432
115 relative offset: 0
116 pending children: 2
117 flags: 0x1
118 team: 407
119 thread: 407
120 r/w: read
121 partial transfer: no
122 finished cvar: 0x8026b6b4
123 iteration:
124 vec index: 10
125 vec offset: 980992
126 remaining bytes: 0
127 callbacks:
128 finished 0x00000000, cookie 0x00000000
129 iteration 0x00000000, cookie 0x00000000
130 children:
131 0x8026b5e4
132
133kdebug> io_scheduler 0xce51dd20
134
135IOCache at 0xce51dd20
136 DMA resource: 0x83033e88
137
138kdebug> dw 0xce51dd20 32
139
140[0xce51dd20] &#9618;.R.....&#9618;>.&#9618;&#9618;Q. ce5210f0 00000000 83033e88 ce51a0f8
141[0xce51dd30] ....&#9618;&#21633;&#9618;..&#9618;.... 00000001 8192e580 83030398 cccccc01
142[0xce51dd40] @=.&#9618;&#9618;..&#9618;....&#9618;... 80163d40 80141d80 00000000 00000197
143[0xce51dd50] .....&#9618;.......... cccccc00 1d0fe800 00000000 00100000
144[0xce51dd60] ........&#9618;....&#9618;U&#9618; 00000014 00000100 000000df 8155f000
145[0xce51dd70] ....&#9618;&#9618;Q..P&#9618;..&#9618;.. 00000001 ce51dd98 ceb15000 ceb0d800
146[0xce51dd80] ................ 00000000 00000000 00000000 00000000
147[0xce51dd90] .........&#9618;Q..... 00000000 00000000 ce51de10 cccccccc
148
149kdebug>