Re: [BUG][PANIC] cgroup panics with mmotm for 2.6.28-rc7

From: Li Zefan
Date: Thu Dec 18 2008 - 19:54:53 EST


>>>>> kernel BUG at kernel/cgroup.c:392!
>> In latest -mm, this BUG_ON is line 398, and before the below 2 fixlet patches,
>> the BUG_ON is line 392, so I guess you were using older -mm:
>>
>> cgroups-add-inactive-subsystems-to-rootnodesubsys_list-fix.patch
>> cgroups-introduce-link_css_set-to-remove-duplicate-code-fix.patch
>>
>> Could you try the latest -mm kernel, or apply
>> cgroups-add-inactive-subsystems-to-rootnodesubsys_list-fix.patch ?
>>
>> diff -puN kernel/cgroup.c~cgroups-add-inactive-subsystems-to-rootnodesubsys_list-fix kernel/cgroup.c
>> --- a/kernel/cgroup.c~cgroups-add-inactive-subsystems-to-rootnodesubsys_list-fix
>> +++ a/kernel/cgroup.c
>> @@ -2521,7 +2521,7 @@ static void __init cgroup_init_subsys(st
>> printk(KERN_INFO "Initializing cgroup subsys %s\n", ss->name);
>>
>> /* Create the top cgroup state for this subsystem */
>> - list_add(&ss->sibling, &rootnode.root_list);
>> + list_add(&ss->sibling, &rootnode.subsys_list);
>> ss->root = &rootnode;
>> css = ss->create(ss, dummytop);
>> /* We don't handle early failures gracefully */
>>
>
> Yes, this fix does work for me,
>

Thanks! And sorry for the silly mistake I made.

--
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/