linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] how to "freeze" user mode linux
@ 2005-03-08  7:45 siegfried
  2005-03-08 16:13 ` Rob Landley
  0 siblings, 1 reply; 4+ messages in thread
From: siegfried @ 2005-03-08  7:45 UTC (permalink / raw)
  To: user-mode-linux-devel





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???




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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [uml-devel] how to "freeze" user mode linux
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Rob Landley @ 2005-03-08 16:13 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: siegfried

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???

Does swsusp work under UML? :)

Rob


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [uml-devel] how to "freeze" user mode linux
  2005-03-08 16:13 ` Rob Landley
@ 2005-03-09 19:24   ` Blaisorblade
  2005-03-09 19:34     ` Erik Paulson
  0 siblings, 1 reply; 4+ messages in thread
From: Blaisorblade @ 2005-03-09 19:24 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: Rob Landley, siegfried

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [uml-devel] how to "freeze" user mode linux
  2005-03-09 19:24   ` Blaisorblade
@ 2005-03-09 19:34     ` Erik Paulson
  0 siblings, 0 replies; 4+ messages in thread
From: Erik Paulson @ 2005-03-09 19:34 UTC (permalink / raw)
  To: user-mode-linux-devel

On Wed, Mar 09, 2005 at 08:24:26PM +0100, Blaisorblade wrote:
>
> 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).
>

http://sbuml.sourceforge.net/

-Erik



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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-03-09 19:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2005-03-09 19:34     ` Erik Paulson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox