From: narkewoody@gmail.com (Woody Wu) Date: Tue, 13 Aug 2013 22:32:20 +0800 Subject: Reduce boot time console messages? In-Reply-To: <146201.1375677889@turing-police.cc.vt.edu> References: <20130803122755.GA21528@zuhnb712> <46383.1375538922@turing-police.cc.vt.edu> <20130805030726.GA23169@zuhnb712> <146201.1375677889@turing-police.cc.vt.edu> Message-ID: <20130813143220.GA8150@zuhnb712> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Mon, Aug 05, 2013 at 12:44:49AM -0400, Valdis.Kletnieks at vt.edu wrote: > On Mon, 05 Aug 2013 11:07:26 +0800, Woody Wu said: > > > Valdis, thank you very much. I just passed loglevel=7 as kernel command > > line and hope it can suspress KERN_DEBUG messages printed out to console > > at boot time. But, it seems not work. A lot of debug level messages from > > jffs2 module still print out. I will go to check where is wrong. > > Weird. Do the "debugging" messages actually have the string '[JFFS2 DBG]' > in them? If not, then they're some *other* messages from jffs2. > > Also, double-check you don't have ignore_loglevel in the kernel command line. > (This one can be tricky - do a 'cat /proc/cmdline' once you're booted to see > what you really had - there's support for compiling in all/part of a commandline > to work around buggy boot loaders that only support insanely short parameter > lists - so what your boot loader said it passed to the kernel may not be > what the kernel used). Sorry for such late reply. Those dirty messages from jffs2 doesn't have '[JFFS2 DBG]' or other prefixes. Okay, I will look up the kernel source again, to see if there are really KERN_DEBUG level. Btw: How can I know what command line parameters a module can recogonize? I remember there is a definition to search in kernel .c files. Thanks. -- I can't go back to yesterday - because I was a different person then