From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Rob Landley <rob@landley.net>, siegfried@cosmobic.com
Subject: Re: [uml-devel] how to "freeze" user mode linux
Date: Wed, 9 Mar 2005 20:24:26 +0100 [thread overview]
Message-ID: <200503092024.27077.blaisorblade@yahoo.it> (raw)
In-Reply-To: <200503081113.32380.rob@landley.net>
On Tuesday 08 March 2005 17:13, Rob Landley wrote:
> On Tuesday 08 March 2005 02:45 am, siegfried@cosmobic.com wrote:
> > hello everyone:
> >
> > I am a new coder of embed linux app development .I use "User Mode Linux "
> > as host stimulator environment where our applications running .now I
> > have a big problem !
> > I debug my code which are some processes/threads living in UML with gdb .
> > First, I make a break point on a process living in UML .Once I touch the
> > break point (this process/thread will be suspended)---BUT,other
> > process/thread are still in normal status .Soon ,these process/threads
> > will be suspended one after another because they are waiting the
> > feedback come from the process/thread which are bing debugged
> > .Unfortunately,when I continue the process/threads, the process/thread
> > can't return to the orginial status because other processes /threads are
> > in error status (time out etc.)
> > How to "freeze" the whole "user mode linux" --all processes/threads in
> > "UML"and "UML" kernel even "UML" system timer!!!
> > and, how to recover it???
uml_mconsole <the umid of the instance>
To suspend a UML instance, at the prompt use "stop" and "go". I'm not at all
sure you can gdb the UML instance meanwhile... but especially it will suspend
any I/O you can do, and I think every process inside the UML instance,
including gdb.
> Does swsusp work under UML? :)
Maybe, Nigel Cunningham, the developer of Swsusp 2 come by sometimes on this
list.
For swsusp, I don't know at all what would be needed.
In the archives there was also an announce for a separate project for UML only
to implement suspending in a UML-specific way (it was meaningful, but I don't
remember about it, even because they wanted to run their own mainling list).
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2005-03-09 19:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-08 7:45 [uml-devel] how to "freeze" user mode linux siegfried
2005-03-08 16:13 ` Rob Landley
2005-03-09 19:24 ` Blaisorblade [this message]
2005-03-09 19:34 ` Erik Paulson
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=200503092024.27077.blaisorblade@yahoo.it \
--to=blaisorblade@yahoo.it \
--cc=rob@landley.net \
--cc=siegfried@cosmobic.com \
--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