---------------------------------------------------
The Following is Jeff's Reply. It ended up offlist 
due to my stupidity. Sorry.

jez
---------------------------------------------------


On Sun, Apr 01, 2007 at 06:05:04PM +0200, jez wrote:
> It's quite odd. I also tried using 0x60 and also putting them between the
> stack and the end of user-space mem at 0xbfafe000. Each time I get the
> same error, with the same address, 0x08051068. 
> 
> -- Output --
> (gdb) x 0x08051068
> 0x8051068 <alloc_node_mem_map+72>:      0xac868bc3
> (gdb) disassemble 0x08051068
> Dump of assembler code for function alloc_node_mem_map:
> ...
> 0x08051068 <alloc_node_mem_map+72>:     ret
> ...
> -- End --

This is the UML 0x08051068, whereas the error message is referring to
libc's 0x08051068.

> > Yeah, CONFIG_STUB_* would turn into something like
> >     CONFIG_STUB_* -level*2*PAGE_SIZE 
> > 
> 
> Now here's something strange. I initially assumed that there were only
> two pages, so when I was changing the stub mappings, I first tried:
> 
>    CONFIG_STUB_CODE=0xbfffc000
>    CONFIG_STUB_DATA=0xbfffd000
>    CONFIG_STUB_START=0xbfffc000

That should be OK.

> What's wired is that this returns the mmap error:
> 
>    mapping mmap stub failed, errno = 12
>    Kernel panic - not syncing: start_userspace : expected SIGSTOP, got status 
> = 256
> 
> This got me to thinking that maybe the CONFIG_STUB_START indicated the
> top of a downward-growing stack or something. Are you saying that these
> pages should actually be free, or have I just misunderstood?

No, they are just two pages, no stack growth or anything.

                                Jeff

-- 
Work email - jdike at linux dot intel dot com

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to