* [uml-devel] Getting garbage in ps, as expected...
@ 2005-10-12 3:52 Rob Landley
2005-10-13 16:21 ` Jeff Dike
0 siblings, 1 reply; 3+ messages in thread
From: Rob Landley @ 2005-10-12 3:52 UTC (permalink / raw)
To: user-mode-linux-devel
Great fun. So I'm using UML in -skas0 mode built from 2.6.13.2, and it's
putting fun garbage in the ps display:
7284 ? S 0:00 [pdflush]
10480 pts/3 R 0:06 ?@??? ? ? ? ???s F?! @???{
12783 ? S 0:00 [pdflush]
8454 pts/3 R 0:03 @???{ " ? ???
Also, sometimes when my script hits an error and init exits, and of course the
thing panics and exits, it doesn't actually exit. Instead it remains alive
spinning and eating CPU. "killall linux" makes it stop eating CPU, but that
leaves T threads, and when you unblock them you get the above garbage (and
_they_ start spinning eating CPU)...
No easy way to script a cleanup for this...
Rob
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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] 3+ messages in thread* Re: [uml-devel] Getting garbage in ps, as expected...
2005-10-12 3:52 [uml-devel] Getting garbage in ps, as expected Rob Landley
@ 2005-10-13 16:21 ` Jeff Dike
2005-10-13 23:41 ` Rob Landley
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Dike @ 2005-10-13 16:21 UTC (permalink / raw)
To: Rob Landley; +Cc: user-mode-linux-devel
On Tue, Oct 11, 2005 at 10:52:51PM -0500, Rob Landley wrote:
> Great fun. So I'm using UML in -skas0 mode built from 2.6.13.2, and it's
> putting fun garbage in the ps display:
>
> 7284 ? S 0:00 [pdflush]
> 10480 pts/3 R 0:06 ?@??? ? ? ? ???s F?! @???{
> 12783 ? S 0:00 [pdflush]
> 8454 pts/3 R 0:03 @???{ " ? ???
The garbage is irrelevant.
UML is supposed to clean up after itself. How reproducable is this, and how
do you do it?
Jeff
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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] 3+ messages in thread* Re: [uml-devel] Getting garbage in ps, as expected...
2005-10-13 16:21 ` Jeff Dike
@ 2005-10-13 23:41 ` Rob Landley
0 siblings, 0 replies; 3+ messages in thread
From: Rob Landley @ 2005-10-13 23:41 UTC (permalink / raw)
To: Jeff Dike; +Cc: user-mode-linux-devel
On Thursday 13 October 2005 11:21, Jeff Dike wrote:
> On Tue, Oct 11, 2005 at 10:52:51PM -0500, Rob Landley wrote:
> > Great fun. So I'm using UML in -skas0 mode built from 2.6.13.2, and it's
> > putting fun garbage in the ps display:
> >
> > 7284 ? S 0:00 [pdflush]
> > 10480 pts/3 R 0:06 ?@??? ? ? ? ???s F?! @???{
> > 12783 ? S 0:00 [pdflush]
> > 8454 pts/3 R 0:03 @???{ " ? ???
>
> The garbage is irrelevant.
But annoying. It's corrupting the ps display and there's no way to killall
those threads.
> UML is supposed to clean up after itself. How reproducable is this, and
> how do you do it?
I normally run the build:
(cat /dev/zero | ./buildscript.sh > out.txt 2>&1 &) && tail -f out.txt
(Because the standard "tee" is buggy; it stops sending to a pipe if that pipe
is ever full, which can happen due to the process it's feeding not getting
scheduled fast enough. This includes your xterm. I fixed this in the
busybox version...)
In the above, buildscript runs UML, which exits (with a panic) but doesn't
_stop_. Also "killall linux" will sometimes leave the garbage threads in T
state, and when you -CONT them they turn into CPU hogs.
Rob
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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] 3+ messages in thread
end of thread, other threads:[~2005-10-13 23:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-12 3:52 [uml-devel] Getting garbage in ps, as expected Rob Landley
2005-10-13 16:21 ` Jeff Dike
2005-10-13 23:41 ` Rob Landley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox