From: Andrew Morton <akpm@osdl.org>
To: Stefano Rivoir <s.rivoir@gts.it>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.9-rc3-mm2
Date: Mon, 4 Oct 2004 12:18:05 -0700 [thread overview]
Message-ID: <20041004121805.2bffcd99.akpm@osdl.org> (raw)
In-Reply-To: <4161462A.5040806@gts.it>
Stefano Rivoir <s.rivoir@gts.it> wrote:
>
> Andrew Morton wrote:
>
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9-rc3/2.6.9-rc3-mm2/
> >
> >
> > - Hopefully those x86 compile errors are fixed up.
> >
> > - Various fairly minor updates
>
> (#ifdef around is_irq_stack_ptr already applied)
>
> Kernel BUGs at boot time, here is what I see (copied by hand, I hope
> Stack and Code hex values are not that important :)):
>
> [...]
> IP: routing cache hash table of 4096 buckets, 32KBytes
> kmem_cache_create: Early error in slab ip_fib_hash
> -----[ cut here ] -----
> kernel BUG at mm/slab.c:1185!
> invalid operand: 0000 [#1]
> PREEMPT
> Modules linked in:
> CPU: 0
> EIP: 0060:[<c01348f6>] Not tainted VLI
> EFLAGS: 00010282 (2.6.9-rc3-mm2)
> EIP is at kmem_cache_create+0x51d/0x53e
> eax: 00000036 ebx: 00000000 ecx: c02b7f04 edx: 00001d9f
> esi: 00000000 edi: 000000ff ebp: c15fe3c0 esp: dff83f30
> ds: 007b es: 007b ss: 0068
> Process swapper: (pid: 1, threadinfo=dff82000 task=dff815f0)
> Stack: (stripped, hope you don't need this :)
> Call trace:
> [<>] fib_hash_init+0xd8/0xe2
> [<>] ip_fib_init+0xa/0x32
> [<>] ip_rt_init+0x1cc/0x2e3
> [<>] ip_init+0xf/0x14
> [<>] inet_init+0xd0/0x1b3
> [<>] do_initcalls+0x27/0xad
> [<>] init+0x0/0xf8
> [<>] init+0x0/0xf8
> [<>] init+0x2a/0xf8
> [<>] kernel_thread_helper+0x0/0xb
> [<>] kernel_thread_helper+0x5/0xb
That's odd. I'd be suspecting that in_interrupt() is falsely returning true.
Can you try this patch, see what it says?
And can you send the .config along?
diff -puN mm/slab.c~a mm/slab.c
--- 25/mm/slab.c~a 2004-10-04 12:16:00.808822288 -0700
+++ 25-akpm/mm/slab.c 2004-10-04 12:17:25.822898184 -0700
@@ -1180,6 +1180,9 @@ kmem_cache_create (const char *name, siz
(size < BYTES_PER_WORD) ||
(size > (1<<MAX_OBJ_ORDER)*PAGE_SIZE) ||
(dtor && !ctor)) {
+ printk("in_interrupt(): %ld\n", in_interrupt());
+ printk("preempt_count(): %x\n", preempt_count());
+ printk("size: %zd\n", size);
printk(KERN_ERR "%s: Early error in slab %s\n",
__FUNCTION__, name);
BUG();
_
next prev parent reply other threads:[~2004-10-04 19:35 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-04 9:02 2.6.9-rc3-mm2 Andrew Morton
2004-10-04 10:36 ` 2.6.9-rc3-mm2 Mathieu Segaud
2004-10-04 15:39 ` 2.6.9-rc3-mm2 Norberto Bensa
[not found] ` <87k6u6mp5z.fsf@barad-dur.crans.org>
2004-10-04 16:33 ` 2.6.9-rc3-mm2 Norberto Bensa
2004-10-04 12:15 ` 2.6.9-rc3-mm2 Stephane Jourdois
2004-10-05 0:36 ` 2.6.9-rc3-mm2 Andrew Rodland
2004-10-05 17:45 ` 2.6.9-rc3-mm2 Stephane Jourdois
2004-10-04 12:46 ` 2.6.9-rc3-mm2 Stefano Rivoir
2004-10-04 19:18 ` Andrew Morton [this message]
2004-10-04 21:12 ` 2.6.9-rc3-mm2 Grant Wilson
2004-10-04 21:32 ` 2.6.9-rc3-mm2 Andrew Morton
2004-10-04 21:39 ` 2.6.9-rc3-mm2 Andrew Morton
2004-10-04 21:52 ` 2.6.9-rc3-mm2 Grant Wilson
2004-10-04 22:02 ` 2.6.9-rc3-mm2 Hua Zhong
2004-10-04 22:11 ` 2.6.9-rc3-mm2 Grant Wilson
2004-10-05 6:56 ` 2.6.9-rc3-mm2 Stefano Rivoir
2004-10-04 17:13 ` 2.6.9-rc3-mm2 Pasi Savolainen
2004-10-05 9:25 ` 2.6.9-rc3-mm2 Peter Zijlstra
2004-10-05 9:30 ` 2.6.9-rc3-mm2 Peter Zijlstra
2004-10-05 12:06 ` 2.6.9-rc3-mm2 Hugh Dickins
2004-10-05 13:28 ` 2.6.9-rc3-mm2 Peter Zijlstra
2004-10-06 10:54 ` 2.6.9-rc3-mm2 Hugh Dickins
2004-10-06 10:57 ` 2.6.9-rc3-mm2 Ingo Molnar
2004-10-07 0:53 ` 2.6.9-rc3-mm2 Pasi Savolainen
2004-10-04 17:19 ` 2.6.9-rc3-mm2 (compile stats) John Cherry
2004-10-04 19:56 ` 2.6.9-rc3-mm2 Christian Borntraeger
2004-10-04 21:39 ` 2.6.9-rc3-mm2 Dominik Karall
2004-10-04 23:41 ` 2.6.9-rc3-mm2 ip_conntrack problems Ed Tomlinson
2004-10-05 0:08 ` Andrew Morton
2004-10-05 23:13 ` Ed Tomlinson
2004-10-05 23:53 ` Andrew Morton
2004-10-05 3:12 ` 2.6.9-rc3-mm2 Andrew Rodland
2004-10-05 9:25 ` 2.6.9-rc3-mm2 Dominik Karall
2004-10-05 14:07 ` 2.6.9-rc3-mm2 Dominik Karall
2004-10-05 14:21 ` 2.6.9-rc3-mm2 Con Kolivas
2004-10-15 1:38 ` 2.6.9-rc3-mm2 Rusty Russell
2004-10-15 1:44 ` 2.6.9-rc3-mm2 Andrew Morton
2004-10-15 2:05 ` 2.6.9-rc3-mm2 Rusty Russell
2004-10-15 2:09 ` 2.6.9-rc3-mm2 Andrew Morton
2004-10-15 3:07 ` 2.6.9-rc3-mm2 Rusty Russell
-- strict thread matches above, loose matches on Subject: below --
2004-10-04 10:40 2.6.9-rc3-mm2 Karsten Wiese
2004-10-06 20:28 ` 2.6.9-rc3-mm2 Hanna Linder
2004-10-04 14:34 2.6.9-rc3-mm2 Karsten Wiese
2004-10-04 19:23 ` 2.6.9-rc3-mm2 Andrew Morton
2004-10-04 19:25 ` 2.6.9-rc3-mm2 Andrew Morton
2004-10-04 21:26 ` 2.6.9-rc3-mm2 Ingo Molnar
2004-10-04 21:35 ` 2.6.9-rc3-mm2 Andrew Morton
2004-10-04 21:37 ` 2.6.9-rc3-mm2 Andrew Morton
2004-10-04 21:48 ` 2.6.9-rc3-mm2 Ingo Molnar
2004-10-05 0:05 ` 2.6.9-rc3-mm2 Karsten Wiese
2004-10-05 0:17 ` 2.6.9-rc3-mm2 Andrew Morton
2004-10-07 5:55 2.6.9-rc3-mm2 Sid Boyce
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=20041004121805.2bffcd99.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=s.rivoir@gts.it \
/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