Ticket #1694: tracker-unmount-kdebug

File tracker-unmount-kdebug, 5.6 KB (added by bonefish, 17 years ago)

KDL Session

Line 
1bfs: mounted "Transfer" (root node at 131072, device = /dev/disk/ata/0/slave/0)
2PANIC: fs_unmount(): vnode 0x90b654c0 is busy!
3
4Welcome to Kernel Debugging Land...
5Running on CPU 0
6kdebug> tracker = (_teamID)
7kdebug> io_context (tracker)
8I/O CONTEXT: 0x909bf200
9 cwd vnode: 0x90880f00
10 used fds: 14
11 max fds: 512
12 no. type ops ref open mode pos cookie
13 0: 1 0x800c40c0 1 1 0 0 0x909a2eb0 vnode 0x908da440
14 1: 1 0x800c40c0 24 24 601 581 0x908bf580 vnode 0x908da440
15 2: 1 0x800c40c0 24 24 601 581 0x908bf580 vnode 0x908da440
16 3: 1 0x800c40c0 1 1 42 0 0x90b4f6e0 vnode 0x90b654c0
17 4: 1 0x800c40c0 14 14 0 0 0x9087e800 vnode 0x908809c0
18 5: 1 0x800c40c0 14 14 0 0 0x9087e840 vnode 0x90880ac0
19 6: 1 0x800c40c0 1 1 40 2315142 0x90ab85a0 vnode 0x909bfa00
20 7: 3 0x800c4100 1 1 0 0 0x90b6a040 vnode 0x90b654c0
21 8: 1 0x800c40c0 1 1 242 0 0x90b1efa0 vnode 0x90b1cf00
22 9: 3 0x800c4100 1 1 0 0 0x90b29280 vnode 0x90b16740
23 11: 1 0x800c40c0 1 1 40 0 0x90b19ae0 vnode 0x90aeb480
24 13: 1 0x800c40c0 1 1 40 0 0x90b4ee20 vnode 0x90b5e580
25 14: 1 0x800c40c0 1 1 42 0 0x90b01ca0 vnode 0x9099cc00
26 16: 1 0x800c40c0 1 1 40 0 0x90b4eac0 vnode 0x90b5e580
27 used monitors: 62
28 max monitors: 4096
29kdebug> mount 5
30MOUNT: 0x90b65840
31 id: 5
32 device_name: /dev/disk/ata/0/slave/0
33 fs_name: bfs
34 cookie: 0x90871000
35 root_vnode: 0x90b654c0
36 covers_vnode: 0x90b65700
37 partition: 0x90894100
38 lock: 4897
39 flags:
40kdebug> vnodes 5
41address dev inode ref cache fs-node locking flags
420x90b6a140 5 2406 0 0x00000000 0x90b69800 0x00000000 ---
430x90b65dc0 5 2408 0 0x00000000 0x90b69200 0x00000000 ---
440x90b654c0 5 131072 3 0x00000000 0x90b67e00 0x00000000 ---
450x90b65e80 5 262144 0 0x00000000 0x90b69400 0x00000000 ---
460x90b6a0c0 5 393216 0 0x00000000 0x90b69600 0x00000000 ---
47kdebug> traced 0 20 -1 filter and team (tracker) #mount
4868535. [ 76] 19380477: syscall pre: _user_open(0xffffffff, "/boot/home/config/settings/Tracker/automounter_settings", 0x42, 0x1a4)
4968543. [ 76] 19380923: syscall pre: _user_open(0x7, "automounter_settings", 0x242, 0x1a4)
50214966. [ 139] 172083353: syscall pre: _user_mount("/Transfer", "/dev/disk/ata/0/slave/0", "<NULL>", 0x0, 0x0, 0x0)
51215221. [ 139] 172152765: syscall post: _user_mount() -> 0x5
52246253. [ 139] 179741591: syscall pre: _user_unmount("/Transfer", 0x0)
53printed 5 entries within range 1 to 246253 (246253 of 246253 total, 246253 ever)
54kdebug> mount = 214966
55kdebug> unmount = 246253
56kdebug> traced 0 -1 -1 filter and team (tracker) and #close #0x3
57246195. [ 142] 179739229: syscall pre: _user_close(0x3)
58printed 1 entries within range 246195 to 246253 (59 of 246253 total, 246253 ever)
59kdebug> lastClose = 246195
60kdebug> traced lastClose 20 -1 filter and team (tracker) or and #open or #pre or #0x3 #0x7 and #close or #0x3 #0x7
61246195. [ 142] 179739229: syscall pre: _user_close(0x3)
62246197. [ 142] 179739273: syscall pre: _user_close(0x7)
63246223. [ 139] 179739897: syscall pre: _user_open_entry_ref(0x5, 0x20000, ".", 0x42, 0x0)
64246224. [ 139] 179739933: syscall post: _user_open_entry_ref() -> 0x3
65246225. [ 139] 179740006: syscall pre: _user_open_dir_entry_ref(0x5, 0x20000, ".")
66246226. [ 139] 179740039: syscall post: _user_open_dir_entry_ref() -> 0x7
67246231. [ 139] 179740161: syscall pre: _user_open_parent_dir(0xa, 0x701436e4, 0x100)
68246241. [ 139] 179741079: syscall pre: _user_open_dir(0xffffffff, "/Transfer")
69printed 8 entries within range 246195 to 246253 (59 of 246253 total, 246253 ever)
70kdebug> sc 139
71stack trace for thread 0x8b "AutoMounter"
72 kernel stack: 0x99cdf000 to 0x99ce3000
73 user stack: 0x70104000 to 0x70144000
74frame caller <image>:function + offset
7599ce2c10 (+ 52) 800819cb <kernel>:invoke_debugger_command + 0x00cf
7699ce2c44 (+ 64) 8008274c <kernel>:_ParseCommand__16ExpressionParserRi + 0x01d8
7799ce2c84 (+ 48) 8008215e <kernel>:EvaluateCommand__16ExpressionParserPCcRi + 0x01de
7899ce2cb4 (+ 228) 800835e0 <kernel>:evaluate_debug_command + 0x0088
7999ce2d98 (+ 64) 800807cc <kernel>:kernel_debugger_loop__Fv + 0x0184
8099ce2dd8 (+ 32) 80081301 <kernel>:kernel_debugger + 0x00c9
8199ce2df8 (+ 192) 8008122d <kernel>:panic + 0x0029
8299ce2eb8 (+ 80) 8004cb95 <kernel>:fs_unmount__FPclUlb + 0x01fd
8399ce2f08 (+ 64) 8004e57e <kernel>:_user_unmount + 0x007a
8499ce2f48 (+ 96) 800928d3 <kernel>:x86_sysenter + 0x00ef (nearest)
85iframe at 0x99ce2fa8 (end = 0x99ce3000)
86 eax 0x3f ebx 0x763f68 ecx 0x70143ca0 edx 0xffff0104
87 esi 0x0 edi 0x70143e88 ebp 0x70143ccc esp 0x99ce2fdc
88 eip 0xffff0104 eflags 0x207
89 vector: 0x63, error code: 0x0
9099ce2fa8 (+ 0) ffff0104
9170143ccc (+ 480) 0057484d <libtracker.so>:_UnmountAndEjectVolume__Q28BPrivate11AutoMounterP8BMessage + 0x0265
9270143eac (+ 48) 005753f2 <libtracker.so>:MessageReceived__Q28BPrivate11AutoMounterP8BMessage + 0x008a
9370143edc (+ 48) 002e65a0 <libbe.so>:DispatchMessage__7BLooperP8BMessageP8BHandler + 0x0074
9470143f0c (+ 96) 002e85cd <libbe.so>:task_looper__7BLooper + 0x0299
9570143f6c (+ 64) 002e8067 <libbe.so>:_task0___7BLooperPv + 0x0053
9670143fac (+ 48) 006e7180 <libroot.so>:_get_next_team_info + 0x005c (nearest)
9770143fdc (+ 0) 70143fec 1248:AutoMounter_8b_stack@0x70104000 + 0x3ffec