All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.4.1-pre8/10 klogd taking 100% of CPU time -- bug?
@ 2001-01-23 10:36 Tigran Aivazian
  2001-01-23 11:40 ` Chmouel Boudjnah
  2001-01-23 13:33 ` Tigran Aivazian
  0 siblings, 2 replies; 10+ messages in thread
From: Tigran Aivazian @ 2001-01-23 10:36 UTC (permalink / raw)
  To: linux-kernel

Hi,

Has anyone else seen this? The system load is 1.0 and all the cpu time is
taken by klogd but I do not have a stream of messages (or maybe I do but
they all are lost?). Also, kdb refuses to decode klogd's stack saying
"stack is not in task structure". It does show stack trace of other tasks
though.

So, since kdb was unable to tell me what's going on (and truss also can't
attach to it) one will have to debug it the old-fashioned way -- manually,
i.e. by trussing klogd from the beginning and reading it's sources...

Btw, this only happens on my laptop and not on the desktop. It only
happens _after_ some activity but I have not yet managed to narrow down
exactly what activity.

Regards,
Tigran

PS. No, I don't use power management or anything fancy/unproven like that
-- laptop is just a small/portable desktop, imho.

-
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] 10+ messages in thread

* Re: 2.4.1-pre8/10 klogd taking 100% of CPU time -- bug?
  2001-01-23 11:40 ` Chmouel Boudjnah
@ 2001-01-23 10:45   ` Tigran Aivazian
  2001-01-23 11:07     ` Andrew Morton
                       ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Tigran Aivazian @ 2001-01-23 10:45 UTC (permalink / raw)
  To: Chmouel Boudjnah; +Cc: linux-kernel

On 23 Jan 2001, Chmouel Boudjnah wrote:

> Tigran Aivazian <tigran@veritas.com> writes:
> 
> > Btw, this only happens on my laptop and not on the desktop. It only
> > happens _after_ some activity but I have not yet managed to narrow down
> > exactly what activity.
> 
> i got the same problems on my desktop machine (Dell P4 which support
> (broken) APM) and not on my laptop :\

I forgot top say that my laptop is identified (by DMI) as:


BIOS Vendor: Dell Computer Corporation
BIOS Version: A03
BIOS Release: 01/29/2000
System Vendor: Dell Computer Corporation.
Product Name: Latitude CPx H450GT             .
Version .
Serial Number .
Board Vendor: Dell Computer Corporation.
Board Name: Latitude CPx H450GT      .
Board Version: .
Asset Tag: Ñ^L.
Asset Tag: Ò^L.


Btw, that Asset Tag printk's are surely buggy, aren't they? Aren't they
supposed to dump in hex instead of some unprintable stuff?

Regards,
Tigran

-
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] 10+ messages in thread

* Re: 2.4.1-pre8/10 klogd taking 100% of CPU time -- bug?
  2001-01-23 10:45   ` Tigran Aivazian
@ 2001-01-23 11:07     ` Andrew Morton
  2001-01-23 12:18       ` Chmouel Boudjnah
  2001-01-23 11:50     ` Chmouel Boudjnah
  2001-01-23 15:34     ` John Jasen
  2 siblings, 1 reply; 10+ messages in thread
From: Andrew Morton @ 2001-01-23 11:07 UTC (permalink / raw)
  To: Tigran Aivazian; +Cc: Chmouel Boudjnah, linux-kernel

Tigran Aivazian wrote:
> 
> Asset Tag: Ñ^L.
> Asset Tag: Ò^L.
> 
> Btw, that Asset Tag printk's are surely buggy, aren't they? Aren't they
> supposed to dump in hex instead of some unprintable stuff?

I bugged Alan about that a few weeks back and he mumbled
something cryptic.  It seems he's going to take it out sometime.

As far as the klogd problem is concerned, see

	http://www.uwsg.iu.edu/hypermail/linux/kernel/0101.1/1053.html

for a probable solution.

-
-
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] 10+ messages in thread

* Re: 2.4.1-pre8/10 klogd taking 100% of CPU time -- bug?
  2001-01-23 10:36 2.4.1-pre8/10 klogd taking 100% of CPU time -- bug? Tigran Aivazian
@ 2001-01-23 11:40 ` Chmouel Boudjnah
  2001-01-23 10:45   ` Tigran Aivazian
  2001-01-23 13:33 ` Tigran Aivazian
  1 sibling, 1 reply; 10+ messages in thread
From: Chmouel Boudjnah @ 2001-01-23 11:40 UTC (permalink / raw)
  To: Tigran Aivazian; +Cc: linux-kernel

Tigran Aivazian <tigran@veritas.com> writes:

> Btw, this only happens on my laptop and not on the desktop. It only
> happens _after_ some activity but I have not yet managed to narrow down
> exactly what activity.

i got the same problems on my desktop machine (Dell P4 which support
(broken) APM) and not on my laptop :\

-- 
MandrakeSoft Inc                     http://www.chmouel.org
                      --Chmouel
-
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] 10+ messages in thread

* Re: 2.4.1-pre8/10 klogd taking 100% of CPU time -- bug?
  2001-01-23 10:45   ` Tigran Aivazian
  2001-01-23 11:07     ` Andrew Morton
@ 2001-01-23 11:50     ` Chmouel Boudjnah
  2001-01-23 15:34     ` John Jasen
  2 siblings, 0 replies; 10+ messages in thread
From: Chmouel Boudjnah @ 2001-01-23 11:50 UTC (permalink / raw)
  To: Tigran Aivazian; +Cc: linux-kernel

Tigran Aivazian <tigran@veritas.com> writes:

> > i got the same problems on my desktop machine (Dell P4 which support
> > (broken) APM) and not on my laptop :\
> 
> I forgot top say that my laptop is identified (by DMI) as:

my laptop is  an HP, look like a Dell problem i got the same BIOS also
thought... 

-- 
MandrakeSoft Inc                     http://www.chmouel.org
                      --Chmouel
-
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] 10+ messages in thread

* Re: 2.4.1-pre8/10 klogd taking 100% of CPU time -- bug?
  2001-01-23 11:07     ` Andrew Morton
@ 2001-01-23 12:18       ` Chmouel Boudjnah
  2001-01-23 12:47         ` Tigran Aivazian
  0 siblings, 1 reply; 10+ messages in thread
From: Chmouel Boudjnah @ 2001-01-23 12:18 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Tigran Aivazian, linux-kernel

Andrew Morton <andrewm@uow.edu.au> writes:

> As far as the klogd problem is concerned, see
> 
> 	http://www.uwsg.iu.edu/hypermail/linux/kernel/0101.1/1053.html
> 
> for a probable solution.

it look like it fixes the problem for me, thanks.

-- 
MandrakeSoft Inc                     http://www.chmouel.org
                      --Chmouel
-
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] 10+ messages in thread

* Re: 2.4.1-pre8/10 klogd taking 100% of CPU time -- bug?
  2001-01-23 12:18       ` Chmouel Boudjnah
@ 2001-01-23 12:47         ` Tigran Aivazian
  2001-01-23 14:05           ` Chmouel Boudjnah
  0 siblings, 1 reply; 10+ messages in thread
From: Tigran Aivazian @ 2001-01-23 12:47 UTC (permalink / raw)
  To: Chmouel Boudjnah; +Cc: Andrew Morton, linux-kernel

On 23 Jan 2001, Chmouel Boudjnah wrote:

> Andrew Morton <andrewm@uow.edu.au> writes:
> 
> > As far as the klogd problem is concerned, see
> > 
> > 	http://www.uwsg.iu.edu/hypermail/linux/kernel/0101.1/1053.html
> > 
> > for a probable solution.
> 
> it look like it fixes the problem for me, thanks.
> 

Yes, it works, but one should NOT forget to rename /sbin/syslogd ->
syslogd.old and klogd likewise because the new versions install themselves
into /usr/sbin and so without renaming the old versions will be picked up.
Also, one needs to edit /etc/rc.d/init.d/syslog. This is very similar to
what one has to do if he wants to use NFSv3 client/server and latest
nfsutils on Red Hat systems (they are broken by default)

Regards,
Tigran

-
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] 10+ messages in thread

* Re: 2.4.1-pre8/10 klogd taking 100% of CPU time -- bug?
  2001-01-23 10:36 2.4.1-pre8/10 klogd taking 100% of CPU time -- bug? Tigran Aivazian
  2001-01-23 11:40 ` Chmouel Boudjnah
