Hi, 2009/3/27 nidhi mittal <nidhimittal19@xxxxxxxxx>: > no in my case /var/log/messages --- in ubuntu -- > after reboot ---first line is restart -- > seems it rewritten totally after reboot Yes, some distros delete files in places like /tmp on a boot - something I find really annoying. > dont know -- how to get state of kernel -- dmesg output -- /var/log/messages > content > just before reboot when kernel crashed ..... Can't you just setup a serial console and log to another machine? Srdjan -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