mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Adrian Bunk <bunk@stusta.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.13-rc3-mm2 doesn't boot
Date: Wed, 27 Jul 2005 14:16:46 -0700	[thread overview]
Message-ID: <20050727141646.1852a505.akpm@osdl.org> (raw)
In-Reply-To: <20050727203527.GA3679@stusta.de>

Adrian Bunk <bunk@stusta.de> wrote:
>
>  2.6.13-rc3-mm2 doesn't boot on my computer:
>    Badness in nr_blockdev_pages at fs/block_dev.c:399
>    ...
>    kmem_cache_create: Early error in slab inet_peer_cache
> 
>  A screenshot is available at [1].
> 
>  My .config is attached.
> 
>  2.6.13-rc3-mm1 boots and works without problems.
> 
>  cu
>  Adrian
> 
>  [1] http://www.fs.tum.de/~bunk/kernel/boot_failure.jpg

I'd be suspecting there's been a huge preempt_count() windup and the kernel
thinks that it's running in_interrupt(), so various checks are triggering.

Please try this one:

--- devel/net/netlink/af_netlink.c~netlink-locking-fix	2005-07-27 14:10:07.000000000 -0700
+++ devel-akpm/net/netlink/af_netlink.c	2005-07-27 14:10:16.000000000 -0700
@@ -349,12 +349,12 @@ static int netlink_create(struct socket 
 
 	netlink_table_grab();
 	if (!nl_table[protocol].hash.entries) {
-		netlink_table_ungrab();
 #ifdef CONFIG_KMOD
 		/* We do 'best effort'.  If we find a matching module,
 		 * it is loaded.  If not, we don't return an error to
 		 * allow pure userspace<->userspace communication. -HW
 		 */
+		netlink_table_ungrab();
 		request_module("net-pf-%d-proto-%d", PF_NETLINK, protocol);
 		netlink_table_grab();
 #endif
_


And if that doesn't fix, enable CONFIG_DEBUG_PREEMPT and see if the
sub_preempt_count() check triggers.


  reply	other threads:[~2005-07-27 21:28 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-27  9:43 2.6.13-rc3-mm2 Andrew Morton
2005-07-27 10:08 ` 2.6.13-rc3-mm2 Sam Ravnborg
2005-07-27 10:14   ` 2.6.13-rc3-mm2 Andrew Morton
2005-07-27 12:08 ` 2.6.13-rc3-mm2 (kbuild broken for external modules) Miklos Szeredi
2005-07-27 12:31   ` Brice Goglin
2005-07-27 19:16   ` Sam Ravnborg
2005-07-28 11:11     ` Miklos Szeredi
2005-07-27 20:35 ` 2.6.13-rc3-mm2 doesn't boot Adrian Bunk
2005-07-27 21:16   ` Andrew Morton [this message]
2005-07-27 22:20     ` Adrian Bunk
2005-07-27 20:48 ` 2.6.13-rc3-mm2 Andrew James Wade
2005-07-27 21:11   ` 2.6.13-rc3-mm2 Andrew Morton
2005-07-27 21:27     ` 2.6.13-rc3-mm2 David S. Miller
2005-07-27 21:58 ` 2.6.13-rc3-mm2/mm1 breaks DRI Ed Tomlinson
2005-07-29  0:37   ` Ed Tomlinson
2005-07-29  0:41     ` Dave Airlie
2005-07-29 10:52       ` Ed Tomlinson
2005-07-30  4:03         ` Dave Airlie
2005-08-17 12:33           ` Dave Airlie
2005-07-28 10:06 ` 2.6.13-rc3-mm2 Borislav Petkov
2005-07-28 15:01 ` 2.6.13-rc3-mm2 Martin J. Bligh
2005-07-28 17:41   ` 2.6.13-rc3-mm2 Andrew Morton

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=20050727141646.1852a505.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=bunk@stusta.de \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®