Sure, I will take a look.

On Tue, Jun 28, 2022 at 3:17 AM Stefano Brivio <sbrivio@redhat.com> wrote:
[Adding Sevinj... if you have some time to have a look]

On Tue, 28 Jun 2022 15:31:23 +1000
David Gibson <david@gibson.dropbear.id.au> wrote:

> Now that the mbuto profile change is around, I tried getting the passt
> tests working.  I fixed a couple of minor problems, before hitting
> another mbuto issue.
>
> On my host, mbuto isn't managing to find and include the virtio_net
> module.  I think this is because on current Fedora the modules in
> /lib/modules are compressed.  So it needs to include:
>     /lib/modules/5.18.6-200.fc36.x86_64/kernel/drivers/net/virtio_net.ko.xz
> but I think it's only looking for a plain '.ko' file.

Correct. I guess all it takes is to accept .ko, .ko.gz, .ko.xz, perhaps
something else in these expressions:

        __t="$(${BASENAME} -- "${__t%*.ko}")"

        __src="$(${FIND} ${__find_path} -name "${__t}.ko")"

in kmod_add(), but I haven't tried yet.

> I had a look at the mbuto code to see if I could fix it, but I'm
> afraid mbuto is a long way past the complexity level at which I find
> shell remotely comprehensible.

--
Stefano



--

Sevinj.Aghayeva