1 |
On Thu, 08 Oct 2020 11:07:44 -0400, |
2 |
Ashley Dixon wrote: |
3 |
> |
4 |
> [1 <text/plain; us-ascii (quoted-printable)>] |
5 |
> On Thu, Oct 08, 2020 at 07:04:46AM -0400, John Covici wrote: |
6 |
> > I always get this error, but the flag indicating which driver is being |
7 |
> > used still works, so I have not paid too much attention to this one. |
8 |
> > I do have a running system with /lib/modules and the error still |
9 |
> > occurrs. |
10 |
> |
11 |
> What is the exact error? Is it accompanied by an error code? libkmod looks for |
12 |
> the following files, typically located in `/lib/modules/$(uname -r)/`, when |
13 |
> client applications request a context [1]; most of these can be generated with |
14 |
> depmod(8): |
15 |
> |
16 |
> - modules.dep |
17 |
> - modules.alias |
18 |
> - modules.symbols |
19 |
> - modules.builtin.alias |
20 |
> - modules.builtin |
21 |
> |
22 |
> struct _index_files { |
23 |
> const char *fn; |
24 |
> const char *prefix; |
25 |
> } |
26 |
> |
27 |
> The most interesting for kernel modules is `modules.alias`, which is the more |
28 |
> modern representation of `modules.{pci,usb}map` [2]. Are all these files intact |
29 |
> on your system? What happens when you run `lsmod`? |
30 |
> |
31 |
> [1] https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/tree/libkmod/libkmod.c#n53 |
32 |
> [2] https://stackoverflow.com/a/25644147/ |
33 |
|
34 |
I have the following in my running kernel: |
35 |
|
36 |
modules.alias modules.builtin |
37 |
modules.builtin.bin modules.dep.bin modules.order |
38 |
modules.symbols |
39 |
modules.alias.bin modules.builtin.alias.bin modules.dep |
40 |
modules.devname modules.softdep |
41 |
modules.symbols.bin |
42 |
|
43 |
and the error message is |
44 |
|
45 |
lspci: Unable to load libkmod resources: error -12 |
46 |
|
47 |
|
48 |
-- |
49 |
Your life is like a penny. You're going to lose it. The question is: |
50 |
How do |
51 |
you spend it? |
52 |
|
53 |
John Covici wb2una |
54 |
covici@××××××××××.com |