Bug 1643599 - Building kernel modules is broken on 4.20.0-0.rc0.git3.2.fc30.x86_64
Summary: Building kernel modules is broken on 4.20.0-0.rc0.git3.2.fc30.x86_64
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-26 16:24 UTC by someone
Modified: 2018-11-12 14:59 UTC (History)
17 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2018-10-31 20:39:42 UTC


Attachments (Terms of Use)

Description someone 2018-10-26 16:24:01 UTC
Description of problem:

Building kernel modules on 4.20-rc0 throws:

Assembler messages:
Error: can't open arch/x86/kernel/macros.s for reading: No such file or directory
Assembler messages:
Error: can't open arch/x86/kernel/macros.s for reading: No such file or director
How reproducible:

with DKMS too.

Adding that file with the one from the upstream tree ends up with a bunch of errors similar to "./arch/x86/include/asm/atomic64_64.h:88: Error: no such instruction: `lock_prefix incq 56(%rax)'".

https://paste.fedoraproject.org/paste/~LQMn7yXbcINWFNr8HVpPg/raw is the log of a failed kernel module building attempt.

This bug doesn't exist on 4.19, and continuing to build modules for 4.19 after installing 4.20-rc0 still works fine.

Comment 1 Justin M. Forbes 2018-10-31 20:39:42 UTC
This should be fixed with the current rawhide build.

Comment 2 Hal Murphy 2018-11-12 14:59:21 UTC
@Justin M. Forbes can you point me the fix for this? Is it https://src.fedoraproject.org/cgit/rpms/kernel.git/commit/?id=6904e708917a12819d1fe0d329f605030d6e4b0d ?


Note You need to log in before you can comment on or make changes to this bug.