Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Re: Latest 4.9 kernels broken?
Date: Sat, 09 Jun 2018 05:56:47
Message-Id: CAJ1xhMXDsni=yQsZ_VoCgaYvJcfTQU1jAjPfBrmF2qK3G_zN2Q@mail.gmail.com
In Reply to: [gentoo-user] Re: Latest 4.9 kernels broken? by Ian Zimmerman
1 On Sat, Jun 9, 2018, 07:34 Ian Zimmerman <itz@××××××××××××.org> wrote:
2
3 > On 2018-06-08 22:38, Alexander Kapshuk wrote:
4 >
5 > > On Fri, Jun 8, 2018, 22:30 Ian Zimmerman <itz@××××××××××××.org> wrote:
6 > >
7 > > > On 2018-06-08 22:00, Alexander Kapshuk wrote:
8 > > >
9 > > > > What's the output of:
10 > > > > uname -r
11 > > > > strings /path/to/your/module.ko | grep vermagic=
12 > > >
13 > > > Here are the results for 4.9.105 (working):
14 > > >
15 > > > matica!6 ~$ uname -r
16 > > > 4.9.105
17 > > > matica!7 ~$ strings
18 > > > /lib64/modules/4.9.105/kernel/drivers/video/console/fbcon.ko |
19 > > > fgrep -e 'vermagic='
20 > > > vermagic=4.9.105 SMP
21 > > >
22 > > > Let me know if you need to see the ones for the broken kernel ...
23 > > >
24 > >
25 > > Yes, we want to make sure the vermagic of the modules you're trying to
26 > load
27 > > matches the output of uname -r of the running kernel.
28 >
29 > Ok, here:
30 >
31 > Script started on 2018-06-08 21:11:04-0700
32 > matica!501 ~# ls -l
33 > /lib64/modules/4.9.107/kernel/drivers/video/console/fbcon.ko
34 > -rw-r--r-- 1 root root 54280 Jun 8 20:57
35 > /lib64/modules/4.9.107/kernel/drivers/video/console/fbcon.ko
36 > matica!502 ~# uname -r
37 > 4.9.107
38 > matica!503 ~# strings
39 > /lib64/modules/4.9.107/kernel/drivers/video/console/fbcon
40 > .ko | fgrep -e 'vermagic='
41 > vermagic=4.9.107 SMP
42 > matica!504 ~# modprobe fbcon
43 > modprobe: ERROR: could not insert 'fbcon': Exec format error
44 > matica!505 ~# exit
45 >
46 > Script done on 2018-06-08 21:14:46-0700
47 >
48 > Sorry to ruin the low-hanging hypothesis :-P
49 >
50 >
51 Did dmesg have anything useful to say other than exec format error?
52 Have you tried insmod'ing the modules instead of modprobe'ing them?
53
54 >
55 > --
56 > Please don't Cc: me privately on mailing lists and Usenet,
57 > if you also post the followup to the list or newsgroup.
58 > To reply privately _only_ on Usenet and on broken lists
59 > which rewrite From, fetch the TXT record for no-use.mooo.com.
60 >
61 >

Replies

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