Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1311685

Summary: no modules loaded after boot: Unknown symbol mcount (err 0)
Product: [Fedora] Fedora Reporter: Karsten Hopp <karsten>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: rawhideCC: dan, gansalmon, hannsj_uhl, itamar, jonathan, kernel-maint, madhu.chinakonda, mchehab, pbrobinson
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-09 17:16:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1071880, 1051573    
Attachments:
Description Flags
dmesg output none

Description Karsten Hopp 2016-02-24 18:05:32 UTC
Created attachment 1130286 [details]
dmesg output

Description of problem:
kernel-4.5.0-0.rc4.git3.1.fc24 on a tyan-openpower system can't load any modules, each one complains about a missing symbol mcount.

[    2.198813] usb_storage: Unknown symbol mcount (err 0)
[    2.328162] usb_storage: Unknown symbol mcount (err 0)
[    2.840449] pps_core: Unknown symbol mcount (err 0)
....

Output of dmesg attached

Version-Release number of selected component (if applicable):
kernel-4.5.0-0.rc4.git3.1.fc24.ppc64

How reproducible:
always

Actual results:
no modules loaded

Expected results:


Additional info:
Output of dmesg attached

Comment 1 Karsten Hopp 2016-02-24 18:07:54 UTC
The same kernel works just fine on an IBM Power-8 machine

Comment 2 Dan Horák 2016-02-24 20:42:04 UTC
I suspect the problem I mentioned couple days ago on IRC about network modules on s390x is the same as here.

Comment 3 Dan Horák 2016-02-25 19:20:03 UTC
(In reply to Dan Horák from comment #2)
> I suspect the problem I mentioned couple days ago on IRC about network
> modules on s390x is the same as here.

So my memory was wrong, kernel 4.5.0-0.rc2.git3.1.fc24 fails on s390x with

         Mounting /sysroot...
[    2.473809] SGI XFS with ACLs, security attributes, no debug enabled
[    2.483961] XFS (dm-0): Mounting V5 Filesystem
[    2.643433] XFS (dm-0): Torn write (CRC failure) detected at log block 0x3328
. Truncating head block from 0x3338.
[    2.736211] XFS (dm-0): failed to locate log tail
[    2.736220] XFS (dm-0): log mount/recovery failed: error -74
[    2.737130] XFS (dm-0): log mount failed
[    2.738982] mount (1113) used greatest stack depth: 11040 bytes left
[ [1;31mFAILED [0m] Failed to mount /sysroot.
See 'systemctl status sysroot.mount' for details.

If reproducable with latest 4.5 kernel I'll open a separate bug report.

Comment 4 Peter Robinson 2016-04-09 17:16:01 UTC
Presumably this is working with 4.5.0 GA