From: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
dmitry.adamushko@gmail.com,
Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>,
Dhaval Giani <dhaval@linux.vnet.ibm.com>,
Andy Whitcroft <apw@shadowen.org>,
Balbir Singh <balbir@linux.vnet.ibm.com>
Subject: Re: Linux 2.6.24-rc7 kernel BUG at kernel/sched.c:5156!
Date: Mon, 07 Jan 2008 17:43:40 +0530 [thread overview]
Message-ID: <47821774.8010701@linux.vnet.ibm.com> (raw)
In-Reply-To: <alpine.LFD.1.00.0801061410290.3148@woody.linux-foundation.org>
Hi,
When booting the 2.6.24-rc7 kernel on the powerpc, kernel bug at
kernel.sched.c is triggered
[ 0.000000] Kernel command line: ro console=hvc0 rhgb quiet root=LABEL=/
[ 0.149567] BUG: scheduling while atomic: kthreadd/2/0x0006f34c
[ 0.149655] BUG: scheduling while atomic: kthreadd/3/0xbe0d8168
[ 0.149714] ------------[ cut here ]------------
[ 0.149722] kernel BUG at kernel/sched.c:5156!
cpu 0x0: Vector: 700 (Program Check) at [c0000001be0dbd70]
pc: c00000000006c090: .migration_thread+0x64/0x31c
lr: c00000000008e348: .kthread+0x78/0xc4
sp: c0000001be0dbff0
msr: 8000000000029032
current = 0xc0000000ee11ccc0
paca = 0xc000000000532d00
pid = 3, comm = kthreadd
kernel BUG at kernel/sched.c:5156!
enter ? for help
[c0000001be0dc0b0] c00000000008e348 .kthread+0x78/0xc4
[c0000001be0dc140] c00000000002a550 .kernel_thread+0x4c/0x68
0:mon> t
[c0000001be0dc0b0] c00000000008e348 .kthread+0x78/0xc4
[c0000001be0dc140] c00000000002a550 .kernel_thread+0x4c/0x68
0:mon> r
R00 = 0000000000000001 R16 = 4000000001c00000
R01 = c0000001be0dbff0 R17 = c000000000403920
R02 = c0000000006072f8 R18 = 0000000000000000
R03 = 0000000000000000 R19 = 000000000019b000
R04 = c0000000ee11ccc0 R20 = c0000000004c9550
R05 = 0000000000000000 R21 = 00000000020c9550
R06 = c000000000532d00 R22 = 00000000020c97c0
R07 = c0000001be0d81b0 R23 = c0000000004c97c0
R08 = 0000000000000000 R24 = 00000000018bf8d0
R09 = c0000000ee11ccbf R25 = 0000000000000000
R10 = fffffffffffffffc R26 = c0000000006a4968
R11 = c000000000532d00 R27 = c0000000006a00b0
R12 = c00000000002a550 R28 = c0000000ee143c98
R13 = c000000000532d00 R29 = c000000000f35b80
R14 = 0000000000000000 R30 = c0000000005b4190
R15 = c0000000004050a0 R31 = c0000000005cf910
pc = c00000000006c090 .migration_thread+0x64/0x31c
lr = c00000000008e348 .kthread+0x78/0xc4
msr = 8000000000029032 cr = 28000024
ctr = c00000000006c02c xer = 0000000020000004 trap = 700
(gdb) p kthread
$1 = {int (void *)} 0xc00000000008e2d0 <kthread>
(gdb) p/x 0xc00000000008e2d0+0x78
$2 = 0xc00000000008e348
(gdb) l *0xc00000000008e348
0xc00000000008e348 is in kthread (kernel/kthread.c:78).
73 __set_current_state(TASK_UNINTERRUPTIBLE);
74 complete(&create->started);
75 schedule();
76
77 if (!kthread_should_stop())
78 ret = threadfn(data);
79
80 /* It might have exited on its own, w/o kthread_stop. Check. */
81 if (kthread_should_stop()) {
82 kthread_stop_info.err = ret;
--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.
next prev parent reply other threads:[~2008-01-07 12:14 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-06 22:19 Linux 2.6.24-rc7 Linus Torvalds
2008-01-06 23:52 ` Mark Lord
2008-01-07 0:08 ` Linus Torvalds
2008-01-07 0:35 ` Tejun Heo
2008-01-07 8:48 ` Linux 2.6.24-rc7 Build Failure on headers_install Kamalesh Babulal
2008-01-07 10:12 ` Sam Ravnborg
2008-01-08 10:51 ` Kamalesh Babulal
2008-01-08 13:10 ` Sam Ravnborg
2008-01-07 10:36 ` Linux 2.6.24-rc7 Build-Failure at __you_cannot_kmalloc_that_much Kamalesh Babulal
2008-01-07 18:07 ` Andrew Morton
2008-01-07 18:31 ` Christoph Lameter
2008-01-07 19:38 ` Andrew Morton
2008-01-08 9:56 ` Jean Delvare
2008-01-08 10:44 ` Kamalesh Babulal
2008-01-08 12:34 ` Fix for __you_cannot_kmalloc_that_much failure with gcc 3.2 Jean Delvare
2008-01-08 4:20 ` Linux 2.6.24-rc7 Build-Failure at __you_cannot_kmalloc_that_much Arjan van de Ven
2008-01-08 5:23 ` Christoph Lameter
2008-01-08 8:20 ` Kamalesh Babulal
2008-01-08 9:27 ` Balbir Singh
2008-01-08 7:48 ` Jean Delvare
2008-01-07 12:13 ` Kamalesh Babulal [this message]
2008-01-08 16:16 ` [powerpc crash] Re: Linux 2.6.24-rc7 kernel BUG at kernel/sched.c:5156! Ingo Molnar
2008-01-07 15:53 ` Linux 2.6.24-rc7 Alejandro Riveira Fernández
2008-01-07 16:27 ` smpboot_64 section mismatch warning Sam Ravnborg
2008-01-07 16:31 ` section mismatch warning in head_64.S Sam Ravnborg
2008-01-15 10:18 ` Alejandro Riveira Fernández
2008-01-07 23:27 ` smpboot_64 section mismatch warning David Howells
2008-01-08 9:14 ` Alejandro Riveira Fernández
2008-01-08 11:17 ` David Howells
2008-01-07 16:14 ` Linux 2.6.24-rc7 Alejandro Riveira Fernández
2008-01-07 16:24 ` Michael Buesch
2008-01-07 16:52 ` Alejandro Riveira Fernández
2008-01-07 17:30 ` Michael Buesch
2008-01-07 20:23 ` Alejandro Riveira Fernández
2008-01-08 15:30 ` Michael Buesch
2008-01-08 15:55 ` Alejandro Riveira Fernández
2008-01-08 0:50 ` J.A. Magallón
2008-01-09 1:32 ` Avuton Olrich
2008-01-09 1:56 ` Tejun Heo
2008-01-10 9:25 ` J.A. Magallón
2008-01-10 13:10 ` Tejun Heo
2008-01-13 23:19 ` J.A. Magallón
2008-01-13 23:57 ` Tejun Heo
2008-01-14 23:38 ` J.A. Magallón
2008-01-14 23:56 ` Tejun Heo
2008-01-08 18:42 ` Linux 2.6.24-rc7: sparc64: WARNING: at kernel/lockdep_proc.c:267 lockdep_stats_show() Mariusz Kozlowski
2008-01-08 21:00 ` Randy Dunlap
2008-01-08 22:39 ` Mariusz Kozlowski
2008-01-08 22:45 ` Randy Dunlap
2008-01-09 16:31 ` Mariusz Kozlowski
2008-01-08 22:50 ` David Miller
2008-01-08 22:56 ` Ingo Molnar
2008-01-08 23:06 ` David Miller
2008-01-09 0:52 ` Ingo Molnar
2008-01-09 1:17 ` Linux 2.6.24-rc7 Willy Tarreau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47821774.8010701@linux.vnet.ibm.com \
--to=kamalesh@linux.vnet.ibm.com \
--cc=a.p.zijlstra@chello.nl \
--cc=apw@shadowen.org \
--cc=balbir@linux.vnet.ibm.com \
--cc=dhaval@linux.vnet.ibm.com \
--cc=dmitry.adamushko@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=vatsa@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome