Project

General

Profile

Bug #3200 » weston-drmev-bug-2.md

peeter, 10/25/2019 03:22 AM

 
1
1 - the weston thread is trying acquire a lock which is held by "ithread16 2"
2
2 - in the "ithread16 2" backtrace, the lock has been acquired in do_intel_finish_page_flip: 10919: spin_lock_irqsave(&dev->event_lock, flags);
3
  - spin_lock_irqsave(lock, flags) = spin_lock_irq(lock) = lockmgr(lock, LK_EXCLUSIVE)
4

    
5
Note: not sure why in the "ithread16 2" backtrace, do_intel_finish_page_flip() appears twice. Since do_intel_finish_page_flip() acquires dev->event_lock ("drmev"), could it mean the lock is not be released? Or something else is happening. . .
6

    
7

    
8
---
9

    
10

    
11
(kgdb) info threads
12
  Id   Target Id         Frame
13
  354  kernel idle_0     crit_exit_raw (td=0xffffffff81c4d880) at /usr/src/sys/sys/thread2.h:47
14
  353  kernel softclock 0 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
15
  352  kernel ithreadE 0 0x0000000000000000 in ?? ()
16
  351  kernel ithread196 0 0x0000000000000000 in ?? ()
17
  350  kernel dsched 0   0x0000000000000000 in ?? ()
18
  349  kernel usched 0   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
19
  348  kernel usched 0   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
20
  347  kernel cpuhelper 0 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
21
  346  kernel netisr 0   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
22
  345  kernel sensors 0  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
23
  344  kernel taskq_cpu 0 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
24
  343  kernel crypto 0   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
25
  342  kernel crypto returns 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
26
  341  kernel acpi_task  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
27
  340  kernel ithread9 0 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
28
  339  kernel usbus0     0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
29
  338  kernel ithread17 0 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
30
  337  kernel usbus1     0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
31
  336  kernel syncer1    0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
32
  335  kernel kcollect   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
33
  334  kernel random     0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
34
  333  pid 0/1, swapper  0x0000000000000000 in ?? ()
35
  332  kernel h2xop-ROOT.00 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
36
  331  kernel h2xop-ROOT.04 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
37
  330  kernel h2xop-ROOT.08 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
38
  329  kernel h2xop-ROOT.12 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
39
  328  kernel h2xop-ROOT.16 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
40
  327  kernel h2xop-ROOT.20 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
41
  326  kernel h2xop-ROOT.24 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
42
  325  kernel h2xop-ROOT.28 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
43
  324  kernel pagedaemon 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
44
  323  kernel bufdaemon_hw 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
45
  322  kernel syncer4    0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
46
  321  kernel system_wq  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
47
  320  kernel i915       0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
48
  319  kernel ithread16 0 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
49
  318  kernel syscons1   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
50
  317  kernel syscons5   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
51
  316  kernel syscons9   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
52
  315  kernel syscons13  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
53
  314  pid 477/1, moused 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
54
  313  pid 1/1, init     0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
55
  312  pid 700/1, pflogd 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
56
  311  pid 2396/1, login 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
57
  310  pid 846/2, udevd  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
58
  309  pid 846/3, udevd  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
59
  308  pid 7667/2, at-spi2-registry 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
60
  307  pid 7660/1, dbus-daemon 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
61
  306  pid 7818/2, upowerd 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
62
  305  pid 7820/9, console-kit-daem 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
63
  304  pid 7820/18, console-kit-daem 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
64
---Type <return> to continue, or q <return> to quit---
65
  303  pid 7820/15, console-kit-daem 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
66
  302  pid 7820/13, console-kit-daem 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
67
  301  pid 7822/12, polkitd 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
68
  300  pid 7822/3, polkitd 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
69
  299  pid 4464/1, sshlockout 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
70
  298  pid 7667/1, at-spi2-registry 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
71
  297  pid 7665/1, dbus-daemon 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
72
  296  pid 8169/2, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
73
  295  pid 7648/1, weston-desktop-s 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
74
  294  pid 7830/4, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
75
  293  pid 7831/5, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
76
  292  pid 7827/9, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
77
  291  pid 7822/8, polkitd 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
78
  290  pid 7822/5, polkitd 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
79
  289  pid 8169/1, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
80
  288  pid 7720/25, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
81
  287  pid 7720/10, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
82
  286  pid 7830/1, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
83
  285  pid 7822/11, polkitd 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
84
  284  pid 7822/4, polkitd 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
85
  283  pid 7654/4, Xwayland 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
86
  282  pid 7827/11, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
87
  281  pid 7652/7, xfce4-terminal 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
88
  280  pid 7827/7, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
89
  279  pid 7828/30, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
90
  278  pid 7830/8, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
91
  277  pid 7822/6, polkitd 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
92
  276  pid 7831/7, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
93
  275  pid 877/1, cron   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
94
  274  pid 7826/17, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
95
  273  pid 399/1, wpa_supplicant 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
96
  272  pid 167/1, dhcpcd 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
97
  271  pid 7720/5, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
98
  270  pid 7827/10, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
99
  269  pid 7673/54, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
100
  268  pid 7827/1, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
101
  267  pid 7670/2, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
102
  266  pid 7826/9, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
103
  265  pid 7670/12, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
104
  264  pid 7673/1, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
105
  263  pid 7672/9, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
106
  262  pid 7672/10, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
107
  261  pid 7670/118, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
108
  260  pid 7670/5, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
109
  259  pid 7826/4, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
110
  258  pid 7670/1, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
111
  257  pid 7672/5, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
