From: richard kennedy <richard@rsk.demon.co.uk>
To: sct@redhat.com, akpm@linux-foundation.org
Cc: linux-kernel@vger.kernel.org, linux-ext4@vger.kernel.org
Subject: jbd : config_jbd_debug cannot create /proc entry
Date: Tue, 25 Sep 2007 10:40:40 +0100 [thread overview]
Message-ID: <1190713240.3154.20.camel@castor.rsk.org> (raw)
I enabled config_jbd_debug in the hope that it may help track down the
lockup I'm seeing, but unfortunately the /proc entry does not get
created.
any ideas how to fix this ?
My machine is an Athlon 64X2 - fedora 7 x86_64 - 2.6.23-rc7
CONFIG_EXT3_FS=m
CONFIG_JBD=m
CONFIG_JBD_DEBUG=y
I added the following patch that shows create_proc_entry is failing
Richard
diff --git a/fs/jbd/journal.c b/fs/jbd/journal.c
index 06ab3c1..40e7ea3 100644
--- a/fs/jbd/journal.c
+++ b/fs/jbd/journal.c
@@ -1983,7 +1983,8 @@ static void __init create_jbd_proc_entry(void)
/* Why is this so hard? */
proc_jbd_debug->read_proc = read_jbd_debug;
proc_jbd_debug->write_proc = write_jbd_debug;
- }
+ } else
+ printk( KERN_WARNING "jbd:cannot create proc entry : " JBD_PROC_NAME "\n");
}
static void __exit remove_jbd_proc_entry(void)
next reply other threads:[~2007-09-25 9:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-25 9:40 richard kennedy [this message]
2007-09-25 10:51 ` jbd : config_jbd_debug cannot create /proc entry Jan Kara
2007-09-25 11:04 ` Aneesh Kumar K.V
2007-09-25 11:50 ` Jan Kara
2007-09-25 12:49 ` Jose R. Santos
2007-09-25 13:41 ` Jose R. Santos
2007-09-25 14:36 ` Jan Kara
2007-09-26 21:35 ` Andrew Morton
2007-09-27 5:23 ` Jose R. Santos
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=1190713240.3154.20.camel@castor.rsk.org \
--to=richard@rsk.demon.co.uk \
--cc=akpm@linux-foundation.org \
--cc=linux-ext4@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sct@redhat.com \
/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;
as well as URLs for NNTP newsgroup(s).