Ask Your Question

Kernel Panic on Shutdown - Where to find the log?

asked 2012-06-07 02:49:30 -0600

hakre gravatar image

updated 2014-09-28 21:15:02 -0600

mether gravatar image

My Fedora 17 get's a Kernel Panic on shutdown. I then switch the computer off manually.

How can I read the log of that Kernel Panic when I boot the computer again?

I'd like to search the internet for it and want to copy and paste from it.

edit retag flag offensive close merge delete


please edit your answer with the problem are you getting ? kernel panic is a very general error , we need more information is a fresh install or upgrade ? maybe you are affecting to this bug's ->

hhlp gravatar imagehhlp ( 2012-06-07 09:58:45 -0600 )edit

you can also use -> sudo cat /var/log/messages | grep "Kernel panic"

hhlp gravatar imagehhlp ( 2012-06-07 09:59:09 -0600 )edit

4 Answers

Sort by ยป oldest newest most voted

answered 2012-09-17 05:23:56 -0600

hakre gravatar image

I could finally help myself by viewing the file /var/log/messages which contains what dmesg outputs but also from previous boots. I'm not 100% sure that it actually is totally the exact same, but it helped me to troubleshoot my problem. Combine with less it is easier to handle as the file can grow large:

# less /var/log/messages

I hope this information is useful even if it might be not technically correct. It helped me in my case.

edit flag offensive delete link more

answered 2012-06-07 04:14:31 -0600

hhlp gravatar image

updated 2012-06-07 06:01:50 -0600

  • related question -> here

    dmesg is used to examine or control the kernel ring buffer. the default action is to read all messages from kernel ring buffer.

open a terminal and type :

> dmesg

all logs files in fedora are store in /var/log

in fedora 17 gnome-system-log is install it by default...

activities โ†’ aplication โ†’ system tools

more information โ†’ man dmesg

edit flag offensive delete link more


see /var/log/messages or use gnome-system-log and expand tab message you can see a message by day

hhlp gravatar imagehhlp ( 2012-06-07 08:44:14 -0600 )edit

answered 2012-06-08 04:30:57 -0600

ippo gravatar image

updated 2012-06-08 04:34:54 -0600

I have the same problem, even I upgraded the Kernel. image description

edit flag offensive delete link more


this is a bug feel free to fill a bug report in ...

hhlp gravatar imagehhlp ( 2012-06-08 06:13:49 -0600 )edit

there is something with device mapper,how often it occurs??

Akshay gravatar imageAkshay ( 2012-06-08 09:02:13 -0600 )edit

answered 2012-06-07 04:19:37 -0600

Akshay gravatar image

updated 2012-06-07 05:54:19 -0600

These are some common log files

/var/log/message: General message and system related stuff
/var/log/auth.log: Authenication logs
/var/log/kern.log: Kernel logs
/var/log/cron.log: Crond logs (cron job)
/var/log/maillog: Mail server logs
/var/log/qmail/ : Qmail log directory (more files inside this directory)
/var/log/httpd/: Apache access and error logs directory
/var/log/lighttpd: Lighttpd access and error logs directory
/var/log/boot.log : System boot log
/var/log/mysqld.log: MySQL database server log file
/var/log/secure: Authentication log
/var/log/utmp or /var/log/wtmp : Login records file
/var/log/yum.log: Yum log files

In short /var/log is the location where you should find all Linux logs file. However some applications such as httpd have a directory within /var/log/ for their own log files


you can use logwatch to install logwatch on fedora -----> yum install logwatch and there is log file viewer in fc17

edit flag offensive delete link more

Question Tools


Asked: 2012-06-07 02:49:30 -0600

Seen: 31,337 times

Last updated: Sep 17 '12