jbd : config_jbd_debug cannot create /proc entry

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <sct@...>, <akpm@...>
Cc: <linux-kernel@...>, <linux-ext4@...>
Date: Tuesday, September 25, 2007 - 5:40 am

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)


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
jbd : config_jbd_debug cannot create /proc entry, richard kennedy, (Tue Sep 25, 5:40 am)
Re: jbd : config_jbd_debug cannot create /proc entry, Aneesh Kumar K.V, (Tue Sep 25, 7:04 am)
Re: jbd : config_jbd_debug cannot create /proc entry, Jose R. Santos, (Tue Sep 25, 8:49 am)
Re: jbd : config_jbd_debug cannot create /proc entry, Jose R. Santos, (Tue Sep 25, 9:41 am)
Re: jbd : config_jbd_debug cannot create /proc entry, Andrew Morton, (Wed Sep 26, 5:35 pm)
Re: jbd : config_jbd_debug cannot create /proc entry, Jose R. Santos, (Thu Sep 27, 1:23 am)