112
  256  kernel idle_1     crit_exit_raw (td=0x1) at /usr/src/sys/sys/thread2.h:47
113
  255  kernel softclock 1 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
114
  254  kernel dsched 1   0x0000000000000000 in ?? ()
115
  253  kernel usched 1   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
116
  252  kernel usched 1   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
117
---Type <return> to continue, or q <return> to quit---
118
  251  kernel devfs_msg_core 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
119
  250  kernel cpuhelper 1 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
120
  249  kernel netisr 1   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
121
  248  kernel sensors 1  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
122
  247  kernel taskq_cpu 1 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
123
  246  kernel crypto 1   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
124
  245  kernel xpt_thrd   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
125
  244  kernel ithreadE 1 0x0000000000000000 in ?? ()
126
  243  kernel ithread197 1 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
127
  242  kernel ithread21 1 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
128
  241  kernel usbus0     0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
129
  240  kernel usbus1     0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
130
  239  kernel ithread16 1 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
131
  238  kernel syncer2    0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
132
  237  kernel h2xop-ROOT.01 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
133
  236  kernel h2xop-ROOT.05 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
134
  235  kernel h2xop-ROOT.09 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
135
  234  kernel h2xop-ROOT.13 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
136
  233  kernel h2xop-ROOT.17 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
137
  232  kernel h2xop-ROOT.21 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
138
  231  kernel h2xop-ROOT.25 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
139
  230  kernel h2xop-ROOT.29 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
140
  229  kernel swapcached 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
141
  228  kernel bufdaemon  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
142
  227  kernel syscons255 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
143
  226  kernel syncer12   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
144
  225  pid 105/1, adjkerntz 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
145
  224  kernel system_long_wq 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
146
  223  kernel i915-dp    0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
147
  222  kernel syscons2   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
148
  221  kernel syscons6   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
149
  220  kernel syscons10  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
150
  219  kernel syscons14  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
151
  218  pid 1033/1, getty 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
152
  217  pid 1038/1, getty 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
153
  216  pid 1037/1, getty 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
154
  215  pid 1040/1, getty 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
155
  214  pid 1039/1, getty 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
156
  213  pid 1036/1, getty 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
157
  212  pid 7639/1, tcsh  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
158
  211  pid 7644/1, weston-launch 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
159
  210  pid 7647/1, weston-keyboard 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
160
  209  pid 7664/2, at-spi-bus-launc 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
161
  208  pid 7667/3, at-spi2-registry 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
162
  207  pid 7652/3, xfce4-terminal 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
163
  206  pid 7652/5, xfce4-terminal 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
164
  205  pid 7670/8, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
165
  204  pid 7820/21, console-kit-daem 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
166
  203  pid 7820/14, console-kit-daem 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
167
  202  pid 7822/2, polkitd 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
168
  201  pid 7720/2, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
169
  200  pid 7820/1, console-kit-daem 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
170
---Type <return> to continue, or q <return> to quit---
171
  199  pid 7645/1, weston 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
172
  198  pid 7720/4, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
173
  197  pid 7827/2, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
174
  196  pid 544/1, devd   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
175
  195  pid 7820/5, console-kit-daem 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
176
  194  pid 7828/10, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
177
  193  pid 7818/3, upowerd 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
178
  192  pid 7720/1, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
179
  191  pid 8169/9, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
180
  190  pid 7828/5, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
181
  189  pid 7826/15, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
182
  188  pid 7827/5, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
183
  187  pid 7830/9, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
184
  186  pid 7830/10, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
185
  185  pid 7720/8, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
186
  184  pid 7830/5, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
187
  183  pid 7670/16, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
188
  182  pid 7826/10, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
189
  181  pid 7826/18, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
190
  180  pid 8169/8, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
191
  179  pid 8169/10, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
192
  178  pid 7827/8, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
193
  177  pid 7720/6, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
194
  176  pid 8169/11, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
195
  175  pid 7652/6, xfce4-terminal 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
196
  174  pid 7828/13, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
197
  173  pid 7826/7, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
198
  172  pid 798/1, powerd 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
199
  171  pid 602/1, syslogd 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
200
  170  pid 9139/1, sshd  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
201
  169  pid 7673/4, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
202
  168  pid 7654/1, Xwayland 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
203
  167  pid 7670/11, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
204
  166  pid 7831/6, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
205
  165  pid 7826/1, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
206
  164  pid 7670/128, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
207
  163  pid 7673/67, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
208
  162  kernel idle_2     0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
209
  161  kernel softclock 2 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
210
  160  kernel dsched 2   0x0000000000000000 in ?? ()
211
  159  kernel usched 2   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
212
  158  kernel usched 2   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
213
  157  kernel cpuhelper 2 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
214
  156  kernel netisr 2   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
215
  155  kernel disk_msg_core 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
216
  154  kernel sensors 2  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
217
  153  kernel taskq_cpu 2 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
218
  152  kernel crypto 2   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
219
  151  kernel usbus0     0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
220
  150  kernel usbus1     0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
221
  149  kernel ahci0.0    0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
222
  148  kernel syncer3    0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
223
---Type <return> to continue, or q <return> to quit---
224
  147  kernel h2xop-ROOT.02 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
225
  146  kernel h2xop-ROOT.06 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
226
  145  kernel h2xop-ROOT.10 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
227
  144  kernel h2xop-ROOT.14 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
228
  143  kernel h2xop-ROOT.18 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
229
  142  kernel h2xop-ROOT.22 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
230
  141  kernel h2xop-ROOT.26 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
231
  140  kernel h2xop-ROOT.30 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
232
  139  kernel emergpager 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
233
  138  kernel vnlru      0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
234
  137  kernel syncer5    0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
235
  136  kernel syncer13   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
236
  135  kernel system_power_ef 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
237
  134  kernel i915-hangcheck 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
238
  133  kernel ithreadE 2 0x0000000000000000 in ?? ()
239
  132  kernel ithread16 2 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
240
  131  pid 448/1, mo(kgdb) thread 199
241
[Switching to thread 199 (pid 7645/1, weston)]
242
#0  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
243
810		lwkt_switch_return(td->td_switch(ntd));
244
(kgdb) bt
245
#0  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
246
#1  0xffffffff80660ece in tsleep (ident=ident@entry=0xfffff801e0406870, flags=flags@entry=1024, wmesg=<optimized out>, timo=timo@entry=0)
247
    at /usr/src/sys/kern/kern_synch.c:707
248
#2  0xffffffff8062e27d in lockmgr_exclusive (lkp=lkp@entry=0xfffff801e0406870, flags=flags@entry=2) at /usr/src/sys/kern/kern_lock.c:381
249
#3  0xffffffff837a3b06 in lockmgr (flags=2, lkp=0xfffff801e0406870) at @/sys/lock.h:271
250
#4  spin_lock_irq (lock=0xfffff801e0406870) at /usr/src/sys/dev/drm/i915/../../../dev/drm/include/linux/spinlock.h:55
251
#5  intel_crtc_has_pending_flip (crtc=<optimized out>) at /usr/src/sys/dev/drm/i915/intel_display.c:3223
252
#6  intel_crtc_wait_for_pending_flips (crtc=<optimized out>) at /usr/src/sys/dev/drm/i915/intel_display.c:3841
253
#7  intel_atomic_prepare_commit (nonblock=<optimized out>, state=0xfffff801e046a0c0, dev=<optimized out>) at /usr/src/sys/dev/drm/i915/intel_display.c:13480
254
#8  intel_atomic_commit (dev=<optimized out>, state=0xfffff801e046a0c0, nonblock=<optimized out>) at /usr/src/sys/dev/drm/i915/intel_display.c:13614
255
#9  0xffffffff830567cc in drm_atomic_helper_set_config (set=0xfffff801f574b678) at /usr/src/sys/dev/drm/drm/../drm_atomic_helper.c:1875
256
#10 0xffffffff8302e842 in drm_mode_set_config_internal (set=set@entry=0xfffff801f574b678) at /usr/src/sys/dev/drm/drm/../drm_crtc.c:2687
257
#11 0xffffffff8302ef60 in drm_mode_setcrtc (dev=0xfffff801e0406500, data=0xfffff801f574b868, file_priv=<optimized out>)
258
    at /usr/src/sys/dev/drm/drm/../drm_crtc.c:2919
259
#12 0xffffffff8304ab6b in drm_ioctl (ap=<optimized out>) at /usr/src/sys/dev/drm/drm/../drm_ioctl.c:694
260
#13 0xffffffff80615185 in dev_dioctl (dev=dev@entry=0xfffff801e0399fc0, cmd=cmd@entry=3228066978, data=data@entry=0xfffff801f574b868 "\360\003\271",
261
    fflag=<optimized out>, cred=cred@entry=0xfffff800d581c150, msg=msg@entry=0xfffff801f574b960, fp=0xfffff800d3c6d480) at /usr/src/sys/kern/kern_device.c:244
262
#14 0xffffffff808e7e25 in devfs_fo_ioctl (fp=0xfffff800d3c6d480, com=3228066978, data=0xfffff801f574b868 "\360\003\271", ucred=0xfffff800d581c150,
263
    msg=0xfffff801f574b960) at /usr/src/sys/vfs/devfs/devfs_vnops.c:1550
264
#15 0xffffffff806860ba in fo_ioctl (msg=<optimized out>, cred=<optimized out>, data=<optimized out>, com=<optimized out>, fp=0xfffff800d3c6d480)
265
    at /usr/src/sys/sys/file2.h:84
266
#16 mapped_ioctl (fd=<optimized out>, com=<optimized out>, uspc_data=<optimized out>, map=0x0, msg=<optimized out>) at /usr/src/sys/kern/sys_generic.c:717
267
#17 0xffffffff80b87060 in syscall2 (frame=0xfffff801f574b9f8) at /usr/src/sys/platform/pc64/x86_64/trap.c:1308
268
#18 0xffffffff80b6221d in ?? () at /usr/src/sys/platform/pc64/x86_64/exception.S:450
269
#19 0x0000000000000009 in ?? ()
270
#20 0x00000000c06864a2 in ?? ()
271
#21 0x00007fffffdfc9c0 in ?? ()
272
#22 0x0000000000000000 in ?? ()used 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
273
  130  kernel syscons3   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
274
  129  kernel syscons7   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
275
  128  kernel syscons11  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
276
  127  kernel syscons15  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
277
  126  pid 858/1, sshd   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
278
  125  pid 1035/1, getty 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
279
  124  pid 7652/2, xfce4-terminal 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
280
  123  pid 7664/1, at-spi-bus-launc 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
281
  122  pid 7664/5, at-spi-bus-launc 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
282
  121  pid 846/1, udevd  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
283
  120  pid 7668/1, tcsh  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
284
  119  pid 7670/6, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
285
  118  pid 7672/7, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
286
  117  pid 7820/2, console-kit-daem 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
287
  116  pid 7820/7, console-kit-daem 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
288
  115  pid 7820/11, console-kit-daem 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
289
  114  pid 7820/16, console-kit-daem 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
290
  113  pid 7820/17, console-kit-daem 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
