Skip to contentSkip to conversation

kmem_alloc: NULL ptr (name=unknown) - is it a serious problem?

DISCUSSION Jun Sun 2 participants 2 messages Jul 22, 2000 – Jul 23, 2000 MIPS

lore
Share & tools
lore

Jun Sun

author
#0 lore raw

I found a couple of these annoying messages at the beginning of kernel startup. It seems that some subsystems are requesting regions (request_region()) before kernel even initialize its memory.

It appears to me this reservation is just for mutual exclusive access to some memory region. Since I have a static system (no PnP and hot swap etc), so I can safely ignore them.

Does that make sense?

What is the right to avoid these warnings?

Jun

#1 lore raw
Quoted 9 lines · Jun Sun

I found a couple of these annoying messages at the beginning of kernel startup. It seems that some subsystems are requesting regions (request_region()) before kernel even initialize its memory.

It appears to me this reservation is just for mutual exclusive access to some memory region. Since I have a static system (no PnP and hot swap etc), so I can safely ignore them.

Does that make sense?

Not really. The kernel initializes all devices long after memory managment, see init/main.c:start_kernel(). So the simple suggestion would be to delay initialization.

Ralf