linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Pekka Enberg" <penberg@cs.helsinki.fi>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org, James Morris <jmorris@namei.org>,
	Stephen Smalley <sds@tycho.nsa.gov>
Subject: Re: 2.6.25-mm1: not looking good
Date: Fri, 18 Apr 2008 09:40:07 +0300	[thread overview]
Message-ID: <84144f020804172340l79f9c815u42e4dad69dada299@mail.gmail.com> (raw)
In-Reply-To: <20080417160331.b4729f0c.akpm@linux-foundation.org>

On Fri, Apr 18, 2008 at 2:03 AM, Andrew Morton
<akpm@linux-foundation.org> wrote:
>  After 10 or fifteen minutes uptime, slab declared game over:
>
>  kernel BUG at mm/slab.c:590!
>  invalid opcode: 0000 [1] SMP
>  last sysfs file: /sys/devices/pci0000:00/0000:00:02.0/0000:01:00.0/0000:02:02.0/0000:05:00.1/irq
>  CPU 5
>  Modules linked in: nfsd auth_rpcgss exportfs lockd nfs_acl autofs4 hidp rfcomm l2cap bluetooth sunrpc ipv6 dm_mirror dm_log dm_multipath dm_mod sbs sbshc battery ac parport_pc lp parport sg floppy snd_hda_intel snd_seq_dummy ide_cd_mod cdrom snd_seq_oss snd_seq_midi_event snd_seq serio_raw snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer i2c_i801 snd button soundcore i2c_core snd_page_alloc shpchp pcspkr ehci_hcd ohci_hcd uhci_hcd
>  Pid: 0, comm: swapper Tainted: G        W 2.6.25-mm1 #4
>  RIP: 0010:[<ffffffff8028fea8>]  [<ffffffff8028fea8>] page_get_cache+0x19/0x24
>  RSP: 0018:ffff81025f22fe88  EFLAGS: 00010046
>  RAX: 0000000000000000 RBX: ffffe20000028440 RCX: 0000000000000007
>  RDX: 0000000000000000 RSI: ffffe20000028440 RDI: 0000000000000040
>  RBP: ffff81025f22fe90 R08: 0000000000000006 R09: ffff810001080fe8
>  R10: ffff8100010b7a40 R11: ffff8100010b7a28 R12: 0000000000000282
>  R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000000
>  FS:  0000000000000000(0000) GS:ffff81025f1616c0(0000) knlGS:0000000000000000
>  CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
>  CR2: 0000003e5f0948f0 CR3: 000000024a01e000 CR4: 00000000000006e0
>  DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
>  DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
>  Process swapper (pid: 0, threadinfo ffff81025f22a000, task ffff81025f2294a0)
>  Stack:  ffffffff80a11690 ffff81025f22fea0 ffffffff8028fec4 ffff81025f22fec0
>   ffffffff802909af 0000000000000000 ffff8100010b4820 ffff81025f22fed0
>   ffffffff80327789 ffff81025f22ff00 ffffffff80268932 0000000000000001
>  Call Trace:
>   <IRQ>  [<ffffffff8028fec4>] virt_to_cache+0x11/0x13
>   [<ffffffff802909af>] kfree+0x20/0x38
>   [<ffffffff80327789>] sel_netnode_free+0xd/0xf
>   [<ffffffff80268932>] __rcu_process_callbacks+0x147/0x1b6
>   [<ffffffff802689c4>] rcu_process_callbacks+0x23/0x44
>   [<ffffffff8023cc04>] __do_softirq+0x58/0xae
>   [<ffffffff8020d1cc>] call_softirq+0x1c/0x28
>   [<ffffffff8020ed5c>] do_softirq+0x2f/0x6f
>   [<ffffffff8023c72e>] irq_exit+0x36/0x38
>   [<ffffffff8021dedc>] smp_apic_timer_interrupt+0x74/0x81
>   [<ffffffff8020cc76>] apic_timer_interrupt+0x66/0x70
>   <EOI>  [<ffffffff8020a2e1>] ? mwait_idle+0x38/0x42
>   [<ffffffff8020a2a9>] ? mwait_idle+0x0/0x42
>   [<ffffffff8020b2ff>] ? cpu_idle+0xcb/0xe0
>   [<ffffffff804eaefe>] ? start_secondary+0xb2/0xb4
>
>
>  Code: 3a 48 69 c0 80 0e 00 00 48 03 04 d5 00 35 92 80 c9 c3 55 48 89 e5 53 e8 87 ff ff ff 48 89 c7 48 89 c3 e8 69 ff ff ff 85 c0 75 04 <0f> 0b eb fe 48 8b 43 30 5b c9 c3 55 48 89 e5 e8 87 ff ff ff 48
>  RIP  [<ffffffff8028fea8>] page_get_cache+0x19/0x24
>   RSP <ffff81025f22fe88>
>
>  security/selinux/netnode.c looks to be doing simple old kzalloc/kfree, so
>  I'd be suspecting slab.  But there are significant changes netnode.c in
>  git-selinux.

