From: Bob Miller <rem@osdl.org>
To: John Covici <covici@ccs.covici.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.7 process accounting bombs out
Date: Wed, 27 Mar 2002 07:40:43 -0800 [thread overview]
Message-ID: <20020327074043.A2280@doc.pdx.osdl.net> (raw)
In-Reply-To: <m3bsdamrlw.fsf@ccs.covici.com>
On Wed, Mar 27, 2002 at 01:50:35AM -0500, John Covici wrote:
> Whenever I try to start the init script for process accounting I get
> the following error:
>
> Mar 27 00:02:02 ccs kernel: kernel BUG at acct.c:169!
> Mar 27 00:02:02 ccs kernel: invalid operand: 0000
> Mar 27 00:02:02 ccs kernel: CPU: 0
> Mar 27 00:02:02 ccs kernel: EIP: 0010:[acct_file_reopen+8/208]
> Not tainted
> Mar 27 00:02:02 ccs kernel: EFLAGS: 00010246
>
> The system doesn't go down, but is there any way to fix this?
>
> Thanks.
>
> --
> John Covici
> covici@ccs.covici.com
Apply the patch below.
--
Bob Miller Email: rem@osdl.org
Open Source Development Lab Phone: 503.626.2455 Ext. 17
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.537 -> 1.538
# kernel/acct.c 1.8 -> 1.9
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/03/21 rem@doc.pdx.osdl.net 1.538
# Fixed acct.c code by removing the BUG_ON code because it doesn't work
# on UP systems.
# --------------------------------------------
#
diff -Nru a/kernel/acct.c b/kernel/acct.c
--- a/kernel/acct.c Thu Mar 21 11:32:05 2002
+++ b/kernel/acct.c Thu Mar 21 11:32:05 2002
@@ -166,8 +166,6 @@
{
struct file *old_acct = NULL;
- BUG_ON(!spin_is_locked(&acct_globals.lock));
-
if (acct_globals.file) {
old_acct = acct_globals.file;
del_timer(&acct_globals.timer);
next prev parent reply other threads:[~2002-03-27 15:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-27 6:50 John Covici
2002-03-27 15:40 ` Bob Miller [this message]
2002-03-27 17:26 ` John Covici
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020327074043.A2280@doc.pdx.osdl.net \
--to=rem@osdl.org \
--cc=covici@ccs.covici.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®