FW: Checking "/lib/modules/3.0.101-108.68-default/build/.config" failed: No such file or directory

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FW: Checking "/lib/modules/3.0.101-108.68-default/build/.config" failed: No such file or directory

Satri, Jayakumar
Hi,

I need your help in solving this issue. I am following https://www.suse.com/documentation/sles11/book_sle_tuning/data/sec_tuning_systemtap_setup.html for installing systemtap.
========== Suse Linux Version ==================
root@nve-nsr-04:/root$ cat /etc/SuSE-release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 4

I am getting the said error when I execute the below command.
======================== Begin: Command and its output ==========================
root@nve-nsr-04:/root$ stap -vvv -e 'probe vfs.read {printf("read performed\n"); exit()}'
Created temporary directory "/tmp/stapPF2U1G"
SystemTap translator/driver (version 1.4/0.152 non-git sources)
Copyright (C) 2005-2011 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
enabled features: LIBSQLITE3 NSS TR1_UNORDERED_MAP
Session arch: x86_64 release: 3.0.101-108.68-default
Checking "/lib/modules/3.0.101-108.68-default/build/.config" failed: No such file or directory
======================== End: Command and its output ============================

When I listed the contents of /lib/modules/3.0.101-108.68-default/, the below is the output

============== Contents of of /lib/modules/3.0.101-108.68-default/ =============
root@nve-nsr-04:/root$ ls -lrt /lib/modules/3.0.101-108.68-default/
total 3808
-rw-r--r--  1 root root 118521 Aug 14  2018 modules.order
-rw-r--r--  1 root root   2565 Aug 14  2018 modules.builtin
drwxr-xr-x  3 root root   4096 Mar 15 18:36 weak-updates
drwxr-xr-x  2 root root   4096 Mar 15 18:36 vdso
drwxr-xr-x 11 root root   4096 Mar 15 18:36 kernel
-rw-r--r--  1 root root 818852 Apr  1 19:54 modules.usbmap
-rw-r--r--  1 root root 306978 Apr  1 19:54 modules.symbols.bin
-rw-r--r--  1 root root 247919 Apr  1 19:54 modules.symbols
-rw-r--r--  1 root root   1219 Apr  1 19:54 modules.seriomap
-rw-r--r--  1 root root 457465 Apr  1 19:54 modules.pcimap
-rw-r--r--  1 root root    158 Apr  1 19:54 modules.ofmap
-rw-r--r--  1 root root   3623 Apr  1 19:54 modules.isapnpmap
-rw-r--r--  1 root root    218 Apr  1 19:54 modules.inputmap
-rw-r--r--  1 root root    445 Apr  1 19:54 modules.ieee1394map
-rw-r--r--  1 root root 279257 Apr  1 19:54 modules.dep.bin
-rw-r--r--  1 root root 401648 Apr  1 19:54 modules.dep
-rw-r--r--  1 root root     69 Apr  1 19:54 modules.ccwmap
-rw-r--r--  1 root root   3586 Apr  1 19:54 modules.builtin.bin
-rw-r--r--  1 root root 571696 Apr  1 19:54 modules.alias.bin
-rw-r--r--  1 root root 600710 Apr  1 19:54 modules.alias
=========== End: Contents of of /lib/modules/3.0.101-108.68-default/ =============

When I searched for .config files in the machine.  I get the below output
============= Begin: finding .config files in the machine ===============
root@nve-nsr-04:/root$ find / -name .config
/usr/src/linux-2.6.37.1-1.2-obj/i386/pae/.config
/usr/src/linux-2.6.37.1-1.2-obj/i386/vmi/.config
/usr/src/linux-2.6.37.1-1.2-obj/x86_64/desktop/.config
/usr/src/linux-2.6.37.1-1.2-obj/x86_64/vanilla/.config
/usr/src/linux-2.6.37.1-1.2-obj/x86_64/debug/.config
/usr/src/linux-2.6.37.1-1.2-obj/x86_64/trace/.config
/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default/.config
/usr/src/linux-2.6.37.1-1.2-obj/x86_64/ec2/.config
/usr/src/linux-2.6.37.1-1.2-obj/x86_64/xen/.config
root@nve-nsr-04:/root$
============= End: finding .config files in the machine ===============