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. |