Gentoo Archives: gentoo-user

From: Jarry <mr.jarry@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] error compiling kernel: watchdog missing?
Date: Mon, 02 Jul 2012 17:18:22
Message-Id: 4FF1D6A5.4090800@gmail.com
In Reply to: Re: [gentoo-user] error compiling kernel: watchdog missing? by Paul Hartman
1 On 01-Jul-12 20:13, Paul Hartman wrote:
2 >> --------------------------------------------
3 >> CC arch/x86/kernel/process_64.o
4 >> CC arch/x86/kernel/signal.o
5 >> AS arch/x86/kernel/entry_64.o
6 >> CC arch/x86/kernel/traps.o
7 >> arch/x86/kernel/traps.c: In function âdefault_do_nmiâ:
8 >> arch/x86/kernel/traps.c:509:3: error: implicit declaration of function
9 >> ânmi_watchdog_tickâ
10 >> arch/x86/kernel/traps.c:512:3: error: implicit declaration of function
11 >> âdo_nmi_callbackâ
12 >> make[2]: *** [arch/x86/kernel/traps.o] Error 1
13 >> make[1]: *** [arch/x86/kernel] Error 2
14 >> make: *** [arch/x86] Error 2
15 >> --------------------------------------------
16 >
17 > I would backup your .config then run "make oldconfig", this should do
18 > some dependency checks on your configuration choices. Afterward you
19 > can diff the two files and see if anything has changed. Otherwise I
20
21 I tried it, but nothing changed (except for date/time of config file).
22
23 > would try "make clean" and start the build over in case it somehow
24 > became confused.
25
26 Still the same. I checked corresponding part of traps.c:
27 -----------------------------------------------
28 #ifndef CONFIG_LOCKUP_DETECTOR
29 /*
30 * Ok, so this is none of the documented NMI sources,
31 * so it must be the NMI watchdog.
32 */
33 if (nmi_watchdog_tick(regs, reason) +
34 do_nmi_show_regs(regs, cpu))
35 return;
36 if (!do_nmi_callback(regs, cpu))
37 #endif /* !CONFIG_LOCKUP_DETECTOR */
38 -----------------------------------------------
39
40 Does this mean that if CONFIG_LOCKUP_DETECTOR is *not* set,
41 then this part of code is active? Then I'd better activate it.
42 The only problem is I can not find this option in config...
43
44 Jarry
45 --
46 _______________________________________________________________
47 This mailbox accepts e-mails only from selected mailing-lists!
48 Everything else is considered to be spam and therefore deleted.

Replies

Subject Author
Re: [gentoo-user] error compiling kernel: watchdog missing? Frank Peters <frank.peters@×××××××.net>