Re: 2.6.18-mm3

From: Badari Pulavarty
Date: Tue Oct 03 2006 - 14:06:32 EST


On Tue, 2006-10-03 at 10:37 -0700, Badari Pulavarty wrote:
> On Tue, 2006-10-03 at 00:11 -0700, Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.18/2.6.18-mm3/
> >
> > - Added Jeff's make-bogus-warnings-go-away tree to the -mm lineup, as
> > git-gccbug.patch
> >
> > - Francois Romieu is doing some qlogic driver maintenance - added his
> > git-qla3xxx.patch to the -mm lineup.
> >
> > - Some wireless-related crashes are hopefully fixed. But if there are still
> > wireless problems, be sure that you have the latest userspace tools.
> >
> > - The recent spate of IRQ-allocation-related crashes on x86_64 is hopefully
> > fixed.
> >
> > - As far as we know, the MSI handling in -mm is now rock-solid.
>
>
> Not having any luck with it :(
>
> Thanks,
> Badari
>
> Kernel command line: root=/dev/hda2 vga=0x314 selinux=0 console=tty0
> console=ttyS0,38400 resume=/dev/hda1 resume=/dev/hda1 splash=silent
> showopts
> Initializing CPU#0
> PID hash table entries: 4096 (order: 12, 32768 bytes)
> Console: colour dummy device 80x25
> Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
> Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
> Checking aperture...
> CPU 0: aperture @ 0 size 32 MB
> No AGP bridge found
> Your BIOS doesn't leave a aperture memory hole
> Please enable the IOMMU option in the BIOS setup
> This costs you 64 MB of RAM
> Mapping aperture over 65536 KB of RAM @ 4000000
> Memory: 7147724k/7864320k available (2924k kernel code, 191856k
> reserved, 1697k data, 360k init)
> ------------[ cut here ]------------
> kernel BUG in init_list at mm/slab.c:1334!
> invalid opcode: 0000 [1] SMP
> last sysfs file:
> CPU 0
> Modules linked in:
> Pid: 0, comm: swapper Not tainted 2.6.18-mm3 #1
> RIP: 0010:[<ffffffff8027bd5b>] [<ffffffff8027bd5b>] init_list
> +0x2b/0x120
> RSP: 0018:ffffffff806d9f18 EFLAGS: 00010212
> RAX: 000000000000003f RBX: 0000000000000001 RCX: 0000000000000000
> RDX: 0000000000000001 RSI: ffffffff8072b0a8 RDI: ffff81017a800040
> RBP: ffffffff806d9f48 R08: 0000000000000001 R09: 0000000000000003
> R10: 0000000000000000 R11: ffffffff8072cac8 R12: 0000000000000001
> R13: ffff81017a800040 R14: ffffffff8072b0a8 R15: 0000000000000000
> FS: 0000000000000000(0000) GS:ffffffff80684000(0000)
> knlGS:0000000000000000
> CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
> CR2: 0000000000000000 CR3: 0000000000201000 CR4: 00000000000006a0
> Process swapper (pid: 0, threadinfo ffffffff806d8000, task
> ffffffff805f7bc0)
> Stack: ffffffff806d9f48 0000000100000286 0000000000000001
> ffffffff8072b0a8
> 0000000000000040 0000000000000000 ffffffff806d9f98 ffffffff806fdc69
> 0000000000000168 0000000000000240 0000000100000001 0000000000090000
> Call Trace:
> [<ffffffff806fdc69>] kmem_cache_init+0x3b9/0x490
> [<ffffffff806e36ef>] start_kernel+0x18f/0x220
> [<ffffffff806e3176>] _sinittext+0x176/0x180

Here is the fix for this. With this -mm3 boots fine (no networking
problems so far).

Thanks,
Badari

Fix typo in kmem_cache_init().

Signed-off-by: Badari Pulavarty <pbadari@xxxxxxxxxx>

mm/slab.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.18-mm3/mm/slab.c
===================================================================
--- linux-2.6.18-mm3.orig/mm/slab.c 2006-10-03 11:31:31.000000000 -0700
+++ linux-2.6.18-mm3/mm/slab.c 2006-10-03 11:31:45.000000000 -0700
@@ -1513,7 +1513,7 @@ void __init kmem_cache_init(void)

for_each_online_node(nid) {
init_list(malloc_sizes[INDEX_AC].cs_cachep,
- &initkmem_list3[SIZE_AC + node], nid);
+ &initkmem_list3[SIZE_AC + nid], nid);

if (INDEX_AC != INDEX_L3) {
init_list(malloc_sizes[INDEX_L3].cs_cachep,


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