[Bug 1828455] New: depmod running for a long time when installing
F33 kernel
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1828455
Bug ID: 1828455
Summary: depmod running for a long time when installing F33
kernel
Product: Fedora
Version: 31
Status: NEW
Component: kmod
Assignee: kmod-maint(a)lists.fedoraproject.org
Reporter: m8r-sx4s741(a)veryrealemail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: jonathan(a)jonmasters.org,
kmod-maint(a)lists.fedoraproject.org,
skozina(a)redhat.com, ykaliuta(a)redhat.com
Target Milestone: ---
Classification: Fedora
Description of problem:
In an F31 VM, when installing an F33 kernel, depmod runs for a very long time
and consumes nearly 100% CPU.
Version-Release number of selected component (if applicable):
kmod-26-4.fc31.x86_64
kernel-0:5.7.0-0.rc2.20200422git18bf34080c4c.1.fc33.x86_64
How reproducible:
Tested once.
Steps to Reproduce:
# dnf update --nogpg kernel-0:5.7.0-0.rc2.20200422git18bf34080c4c.1.fc33.x86_64
--releasever=33
Actual results:
Top shows CPU usage by depmod approaching 100% at times:
$ top -bc -n 1 -u root | head -9
top - 10:31:33 up 28 min, 1 user, load average: 1.20, 1.11, 0.99
Tasks: 186 total, 2 running, 184 sleeping, 0 stopped, 0 zombie
%Cpu(s): 94.1 us, 5.9 sy, 0.0 ni, 0.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
MiB Mem : 3928.0 total, 2000.5 free, 734.9 used, 1192.6 buff/cache
MiB Swap: 512.0 total, 512.0 free, 0.0 used. 2942.6 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
38906 root 20 0 41960 39528 4220 R 81.2 1.0 0:03.82
/sbin/depmod -C /tmp/weak-modules.Os10HS/depmod.conf +
1 root 20 0 172764 16432 9752 S 0.0 0.4 0:02.78
/usr/lib/systemd/systemd --switched-root --system --d+
Expected results:
Kernel install completes in a normal time.
Additional info:
This bug appears to be reporting the same issue:
Bug 1825940 - kernel-core-5.7.0-0.rc1.20200416git9786cab67457.1 took very long
time to install
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
2 years, 1 month
[Bug 1808430] New: depmod: tools/depmod.c:416: index_write:
Assertion `initial_offset >= 0' failed.
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1808430
Bug ID: 1808430
Summary: depmod: tools/depmod.c:416: index_write: Assertion
`initial_offset >= 0' failed.
Product: Fedora
Version: rawhide
Status: NEW
Component: kmod
Assignee: kmod-maint(a)lists.fedoraproject.org
Reporter: yaneti(a)declera.com
QA Contact: extras-qa(a)fedoraproject.org
CC: jonathan(a)jonmasters.org,
kmod-maint(a)lists.fedoraproject.org,
skozina(a)redhat.com, ykaliuta(a)redhat.com
Target Milestone: ---
Classification: Fedora
Description of problem:
depmod -n 5.6.0-0.rc3.git2.2.fc33.x86_64
....
depmod: tools/depmod.c:416: index_write: Assertion `initial_offset >= 0'
failed.
Aborted (core dumped)
Version-Release number of selected component (if applicable):
kmod-27-1.fc33.x86_64
Additional info:
kmod-26-5.fc32 works fine
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
3 years, 2 months
[Bug 1851216] New: kmod abort installing rawhide kernel
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=1851216
Bug ID: 1851216
Summary: kmod abort installing rawhide kernel
Product: Fedora
Version: 32
Status: NEW
Component: kmod
Assignee: kmod-maint(a)lists.fedoraproject.org
Reporter: gtwilliams(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: jonathan(a)jonmasters.org,
kmod-maint(a)lists.fedoraproject.org,
skozina(a)redhat.com, ykaliuta(a)redhat.com
Target Milestone: ---
Classification: Fedora
Description of problem:
I am trying to install the rawhide kernel to test another problem that I want
to report, but the install ends up looping with bash calling weak-modules
--add-kernel over and over consuming a CPU and never finishing the kernel
install.
The abrt servers are down, so I copied this out of /var:
{ "signal": 6
, "executable": "/usr/bin/kmod"
, "stacktrace":
[ { "crash_thread": true
, "frames":
[ { "address": 139763600779813
, "build_id": "7ca24d4dc3de9d62d9ad6bb25e5b70a3e57a342f"
, "build_id_offset": 248357
, "function_name": "raise"
, "file_name": "/lib64/libc.so.6"
}
, { "address": 139763600685205
, "build_id": "7ca24d4dc3de9d62d9ad6bb25e5b70a3e57a342f"
, "build_id_offset": 153749
, "function_name": "abort"
, "file_name": "/lib64/libc.so.6"
}
, { "address": 139763600684905
, "build_id": "7ca24d4dc3de9d62d9ad6bb25e5b70a3e57a342f"
, "build_id_offset": 153449
, "function_name": "_nl_load_domain.cold"
, "file_name": "/lib64/libc.so.6"
}
, { "address": 139763600748166
, "build_id": "7ca24d4dc3de9d62d9ad6bb25e5b70a3e57a342f"
, "build_id_offset": 216710
, "function_name": ".annobin___GI___assert_fail.end"
, "file_name": "/lib64/libc.so.6"
}
, { "address": 94510574397772
, "build_id": "3fe82dc1a1ab30d9fdc9a2fe8bc7de1e10f58148"
, "build_id_offset": 39244
, "function_name": "index_write"
, "file_name": "/usr/bin/kmod"
}
, { "address": 94510574414815
, "build_id": "3fe82dc1a1ab30d9fdc9a2fe8bc7de1e10f58148"
, "build_id_offset": 56287
, "function_name": "output_builtin_alias_bin"
, "file_name": "/usr/bin/kmod"
}
, { "address": 94510574409852
, "build_id": "3fe82dc1a1ab30d9fdc9a2fe8bc7de1e10f58148"
, "build_id_offset": 51324
, "function_name": "do_depmod"
, "file_name": "/usr/bin/kmod"
} ]
} ]
}
Log of console dnf command. I had to find the process pid that was spawning
depmod constantly (bash) and kill it with -kill to stop the processing:
Running transaction
Preparing : 1/1
Installing : kernel-core-5.8.0-0.rc2.20200623gitdd0d718152e4.1.fc 1/3
Running scriptlet: kernel-core-5.8.0-0.rc2.20200623gitdd0d718152e4.1.fc 1/3
Installing : kernel-modules-5.8.0-0.rc2.20200623gitdd0d718152e4.1 2/3
Running scriptlet: kernel-modules-5.8.0-0.rc2.20200623gitdd0d718152e4.1 2/3
Installing : kernel-5.8.0-0.rc2.20200623gitdd0d718152e4.1.fc33.x8 3/3
Running scriptlet: kernel-core-5.8.0-0.rc2.20200623gitdd0d718152e4.1.fc 3/3
/var/tmp/rpm-tmp.TKQAHF: line 4: 28562 Killed
/usr/sbin/weak-modules --add-kernel
5.8.0-0.rc2.20200623gitdd0d718152e4.1.fc33.x86_64
warning:
%posttrans(kernel-core-5.8.0-0.rc2.20200623gitdd0d718152e4.1.fc33.x86_64)
scriptlet failed, exit status 137
Error in POSTTRANS scriptlet in rpm package kernel-core
Running scriptlet: kernel-5.8.0-0.rc2.20200623gitdd0d718152e4.1.fc33.x8 3/3
Verifying : kernel-5.8.0-0.rc2.20200623gitdd0d718152e4.1.fc33.x8 1/3
Verifying : kernel-core-5.8.0-0.rc2.20200623gitdd0d718152e4.1.fc 2/3
Verifying : kernel-modules-5.8.0-0.rc2.20200623gitdd0d718152e4.1 3/3
Installed:
kernel-5.8.0-0.rc2.20200623gitdd0d718152e4.1.fc33.x86_64
kernel-core-5.8.0-0.rc2.20200623gitdd0d718152e4.1.fc33.x86_64
kernel-modules-5.8.0-0.rc2.20200623gitdd0d718152e4.1.fc33.x86_64
Complete!
garry@vfr$
Version-Release number of selected component (if applicable):
garry@vfr$ kmod --version
kmod version 27
+XZ +ZLIB +LIBCRYPTO -EXPERIMENTAL
garry@vfr$ dnf --version
4.2.23
Installed: dnf-0:4.2.23-1.fc32.noarch at Sat 20 Jun 2020 09:18:21 PM GMT
Built : Fedora Project at Tue 02 Jun 2020 07:50:03 PM GMT
Installed: rpm-0:4.15.1-3.fc32.1.x86_64 at Sat 20 Jun 2020 09:16:46 PM GMT
Built : Fedora Project at Mon 04 May 2020 07:32:48 AM GMT
garry@vfr$ depmod --version
kmod version 27
+XZ +ZLIB +LIBCRYPTO -EXPERIMENTAL
garry@vfr$
How reproducible:
Always.
Steps to Reproduce:
1. sudo dnf update --enablerepo=rawhide --nogpg kernel
2.
3.
Actual results:
Core dump and infinite loop.
Expected results:
Finish installing kernel.
Additional info:
Jun 25 14:50:50 vfr sudo[28504]: garry : TTY=pts/7 ; PWD=/home/garry ;
USER=root ; COMMAND=/usr/bin/dnf update --enablerepo=rawhide --nogpg kernel
Jun 25 14:50:50 vfr sudo[28504]: pam_unix(sudo:session): session opened for
user root by garry(uid=0)
Jun 25 14:52:50 vfr systemd[1]: Started Process Core Dump (PID 35218/UID 0).
Jun 25 14:52:50 vfr systemd-coredump[35247]: Process 28582 (depmod) of user 0
dumped core.
Stack trace of thread 28582:
#0 0x00007fbbbfdc7a25 raise
(libc.so.6 + 0x3ca25)
#1 0x00007fbbbfdb0895 abort
(libc.so.6 + 0x25895)
#2 0x00007fbbbfdb0769
__assert_fail_base.cold (libc.so.6 + 0x25769)
#3 0x00007fbbbfdbfe86
__assert_fail (libc.so.6 + 0x34e86)
#4 0x000055c69ed9094c index_write
(kmod + 0x994c)
#5 0x000055c69ed94bdf
output_builtin_alias_bin (kmod + 0xdbdf)
#6 0x000055c69ed9387c do_depmod
(kmod + 0xc87c)
#7 0x00007fbbbfdb2042
__libc_start_main (libc.so.6 + 0x27042)
#8 0x000055c69ed8c2ce _start
(kmod + 0x52ce)
Jun 25 14:52:50 vfr systemd[1]: systemd-coredump(a)1-35218-0.service: Succeeded.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
3 years, 10 months