lkml.org 
[lkml]   [2005]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.6.13-rc3-mm2 doesn't boot
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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-27 23:43    [W:0.489 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site