kernel version in git repo

YONETANI Tomokazu y0n3t4n1 at gmail.com
Wed Jan 25 16:08:11 PST 2012


On Wed, Jan 25, 2012 at 12:34:43PM -0500, Pierre Abbat wrote:
> > The output from `uname -a' contains a prefix of the commit hash
> > of the source code from which the kernel was built
> 
> Matthias answered by private email and I added the output of "git show" to the 
> bug report. "uname -a" wouldn't work, since I copied the previous kernel after 
> finding out that the one I built caused the X server to reboot.

Well, /var/log/messages* contains the uname -a output from the previos
boots.  Look for the word `Copyright' and a few lines after that.
The messages file may (or may not) also contain the panic message,
so you can use it as the guide if you forgot when the panic happened.

Cheers.





More information about the Users mailing list