[Milkymist-devel] New repositories

Sébastien Bourdeauducq sebastien.bourdeauducq at lekernel.net
Wed Aug 19 12:24:18 PDT 2009


Hi,

On Wednesday 19 August 2009 20.30.20 Takeshi MATSUYA wrote:
>Below is output of new milkymist system. (New repositories)

Great work! Thanks for your help with Linux :)

> [42949385.040000] BUG: failure at mm/nommu.c:114/kobjsize()!
> [42949385.050000] Kernel panic - not syncing: BUG!

Function is:
unsigned int kobjsize(const void *objp)
{
      struct page *page;
 
     if (!objp || !((page = virt_to_page(objp))))
            return 0;
 
      if (PageSlab(page))
             return ksize(objp);
 
    BUG_ON(page->index < 0);
        BUG_ON(page->index >= MAX_ORDER);
 
      return (PAGE_SIZE << page->index);
}

which fails because page->index >= MAX_ORDER.

Maybe you should try
#define PAGE_OFFSET 0x40000000
instead of
#define PAGE_OFFSET 0x00000000
in include/asm-lm32/page.h?

Sébastien



More information about the Devel mailing list