linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: test12 + initrd = swapper at 99.8% CPU time
  2000-12-13 23:09 test12 + initrd = swapper at 99.8% CPU time Joseph Cheek
@ 2000-12-13 21:59 ` Marcelo Tosatti
  2000-12-14 12:46 ` Russell King
  1 sibling, 0 replies; 5+ messages in thread
From: Marcelo Tosatti @ 2000-12-13 21:59 UTC (permalink / raw)
  To: Joseph Cheek; +Cc: linux-kernel



On Wed, 13 Dec 2000, Joseph Cheek wrote:

> hi all,
> 
> i'm using test12 to perform a clean linux install.  as soon as i get to
> a command prompt, ps axufw shows swapper at 99.8% CPU usage.  this
> didn't repro with test11, and doesn't repro if i don't use an initrd.
> 
> my load avg stays above 1 even if nothing [a couple gettys and a shell]
> is running.
> 
> what can i do to debug this?  any ideas?

Boot with "profile=2" kernel option and read readprofile (1) man page to
know how to use it. 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* test12 + initrd = swapper at 99.8% CPU time
@ 2000-12-13 23:09 Joseph Cheek
  2000-12-13 21:59 ` Marcelo Tosatti
  2000-12-14 12:46 ` Russell King
  0 siblings, 2 replies; 5+ messages in thread
From: Joseph Cheek @ 2000-12-13 23:09 UTC (permalink / raw)
  To: linux-kernel

hi all,

i'm using test12 to perform a clean linux install.  as soon as i get to
a command prompt, ps axufw shows swapper at 99.8% CPU usage.  this
didn't repro with test11, and doesn't repro if i don't use an initrd.

my load avg stays above 1 even if nothing [a couple gettys and a shell]
is running.

what can i do to debug this?  any ideas?

--
thanks!

joe

--
Joseph Cheek, Sr Linux Consultant, Linuxcare | http://www.linuxcare.com/
Linuxcare.  Support for the Revolution.      | joseph@linuxcare.com
CTO / Acting PM, Redmond Linux Project       | joseph@redmondlinux.org
425 990-1072 vox [1074 fax] 206 679-6838 pcs | joseph@cheek.com



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: test12 + initrd = swapper at 99.8% CPU time
  2000-12-13 23:09 test12 + initrd = swapper at 99.8% CPU time Joseph Cheek
  2000-12-13 21:59 ` Marcelo Tosatti
@ 2000-12-14 12:46 ` Russell King
  2000-12-14 19:25   ` Joseph Cheek
  1 sibling, 1 reply; 5+ messages in thread
From: Russell King @ 2000-12-14 12:46 UTC (permalink / raw)
  To: Joseph Cheek; +Cc: linux-kernel

Joseph Cheek writes:
> i'm using test12 to perform a clean linux install.  as soon as i get to
> a command prompt, ps axufw shows swapper at 99.8% CPU usage.  this
> didn't repro with test11, and doesn't repro if i don't use an initrd.

What pid does this task have?  The only process that should be "swapper"
is pid0, and pid0 should be hidden from view.

If its not pid0, then I'd guess that it may be a rogue program...
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |         Russell King        rmk@arm.linux.org.uk      --- ---
  | | | | http://www.arm.linux.org.uk/personal/aboutme.html   /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: test12 + initrd = swapper at 99.8% CPU time
  2000-12-14 12:46 ` Russell King
@ 2000-12-14 19:25   ` Joseph Cheek
  2000-12-15  3:00     ` test12 + initrd = swapper at 99.8% CPU timer Mike Galbraith
  0 siblings, 1 reply; 5+ messages in thread
From: Joseph Cheek @ 2000-12-14 19:25 UTC (permalink / raw)
  To: Russell King; +Cc: linux-kernel

hi,

ps axufw shows it as pid 1.

Russell King wrote:

> Joseph Cheek writes:
> > i'm using test12 to perform a clean linux install.  as soon as i get to
> > a command prompt, ps axufw shows swapper at 99.8% CPU usage.  this
> > didn't repro with test11, and doesn't repro if i don't use an initrd.
>
> What pid does this task have?  The only process that should be "swapper"
> is pid0, and pid0 should be hidden from view.
>
> If its not pid0, then I'd guess that it may be a rogue program...
>    _____
>   |_____| ------------------------------------------------- ---+---+-
>   |   |         Russell King        rmk@arm.linux.org.uk      --- ---
>   | | | | http://www.arm.linux.org.uk/personal/aboutme.html   /  /  |
>   | +-+-+                                                     --- -+-
>   /   |               THE developer of ARM Linux              |+| /|\
>  /  | | |                                                     ---  |
>     +-+-+ -------------------------------------------------  /\\\  |

--
thanks!

joe

--
Joseph Cheek, Sr Linux Consultant, Linuxcare | http://www.linuxcare.com/
Linuxcare.  Support for the Revolution.      | joseph@linuxcare.com
CTO / Acting PM, Redmond Linux Project       | joseph@redmondlinux.org
425 990-1072 vox [1074 fax] 206 679-6838 pcs | joseph@cheek.com



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* Re: test12 + initrd = swapper at 99.8% CPU timer
  2000-12-14 19:25   ` Joseph Cheek
@ 2000-12-15  3:00     ` Mike Galbraith
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Galbraith @ 2000-12-15  3:00 UTC (permalink / raw)
  To: Joseph Cheek; +Cc: Russell King, linux-kernel

On Thu, 14 Dec 2000, Joseph Cheek wrote:

> hi,
> 
> ps axufw shows it as pid 1.

Interesting.. init running out of control.  I've seen that, and it
was init taking endless page faults.

I wager (one virtual brew) that you'll see an endless stream of output
if you apply this.

--- kernel/signal.c.org	Fri Dec 15 03:36:59 2000
+++ kernel/signal.c	Fri Dec 15 03:39:36 2000
@@ -564,6 +564,9 @@
 {
 	unsigned long int flags;
 
+	if (sig == SIGSEGV)
+		printk(KERN_ERR "SIGSEGV pid %d\n", t->pid);
+
 	spin_lock_irqsave(&t->sigmask_lock, flags);
 	if (t->sig == NULL) {
 		spin_unlock_irqrestore(&t->sigmask_lock, flags);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

end of thread, other threads:[~2000-12-15  3:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-13 23:09 test12 + initrd = swapper at 99.8% CPU time Joseph Cheek
2000-12-13 21:59 ` Marcelo Tosatti
2000-12-14 12:46 ` Russell King
2000-12-14 19:25   ` Joseph Cheek
2000-12-15  3:00     ` test12 + initrd = swapper at 99.8% CPU timer Mike Galbraith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).