From: Joe Buehler <aspam@cox.net>
To: linux-modules@vger.kernel.org
Subject: lspci: Unable to load libkmod resources: error -12
Date: Thu, 10 Dec 2020 18:07:32 -0500 [thread overview]
Message-ID: <5FD2AA34.3000409@cox.net> (raw)
When running lspci -v on Ubuntu 20.40, I get the error message:
lspci: Unable to load libkmod resources: error -12
I tracked this down to a possible libkmod issue. The kernel I am using
has an empty modules.builtin.aliases.bin file (modules.builtin.aliases
does not exist).
kmod_load_resources() doesn't like this. It calls index_mm_open() which
checks the file size, sees that it is less than sizeof(hdr), error
terminates, causing kmod_load_resources() to return -ENOMEM.
kmod version 27 as shipped with ubuntu 20.04
Please copy me on any responses, I am not on this list.
Joe Buehler
next reply other threads:[~2020-12-10 23:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-10 23:07 Joe Buehler [this message]
2020-12-18 14:56 ` lspci: Unable to load libkmod resources: error -12 Lucas De Marchi
2020-12-18 15:01 ` Lucas De Marchi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5FD2AA34.3000409@cox.net \
--to=aspam@cox.net \
--cc=linux-modules@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.