Ubuntu 16.04.02: depmod: WARNING: <module-path> needs unknown symbol .TOC.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu-power-systems project |
Fix Released
|
Medium
|
Canonical Foundations Team | ||
kmod (Ubuntu) |
Fix Released
|
Medium
|
Adam Conrad | ||
Trusty |
Fix Released
|
Medium
|
Juerg Haefliger | ||
Xenial |
Fix Released
|
Medium
|
Adam Conrad |
Bug Description
== Comment: #0 - Douglas Miller <email address hidden> - 2017-01-24 07:59:54 ==
---Problem Description---
depmod does not handle .TOC symbol on powerpc platforms
Contact Information = Douglas Miller <email address hidden>
---uname output---
Linux p8le03 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:40:06 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = other
---Debugger---
A debugger is not configured
---Steps to Reproduce---
Compile kernel, during modules_install target the messages appear. PPC64 modules have a .TOC symbol which is required. It may be the only symbol with a period in the name, and so tools that restrict symbols based on a pattern may neglect to include .TOC.
Userspace tool common name: depmod
The userspace tool has the following bit modes: 64
Userspace rpm: libkmod2:ppc64el
Userspace tool obtained from project website: na
*Additional Instructions for Douglas Miller <email address hidden>:
-Attach ltrace and strace of userspace application.
== Comment: #3 - Douglas Miller <email address hidden> - 2017-01-24 08:12:58 ==
kmod package:
# dpkg --list |grep kmod
ii kmod 22-1ubuntu4 ppc64el tools for managing Linux kernel modules
ii libkmod2:ppc64el 22-1ubuntu4 ppc64el libkmod shared library
== Comment: #7 - Douglas Miller <email address hidden> - 2017-06-07 16:20:38 ==
I was doing a build of upstream origin/master on Ubuntu 16.04.2 fresh install and still getting these messages. In the "make modules_install" output I see:
...
DEPMOD 4.12.0-rc4
depmod: WARNING: /lib/modules/
ol .TOC.
...
tags: | added: architecture-ppc64le bugnameltc-150912 severity-medium targetmilestone-inin16042 |
Changed in ubuntu: | |
assignee: | nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
affects: | ubuntu → kmod (Ubuntu) |
Changed in ubuntu-power-systems: | |
assignee: | nobody → Canonical Server Team (canonical-server) |
Changed in kmod (Ubuntu): | |
importance: | Undecided → Medium |
Changed in ubuntu-power-systems: | |
importance: | Undecided → Medium |
Changed in ubuntu-power-systems: | |
assignee: | Canonical Server Team (canonical-server) → Canonical Foundations Team (canonical-foundations) |
Changed in kmod (Ubuntu): | |
assignee: | Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Canonical Kernel Team (canonical-kernel-team) |
tags: | added: triage-a |
Changed in kmod (Ubuntu): | |
status: | Invalid → Fix Released |
Changed in ubuntu-power-systems: | |
status: | New → Fix Released |
tags: | added: id-59774a219e9196af44a02a59 |
Changed in kmod (Ubuntu Trusty): | |
importance: | Undecided → Medium |
assignee: | nobody → Juerg Haefliger (juergh) |
status: | New → In Progress |
tags: | removed: verification-needed |
tags: | removed: severity-medium |
tags: | added: severity-medium |
Looks like perhaps we need this commit:
https:/ /anonscm. debian. org/cgit/ users/md/ kmod.git/ commit/ ?id=d46136bb59c 46609ee8050636f 0681f2831d2225