[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpXHXnHDnQZwYHwCWt=HxCA3K8EmJrikTNZryYfCPdeoPA@mail.gmail.com>
Date: Wed, 13 Jun 2012 21:38:26 +0800
From: Cong Wang <xiyou.wangcong@...il.com>
To: Mahmood Naderan <nt_mahmood@...oo.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: logging on kernel panic
On Wed, Jun 13, 2012 at 8:18 PM, Mahmood Naderan <nt_mahmood@...oo.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists