Re: 2.4.1-pre8/10 klogd taking 100% of CPU time -- bug?

2001-01-23 Thread John Jasen

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 ([EMAIL PROTECTED])
-- 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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: 2.4.1-pre8/10 klogd taking 100% of CPU time -- bug?

2001-01-23 Thread Tigran Aivazian

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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: 2.4.1-pre8/10 klogd taking 100% of CPU time -- bug?

2001-01-23 Thread Chmouel Boudjnah

Tigran Aivazian <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
Subject: [CHRPM] sysklogd-1.4-7mdk
To: Changelog List <[EMAIL PROTECTED]>
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 hardwareSource RPM: (none)
Size: 85062License: GPL
Packager: Chmouel Boudjnah <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]> 1.4-7mdk

- Don't do busy loop when encounter two zero bytes (Troels Walsted
  Hansen ([EMAIL PROTECTED])).

-- 
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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: 2.4.1-pre8/10 klogd taking 100% of CPU time -- bug?

2001-01-23 Thread Tigran Aivazian

On 23 Jan 2001, Chmouel Boudjnah wrote:

> Andrew Morton <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: 2.4.1-pre8/10 klogd taking 100% of CPU time -- bug?

2001-01-23 Thread Chmouel Boudjnah

Andrew Morton <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: 2.4.1-pre8/10 klogd taking 100% of CPU time -- bug?

2001-01-23 Thread Andrew Morton

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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: 2.4.1-pre8/10 klogd taking 100% of CPU time -- bug?

2001-01-23 Thread Chmouel Boudjnah

Tigran Aivazian <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: 2.4.1-pre8/10 klogd taking 100% of CPU time -- bug?

2001-01-23 Thread Tigran Aivazian

On 23 Jan 2001, Chmouel Boudjnah wrote:

> Tigran Aivazian <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: 2.4.1-pre8/10 klogd taking 100% of CPU time -- bug?

2001-01-23 Thread Chmouel Boudjnah

Tigran Aivazian <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



2.4.1-pre8/10 klogd taking 100% of CPU time -- bug?

2001-01-23 Thread Tigran Aivazian

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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/