Re: 2.6.22-rc2-mm1 - a different BUG: at mm/slab.c:777 __find_general_cachep()

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

 



On Mon, 28 May 2007 13:43:12 +0300, Pekka Enberg said:
> On 5/28/07, [email protected] <[email protected]> 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: pgpotxHgvNBMf.pgp
Description: PGP signature


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