linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* jbd : config_jbd_debug cannot create /proc entry
@ 2007-09-25  9:40 richard kennedy
  2007-09-25 10:51 ` Jan Kara
  0 siblings, 1 reply; 9+ messages in thread
From: richard kennedy @ 2007-09-25  9:40 UTC (permalink / raw)
  To: sct, akpm; +Cc: linux-kernel, linux-ext4

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)

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

end of thread, other threads:[~2007-09-27  5:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-25  9:40 jbd : config_jbd_debug cannot create /proc entry richard kennedy
2007-09-25 10:51 ` 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

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).