NetBSD-Bugs archive

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

port-evbarm/40311: No kernel symbols on tsarm



>Number:         40311
>Category:       port-evbarm
>Synopsis:       No kernel symbols on tsarm
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-evbarm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 01 03:55:00 +0000 2009
>Originator:     Lloyd Parkes
>Release:        5.99.5
>Organization:
Must Have Coffee
>Environment:
NetBSD evbarm 5.99.5 NetBSD 5.99.5 (TS7200_SMALL) #3: Thu Jan  1 16:33:26 NZDT 
2009  
lloyd%maro.must-have-coffee.gen.nz@localhost:/vol/scratch/obj/evbarm/sys/arch/evbarm/compile/TS7200_SMALL
 evbarm
>Description:
In rev 1.10 of sys/arch/evbarm/tsarm/tsarm_machdep.c the call to ksyms_init was 
removed. It should have been replaced with a call to ksyms_addsyms_elf(0, NULL, 
NULL).



>How-To-Repeat:
Try and load a module or drop to DDB and notice the lack of symbols.



>Fix:
Add the following lines three lines above the call to db_machine_init. No diff 
because my source isn't very close to 1.10 anymore.

#if NKSYMS || defined(DDB) || defined(MODULAR)
        /* Firmware doesn't load symbols. */
        ksyms_addsyms_elf(0, NULL, NULL);
#endif




Home | Main Index | Thread Index | Old Index