How to see debug message of kernel?

Sam Varshavchik mrsam at courier-mta.com
Tue Oct 18 02:29:46 UTC 2005


Shu Hung (Koala) writes:

> Dear all,
> 
> I do receive some kernel error recently and I want to put on some kind of 
> "debug mode" for my kernel.
> Seems something terrible happened to filesystem handling. I'm not quite 
> sure about that.
> 
> Is there any "debug mode" for kernel?
> How do I get more details log from kernel?
> Do I have to recompile the kernel? Or is there other way?

If you have to ask this question, even if you manage to recompile the kernel 
with additional debug stuff, you're not likely to make much sense out of the 
output.

If you suspect filesystem corruption, the easiest thing to do is to create a 
dummy zero-length file "/forcefsck", then reboot.

Then, during boot, all of your filesystems will get checked.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20051017/f6a5a6c0/attachment-0001.sig>


More information about the fedora-list mailing list