Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
2276 Discussions

Strange error message when I boot my Debian Buster AMD64 - sep5_30

cpetit
Beginner
738 Views

Hello,

 

I can ssh via another pc but I can't get the login page of the Debian, the boot seems to be stopped. I suspect "`Intel vtune`" from `oneAPI` Intel driver to put the mess but I don't know how to find a workaround.

cpetit_0-1644520362954.jpeg

 

sep5_30 : Driver loading ...

 

In directory /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp`,  I have compile with `./build-driver`

 

/opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp| sudo ./build-driver

sudo ./build-driver

C compiler to use: [ /bin/gcc ]
C compiler version: 8.3.0

Make command to use: [ /bin/make ]
Make version: 4.2.1

Kernel source directory: [ /lib/modules/4.19.0-18-amd64/build ]
Kernel version: 4.19.0-18-amd64

Cleaning workspaces ...
Done

Building socperf driver ...
Done

Building sep driver ...
/opt/intel/oneapi/vtune/2022.0.0/sepdk/src/.tmp_sys64.o: warning: objtool: .text+0x11: unreachable instruction
Done

Building pax driver ...
Done

Building vtsspp driver ...
make[1]: Entering directory '/opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp'
make[2]: Entering directory '/usr/src/linux-headers-4.19.0-18-amd64'
TEST VTSS_AUTOCONF_ACCESS_OK_TWO_ARGS=no
TEST VTSS_AUTOCONF_CPULIST_SCNPRINTF=no
TEST VTSS_AUTOCONF_CURRENT_KUID_KGID=yes
TEST VTSS_AUTOCONF_DUMP_TRACE_HAVE_BP=no
TEST VTSS_AUTOCONF_FLUSH_TLB_INFO=yes
TEST VTSS_AUTOCONF_FOR_EACH_KERNEL_TRACEPOINT=yes
TEST VTSS_AUTOCONF_HLIST_NODE_ITER=no
TEST VTSS_AUTOCONF_INLINE_COPY_FROM_USER=no
TEST VTSS_AUTOCONF_JPROBE=no
TEST VTSS_AUTOCONF_KAISER=no
TEST VTSS_AUTOCONF_KERNEL_HEADERS=yes
TEST VTSS_AUTOCONF_KERNEL_READ_WRITE=yes
TEST VTSS_AUTOCONF_KMAP_ATOMIC_ONE_ARG=yes
TEST VTSS_AUTOCONF_KRETPROBE_INSTANCE_TASK_ARG=yes
TEST VTSS_AUTOCONF_KTIME_EQUAL=no
TEST VTSS_AUTOCONF_KTIME_GET_TS64=yes
TEST VTSS_AUTOCONF_MMAP_LOCK=no
TEST VTSS_AUTOCONF_MODULE_CORE_LAYOUT=yes
TEST VTSS_AUTOCONF_MODULE_MUTEX=yes
TEST VTSS_AUTOCONF_NMI_UACCESS=yes
TEST VTSS_AUTOCONF_PREEMPT_NOTIFIER_CONTROL=yes
TEST VTSS_AUTOCONF_PROCFS_OPS=no
TEST VTSS_AUTOCONF_PROCFS_OWNER=no
TEST VTSS_AUTOCONF_PROCFS_SET_USER=yes
TEST VTSS_AUTOCONF_PROCFS_SUBTREE=yes
TEST VTSS_AUTOCONF_SET_FS=yes
TEST VTSS_AUTOCONF_SI_MEM_AVAILABLE=yes
TEST VTSS_AUTOCONF_STACKTRACE_OPS=no
TEST VTSS_AUTOCONF_STACKTRACE_OPS_ADDRESS_INT=no
TEST VTSS_AUTOCONF_STACKTRACE_OPS_WALK_STACK=no
TEST VTSS_AUTOCONF_STACKTRACE_OPS_WALK_STACK_TASK_ARG=no
TEST VTSS_AUTOCONF_STACKTRACE_OPS_WARNING=no
TEST VTSS_AUTOCONF_SYSTEM_UNBOUND_WQ=yes
TEST VTSS_AUTOCONF_TASK_STRUCT_HIDDEN_STATE=no
TEST VTSS_AUTOCONF_TIMER_SETUP=yes
TEST VTSS_AUTOCONF_TRACE_SCHED_SWITCH_NO_ARG=no
TEST VTSS_AUTOCONF_TRACE_SCHED_SWITCH_PREEMPT_ARG=yes
TEST VTSS_AUTOCONF_TRACE_SCHED_SWITCH_RQ_ARG=no
TEST VTSS_AUTOCONF_TRACEPOINT_PROBE=yes
TEST VTSS_AUTOCONF_USER_MODE_VM=no
TEST VTSS_AUTOCONF_VSYSCALL_ADDR=yes
TEST VTSS_AUTOCONF_X86_UNIREGS=yes
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/cmd.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/dsa.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/ipt.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/kpti.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/ksyms.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/lbr.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/mmap.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/modcfg.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/module.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/mpool.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/nmiwd.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/pcb.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/pebs.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/pmi.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/pmu.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/probe.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/procfs.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/record.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/sched.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/stack.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/target.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/task.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/task_map.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/transport.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/unwind.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/user_vm.o
LD [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/vtsspp.o
Building modules, stage 2.
MODPOST 1 modules
CC /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/vtsspp.mod.o
LD [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/vtsspp.ko
make[2]: Leaving directory '/usr/src/linux-headers-4.19.0-18-amd64'
cp -f vtsspp.ko vtsspp-x32_64-4.19.0-18-amd64smp.ko
make[1]: Leaving directory '/opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp'
Done

Building socwatch driver ...
Building drivers for Linux target
-n switch is deprecated. Now it does not have any effect.
/lib/modules/4.19.0-18-amd64/build will be used as the kernel build directory
Removing previously built driver and scripts from /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/drivers
mkdir: cannot create directory ‘/opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/drivers’: File exists
-c /bin/gcc -l -k /lib/modules/4.19.0-18-amd64/build will be used to build the SoCWatch driver
-c /bin/gcc -l -k /lib/modules/4.19.0-18-amd64/build
************ Building socwatch2_15.ko driver ************
Using C compiler = /bin/gcc
Using kernel build dir = /lib/modules/4.19.0-18-amd64/build
No module symvers file found
Using common inc dir = /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/../common/include
Using file name sw_driver
Make args = KERNEL_SRC_DIR=/lib/modules/4.19.0-18-amd64/build CPUFREQ_FIX_BACKPORTED=0 DO_DEBUG_BUILD=0 DO_PROFILING=0 COMMON_INC_DIR=/opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/../common/include MODULE_SYMVERS_FILE= FILE_NAME=sw_driver
make[1]: Entering directory '/opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver'
make -C /lib/modules/4.19.0-18-amd64/build M=/opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver clean
make[2]: Entering directory '/usr/src/linux-headers-4.19.0-18-amd64'
CLEAN /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/.tmp_versions
CLEAN /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/Module.symvers
make[2]: Leaving directory '/usr/src/linux-headers-4.19.0-18-amd64'
make[1]: Leaving directory '/opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver'
Using C compiler = /bin/gcc
Using kernel build dir = /lib/modules/4.19.0-18-amd64/build
No module symvers file found
Using common inc dir = /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/../common/include
Using file name sw_driver
Make args = KERNEL_SRC_DIR=/lib/modules/4.19.0-18-amd64/build CPUFREQ_FIX_BACKPORTED=0 DO_DEBUG_BUILD=0 DO_PROFILING=0 COMMON_INC_DIR=/opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/../common/include MODULE_SYMVERS_FILE= FILE_NAME=sw_driver
make[1]: Entering directory '/opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver'
make -C /lib/modules/4.19.0-18-amd64/build M=/opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver clean
make[2]: Entering directory '/usr/src/linux-headers-4.19.0-18-amd64'
make[2]: Leaving directory '/usr/src/linux-headers-4.19.0-18-amd64'
************************************************************
KERNEL_SRC_DIR=/lib/modules/4.19.0-18-amd64/build
CPUFREQ_FIX_BACKPORTED=0
DO_SOCPERF=0
MODULE_SYMVERS_FILE=
DO_DRIVER_PROFILING=0
INCDIR_1=/opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/../common/include
************************************************************
make -C /lib/modules/4.19.0-18-amd64/build M=/opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver modules PWD=/opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver
make[2]: Entering directory '/usr/src/linux-headers-4.19.0-18-amd64'
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_driver.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_hardware_io.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_output_buffer.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_tracepoint_handlers.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_collector.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_mem.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_internal.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_file_ops.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_ops_provider.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_trace_notifier_provider.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_reader.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_telem.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_pmt.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_counter_list.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_pci.o
LD [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/socwatch2_15.o
Building modules, stage 2.
MODPOST 1 modules
CC /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/socwatch2_15.mod.o
LD [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/socwatch2_15.ko
make[2]: Leaving directory '/usr/src/linux-headers-4.19.0-18-amd64'
make[1]: Leaving directory '/opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver'
************ Built drivers are copied to /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/drivers directory ************
Done
mv: target 'socwatch2_15-x32_64-4-x32_64-4.19.0-18-amd64smp.ko' is not a directory
make: *** [Makefile:224: default] Error 1

Failed to build the drivers

 

|fab@pablo|22:57|/opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp

 

1) I don't know which directory to set for option --install-dir  : I think this should be in /lib/modules but don't know where precisely.

2) If I do :

$ /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp| sudo make
make[1]: Entering directory '/usr/src/linux-headers-4.19.0-18-amd64'
TEST VTSS_AUTOCONF_ACCESS_OK_TWO_ARGS=no
TEST VTSS_AUTOCONF_CPULIST_SCNPRINTF=no
TEST VTSS_AUTOCONF_CURRENT_KUID_KGID=yes
TEST VTSS_AUTOCONF_DUMP_TRACE_HAVE_BP=no
TEST VTSS_AUTOCONF_FLUSH_TLB_INFO=yes
TEST VTSS_AUTOCONF_FOR_EACH_KERNEL_TRACEPOINT=yes
TEST VTSS_AUTOCONF_HLIST_NODE_ITER=no
TEST VTSS_AUTOCONF_INLINE_COPY_FROM_USER=no
TEST VTSS_AUTOCONF_JPROBE=no
TEST VTSS_AUTOCONF_KAISER=no
TEST VTSS_AUTOCONF_KERNEL_HEADERS=yes
TEST VTSS_AUTOCONF_KERNEL_READ_WRITE=yes
TEST VTSS_AUTOCONF_KMAP_ATOMIC_ONE_ARG=yes
TEST VTSS_AUTOCONF_KRETPROBE_INSTANCE_TASK_ARG=yes
TEST VTSS_AUTOCONF_KTIME_EQUAL=no
TEST VTSS_AUTOCONF_KTIME_GET_TS64=yes
TEST VTSS_AUTOCONF_MMAP_LOCK=no
TEST VTSS_AUTOCONF_MODULE_CORE_LAYOUT=yes
TEST VTSS_AUTOCONF_MODULE_MUTEX=yes
TEST VTSS_AUTOCONF_NMI_UACCESS=yes
TEST VTSS_AUTOCONF_PREEMPT_NOTIFIER_CONTROL=yes
TEST VTSS_AUTOCONF_PROCFS_OPS=no
TEST VTSS_AUTOCONF_PROCFS_OWNER=no
TEST VTSS_AUTOCONF_PROCFS_SET_USER=yes
TEST VTSS_AUTOCONF_PROCFS_SUBTREE=yes
TEST VTSS_AUTOCONF_SET_FS=yes
TEST VTSS_AUTOCONF_SI_MEM_AVAILABLE=yes
TEST VTSS_AUTOCONF_STACKTRACE_OPS=no
TEST VTSS_AUTOCONF_STACKTRACE_OPS_ADDRESS_INT=no
TEST VTSS_AUTOCONF_STACKTRACE_OPS_WALK_STACK=no
TEST VTSS_AUTOCONF_STACKTRACE_OPS_WALK_STACK_TASK_ARG=no
TEST VTSS_AUTOCONF_STACKTRACE_OPS_WARNING=no
TEST VTSS_AUTOCONF_SYSTEM_UNBOUND_WQ=yes
TEST VTSS_AUTOCONF_TASK_STRUCT_HIDDEN_STATE=no
TEST VTSS_AUTOCONF_TIMER_SETUP=yes
TEST VTSS_AUTOCONF_TRACE_SCHED_SWITCH_NO_ARG=no
TEST VTSS_AUTOCONF_TRACE_SCHED_SWITCH_PREEMPT_ARG=yes
TEST VTSS_AUTOCONF_TRACE_SCHED_SWITCH_RQ_ARG=no
TEST VTSS_AUTOCONF_TRACEPOINT_PROBE=yes
TEST VTSS_AUTOCONF_USER_MODE_VM=no
TEST VTSS_AUTOCONF_VSYSCALL_ADDR=yes
TEST VTSS_AUTOCONF_X86_UNIREGS=yes
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/cmd.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/dsa.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/ipt.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/kpti.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/ksyms.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/lbr.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/mmap.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/modcfg.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/module.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/mpool.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/nmiwd.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/pcb.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/pebs.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/pmi.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/pmu.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/probe.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/procfs.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/record.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/sched.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/stack.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/target.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/task.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/task_map.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/transport.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/unwind.o
CC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/user_vm.o
LD [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/vtsspp.o
Building modules, stage 2.
MODPOST 1 modules
CC /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/vtsspp.mod.o
LD [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/vtsspp.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.19.0-18-amd64'
cp -f vtsspp.ko vtsspp-x32_64-4.19.0-18-amd64smp.ko

$ sudo make install seems to do nothing

 

3) But once installed, I have with :

./insmod-vtsspp
NOTE: super-user or "root" privileges are required in order to continue.
Please enter "root" Password:
Executing: insmod ./vtsspp-x32_64-4.19.0-18-amd64smp.ko gid=0 mode=0660 ksyms="ffffffff8a513710"
insmod: ERROR: could not insert module ./vtsspp-x32_64-4.19.0-18-amd64smp.ko: Invalid parameters

Error: vtsspp driver failed to load!

You may need to build vtsspp driver for your kernel.
Please see the vtsspp driver README for instructions.

 

$ uname -a
Linux pablo 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64 GNU/Linux

 

$ ls -l /lib/modules

drwxr-xr-x 1 root 382 Jul 27 2021 4.19.0-17-amd64
drwxr-xr-x 1 root 382 Feb 9 21:51 4.19.0-18-amd64

ps : you can see the message on the attached image.

0 Kudos
0 Replies
Reply