lp:kmod

Created by Registry Administrators on 2012-07-04 and last modified on 2020-03-23
Get this branch:
bzr branch lp:kmod

Related bugs

Related blueprints

Branch information

Owner:
Registry Administrators
Project:
kmod
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git.

The next import is scheduled to run in 5 hours.

Last successful import was 7 minutes ago.

Import started 8 minutes ago on alnitak and finished 7 minutes ago taking 15 seconds — see the log
Import started 6 hours ago on alnitak and finished 6 hours ago taking 15 seconds — see the log
Import started 12 hours ago on alnitak and finished 12 hours ago taking 15 seconds — see the log
Import started 20 hours ago on alnitak and finished 20 hours ago taking 15 seconds — see the log
Import started on 2020-06-04 on alnitak and finished on 2020-06-04 taking 15 seconds — see the log
Import started on 2020-06-03 on alnitak and finished on 2020-06-03 taking 15 seconds — see the log
Import started on 2020-06-03 on alnitak and finished on 2020-06-03 taking 15 seconds — see the log
Import started on 2020-06-03 on alnitak and finished on 2020-06-03 taking 20 seconds — see the log
Import started on 2020-06-03 on alnitak and finished on 2020-06-03 taking 15 seconds — see the log
Import started on 2020-06-02 on alnitak and finished on 2020-06-02 taking 15 seconds — see the log

Recent revisions

1197. By Lucas De Marchi on 2020-03-23

testsuite: add check for kmod_load_resources

Make sure we can call kmod_load_resources when we do have all the
mandatory indexes in place.

1196. By Lucas De Marchi on 2020-03-23

libkmod: allow modules.alias.builtin to be optional

1195. By Lucas De Marchi on 2020-03-23

libkmod: fix return error when opening index

When calling kmod_load_resources() we could end up getting a bogus
return value -ENOMEM due to several other reasons, like the index not
existing. Change index_mm_open() to propagate the failure reason so we
can take actions on it or return to the caller.

1194. By Lucas De Marchi on 2020-03-23

libkmod: simplify lookup when builtin.modinfo.bin file is missing

When we try to lookup a module and builtin.modinfo.bin is missing, we
would do the right thing because the caller was replacing the return
code with 0 (and the list was not modified).

Make it simpler by allowing the caller to check and differentiate the
errors between module not found and index not found.

1193. By Lucas De Marchi on 2020-03-13

depmod: do not output .bin to stdout

index_write() relies on fseek/ftell to manage the position to which we
are write and thus needs the file stream to support it.

Right now when trying to write the index to stdout we fail with:

 depmod: tools/depmod.c:416: index_write: Assertion `initial_offset >= 0' failed.
 Aborted (core dumped)

We have no interest in outputting our index to stdout, so just skip it
like is done with other indexes.

While at it, add/remove some newlines to improve readability.

Reported-by: Yanko Kaneti <email address hidden>
Fix: b866b2165ae6 ("Lookup aliases in the modules.builtin.modinfo")

1192. By Lucas De Marchi on 2020-03-13

testsuite: check for ill-formed kcmdline

Commit ca3bf5d47cec ("iommu/amd: Introduces ivrs_acpihid kernel parameter")
in the kernel introduced an ill-formed kernel parameter, ivrs_acpihid.
The problem is that it may have a dot on the key side:
"ivrs_acpihid[00:14.5]=AMD0020:0". This could potentially trip our
parser of module options, but right now it's working as intended: the
only thing that happens is that after deciding "ivrs_acpihid[00:14" is a
module name, it will fail the underscores() routine and the option will
be ignored from the kmod pov (not kernel's pov since that driver parsers
the kernel command line by itself).

1191. By Lucas De Marchi on 2020-03-13

libkmod: ignore kcmdline option if we fail to parse modname

The error message is saying we are ignoring the option on the kernel
command line, so just do it.

1190. By Lucas De Marchi on 2020-03-10

gitignore: ignore .cache.mk when building modules

1189. By Lucas De Marchi on 2020-02-28

gitignore: ignore release files

1188. By Lucas De Marchi on 2020-02-18

kmod 27

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.