[gpfsug-discuss] depmod: ERROR: fstatat(4, mmfs26.ko): No such file or directory

Simon Thompson (IT Research Support) S.J.Thompson at bham.ac.uk
Thu Jul 6 18:52:44 BST 2017


Look in the kernel weak-updates directory, you will probably find some broken files in there. These come from things trying to update the kernel modules when you do the kernel upgrade.

Just delete the three gpfs related ones and run depmod 

The safest way is to remove the gpfs.gplbin packages, then upgrade the kernel, reboot and add the new gpfs.gplbin packages for the new kernel.

Simon
________________________________________
From: gpfsug-discuss-bounces at spectrumscale.org [gpfsug-discuss-bounces at spectrumscale.org] on behalf of Wei Guo [Wei1.Guo at UTSouthwestern.edu]
Sent: 06 July 2017 18:49
To: gpfsug-discuss at spectrumscale.org
Subject: [gpfsug-discuss] depmod: ERROR: fstatat(4,     mmfs26.ko): No such file or directory

Hi, All,

We are testing to upgrade our clients to new RHEL 7.3 kernel with GPFS 4.2.1.0. When we have 3.10.0-514.26.2.el7, installing the gplbin has the following errors:

# ./mmbuildgpl --build-package –v

# cd /root/rpmbuild/RPMS/x86_64/

# rpm -ivh gpfs.gplbin-3.10.0-514.26.2.el7.x86_64-4.2.1-0.x86_64.rpm
Running transaction
  Installing : gpfs.gplbin-3.10.0-514.26.2.el7.x86_64-4.2.1-0.x86_64        1/1
depmod: ERROR: fstatat(4, mmfs26.ko): No such file or directory
depmod: ERROR: fstatat(4, mmfslinux.ko): No such file or directory
depmod: ERROR: fstatat(4, tracedev.ko): No such file or directory


depmod -a also show the three kernel extension not found.

However, in the following directory, they are there.
# pwd
/lib/modules/3.10.0-514.26.2.el7.x86_64/extra

# ls
kernel  mmfs26.ko  mmfslinux.ko  tracedev.ko

The error does not show in a slightly older kernel -3.10.0-514.21.2 version. From https://www.ibm.com/support/knowledgecenter/en/STXKQY/gpfsclustersfaq.html Table 29<https://www.ibm.com/support/knowledgecenter/en/STXKQY/gpfsclustersfaq.html%20Table%2029>, both versions should be supported.
RHEL Distribution

Latest Kernel Level Tested1

Minimum Kernel Level Required2

Minimum IBM Spectrum Scale Level Tested3

Minimum IBM Spectrum Scale Level Supported4

7.3

3.10.0-514

3.10.0-514

V4.1.1.11/V4.2.2.1

V4.1.1.11/V4.2.1.2



For technical reasons, this test node will not be added to production. A previous thread  http://www.spectrumscale.org/pipermail/gpfsug-discuss/2016-April/001529.html  indicated that this will be OK. However, it is better to get a clear conclusion before we update other client nodes. Shall we recompile the kernel? Thanks all.


Wei Guo




________________________________

UT Southwestern


Medical Center



The future of medicine, today.





More information about the gpfsug-discuss mailing list