@ 2001-01-23 13:33 ` Tigran Aivazian
  1 sibling, 0 replies; 10+ messages in thread
From: Tigran Aivazian @ 2001-01-23 13:33 UTC (permalink / raw)
  To: linux-kernel

On Tue, 23 Jan 2001, Tigran Aivazian wrote:
> So, since kdb was unable to tell me what's going on (and truss also can't
> attach to it) one will have to debug it the old-fashioned way -- manually,
> i.e. by trussing klogd from the beginning and reading it's sources...

actually, all this means is that the task is busy looping in userspace (in
retrospective, it is easy to "guess").

Regards,
Tigran

-
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] 10+ messages in thread

* Re: 2.4.1-pre8/10 klogd taking 100% of CPU time -- bug?
  2001-01-23 12:47         ` Tigran Aivazian
@ 2001-01-23 14:05           ` Chmouel Boudjnah
  0 siblings, 0 replies; 10+ messages in thread
From: Chmouel Boudjnah @ 2001-01-23 14:05 UTC (permalink / raw)
  To: Tigran Aivazian; +Cc: Andrew Morton, linux-kernel

Tigran Aivazian <tigran@veritas.com> writes:

> Yes, it works, but one should NOT forget to rename /sbin/syslogd ->
> syslogd.old and klogd likewise because the new versions install themselves

was not a problem for RPM since i did a RPM with the patch :

--=-=-=
From: Chmouel Boudjnah <devel@mandrakesoft.com>
Subject: [CHRPM] sysklogd-1.4-7mdk
To: Changelog List <changelog@linux-mandrake.com>
Date: Tue, 23 Jan 2001 12:30:13 +0100 (CET)

--=-=-=
Name        : sysklogd                     Relocations: (not relocateable)
Version     : 1.4                               Vendor: MandrakeSoft
Release     : 7mdk                          Build Date: Tue Jan 23 12:18:01 2001
Install date: (not installed)               Build Host: no.mandrakesoft.com
Group       : System/Kernel and hardware    Source RPM: (none)
Size        : 85062                            License: GPL
Packager    : Chmouel Boudjnah <chmouel@mandrakesoft.com>
Summary     : System logging and kernel message trapping daemons.
Description :
The sysklogd package contains two system utilities (syslogd and klogd)
which provide support for system logging.  Syslogd and klogd run as
daemons (background processes) and log system messages to different
places, like sendmail logs, security logs, error logs, etc.

--=-=-=

* Tue Jan 23 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.4-7mdk

- Don't do busy loop when encounter two zero bytes (Troels Walsted
  Hansen (troels@thule.no)).

-- 
http://www.linux-mandrake.com/en/cookerdevel.php3
--=-=-=

-- 
MandrakeSoft Inc                     http://www.chmouel.org
                      --Chmouel
-
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] 10+ messages in thread

* Re: 2.4.1-pre8/10 klogd taking 100% of CPU time -- bug?
  2001-01-23 10:45   ` Tigran Aivazian
  2001-01-23 11:07     ` Andrew Morton
  2001-01-23 11:50     ` Chmouel Boudjnah
@ 2001-01-23 15:34     ` John Jasen
  2 siblings, 0 replies; 10+ messages in thread
From: John Jasen @ 2001-01-23 15:34 UTC (permalink / raw)
  To: Tigran Aivazian; +Cc: Chmouel Boudjnah, linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 459 bytes --]

On Tue, 23 Jan 2001, Tigran Aivazian wrote:

> Asset Tag: Ñ^L.
> Asset Tag: Ò^L.

That's interesting ... My Inspiron 3700 prints asset tags just fine in
2.4.0-release.

--
-- John E. Jasen (jjasen1@umbc.edu)
-- In theory, theory and practise are the same. In practise, they aren't.

-
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] 10+ messages in thread

end of thread, other threads:[~2001-01-23 15:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-23 10:36 2.4.1-pre8/10 klogd taking 100% of CPU time -- bug? Tigran Aivazian
2001-01-23 11:40 ` Chmouel Boudjnah
2001-01-23 10:45   ` Tigran Aivazian
2001-01-23 11:07     ` Andrew Morton
2001-01-23 12:18       ` Chmouel Boudjnah
2001-01-23 12:47         ` Tigran Aivazian
2001-01-23 14:05           ` Chmouel Boudjnah
2001-01-23 11:50     ` Chmouel Boudjnah
2001-01-23 15:34     ` John Jasen
2001-01-23 13:33 ` Tigran Aivazian

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.