Re: 2.6.22-rc2-mm1 - a different BUG: at mm/slab.c:777 __find_general_cachep()
From: Valdis . Kletnieks
Date: Mon May 28 2007 - 07:13:01 EST
On Mon, 28 May 2007 13:43:12 +0300, Pekka Enberg said:
> On 5/28/07, Valdis.Kletnieks@xxxxxx <Valdis.Kletnieks@xxxxxx> wrote:
> > [4294667.472000] BUG: at mm/slab.c:777 __find_general_cachep()
>
> [snip]
>
> > Any suggestions before I go doing the bisect shuffle?
>
> It's complaining about a kmalloc() with size zero. The warning is new
> and harmless for now, so no need to bisect this (it will point you at
> the mm/slab.c change by Christoph Lameter).
I knew *that* part. Closer look at drivers/firmware/dmi-id.c indicates that
it's likely a busticated DMI field in my BIOS - looking around at the stuff in
/sys/devices/virtual/dmi/id I found that the files product_version, board_version
board_asset_tag, chassis_version, and chassis_asset_tag are empty (trying
to 'cat' them gets just a \n) - the other values all look sane.
This looks fishy:
#define ADD_DMI_ATTR(_name, _field) if (dmi_get_system_info(_field)) sys_dmi_attributes[i++] = & sys_dmi_##_name##_attr.attr;
Should that be making a check that it's not pointing at a null string?
Attachment:
pgp00000.pgp
Description: PGP signature