291
  112  pid 7822/1, polkitd 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
292
  111  pid 7820/4, console-kit-daem 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
293
  110  pid 7830/2, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
294
  109  pid 7826/2, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
295
  108  pid 501/1, moused 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
296
  107  pid 7828/2, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
297
  106  pid 7830/12, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
298
  105  pid 7828/12, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
299
  104  pid 933/1, dbus-daemon 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
300
  103  pid 7672/2, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
301
  102  pid 7830/7, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
302
  101  pid 7831/10, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
303
  100  pid 7822/9, polkitd 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
304
  99   pid 7720/9, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
305
  98   pid 7822/7, polkitd 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
306
  97   pid 7822/10, polkitd 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
307
  96   pid 7831/9, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
308
---Type <return> to continue, or q <return> to quit---
309
  95   pid 7827/4, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
310
  94   pid 750/1, dntpd  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
311
  93   pid 7831/8, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
312
  92   pid 7672/8, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
313
  91   pid 7830/6, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
314
  90   pid 7828/9, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
315
  89   pid 7828/8, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
316
  88   pid 7828/279, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
317
  87   pid 7672/3, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
318
  86   pid 7672/4, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
319
  85   pid 7672/6, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
320
  84   pid 7673/2, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
321
  83   pid 7672/1, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
322
  82   pid 7654/5, Xwayland 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
323
  81   pid 7828/6, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
324
  80   pid 708/1, pflogd 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
325
  79   pid 9142/1, tcsh  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
326
  78   pid 9149/1, su    0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
327
  77   pid 7828/4, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
328
  76   pid 8169/5, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
329
  75   pid 7828/1, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
330
  74   pid 9141/1, sshd  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
331
  73   kernel idle_3     0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
332
  72   kernel softclock 3 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
333
  71   kernel dsched 3   0x0000000000000000 in ?? ()
334
  70   kernel usched 3   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
335
  69   kernel usched 3   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
336
  68   kernel cpuhelper 3 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
337
  67   kernel netisr 3   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
338
  66   kernel sensors 3  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
339
  65   kernel taskq_cpu 3 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
340
  64   kernel firmware taskq 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
341
  63   kernel crypto 3   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
342
  62   kernel ithreadE 3 0x0000000000000000 in ?? ()
343
  61   kernel ithread195 3 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
344
  60   kernel usbus0     0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
345
  59   kernel ithread23 3 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
346
  58   kernel usbus1     0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
347
  57   kernel ahci0.1    0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
348
  56   kernel unp taskq  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
349
  55   kernel serno/S2RBNX0H54 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
350
  54   kernel h2xop-ROOT.03 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
351
  53   kernel h2xop-ROOT.07 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
352
  52   kernel h2xop-ROOT.11 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
353
  51   kernel h2xop-ROOT.15 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
354
  50   kernel h2xop-ROOT.19 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
355
  49   kernel h2xop-ROOT.23 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
356
  48   kernel h2xop-ROOT.27 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
357
  47   kernel h2xop-ROOT.31 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
358
  46   kernel vmdaemon   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
359
  45   kernel consttyd   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
360
  44   kernel syncer14   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
361
---Type <return> to continue, or q <return> to quit---
362
  43   kernel system_unbound_ 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
363
  42   kernel urtwn0 net80211 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
364
  41   kernel ithread16 3 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
365
  40   kernel syscons4   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
366
  39   kernel syscons8   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
367
  38   kernel syscons12  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
368
  37   pid 948/1, cupsd  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
369
  36   pid 7650/1, tcsh  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
370
  35   pid 7659/1, dbus-launch 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
371
  34   pid 7664/3, at-spi-bus-launc 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
372
  33   pid 7649/1, weston-terminal 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
373
  32   pid 7670/7, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
374
  31   pid 7820/8, console-kit-daem 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
375
  30   pid 7820/10, console-kit-daem 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
376
  29   pid 7820/12, console-kit-daem 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
377
  28   pid 7820/19, console-kit-daem 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
378
  27   pid 7820/20, console-kit-daem 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
379
  26   pid 7670/22, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
380
  25   pid 7831/2, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
381
  24   pid 7652/1, xfce4-terminal 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
382
  23   pid 8169/4, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
383
  22   pid 7652/8, xfce4-terminal 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
384
  21   pid 7818/1, upowerd 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
385
  20   pid 7670/14, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
386
  19   pid 7670/15, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
387
  18   pid 7827/12, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
388
  17   pid 7654/3, Xwayland 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
389
  16   pid 7826/5, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
390
  15   pid 7654/2, Xwayland 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
391
  14   pid 7831/4, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
392
  13   pid 7652/9, xfce4-terminal 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
393
  12   pid 8169/7, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
394
  11   pid 7670/13, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
395
  10   pid 7826/284, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
396
  9    pid 7831/1, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
397
  8    pid 7826/8, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
398
  7    pid 7826/14, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
399
  6    pid 7826/283, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
400
  5    pid 7826/276, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
401
  4    pid 7826/269, chrome 0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
402
  3    pid 9150/1, csh   0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
403
  2    kernel pfpurge    0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
404
* 1    pid 9152/1, kgdb  lwkt_preempt (ntd=0xfffff800d24b2b80, critcount=<optimized out>) at /usr/src/sys/kern/lwkt_thread.c:1040
405

    
406
---
407
(kgdb) thread 199
408
[Switching to thread 199 (pid 7645/1, weston)]
409
#0  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
410
810		lwkt_switch_return(td->td_switch(ntd));
411
(kgdb) bt
412
#0  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
413
#1  0xffffffff80660ece in tsleep (ident=ident@entry=0xfffff801e0406870, flags=flags@entry=1024, wmesg=<optimized out>, timo=timo@entry=0)
414
    at /usr/src/sys/kern/kern_synch.c:707
