Re: crash-6.0.2 won't do module source lines on our kernel

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

 




----- Original Message -----
> I've reverted back to crash-5.1.9 and applied my kmem patch to that
> for
> our use here.  We're using a 3.1-based kernel, and need the kmem
> patch
> so crash can deal with the change in CONFIG_SLAB, but we're building
> with gcc-4.4.5 and don't really need the new gdb in crash-6.0.2, and
> crash-6.0.2 is not giving module source line numbers for us with "dis -l".
> 
> This is just a heads up.  I don't know why 6.0.2 is failing this, and
> since I found the last module source line number problem, it's not my
> turn ;-)
> 
> Bob Montgomery
 
What kernel version?  I'll try to reproduce it.

BTW, you might try this patch to symbols.c:

 https://www.redhat.com/archives/crash-utility/2011-December/msg00043.html 

> I could not found out corresponding condition from gdb-7.3.1/
> but maybe -readnow is simple and proper way for this problem.
> I've tested and got the good result.
> 
> //                      sprintf(buf, "add-symbol-file %s 0x%lx",
>                         sprintf(buf, "add-symbol-file %s 0x%lx
>                         -readnow",
>                                 lm->mod_namelist, section_vaddr);

Although I still don't know why the module line-number fixes that went
into crash-6.0.1 wouldn't accomplish the same thing without the overhead
of doing it for all symbols of all modules.

Dave

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility


[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux