Kernel BOOT (kernel 2.4.16)
Quoted 6 lines · Dan Malek
Quoted 2 lines · LEROY Christophe
Can someone help me ?
io_block_mapping(IMAP_ADDR,...)fails becausemem_pieces_find()can find
Quoted 8 lines
Quoted 1 line
any piece.
What code are you looking at? The
io_block_mappingis simply going to
force amap_page()operation and update the PTE tables. How do you seemem_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/
Quoted 2 lines · LEROY Christophe
I'm sure that it come here because when I add a call to
m8xx_restart()just before thepanic()call inmem_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/