415
#2  0xffffffff8062e27d in lockmgr_exclusive (lkp=lkp@entry=0xfffff801e0406870, flags=flags@entry=2) at /usr/src/sys/kern/kern_lock.c:381
416
#3  0xffffffff837a3b06 in lockmgr (flags=2, lkp=0xfffff801e0406870) at @/sys/lock.h:271
417
#4  spin_lock_irq (lock=0xfffff801e0406870) at /usr/src/sys/dev/drm/i915/../../../dev/drm/include/linux/spinlock.h:55
418
#5  intel_crtc_has_pending_flip (crtc=<optimized out>) at /usr/src/sys/dev/drm/i915/intel_display.c:3223
419
#6  intel_crtc_wait_for_pending_flips (crtc=<optimized out>) at /usr/src/sys/dev/drm/i915/intel_display.c:3841
420
#7  intel_atomic_prepare_commit (nonblock=<optimized out>, state=0xfffff801e046a0c0, dev=<optimized out>) at /usr/src/sys/dev/drm/i915/intel_display.c:13480
421
#8  intel_atomic_commit (dev=<optimized out>, state=0xfffff801e046a0c0, nonblock=<optimized out>) at /usr/src/sys/dev/drm/i915/intel_display.c:13614
422
#9  0xffffffff830567cc in drm_atomic_helper_set_config (set=0xfffff801f574b678) at /usr/src/sys/dev/drm/drm/../drm_atomic_helper.c:1875
423
#10 0xffffffff8302e842 in drm_mode_set_config_internal (set=set@entry=0xfffff801f574b678) at /usr/src/sys/dev/drm/drm/../drm_crtc.c:2687
424
#11 0xffffffff8302ef60 in drm_mode_setcrtc (dev=0xfffff801e0406500, data=0xfffff801f574b868, file_priv=<optimized out>)
425
    at /usr/src/sys/dev/drm/drm/../drm_crtc.c:2919
426
#12 0xffffffff8304ab6b in drm_ioctl (ap=<optimized out>) at /usr/src/sys/dev/drm/drm/../drm_ioctl.c:694
427
#13 0xffffffff80615185 in dev_dioctl (dev=dev@entry=0xfffff801e0399fc0, cmd=cmd@entry=3228066978, data=data@entry=0xfffff801f574b868 "\360\003\271",
428
    fflag=<optimized out>, cred=cred@entry=0xfffff800d581c150, msg=msg@entry=0xfffff801f574b960, fp=0xfffff800d3c6d480) at /usr/src/sys/kern/kern_device.c:244
429
#14 0xffffffff808e7e25 in devfs_fo_ioctl (fp=0xfffff800d3c6d480, com=3228066978, data=0xfffff801f574b868 "\360\003\271", ucred=0xfffff800d581c150,
430
    msg=0xfffff801f574b960) at /usr/src/sys/vfs/devfs/devfs_vnops.c:1550
431
#15 0xffffffff806860ba in fo_ioctl (msg=<optimized out>, cred=<optimized out>, data=<optimized out>, com=<optimized out>, fp=0xfffff800d3c6d480)
432
    at /usr/src/sys/sys/file2.h:84
433
#16 mapped_ioctl (fd=<optimized out>, com=<optimized out>, uspc_data=<optimized out>, map=0x0, msg=<optimized out>) at /usr/src/sys/kern/sys_generic.c:717
434
#17 0xffffffff80b87060 in syscall2 (frame=0xfffff801f574b9f8) at /usr/src/sys/platform/pc64/x86_64/trap.c:1308
435
#18 0xffffffff80b6221d in ?? () at /usr/src/sys/platform/pc64/x86_64/exception.S:450
436
#19 0x0000000000000009 in ?? ()
437
#20 0x00000000c06864a2 in ?? ()
438
#21 0x00007fffffdfc9c0 in ?? ()
439
#22 0x0000000000000000 in ?? ()
440

    
441
---
442

    
443
(kgdb) p *lkp
444
$1 = {lk_flags = 64, lk_timo = 0, lk_count = 134217729, lk_wmesg = 0xffffffff8306d80b "drmev", lk_lockholder = 0xfffff801f2879a00}
445
(kgdb) print lkp->lk_lockholder
446
$2 = (struct thread *) 0xfffff801f2879a00
447
(kgdb) print lkp->lk_lockholder->td_comm
448
$3 = "ithread16 2\000\000\000\000\000"
449
(kgdb) print lkp->lk_lockholder->td_proc->p_pid
450
Cannot access memory at address 0x5c
451
(kgdb) print lkp->lk_lockholder->td_proc
452
$4 = (struct proc *) 0x0
453
(kgdb) thread 132
454
[Switching to thread 132 (kernel ithread16 2)]
455
#0  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
456
810		lwkt_switch_return(td->td_switch(ntd));
457
(kgdb) bt
458
#0  0xffffffff80653d36 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:810
459
#1  0xffffffff806611ee in tsleep (ident=ident@entry=0xfffff801e262cf90, flags=flags@entry=1024, wmesg=<optimized out>, timo=timo@entry=0)
460
    at /usr/src/sys/kern/kern_synch.c:720
