linux-um archives
 help / color / mirror / Atom feed
From: Xm Zhu <foolishzhu@yahoo.cn>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] Debug under Skas3 start_uml - start_userspace returned -22
Date: Sun, 23 Nov 2008 13:13:19 +0800 (CST)	[thread overview]
Message-ID: <868058.36595.qm@web92202.mail.cnh.yahoo.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1370 bytes --]

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/

[-- Attachment #1.2: Type: text/html, Size: 1701 bytes --]

[-- Attachment #2: Type: text/plain, Size: 363 bytes --]

-------------------------------------------------------------------------
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=/

[-- Attachment #3: Type: text/plain, Size: 194 bytes --]

_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

                 reply	other threads:[~2008-11-23  5:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=868058.36595.qm@web92202.mail.cnh.yahoo.com \
    --to=foolishzhu@yahoo.cn \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox