Skip to contentSkip to conversation

Kernel BOOT (kernel 2.4.16)

DISCUSSION LEROY Christophe 2 participants 2 messages Dec 22, 2001 – Dec 23, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 6 lines · Dan Malek
Quoted 2 lines · LEROY Christophe

Can someone help me ?
io_block_mapping(IMAP_ADDR,...) fails because mem_pieces_find() can find

Quoted 8 lines
Quoted 1 line

any piece.

What code are you looking at? The io_block_mapping is simply going to
force a map_page() operation and update the PTE tables. How do you see mem_pieces_find() involved in this path?

Thanks.

map_page() calls pte_alloc()
pte_alloc() calls pte_alloc_one()
pte_alloc_one() calls early_get_page()
early_get_page() calls mem_pieces_find()
I'm sure that it come here because when I add a call to m8xx_restart() just before the panic() call in mem_pieces_find(), the board restarts.

Thanks.

C.Leroy

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 2 lines · LEROY Christophe

I'm sure that it come here because when I add a call to m8xx_restart() just before the panic() call in mem_pieces_find(), the board restarts

Then something is wrong with the way your bootloader is telling the kernel how much memory exists, although mapin_ram() should have failed before you attempted any io mapping.

	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/