Re: retaining messages from previous boot - /var/log/messages OR /var/log/boot.log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, May 15, 2010 at 18:50, Onkar Mahajan <kern.devel@xxxxxxxxx> wrote:
> The Situation is this :
>
> I have compiled Xen Hypervisor , and it just hangs at some point
> during the boot. I want to send to a relevant Xen mailing list the sequence
> of events before the hang.
>
> When the System hangs , I just restart the system uncleanly ( press the
> power button for 30 sec)
> and reboot the machine with the working kernel. Now, I want to see in
> /var/log/messages the
> sequence of events that occured  before the hang in the previous boot. I am
> not able to
> see those log messages , they are overwritten during every boot.

I never tried this before, but maybe you need to explore netconsole.
It's a way to deliver your system message to other machine using
network connection. Or at least serial console, IMHO.

Good luck...

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux