<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>

<blockquote TYPE=CITE><tt></tt> <tt></tt>
<p><tt>> > Without the map.4 argument, crash doesn't complain about the
file</tt>
<br><tt>> > formats.</tt>
<br><tt>></tt>
<br><tt>> ...but the virtual addresses probably don't line up completely?</tt><tt></tt>
<p><tt>Yes, it doesn't work at all, with and without a mapfile, and I guess</tt>
<br><tt>that format changes occurred in the lkcd dump because of this message</tt><tt></tt>
<p><tt>    crash: LKCD machine specific dump header doesn't
match crash version</tt>
<br><tt>    crash: traceback of currently executing threads
may not work</tt><tt></tt>
<p><tt>I'm debugging that now. But, if you have some patches already in
the</tt>
<br><tt>queue that I can try out or something like this, I would be happy.
;)</tt></blockquote>
<tt>Bernhard,</tt><tt></tt>
<p><tt>I wish I could help you out, but w/respect to anything associated
with</tt>
<br><tt>LKCD, I'm only a receptor of patches from the LKCD developers on
the</tt>
<br><tt>list, and I personally don't do any work with them at all.</tt><tt></tt>
<p><tt>That whole ia64-specific lkcd_fix_mem.c file came from Troy Heber
for</tt>
<br><tt>ia64 LKCD dumpfile support (troy.heber@hp.com).  Troy's an
active</tt>
<br><tt>contributor on this list, and may have a quick answer -- I'm afraid
I</tt>
<br><tt>have no idea what it does...</tt>
<blockquote TYPE=CITE><tt></tt> <tt></tt>
<p><tt>> > Any hints? Thanks!</tt>
<br><tt>></tt>
<br><tt>> Yes, the "map.4" file did not return successfully from the</tt>
<br><tt>> is_system_map() function in symbols.c.  That function sanity-checks</tt>
<br><tt>> the first 100 entries in the file to verify that there are 3
entries</tt>
<br><tt>> in each line, that the the first entry contains a 64-bit hexadecimal</tt>
<br><tt>> address, and that the second field contains a single character.</tt>
<br><tt>></tt>
<br><tt>> For example, this is an example of a 2.4 ia64 kernel</tt>
<br><tt>> System.map file:</tt><tt></tt>
<p><tt>I know the format of map files. :)</tt>
<br><tt></tt> </blockquote>
<tt>Sorry -- I didn't mean to imply that you weren't...  ;-)</tt>
<blockquote TYPE=CITE><tt></tt> 
<br><tt>But the problem was easy to fix, see my attachment. You aggree
that</tt>
<br><tt>the string length must only be smaller. The problem occurs on IA64</tt>
<br><tt>here.</tt><tt></tt>
<p><tt>> What does "head -100 map.4." show?</tt><tt></tt>
<p><tt>    000d5c59 A __crc_simple_sync_file</tt>
<br><tt>    0013a785 A __crc_fb_create_modedb</tt>
<br><tt>    0014bfd1 A __crc_smp_call_function</tt>
<br><tt>    00363991 A __crc_pci_bus_read_config_byte</tt>
<br><tt>    004142de A __crc_rwsem_downgrade_wake</tt>
<br><tt>    0060e766 A __crc_tty_termios_baud_rate</tt>
<br><tt>    00752358 A __crc_permission</tt>
<br><tt>    00801678 A __crc_flush_scheduled_work</tt>
<br><tt>    [...]</tt>
<br><tt></tt> </blockquote>
<tt></tt>
<p><br><tt>Yes I agree (presuming that eventually the list turns into 64-bit</tt>
<br><tt>symbol values).  But I don't see any attachment other
than your pgp</tt>
<br><tt>signature?</tt><tt></tt>
<p><tt>I'd never seen those types of __crc_ absolutes, probably because</tt>
<br><tt>they don't show up in our kernels.  The closest 2.6.5-era
ia64</tt>
<br><tt>Red Hat kernel (2.6.5-1.358) System.map starts out like this:</tt><tt></tt>
<p><tt>a00000010010c5a0 T I_BDEV</tt>
<br><tt>a0000001005bd140 r __ksymtab_I_BDEV</tt>
<br><tt>a0000001005c6ca8 r __kstrtab_I_BDEV</tt>
<br><tt>a00000010030ff60 T QUIRK_LIST</tt>
<br><tt>a0000001005c0950 r __ksymtab_QUIRK_LIST</tt>
<br><tt>a0000001005cb698 r __kstrtab_QUIRK_LIST</tt>
<br><tt>a000000100714ff8 S ROOT_DEV</tt>
<br><tt>a0000001005bb020 r __ksymtab_ROOT_DEV</tt>
<br><tt>a0000001005c4248 r __kstrtab_ROOT_DEV</tt>
<br><tt>a00000010030fd00 T SELECT_DRIVE</tt>
<br><tt>a0000001005c0920 r __ksymtab_SELECT_DRIVE</tt>
<br><tt>a0000001005cb660 r __kstrtab_SELECT_DRIVE</tt>
<br><tt>a00000010030fde0 T SELECT_INTERRUPT</tt><tt></tt>
<p><tt>Whatever... maybe a different build CONFIG or something?</tt><tt></tt>
<p><tt>But anyway, can you send your patch again?</tt><tt></tt>
<p><tt>Thanks,</tt>
<br><tt>  Dave</tt>
<br><tt></tt> 
<br><tt></tt> 
<br> 
<br> 
<br> 
<br> 
<br> 
<br> 
<br> 
<br> 
<br> 
<br> 
<br> 
<br> 
<br> 
<br> 
<br> 
<br> 
<br> 
<br> 
<br> 
<br> 
<br> </html>