NetBSD-Bugs archive

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

port-hpcarm/52138: Change for the benefit of DTrace on MP ARM breaks it on UP ARM



>Number:         52138
>Category:       port-hpcarm
>Synopsis:       Change for the benefit of DTrace on MP ARM breaks it on UP ARM
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-hpcarm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 03 23:05:00 +0000 2017
>Originator:     Sevan Janiyan
>Release:        7.99.67
>Organization:
>Environment:
NetBSD 7.99.67 hpcarm
>Description:
Changes in r1.92 of src/sys/arch/arm/include/cpu.h break DTrace on NetBSD/hpcarm.
When the system boot, with the modules set in /etc/modules.conf, the system reports:
kobj_checksyms, 979: [dtrace]: linker error: symbol `cpu_info' not found
WARNING: module error: unable to affix module `dtrace', error 8
kobj_checksyms, 979: [dtrace]: linker error: symbol `cpu_info' not found
WARNING: module error: unable to affix module `dtrace', error 8
WARNING: module error: recursive load failed for `dtrace_sdt' (`dtrace' required), error 8
kobj_checksyms, 979: [dtrace]: linker error: symbol `cpu_info' not found
WARNING: module error: unable to affix module `dtrace', error 8
WARNING: module error: recursive load failed for `dtrace_fbt' (`dtrace' required), error 8
kobj_checksyms, 979: [dtrace]: linker error: symbol `cpu_info' not found
WARNING: module error: unable to affix module `dtrace', error 8
WARNING: module error: recursive load failed for `dtrace_lockstat' (`dtrace' required), error 8
kobj_checksyms, 979: [dtrace]: linker error: symbol `cpu_info' not found
WARNING: module error: unable to affix module `dtrace', error 8
WARNING: module error: recursive load failed for `dtrace_profile' (`dtrace' required), error 8
kobj_checksyms, 979: [dtrace]: linker error: symbol `cpu_info' not found
WARNING: module error: unable to affix module `dtrace', error 8
WARNING: module error: recursive load failed for `dtrace_syscall' (`dtrace' required), error 8

Reverting this change, allows all but the lockstat module to load.

With this change reverted, Lockstat module now reports that lockstat_dtrace_enabled, lockstat_dev_enabled, lockstat_probe_stub, lockstat_probe_func, lockstat_probemap, lockstat_enabled symbols not found.
>How-To-Repeat:
Try a daily from today for hpcarm on a hpcarm 710/720/728.
set the following in /etc/modules.conf & reboot
solaris
dtrace
dtrace_sdt
dtrace_fbt
dtrace_lockstat
dtrace_profile
dtrace_syscall

>Fix:
reverting r1.92 of src/sys/arch/arm/include/cpu.h resolves the issue.



Home | Main Index | Thread Index | Old Index