lkml.org 
[lkml]   [2007]   [May]   [28]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.6.22-rc2-mm1 - a different BUG: at mm/slab.c:777 __find_general_cachep()
From Valdis.Kletnieks@vt ...
DateMon, 28 May 2007 07:12:44 -0400
On Mon, 28 May 2007 13:43:12 +0300, Pekka Enberg said:
> On 5/28/07, Valdis.Kletnieks@vt.edu <Valdis.Kletnieks@vt.edu> 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?

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2007-05-28 11:15    [from the cache]
©2003-2008