Andrew, you don't seem to have slab debugging enabled:

# CONFIG_DEBUG_SLAB is not set

And quite frankly, the oops looks unlikely to be a slab bug but rather
a plain old slab corruption cause by the callers...

                                    Pekka

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  parent reply	other threads:[~2008-04-18  6:40 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-17 23:03 Andrew Morton
2008-04-17 23:24 ` Greg KH
2008-04-18  0:48   ` Kay Sievers
2008-04-18  1:12     ` Andrew Morton
2008-04-18  4:07     ` Andrew Morton
2008-04-17 23:24 ` Dan Williams
2008-04-17 23:40 ` Andrew Morton
2008-04-18  0:14   ` Andrew Morton
2008-04-18  3:05     ` Jason Wessel
2008-04-18  7:37       ` Ingo Molnar
2008-04-18 11:46         ` Vegard Nossum
2008-04-18 12:34           ` Ingo Molnar
2008-04-18 12:41             ` Vegard Nossum
2008-04-18 13:02               ` Jason Wessel
2008-04-18 13:22                 ` Vegard Nossum
2008-04-18 13:27                   ` Jason Wessel
2008-04-18 14:47                     ` Vegard Nossum
2008-04-18 16:02                       ` Vegard Nossum
2008-04-18 21:54         ` Jason Wessel
2008-04-17 23:55 ` Paul Moore
2008-04-18  0:04   ` Andrew Morton
2008-04-18 14:55     ` Paul Moore
2008-04-18  1:35   ` Andrew Morton
2008-04-18 14:57     ` Paul Moore
2008-04-18  5:49 ` Arjan van de Ven
2008-04-18  6:10   ` Andrew Morton
2008-04-18  7:19     ` Ingo Molnar
2008-04-18  7:28       ` Andrew Morton
2008-04-18  9:28         ` Ingo Molnar
2008-04-18  6:40 ` Pekka Enberg [this message]
2008-04-18  6:56   ` Andrew Morton
2008-04-18  7:24   ` Ingo Molnar
2008-04-18  7:25     ` Pekka Enberg
2008-04-18 10:32     ` James Morris
2008-04-18  7:09 ` Ingo Molnar
2008-04-18  7:50 ` Andrew Morton
2008-04-18  7:53   ` Andrew Morton
2008-04-18  7:57     ` Andrew Morton
2008-04-18  9:22       ` Ingo Molnar
2008-04-18 12:18         ` Ingo Molnar
2008-04-18  9:42     ` Pavel Machek
2008-04-18 15:22       ` Alan Stern
2008-04-18 11:07     ` Pavel Machek
2008-04-28 16:42 ` 2.6.25-mm1: Failing to probe IDE interface Mel Gorman
2008-04-28 16:59   ` Andrew Morton
2008-04-29  9:39     ` Mel Gorman
2008-04-28 18:44   ` Bartlomiej Zolnierkiewicz
2008-04-29  9:43     ` Mel Gorman
2008-04-29 15:49       ` Mel Gorman
2008-04-29 16:58         ` Mel Gorman
2008-04-29 21:37           ` Bartlomiej Zolnierkiewicz
2008-04-30 11:16             ` Mel Gorman

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=84144f020804172340l79f9c815u42e4dad69dada299@mail.gmail.com \
    --to=penberg@cs.helsinki.fi \
    --cc=akpm@linux-foundation.org \
    --cc=jmorris@namei.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=sds@tycho.nsa.gov \
    --cc=tglx@linutronix.de \
    /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