<br><tt><font size=2>crash-utility-bounces@redhat.com wrote on 29.09.2006
17:38:53:<br>
<br>
> ville.mattila@stonesoft.com wrote: </font></tt>
<br><tt><font size=2>>   <br>
>  </font></tt>
<br><tt><font size=2>> Right -- unfortunately the recompilation of the
exact same kernel may <br>
> cause a shift in kernel text addresses, which throws off the line
number <br>
> information.  You might try just running "crash vmlinux.dbg
vmcore" and <br>
> see what happens.  If it doesn't complain about a mis-match,
you should <br>
> be OK.  But if there is a shift in the text addressing, then
there's a good <br>
> chance that it will propagate up into the static data addressing as
well, <br>
> and the mis-match ensues... </font></tt>
<br>
<br><tt><font size=2> Thanks for very good explanation.</font></tt>
<br>
<br><tt><font size=2> I tried vmlinux.dbg and got</font></tt>
<br><tt><font size=2>WARNING: could not find MAGIC_START!</font></tt>
<br><tt><font size=2>crash: ../smp-dbg/boot/vmlinux-2.6.15.7+smp and crashdump.2006-08-15-11-13-23
do not match!</font></tt>
<br>
<br><tt><font size=2> I should mention that I had to patch crash so
that it can read all the symbols. I originally</font></tt>
<br><tt><font size=2> got symbol overflows. e.g crash gave output:</font></tt>
<br><tt><font size=2>crash: symbol count overflow (__func__.1)</font></tt>
<br><tt><font size=2>crash: symbol count overflow (__func__.2)</font></tt>
<br><tt><font size=2>crash: symbol count overflow (__func__.3)</font></tt>
<br><tt><font size=2>crash: symbol count overflow (__func__.0)</font></tt>
<br>
<br>
<br><tt><font size=2> To get "dis -l" to work, should I
just compile the vmlinux "-g" and extract the debug</font></tt>
<br><tt><font size=2> info to .debug file e.g, Like RHEL 3.0 does?</font></tt>
<br>
<br><tt><font size=2> Thanks,</font></tt>
<br>
<br><tt><font size=2> - Ville</font></tt>
<br>