Richard Freeman on 15 Sep 2010 08:06:34 -0700


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

Re: [PLUG] kernel config/compile sanity check


On 09/15/2010 07:58 AM, Jason Stelzer wrote:
> You could compare the md5 of the running kernel(s) to what the source
> tree(s) in question produce. That should help you narrow things down
> somewhat and see what box is running which kernel from what source
> tree.

Perhaps worth a shot.  However, for something as complex as the kernel I
wouldn't count on getting a binary-identical kernel even if you just did
two builds in immediate succession.  Certainly if the compiler and
toolchain wasn't identical you wouldn't expect identical binary results.

Comparison at a level other than md5 might work - you could get big
chunks that are the same.  Also, looking at symbol tables or something
like that might help.  I'd have to figure out how to do it though -
never really had cause to tear apart the binaries like that.

Rich
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug