Re: 2.6.13-rc3-mm2 doesn't boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Adrian Bunk <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux