Gentoo Archives: gentoo-user

From: Ian Zimmerman <itz@××××××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Latest 4.9 kernels broken?
Date: Sat, 09 Jun 2018 14:26:43
Message-Id: 20180609142628.47t3d2l62csnmuiq@matica.foolinux.mooo.com
In Reply to: Re: [gentoo-user] Re: Latest 4.9 kernels broken? by Alexander Kapshuk
1 On 2018-06-09 14:15, Alexander Kapshuk wrote:
2
3 > I had a look at the source code for kmod-25. If I read it right, dmesg
4 > should have records along the lines of:
5 > kmod-25/libkmod/libkmod-module.c:886: INFO(mod->ctx, "Failed
6 > to insert module '%s': %m\n", path);
7 >
8 > modprobe returns Exec format error.
9
10 > Now, if my understanding of the source code above is right, you either
11 > have CONFIG_X86_32 set in your kernel, e.i. your Elf_Ehdr is set to
12 > Elf32_Ehdr, or the module's header is for the architecture that is
13 > different from what is expected by the kernel.
14
15 The former is definitely false. If the latter holds, it is not due to
16 any action on my part, but due to how the module is built by the kernel
17 build system (at the same time as the kernel proper). Again, I strongly
18 suspect this is due to all the "objtool" churn in 4.9.106 and later.
19
20 I'm afraid I'm at the limit of my patience diving into this for now.
21 You see, I have to remove the broken kernel from grub manually every
22 time (and then re-add it for another test), otherwise it breaks
23 unattended boots.
24
25 Sorry about that. Maybe in a few days I'll have time to sit down and
26 track it properly.
27
28 --
29 Please don't Cc: me privately on mailing lists and Usenet,
30 if you also post the followup to the list or newsgroup.
31 To reply privately _only_ on Usenet and on broken lists
32 which rewrite From, fetch the TXT record for no-use.mooo.com.

Replies

Subject Author
Re: [gentoo-user] Re: Latest 4.9 kernels broken? Alexander Kapshuk <alexander.kapshuk@×××××.com>