1 |
This is weird |
2 |
|
3 |
syzygy@lumby ~ $ grep DEBUG_FS /usr/src/linux/.config |
4 |
# CONFIG_DEBUG_FS is not set |
5 |
|
6 |
But the entry in menuconfig ->kernel hacking looks like this:' -*- |
7 |
Debug Filesystem', and can't be changed. Not '[*]' which is |
8 |
changeable with the spacebar, but '-*-' which is not. |
9 |
|
10 |
According to <help> it depends on TREE_RCU_TRACE=y OR <a whole bunch |
11 |
of other stuff>. |
12 |
|
13 |
But I have TREE_RCU_TRACE=y. So I should be good right? But then why |
14 |
doesn't it select DEBUG_FS? |
15 |
|
16 |
googling lead me to http://en.wikipedia.org/wiki/Debugfs, which says |
17 |
do: 'mount -t debugfs none /sys/kernel/debug'. Ok, but there's no |
18 |
debug file or dir under /sys/kernel. Do I make one? And will it make a |
19 |
difference since according to grep DEBUG_FS is not set in the kernel |
20 |
config? |
21 |
|
22 |
I'll go and make the new kernel and see what happens. |
23 |
|
24 |
|
25 |
On 6/30/12, Maxim Wexler <maxim.wexler@×××××.com> wrote: |
26 |
>> Hi, |
27 |
>> |
28 |
>> I don't have an answer, but if you google the phrase "rcu_bh detected |
29 |
>> stall on CPU" you can find many reports similar to yours and maybe |
30 |
>> some information. |
31 |
> |
32 |
> This might be usefu |
33 |
> lhttp://www.kernel.org/doc/Documentation/RCU/stallwarn.txt |
34 |
> |
35 |
> "RCU bugs can often be debugged with the help of CONFIG_RCU_TRACE" |
36 |
> |
37 |
> from <help> in menuconfig. |
38 |
> |
39 |
> │ This option provides tracing in RCU which presents stats |
40 |
> │ |
41 |
> │ in debugfs for debugging RCU implementation. |
42 |
> |
43 |
> Ok, so I've set the RCU_TRACE=y. Next question: How do I use debugfs, |
44 |
> never used it before? |
45 |
> |
46 |
>> |
47 |
>> Do you have RCU_CPU_STALL_INFO=y in your kernel config? |
48 |
> |
49 |
> no. |
50 |
> |
51 |
> syzygy@lumby ~ $ grep RCU /usr/src/linux/.config |
52 |
> # RCU Subsystem |
53 |
> CONFIG_TREE_RCU=y |
54 |
> # CONFIG_PREEMPT_RCU is not set |
55 |
> # CONFIG_RCU_TRACE is not set |
56 |
> CONFIG_RCU_FANOUT=32 |
57 |
> # CONFIG_RCU_FANOUT_EXACT is not set |
58 |
> # CONFIG_RCU_FAST_NO_HZ is not set |
59 |
> # CONFIG_TREE_RCU_TRACE is not set |
60 |
> # CONFIG_SPARSE_RCU_POINTER is not set |
61 |
> CONFIG_RCU_CPU_STALL_TIMEOUT=60 |
62 |
> |