Hi... On Fri, Mar 19, 2010 at 16:09, Andrea Gasparini <gaspa@xxxxxxxxxxx> wrote: > What I need to do is allocate 10MB with alloc_bootmem() functions, doing > something really simple: > > pointer = alloc_bootmem_pages( TENMEGABYTES ); > > and below there's the output. > any ideas? Someone knows if 2.6.18 had issues with alloc_bootmem? > Should the size value be page aligned? > > Thanks in advance. > > [ 0.830000] Unable to handle kernel NULL pointer dereference at virtual > address 00000000 Looking at the message, my best guess so far is that you might forgot to allocate some amount of bootmem pages using certain kernel parameter. However, my bad, I forgot what the parameter is. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