Quantcast
Channel: Active questions tagged kernel-modules - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 1183

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

$
0
0

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.

strange mesage at boot

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-driversudo ./build-driverC compiler to use: [ /bin/gcc ]C compiler version: 8.3.0Make command to use: [ /bin/make ]Make version: 4.2.1Kernel source directory: [ /lib/modules/4.19.0-18-amd64/build ]Kernel version: 4.19.0-18-amd64Cleaning workspaces ...DoneBuilding socperf driver ...DoneBuilding sep driver .../opt/intel/oneapi/vtune/2022.0.0/sepdk/src/.tmp_sys64.o: warning: objtool: .text+0x11: unreachable instructionDoneBuilding pax driver ...DoneBuilding 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=noTEST VTSS_AUTOCONF_CPULIST_SCNPRINTF=noTEST VTSS_AUTOCONF_CURRENT_KUID_KGID=yesTEST VTSS_AUTOCONF_DUMP_TRACE_HAVE_BP=noTEST VTSS_AUTOCONF_FLUSH_TLB_INFO=yesTEST VTSS_AUTOCONF_FOR_EACH_KERNEL_TRACEPOINT=yesTEST VTSS_AUTOCONF_HLIST_NODE_ITER=noTEST VTSS_AUTOCONF_INLINE_COPY_FROM_USER=noTEST VTSS_AUTOCONF_JPROBE=noTEST VTSS_AUTOCONF_KAISER=noTEST VTSS_AUTOCONF_KERNEL_HEADERS=yesTEST VTSS_AUTOCONF_KERNEL_READ_WRITE=yesTEST VTSS_AUTOCONF_KMAP_ATOMIC_ONE_ARG=yesTEST VTSS_AUTOCONF_KRETPROBE_INSTANCE_TASK_ARG=yesTEST VTSS_AUTOCONF_KTIME_EQUAL=noTEST VTSS_AUTOCONF_KTIME_GET_TS64=yesTEST VTSS_AUTOCONF_MMAP_LOCK=noTEST VTSS_AUTOCONF_MODULE_CORE_LAYOUT=yesTEST VTSS_AUTOCONF_MODULE_MUTEX=yesTEST VTSS_AUTOCONF_NMI_UACCESS=yesTEST VTSS_AUTOCONF_PREEMPT_NOTIFIER_CONTROL=yesTEST VTSS_AUTOCONF_PROCFS_OPS=noTEST VTSS_AUTOCONF_PROCFS_OWNER=noTEST VTSS_AUTOCONF_PROCFS_SET_USER=yesTEST VTSS_AUTOCONF_PROCFS_SUBTREE=yesTEST VTSS_AUTOCONF_SET_FS=yesTEST VTSS_AUTOCONF_SI_MEM_AVAILABLE=yesTEST VTSS_AUTOCONF_STACKTRACE_OPS=noTEST VTSS_AUTOCONF_STACKTRACE_OPS_ADDRESS_INT=noTEST VTSS_AUTOCONF_STACKTRACE_OPS_WALK_STACK=noTEST VTSS_AUTOCONF_STACKTRACE_OPS_WALK_STACK_TASK_ARG=noTEST VTSS_AUTOCONF_STACKTRACE_OPS_WARNING=noTEST VTSS_AUTOCONF_SYSTEM_UNBOUND_WQ=yesTEST VTSS_AUTOCONF_TASK_STRUCT_HIDDEN_STATE=noTEST VTSS_AUTOCONF_TIMER_SETUP=yesTEST VTSS_AUTOCONF_TRACE_SCHED_SWITCH_NO_ARG=noTEST VTSS_AUTOCONF_TRACE_SCHED_SWITCH_PREEMPT_ARG=yesTEST VTSS_AUTOCONF_TRACE_SCHED_SWITCH_RQ_ARG=noTEST VTSS_AUTOCONF_TRACEPOINT_PROBE=yesTEST VTSS_AUTOCONF_USER_MODE_VM=noTEST VTSS_AUTOCONF_VSYSCALL_ADDR=yesTEST VTSS_AUTOCONF_X86_UNIREGS=yesCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/cmd.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/dsa.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/ipt.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/kpti.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/ksyms.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/lbr.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/mmap.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/modcfg.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/module.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/mpool.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/nmiwd.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/pcb.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/pebs.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/pmi.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/pmu.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/probe.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/procfs.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/record.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/sched.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/stack.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/target.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/task.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/task_map.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/transport.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/unwind.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/user_vm.oLD [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/vtsspp.oBuilding modules, stage 2.MODPOST 1 modulesCC /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/vtsspp.mod.oLD [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/vtsspp.komake[2]: Leaving directory '/usr/src/linux-headers-4.19.0-18-amd64'cp -f vtsspp.ko vtsspp-x32_64-4.19.0-18-amd64smp.komake[1]: Leaving directory '/opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp'DoneBuilding 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 directoryRemoving previously built driver and scripts from /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/driversmkdir: 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/gccUsing kernel build dir = /lib/modules/4.19.0-18-amd64/buildNo module symvers file foundUsing common inc dir = /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/../common/includeUsing file name sw_driverMake 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_drivermake[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 cleanmake[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_versionsCLEAN /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/Module.symversmake[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/gccUsing kernel build dir = /lib/modules/4.19.0-18-amd64/buildNo module symvers file foundUsing common inc dir = /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/../common/includeUsing file name sw_driverMake 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_drivermake[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 cleanmake[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/buildCPUFREQ_FIX_BACKPORTED=0DO_SOCPERF=0MODULE_SYMVERS_FILE=DO_DRIVER_PROFILING=0INCDIR_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_drivermake[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.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_hardware_io.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_output_buffer.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_tracepoint_handlers.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_collector.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_mem.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_internal.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_file_ops.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_ops_provider.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_trace_notifier_provider.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_reader.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_telem.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_pmt.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_counter_list.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/./src/sw_pci.oLD [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/socwatch2_15.oBuilding modules, stage 2.MODPOST 1 modulesCC /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/socwatch2_15.mod.oLD [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/socwatch/socwatch_driver/socwatch2_15.komake[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 ************Donemv: target 'socwatch2_15-x32_64-4-x32_64-4.19.0-18-amd64smp.ko' is not a directorymake: *** [Makefile:224: default] Error 1Failed to build the drivers|fab@pablo|22:57|/opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp

I) 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.

II) If I do :

$ /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp| sudo makemake[1]: Entering directory '/usr/src/linux-headers-4.19.0-18-amd64'TEST VTSS_AUTOCONF_ACCESS_OK_TWO_ARGS=noTEST VTSS_AUTOCONF_CPULIST_SCNPRINTF=noTEST VTSS_AUTOCONF_CURRENT_KUID_KGID=yesTEST VTSS_AUTOCONF_DUMP_TRACE_HAVE_BP=noTEST VTSS_AUTOCONF_FLUSH_TLB_INFO=yesTEST VTSS_AUTOCONF_FOR_EACH_KERNEL_TRACEPOINT=yesTEST VTSS_AUTOCONF_HLIST_NODE_ITER=noTEST VTSS_AUTOCONF_INLINE_COPY_FROM_USER=noTEST VTSS_AUTOCONF_JPROBE=noTEST VTSS_AUTOCONF_KAISER=noTEST VTSS_AUTOCONF_KERNEL_HEADERS=yesTEST VTSS_AUTOCONF_KERNEL_READ_WRITE=yesTEST VTSS_AUTOCONF_KMAP_ATOMIC_ONE_ARG=yesTEST VTSS_AUTOCONF_KRETPROBE_INSTANCE_TASK_ARG=yesTEST VTSS_AUTOCONF_KTIME_EQUAL=noTEST VTSS_AUTOCONF_KTIME_GET_TS64=yesTEST VTSS_AUTOCONF_MMAP_LOCK=noTEST VTSS_AUTOCONF_MODULE_CORE_LAYOUT=yesTEST VTSS_AUTOCONF_MODULE_MUTEX=yesTEST VTSS_AUTOCONF_NMI_UACCESS=yesTEST VTSS_AUTOCONF_PREEMPT_NOTIFIER_CONTROL=yesTEST VTSS_AUTOCONF_PROCFS_OPS=noTEST VTSS_AUTOCONF_PROCFS_OWNER=noTEST VTSS_AUTOCONF_PROCFS_SET_USER=yesTEST VTSS_AUTOCONF_PROCFS_SUBTREE=yesTEST VTSS_AUTOCONF_SET_FS=yesTEST VTSS_AUTOCONF_SI_MEM_AVAILABLE=yesTEST VTSS_AUTOCONF_STACKTRACE_OPS=noTEST VTSS_AUTOCONF_STACKTRACE_OPS_ADDRESS_INT=noTEST VTSS_AUTOCONF_STACKTRACE_OPS_WALK_STACK=noTEST VTSS_AUTOCONF_STACKTRACE_OPS_WALK_STACK_TASK_ARG=noTEST VTSS_AUTOCONF_STACKTRACE_OPS_WARNING=noTEST VTSS_AUTOCONF_SYSTEM_UNBOUND_WQ=yesTEST VTSS_AUTOCONF_TASK_STRUCT_HIDDEN_STATE=noTEST VTSS_AUTOCONF_TIMER_SETUP=yesTEST VTSS_AUTOCONF_TRACE_SCHED_SWITCH_NO_ARG=noTEST VTSS_AUTOCONF_TRACE_SCHED_SWITCH_PREEMPT_ARG=yesTEST VTSS_AUTOCONF_TRACE_SCHED_SWITCH_RQ_ARG=noTEST VTSS_AUTOCONF_TRACEPOINT_PROBE=yesTEST VTSS_AUTOCONF_USER_MODE_VM=noTEST VTSS_AUTOCONF_VSYSCALL_ADDR=yesTEST VTSS_AUTOCONF_X86_UNIREGS=yesCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/cmd.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/dsa.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/ipt.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/kpti.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/ksyms.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/lbr.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/mmap.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/modcfg.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/module.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/mpool.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/nmiwd.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/pcb.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/pebs.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/pmi.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/pmu.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/probe.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/procfs.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/record.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/sched.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/stack.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/target.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/task.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/task_map.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/transport.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/unwind.oCC [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/user_vm.oLD [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/vtsspp.oBuilding modules, stage 2.MODPOST 1 modulesCC /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/vtsspp.mod.oLD [M] /opt/intel/oneapi/vtune/2022.0.0/sepdk/src/vtsspp/vtsspp.komake[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

III) But once installed, I have with :

./insmod-vtssppNOTE: 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 parametersError: vtsspp driver failed to load!You may need to build vtsspp driver for your kernel.Please see the vtsspp driver README for instructions.$ uname -aLinux pablo 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64 GNU/Linux$ ls -l /lib/modulesdrwxr-xr-x 1 root 382 Jul 27 2021 4.19.0-17-amd64drwxr-xr-x 1 root 382 Feb 9 21:51 4.19.0-18-amd64

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


Viewing all articles
Browse latest Browse all 1183

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>