How to see debug message of kernel?

Shu Hung (Koala) koalay.dg21 at gmail.com
Tue Oct 18 02:46:25 UTC 2005


Thanks for your reply.

Actually, I got this messages on the screen during runtime:

> Message from syslogd at foo at Thu Jul 7 13:06:35 2005 ...
> foo kernel: Assertion failure in journal_write_metadata_buffer() at
> journal.c:406: "buffer_jdirty(jh2bh(jh_in))"
>

The machine would then hang and I have to do hard reboot

I did fsck on the harddisk once and fsck said it is fine.
Maybe there are hardware problem.
So, I want some more hints from the kernel.


Thanks,
Koala Yeung

2005/10/18, Sam Varshavchik <mrsam at courier-mta.com>:
>
> 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.
>
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
>
>


--
Technical Support, DigitalOne Limited
Tel: 8100-2616 / 2545-1383 Fax: 2815-0593
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20051018/9df3d94a/attachment-0001.htm>


More information about the fedora-list mailing list