Project

General

Profile

Bug #591

lttng-modules-2.2.0-22-(rc2-32)-b3c4023 yields 'Unknown symbol in module, or unknown parameter'

Added by Daniel U. Thibault almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Target version:
Start date:
07/10/2013
Due date:
% Done:

100%

Estimated time:

Description

Using:
lttng-modules-2.2.0-22-(rc2-32)-b3c4023

As soon as the lttng-sessiond service is run, I get this error:

$ sudo lttng-sessiond -vvv
DEBUG3 [16263/16263]: Creating LTTng run directory: /var/run/lttng (in create_lttng_rundir() at main.c:4085)
DEBUG2 [16263/16263]: Kernel consumer err path: /var/run/lttng/kconsumerd/error (in main() at main.c:4372)
DEBUG2 [16263/16263]: Kernel consumer cmd path: /var/run/lttng/kconsumerd/command (in main() at main.c:4374)
DEBUG1 [16263/16263]: Client socket path /var/run/lttng/client-lttng-sessiond (in main() at main.c:4427)
DEBUG1 [16263/16263]: Application socket path /var/run/lttng/lttng-ust-sock-4 (in main() at main.c:4428)
DEBUG1 [16263/16263]: Application wait path /lttng-ust-wait-4 (in main() at main.c:4429)
DEBUG1 [16263/16263]: LTTng run directory path: /var/run/lttng (in main() at main.c:4430)
DEBUG2 [16263/16263]: UST consumer 32 bits err path: /var/run/lttng/ustconsumerd32/error (in main() at main.c:4439)
DEBUG2 [16263/16263]: UST consumer 32 bits cmd path: /var/run/lttng/ustconsumerd32/command (in main() at main.c:4441)
DEBUG2 [16263/16263]: UST consumer 64 bits err path: /var/run/lttng/ustconsumerd64/error (in main() at main.c:4450)
DEBUG2 [16263/16263]: UST consumer 64 bits cmd path: /var/run/lttng/ustconsumerd64/command (in main() at main.c:4452)
DEBUG3 [16263/16263]: Created hashtable size 4 at 0x1a7e0a0 of type 1 (in lttng_ht_new() at hashtable.c:112)
DEBUG3 [16263/16263]: Created hashtable size 4 at 0x1a7e440 of type 1 (in lttng_ht_new() at hashtable.c:112)
DEBUG3 [16263/16263]: Created hashtable size 4 at 0x1a7e800 of type 1 (in lttng_ht_new() at hashtable.c:112)
DEBUG2 [16263/16263]: Creating consumer directory: /var/run/lttng/kconsumerd (in set_consumer_sockets() at main.c:4127)
WARNING: Error inserting lttng_ftrace (/lib/modules/3.2.0-40-virtual/extra/probes/lttng-ftrace.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting lttng_kretprobes (/lib/modules/3.2.0-40-virtual/extra/probes/lttng-kretprobes.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting lttng_tracer (/lib/modules/3.2.0-40-virtual/extra/lttng-tracer.ko): Unknown symbol in module, or unknown parameter (see dmesg)
Error: Unable to load module lttng-tracer
DEBUG1 [16263/16263]: Failed to open /proc/lttng (in init_kernel_tracer() at main.c:2287)
DEBUG1 [16263/16263]: Modprobe removal successful lttng-tracer (in modprobe_remove_lttng_control() at modprobe.c:112)
Warning: No kernel tracer available
DEBUG2 [16263/16263]: Creating consumer directory: /var/run/lttng/ustconsumerd64 (in set_consumer_sockets() at main.c:4127)
DEBUG2 [16263/16263]: Creating consumer directory: /var/run/lttng/ustconsumerd32 (in set_consumer_sockets() at main.c:4127)
DEBUG1 [16263/16263]: Signal handler set for SIGTERM, SIGPIPE and SIGINT (in set_signal_handler() at main.c:4219)
DEBUG3 [16263/16263]: Session daemon client socket 8 and application socket 9 created (in init_daemon_socket() at main.c:3989)
DEBUG1 [16263/16263]: All permissions are set (in set_permissions() at main.c:4072)
DEBUG3 [16263/16263]: Created hashtable size 4 at 0x1a81250 of type 2 (in lttng_ht_new() at hashtable.c:112)
DEBUG3 [16263/16263]: Global buffer per UID registry initialized (in buffer_reg_init_uid_registry() at buffer-registry.c:99)
DEBUG3 [16263/16263]: Created hashtable size 4 at 0x1a81610 of type 2 (in lttng_ht_new() at hashtable.c:112)
DEBUG3 [16263/16263]: Global buffer per PID registry initialized (in buffer_reg_init_pid_registry() at buffer-registry.c:220)
DEBUG1 [16263/16263]: epoll set max size is 205168 (in compat_epoll_set_max_size() at compat-epoll.c:274)
DEBUG1 [16263/16263]: Command subsystem initialized (in cmd_init() at cmd.c:2605)
DEBUG1 [16263/16263]: Pid 16263 written in file /var/run/lttng/lttng-sessiond.pid (in utils_create_pid_file() at utils.c:238)
DEBUG1 [16263/16274]: [ust-thread] Manage application notify command (in ust_thread_manage_notify() at ust-thread.c:37)
DEBUG3 [16263/16274]: [ust-thread] Manage notify polling on 2 fds (in ust_thread_manage_notify() at ust-thread.c:61)
DEBUG1 [16263/16275]: [thread] Thread manage kernel started (in thread_manage_kernel() at main.c:751)
DEBUG1 [16263/16275]: Updating kernel poll set (in update_kernel_poll() at main.c:616)
DEBUG1 [16263/16275]: Thread kernel polling on 2 fds (in thread_manage_kernel() at main.c:796)
DEBUG1 [16263/16273]: [thread] Manage application started (in thread_manage_apps() at main.c:1203)
DEBUG1 [16263/16273]: Apps thread polling on 2 fds (in thread_manage_apps() at main.c:1233)
DEBUG1 [16263/16272]: [thread] Manage application registration started (in thread_registration_apps() at main.c:1705)
DEBUG1 [16263/16272]: Notifying applications of session daemon state: 1 (in notify_ust_apps() at main.c:555)
DEBUG1 [16263/16272]: Got the wait shm fd 22 (in get_wait_shm() at shm.c:119)
DEBUG1 [16263/16272]: Futex wait update active 1 (in futex_wait_update() at futex.c:63)
DEBUG1 [16263/16272]: Accepting application registration (in thread_registration_apps() at main.c:1742)
DEBUG1 [16263/16271]: [thread] Dispatch UST command started (in thread_dispatch_ust_registration() at main.c:1492)
DEBUG1 [16263/16271]: Futex n to 1 prepare done (in futex_nto1_prepare() at futex.c:75)
DEBUG1 [16263/16271]: Woken up but nothing in the UST command queue (in thread_dispatch_ust_registration() at main.c:1515)
DEBUG1 [16263/16270]: [thread] Manage client started (in thread_manage_clients() at main.c:3535)
DEBUG1 [16263/16270]: Accepting client command ... (in thread_manage_clients() at main.c:3581)
DEBUG1 [16263/16269]: [thread] Manage health check started (in thread_manage_health() at main.c:3332)
DEBUG1 [16263/16269]: Health check ready (in thread_manage_health() at main.c:3374)
DEBUG1 [16263/16268]: [ht-thread] startup. (in thread_ht_cleanup() at ht-cleanup.c:34)
DEBUG3 [16263/16268]: [ht-thread] Polling on 2 fds. (in thread_ht_cleanup() at ht-cleanup.c:58)

And dmesg yields:

...
[521465.041856] lttng_kprobes: Unknown symbol unregister_kprobe (err 0)
[521465.041864] lttng_kprobes: Unknown symbol kallsyms_lookup_name (err 0)
[521465.041870] lttng_kprobes: Unknown symbol register_kprobe (err 0)

On another machine, dmesg yields just:

...
[170936.943789] lttng_ftrace: Unknown symbol kallsyms_lookup_name (err 0)

The main difference between the machines is that the former has SystemTap installed while the latter does not.


Files

config-3.2.0-40-virtual (137 KB) config-3.2.0-40-virtual /boot/config-3.2.0-40-virtual Daniel U. Thibault, 07/10/2013 05:50 PM
lttng-modules-install.log (3.13 KB) lttng-modules-install.log lttng-modules install log Daniel U. Thibault, 07/10/2013 05:50 PM
lttng-modules-make.log (11.3 KB) lttng-modules-make.log lttng-modules make log Daniel U. Thibault, 07/10/2013 05:50 PM
lttng-tools-configure.log (11.2 KB) lttng-tools-configure.log lttng-tools configure log Daniel U. Thibault, 07/10/2013 05:50 PM
lttng-tools-install.log (28.3 KB) lttng-tools-install.log lttng-tools install log Daniel U. Thibault, 07/10/2013 05:50 PM
lttng-tools-make.log (28.4 KB) lttng-tools-make.log lttng-tools make log Daniel U. Thibault, 07/10/2013 05:50 PM
userspace-rcu-config.log (32.6 KB) userspace-rcu-config.log userspace-rcu config log Daniel U. Thibault, 07/10/2013 05:50 PM
userspace-rcu-install.log (26.3 KB) userspace-rcu-install.log userspace-rcu install log Daniel U. Thibault, 07/10/2013 05:50 PM
userspace-rcu-make.log (27.4 KB) userspace-rcu-make.log userspace-rcu make log Daniel U. Thibault, 07/10/2013 05:50 PM

Also available in: Atom PDF