461
#2  0xffffffff8062e27d in lockmgr_exclusive (lkp=lkp@entry=0xfffff801e262cf90, flags=flags@entry=2) at /usr/src/sys/kern/kern_lock.c:381
462
#3  0xffffffff83799537 in lockmgr (flags=2, lkp=0xfffff801e262cf90) at @/sys/lock.h:271
463
#4  wake_up_all (q=0xfffff801e262cf90) at /usr/src/sys/dev/drm/i915/../../../dev/drm/include/linux/wait.h:76
464
#5  page_flip_completed (intel_crtc=intel_crtc@entry=0xfffff801e0dbe700) at /usr/src/sys/dev/drm/i915/intel_display.c:3826
465
#6  0xffffffff8379a2f4 in do_intel_finish_page_flip (dev=0xfffff801e0406500, crtc=0xfffff801e0dbe700) at /usr/src/sys/dev/drm/i915/intel_display.c:10930
466
#7  0xffffffff837ad1e9 in do_intel_finish_page_flip (crtc=<optimized out>, dev=<optimized out>) at /usr/src/sys/dev/drm/i915/intel_display.c:10948
467
#8  intel_finish_page_flip_plane (dev=<optimized out>, plane=<optimized out>) at /usr/src/sys/dev/drm/i915/intel_display.c:10948
468
#9  0xffffffff83733370 in ilk_display_irq_handler (de_iir=67108992, dev=0xfffff801e0406500) at /usr/src/sys/dev/drm/i915/i915_irq.c:2188
469
#10 ironlake_irq_handler (irq=<optimized out>, arg=0xfffff801e0406500) at /usr/src/sys/dev/drm/i915/i915_irq.c:2306
470
#11 0xffffffff8065d623 in lwkt_serialize_handler_call (s=0xfffff801f28584f8, func=0xffffffff8305faa0 <linux_irq_handler>, arg=0xfffff801f28584c0,
471
    frame=frame@entry=0x0) at /usr/src/sys/kern/lwkt_serialize.c:175
472
#12 0xffffffff80609b72 in ithread_handler (arg=<optimized out>) at /usr/src/sys/kern/kern_intr.c:900
473
#13 0xffffffff80654390 in _lwkt_dequeue (td=<error reading variable: Cannot access memory at address 0x8>) at /usr/src/sys/kern/lwkt_thread.c:160
474
#14 lwkt_deschedule_self (td=<optimized out>) at /usr/src/sys/kern/lwkt_thread.c:328
475

    
476
(kgdb) frame 7
477
#7  0xffffffff837ad1e9 in do_intel_finish_page_flip (crtc=<optimized out>, dev=<optimized out>) at /usr/src/sys/dev/drm/i915/intel_display.c:10948
478
10948		do_intel_finish_page_flip(dev, crtc);
479
(kgdb) frame 6
480
#6  0xffffffff8379a2f4 in do_intel_finish_page_flip (dev=0xfffff801e0406500, crtc=0xfffff801e0dbe700) at /usr/src/sys/dev/drm/i915/intel_display.c:10930
481
10930		page_flip_completed(intel_crtc);
482
(kgdb) info locals
483
work = <optimized out>
484
(kgdb) p *dev
485
$5 = {legacy_dev_list = {next = 0x0, prev = 0x0}, if_version = 0, unique_len = 0, devnode = 0xfffff801e0399fc0, flags = 131075, irq_lock = {interlock = 0,
486
    last_td = 0xfffffffffffffffc}, dev_lock = {lk_flags = 64, lk_timo = 0, lk_count = 0, lk_wmesg = 0xffffffff8306d849 "drmdev", lk_lockholder = 0x0}, ref = {
487
    refcount = {counter = 0}}, dev = 0xfffff800d1ecf918, driver = 0xffffffff837f6080, dev_private = 0xfffff801e2625000, control = 0x0, primary = 0x0,
488
  render = 0x0, unplugged = {counter = 0}, anon_inode = 0x0, unique = 0x0, struct_mutex = {lk_flags = 64, lk_timo = 0, lk_count = 536870912,
489
    lk_wmesg = 0xffffffff8306d811 "drmslk", lk_lockholder = 0x0}, master_mutex = {lk_flags = 0, lk_timo = 0, lk_count = 536870912, lk_wmesg = 0x0,
490
    lk_lockholder = 0x0}, open_count = 1, buf_lock = {counta = 0, countb = 0}, buf_use = 0, buf_alloc = {counter = 0}, counters = 6, types = {_DRM_STAT_LOCK,
491
    _DRM_STAT_OPENS, _DRM_STAT_CLOSES, _DRM_STAT_IOCTLS, _DRM_STAT_LOCKS, _DRM_STAT_UNLOCKS, _DRM_STAT_LOCK, _DRM_STAT_LOCK, _DRM_STAT_LOCK, _DRM_STAT_LOCK,
492
    _DRM_STAT_LOCK, _DRM_STAT_LOCK, _DRM_STAT_LOCK, _DRM_STAT_LOCK, _DRM_STAT_LOCK}, counts = {{counter = 0}, {counter = 1}, {
493
      counter = 0} <repeats 13 times>}, magic_map = {idr_nodes = 0x0, idr_count = 0, idr_lastindex = 0, idr_freeindex = 0, idr_nexpands = 0, idr_maxwant = 0,
494
    idr_token = {t_count = 0, t_ref = 0x0, t_collisions = 0, t_desc = 0x0}}, filelist_mutex = {lk_flags = 0, lk_timo = 0, lk_count = 536870912,
495
    lk_wmesg = 0x0, lk_lockholder = 0x0}, filelist = {next = 0xfffff8020f0778f0, prev = 0xfffff8020f0778f0}, maplist = {next = 0xfffff801e04066f0,
496
    prev = 0xfffff801e04066f0}, map_hash = {table = 0x0, order = 0 '\000'}, ctxlist = {next = 0x0, prev = 0x0}, ctxlist_mutex = {lk_flags = 0, lk_timo = 0,
497
    lk_count = 0, lk_wmesg = 0x0, lk_lockholder = 0x0}, ctx_idr = {idr_nodes = 0x0, idr_count = 0, idr_lastindex = 0, idr_freeindex = 0, idr_nexpands = 0,
498
    idr_maxwant = 0, idr_token = {t_count = 0, t_ref = 0x0, t_collisions = 0, t_desc = 0x0}}, vmalist = {next = 0x0, prev = 0x0}, lock = {hw_lock = 0x0,
499
    file_priv = 0x0, lock_queue = {lock = {lk_flags = 64, lk_timo = 0, lk_count = 0, lk_wmesg = 0xffffffff8306d713 "lwq", lk_lockholder = 0x0}, task_list = {
500
        next = 0xfffff801e04067c0, prev = 0xfffff801e04067c0}}, lock_time = 0, spinlock = {counta = 0, countb = 0}, kernel_waiters = 0, user_waiters = 0,
501
    idle_has_lock = 0}, dma = 0x0, context_flag = 0, last_context = 0, irq_enabled = true, irq = 16, vblank_disable_allowed = false,
502
  vblank_disable_immediate = true, vblank = 0xfffff801e042e640, vblank_time_lock = {lk_flags = 64, lk_timo = 0, lk_count = 536870912,
503
    lk_wmesg = 0xffffffff8306e435 "drmvtl", lk_lockholder = 0x0}, vbl_lock = {lk_flags = 64, lk_timo = 0, lk_count = 536870912,
504
    lk_wmesg = 0xffffffff8306e42e "drmvbl", lk_lockholder = 0x0}, max_vblank_count = 4294967295, vblank_event_list = {next = 0xfffff801e0406860,
505
    prev = 0xfffff801e0406860}, event_lock = {lk_flags = 64, lk_timo = 0, lk_count = 134217729, lk_wmesg = 0xffffffff8306d80b "drmev",
506
    lk_lockholder = 0xfffff801f2879a00}, buf_sigio = 0x0, agp = 0x0, pdev = 0xfffff801e0316c40, platformdev = 0x0, virtdev = 0x0, sg = 0x0, num_crtcs = 2,
507
  drm_ttm_bdev = 0x0, sigdata = {context = 0, lock = 0x0}, agp_buffer_map = 0x0, agp_buffer_token = 0, mode_config = {mutex = {lk_flags = 64, lk_timo = 0,
508
      lk_count = 1, lk_wmesg = 0xffffffff8306d0af "drmmcm", lk_lockholder = 0xfffff800d24c4180}, connection_mutex = {mutex = {base = {lk_flags = 64,
509
          lk_timo = 0, lk_count = 5, lk_wmesg = 0xffffffff8306d1b6 "crtc_ww_class", lk_lockholder = 0xfffff800d24c4180}, ctx = 0xfffff801f3d77070,
510
        stamp = 19513, blocked = 0, unused01 = 0}, locked = {next = 0xfffff800d1eeb758, prev = 0xfffff800d1ef3318}}, acquire_ctx = 0xfffff801f3d77070,
511
    idr_mutex = {lk_flags = 64, lk_timo = 0, lk_count = 536870912, lk_wmesg = 0xffffffff8306d0b6 "mcfgidr", lk_lockholder = 0x0}, crtc_idr = {
512
      idr_nodes = 0xfffff801e045b000, idr_count = 255, idr_lastindex = 53, idr_freeindex = 0, idr_nexpands = 0, idr_maxwant = 0, idr_token = {t_count = 0,
513
        t_ref = 0x0, t_collisions = 0, t_desc = 0xffffffff80c27b9e "idr token"}}, tile_idr = {idr_nodes = 0xfffff801e045c000, idr_count = 255,
514
      idr_lastindex = -1, idr_freeindex = 0, idr_nexpands = 0, idr_maxwant = 0, idr_token = {t_count = 0, t_ref = 0x0, t_collisions = 0,
515
        t_desc = 0xffffffff80c27b9e "idr token"}}, fb_lock = {lk_flags = 64, lk_timo = 0, lk_count = 536870912, lk_wmesg = 0xffffffff8306d0be "drmfbl",
516
      lk_lockholder = 0x0}, num_fb = 3, fb_list = {next = 0xfffff800d537c078, prev = 0xfffff800d537b928}, num_connector = 4, connector_ida = {idr = {
517
        idr_nodes = 0xfffff801e045d000, idr_count = 255, idr_lastindex = -1, idr_freeindex = 0, idr_nexpands = 0, idr_maxwant = 0, idr_token = {t_count = 0,
518
          t_ref = 0x0, t_collisions = 0, t_desc = 0xffffffff80c27b9e "idr token"}}, free_bitmap = 0x0}, connector_list = {next = 0xfffff801e16d9098,
519
      prev = 0xfffff800d514ef18}, num_encoder = 4, encoder_list = {next = 0xfffff800d245d808, prev = 0xfffff801e0da0a08}, num_overlay_plane = 2,
520
    num_total_plane = 6, plane_list = {next = 0xfffff800d3c82488, prev = 0xfffff800d3c83248}, num_crtc = 2, crtc_list = {next = 0xfffff801e0dbe710,
521
      prev = 0xfffff801e0dbf010}, property_list = {next = 0xfffff800d1de03d0, prev = 0xfffff800d1de1000}, min_width = 0, min_height = 0, max_width = 8192,
522
    max_height = 8192, funcs = 0xffffffff8381ecc0, fb_base = 2952790016, poll_enabled = true, poll_running = true, delayed_event = true, output_poll_work = {
523
      work = {work_task = {ta_link = {stqe_next = 0x0}, ta_pending = 0, ta_priority = 0, ta_func = 0xffffffff83059770 <_work_fn>,
524
          ta_context = 0xfffff801e0406b18}, taskqueue = 0x0, func = 0xffffffff83059f20 <output_poll_execute>}, timer = {toc = {spin = {counta = 0,
525
            countb = 0}, entry = {tqe_next = 0x0, tqe_prev = 0x0}, verifier = 0xfffff801e0406b48, flags = 1025, lineno = 487, lk = 0x0,
526
          ident = 0xffffffff83072c00 "/usr/src/sys/dev/drm/drm/../drm_probe_helper.c", rsc = 0x0, rarg = 0x0, rfunc = 0x0, rtick = 0, unused01 = 0, qsc = 0x0,
527
          qarg = 0x0, qfunc = 0x0, qtick = 0, waiters = 0}, flags = 1025}}, blob_lock = {lk_flags = 64, lk_timo = 0, lk_count = 536870912,
528
      lk_wmesg = 0xffffffff8306d0c5 "drmcbl", lk_lockholder = 0x0}, property_blob_list = {next = 0xfffff800d51fca90, prev = 0xfffff801e0d868d0},
529
    edid_property = 0xfffff800d1de03d0, dpms_property = 0xfffff800d1de0448, path_property = 0xfffff800d1de04c0, tile_property = 0xfffff800d1de0538,
530
    plane_type_property = 0xfffff800d1de05b0, rotation_property = 0xfffff800d1de0e20, prop_src_x = 0xfffff800d1de0628, prop_src_y = 0xfffff800d1de06a0,
531
    prop_src_w = 0xfffff800d1de0718, prop_src_h = 0xfffff800d1de0790, prop_crtc_x = 0xfffff800d1de0808, prop_crtc_y = 0xfffff800d1de0880,
532
    prop_crtc_w = 0xfffff800d1de08f8, prop_crtc_h = 0xfffff800d1de0970, prop_fb_id = 0xfffff800d1de09e8, prop_crtc_id = 0xfffff800d1de0a60,
533
    prop_active = 0xfffff800d1de0ad8, prop_mode_id = 0xfffff800d1de0b50, dvi_i_subconnector_property = 0x0, dvi_i_select_subconnector_property = 0x0,
534
    tv_subconnector_property = 0x0, tv_select_subconnector_property = 0x0, tv_mode_property = 0x0, tv_left_margin_property = 0x0,
535
    tv_right_margin_property = 0x0, tv_top_margin_property = 0x0, tv_bottom_margin_property = 0x0, tv_brightness_property = 0x0, tv_contrast_property = 0x0,
536
    tv_flicker_reduction_property = 0x0, tv_overscan_property = 0x0, tv_saturation_property = 0x0, tv_hue_property = 0x0,
537
---Type <return> to continue, or q <return> to quit---
538
    scaling_mode_property = 0xfffff800d1de0e98, aspect_ratio_property = 0xfffff800d1de1000, dirty_info_property = 0x0,
539
    degamma_lut_property = 0xfffff800d1de0bc8, degamma_lut_size_property = 0xfffff800d1de0c40, ctm_property = 0xfffff800d1de0cb8,
540
    gamma_lut_property = 0xfffff800d1de0d30, gamma_lut_size_property = 0xfffff800d1de0da8, suggested_x_property = 0x0, suggested_y_property = 0x0,
541
    preferred_depth = 24, prefer_shadow = 1, async_page_flip = false, allow_fb_modifiers = true, cursor_width = 256, cursor_height = 256}, object_name_lock = {
542
    lk_flags = 64, lk_timo = 0, lk_count = 536870912, lk_wmesg = 0xffffffff8306dcb2 "objnam", lk_lockholder = 0x0}, object_name_idr = {
543
    idr_nodes = 0xfffff801e045a000, idr_count = 255, idr_lastindex = -1, idr_freeindex = 0, idr_nexpands = 0, idr_maxwant = 0, idr_token = {t_count = 0,
544
      t_ref = 0x0, t_collisions = 0, t_desc = 0xffffffff80c27b9e "idr token"}}, vma_offset_manager = 0x0, switch_power_state = 0, pcir = {0x0, 0x0, 0x0, 0x0,
545
    0x0, 0x0}, pcirid = {0, 0, 0, 0, 0, 0}, pci_domain = 0, pci_bus = 0, pci_slot = 2, pci_func = 0, id_entry = 0xffffffff837f6040,
546
  busid_str = "pci:0000:00:02.0", '\000' <repeats 111 times>, modesetting = 1, mm_private = 0xfffff801e0e0c200, sysctl = 0xfffff800d1e45528}
547
(kgdb)
548

    
549

    
550
---
551

    
552

    
553
1 - the weston thread is trying acquire a lock which is held by "ithread16 2"
554
2 - in the "ithread16 2" backtrace, the lock has been acquired in do_intel_finish_page_flip: 10919: spin_lock_irqsave(&dev->event_lock, flags);
555
  - spin_lock_irqsave(lock, flags) = spin_lock_irq(lock) = lockmgr(lock, LK_EXCLUSIVE)
556

    
557
Note: not sure why in the "ithread16 2" backtrace, do_intel_finish_page_flip() appears twice. Since do_intel_finish_page_flip() acquires dev->event_lock ("drmev"), could it mean the lock is not be released? Or something else is happening. . .
558

    
(2-2/2)