Skip to contentSkip to conversation

Debug under Skas3 start_uml - start_userspace returned -22

uml-devel Xm Zhu 1 participant 1 message Nov 23, 2008 User-mode Linux (UML)

lore
Share & tools
lore

Xm Zhu

author
#0 lore raw

HI
All
I have patched my linux host for ska3 and it can run under skas3 mode. However, when I gdb linux i. I want to follow
r
ubd0=/home/jdike/roots/cow.debian,/home/jdike/roots/debian_22
con=port:9000 ssl=pty con0=fd:0,fd:1 umid=debian mem=128M

however, I do not the meaning of ubd0 ,since there is no cow.debian under my roots. I really do not know how to set these parameters.

So , I just put (after setting handle two signals) r
It comes out
Starting program: ~/linux-2.6.27.6/linux Locating the bottom of the address space ... 0x0 Locating the top of the address space ... 0xc0000000 Core dump limits :
        soft - 0
        hard - NONE
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...found
  - PTRACE_FAULTINFO...found
  -
PTRACE_LDT...found
UML running in SKAS3 mode
[New LWP 7387]
[LWP 7387 exited]
start_uml - start_userspace returned -22

IS there anyone can help me?
thankyou

      ___________________________________________________________ 

好玩贺卡等你发,邮箱贺卡全新上线!
http://card.mail.cn.yahoo.com/

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel