lkml.org 
[lkml]   [2012]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: logging on kernel panic
From
On Wed, Jun 13, 2012 at 8:18 PM, Mahmood Naderan <nt_mahmood@yahoo.com> wrote:
> Hi everybody
> If a system receives kernel panic during boot, will it be logged somewhere?
> In our diskless cluster, clients boot from an image located at /nfsroot
> Normally /nfsroot/var/log/syslog should contain messages. However
> on a kernel panic, there is no log in /nfsroot/var/log/syslog/
>

The kernel log may not hit /var/log/syslog when kernel panics,
try other more reliable way to get the kernel log, there are some
new ways to store the kernel log at panic/oops, pstore filesystem
is one of them.

As Alan mentioned, netconsole may work too.


\
 
 \ /
  Last update: 2012-06-13 16:21    [W:0.061 / U:0.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site