Gentoo Archives: gentoo-user

From: John Covici <covici@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] kernel bad scheduling from idle thread
Date: Tue, 13 Oct 2020 08:08:41
Message-Id: m3mu0qsg3k.wl-covici@ccs.covici.com
In Reply to: Re: [gentoo-user] kernel bad scheduling from idle thread by "J. Roeleveld"
1 On Tue, 13 Oct 2020 03:39:48 -0400,
2 J. Roeleveld wrote:
3 >
4 > On Tuesday, October 13, 2020 9:26:08 AM CEST John Covici wrote:
5 > > Hi. I am getting a very bad problem on my new kernel that I did after
6 > > my last update. It gave me the following sequence over and over for a
7 > > while, and then stopped with the messages, but the system crashed. I
8 > > then went back to my old kernel which had been working for more than a
9 > > month and got a couple of the same traces, but I hope its stopped, so
10 > > I can write this message. A google search finds nothing relevant.
11 > >
12 > > Here is what I get:
13 > >
14 > > Oct 13 02:34:40 ccs.covici.com kernel: bad: scheduling from the idle
15 > > thread!
16 > > Oct 13 02:34:40 ccs.covici.com kernel: CPU: 5 PID: 0 Comm: swapper/5
17 > > Tainted: P W O 5.4.69-gentoo #1
18 > > Oct 13 02:34:40 ccs.covici.com kernel: Hardware name: Supermicro Super
19 > > Server/X11SCA-W, BIOS 1.2 12/05/2019
20 > > Oct 13 02:34:40 ccs.covici.com kernel: Call Trace:
21 > > Oct 13 02:34:40 ccs.covici.com kernel: dump_stack+0x71/0x98
22 > > Oct 13 02:34:40 ccs.covici.com kernel: dequeue_task_idle+0x1f/0x28
23 > > Oct 13 02:34:40 ccs.covici.com kernel: __schedule+0x167/0x5d6
24 > > Oct 13 02:34:40 ccs.covici.com kernel: schedule_idle+0x2a/0x33
25 > > Oct 13 02:34:40 ccs.covici.com kernel: do_idle+0x1d0/0x1f2
26 > > Oct 13 02:34:40 ccs.covici.com kernel: cpu_startup_entry+0x1d/0x1f
27 > > Oct 13 02:34:40 ccs.covici.com kernel: start_secondary+0x17b/0x198
28 > > Oct 13 02:34:40 ccs.covici.com kernel: secondary_startup_64+0xa4/0xb0
29 > > Oct 13 02:34:40 ccs.covici.com kernel: bad: scheduling from the idle
30 > > thread!
31 > > Oct 13 02:34:40 ccs.covici.com kernel: CPU: 5 PID: 0 Comm: swapper/5
32 > > Tainted: P W O 5.4.69-gentoo #1
33 > > Oct 13 02:34:40 ccs.covici.com kernel: Hardware name: Supermicro Super
34 > > Server/X11SCA-W, BIOS 1.2 12/05/2019
35 > > Oct 13 02:34:40 ccs.covici.com kernel: Call Trace:
36 > > Oct 13 02:34:40 ccs.covici.com kernel: dump_stack+0x71/0x98
37 > > Oct 13 02:34:40 ccs.covici.com kernel: dequeue_task_idle+0x1f/0x28
38 > > Oct 13 02:34:40 ccs.covici.com kernel: __schedule+0x167/0x5d6
39 > > Oct 13 02:34:40 ccs.covici.com kernel: schedule_idle+0x2a/0x33
40 > > Oct 13 02:34:40 ccs.covici.com kernel: do_idle+0x1d0/0x1f2
41 > > Oct 13 02:34:40 ccs.covici.com kernel: cpu_startup_entry+0x1d/0x1f
42 > > Oct 13 02:34:40 ccs.covici.com kernel: start_secondary+0x17b/0x198
43 > > Oct 13 02:34:40 ccs.covici.com kernel: secondary_startup_64+0xa4/0xb0
44 > >
45 > >
46 > > How would I even be able to find out what is happening here?
47 > >
48 > > Any thoughts appreciated.
49 >
50 > Which kernel versions have you tried?
51 > And which additional kernel modules have you added?
52 >
53 > I myself am using 5.4.66 as previous versions were causing kernel panics.
54 >
55
56 This is the first 5.4 kernel I have tried. I did a make oldconfig and
57 added a number of modules, but I would think the kernel would only
58 load the ones that are needed. I could not tell you the exact ones,
59 as I try to make the kernel somewhat general, so I may add things
60 which may not be necessary for my particular situation.
61
62 --
63 Your life is like a penny. You're going to lose it. The question is:
64 How do
65 you spend it?
66
67 John Covici wb2una
68 covici@××××××××××.com

Replies

Subject Author
Re: [gentoo-user] kernel bad scheduling from idle thread Adam Carter <adamcarter3@×××××.com>