--- Blaisorblade <[EMAIL PROTECTED]> wrote:

> On Sunday 06 August 2006 12:41, Richard Andrews wrote:
> > --- Jeff Dike <[EMAIL PROTECTED]> wrote:
> > > What was the boot output?
> >
> > Verbatim terminal output
> >
> > $ ./kernel32-2.6.17.7 mem=64M
> > Checking that ptrace can change system call numbers...OK
> > Checking syscall emulation patch for ptrace...OK
> > Checking advanced syscall emulation patch for ptrace...OK
> > Checking for tmpfs mount on /dev/shm...OK
> > Checking PROT_EXEC mmap in /dev/shm/...OK
> > Checking for the skas3 patch in the host:
> >   - /proc/mm...not found
> >   - PTRACE_FAULTINFO...not found
> >   - PTRACE_LDT...not found
> > UML running in SKAS0 mode
> > Adding 31916032 bytes to physical memory to account for exec-shield gap
> 
> Try disabling exec-shield on the host (via /proc/sys/kernel/<something>) and 
> see if it then works; if it does, we'll debug the problem and try to fix it.

I can verify that it is exec-shield preventing boot.

echo '0' > /proc/sys/kernel/exec-shield

The UML kernel is now booting... OK, logged in as root!
W00t!

Thanks very much for the pointer. Now I guess you have a buffer overrun to
track down.

:-/

If you need to reproduce the problem I am running (as host)
kernel-smp-2.6.17-1.2142_FC4 on a an Intel P4 Prescott. The FC4 install was a
"typical" install with bits added. Last yum update was about May 2006, except
kernel.

The kernel config file used for the UML build can be found on the nagafix site.
I have a copy if required.

$ md5sum kernel32-2.6.17.7.config
cf34c45fd8de7bf79d97c72e0468ebc3  kernel32-2.6.17.7.config

--
  Rich


Send instant messages to your online friends http://au.messenger.yahoo.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
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to