Messages in this thread | | | Date | Wed, 13 Jun 2012 21:38:26 +0800 | Subject | Re: logging on kernel panic | From | Cong Wang <> |
| |
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.
| |