Mailing List Archive

Failed to load vboxpci
emerge --info
Portage 3.0.13 (python 3.8.6-final-0, default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.32-r5, 5.4.80-gentoo-r1 x86_64)

This is new installation.
cat /etc/modules-load.d/virtualbox.conf
vboxdrv
vboxnetadp
vboxnetflt
vboxpci

All modules are loading OK except "vboxpci"

modprobe vboxpci
modprobe: FATAL: Module vboxpci not found in directory /lib/modules/5.4.80-gentoo-r1
Re: Failed to load vboxpci [ In reply to ]
On 2021-01-18 14:04-0700 thelma@sys-concept.com wrote:

> emerge --info
> Portage 3.0.13 (python 3.8.6-final-0,
> default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.32-r5,
> 5.4.80-gentoo-r1 x86_64)
>
> This is new installation.
> cat /etc/modules-load.d/virtualbox.conf
> vboxdrv
> vboxnetadp
> vboxnetflt
> vboxpci
>
> All modules are loading OK except "vboxpci"
>
> modprobe vboxpci
> modprobe: FATAL: Module vboxpci not found in directory
> /lib/modules/5.4.80-gentoo-r1

app-emulation/virtualbox-modules does not install vboxpci.ko here. I
guess the information in the wiki is outdated.

$ equery files app-emulation/virtualbox-modules | grep '\.ko$'
/lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxdrv.ko
/lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxnetadp.ko
/lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxnetflt.ko

Kind regards, tastytea

--
Get my PGP key with `gpg --locate-keys tastytea@tastytea.de` or at
<https://tastytea.de/tastytea.asc>.
Re: Failed to load vboxpci [ In reply to ]
On 1/18/21 2:12 PM, tastytea wrote:
> On 2021-01-18 14:04-0700 thelma@sys-concept.com wrote:
>
>> emerge --info
>> Portage 3.0.13 (python 3.8.6-final-0,
>> default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.32-r5,
>> 5.4.80-gentoo-r1 x86_64)
>>
>> This is new installation.
>> cat /etc/modules-load.d/virtualbox.conf
>> vboxdrv
>> vboxnetadp
>> vboxnetflt
>> vboxpci
>>
>> All modules are loading OK except "vboxpci"
>>
>> modprobe vboxpci
>> modprobe: FATAL: Module vboxpci not found in directory
>> /lib/modules/5.4.80-gentoo-r1
>
> app-emulation/virtualbox-modules does not install vboxpci.ko here. I
> guess the information in the wiki is outdated.
>
> $ equery files app-emulation/virtualbox-modules | grep '\.ko$'
> /lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxdrv.ko
> /lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxnetadp.ko
> /lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxnetflt.ko
>
> Kind regards, tastytea

I have the same output:

# equery files app-emulation/virtualbox-modules | grep '\.ko$'
/lib/modules/5.4.80-gentoo-r1/misc/vboxdrv.ko
/lib/modules/5.4.80-gentoo-r1/misc/vboxnetadp.ko
/lib/modules/5.4.80-gentoo-r1/misc/vboxnetflt.ko

What is missing is in 5.4.80-gentoo-r1 is: vboxpci.ko

In my old kernel it was there:
/lib/modules/5.4.72-gentoo/misc/vboxpci.ko
Re: Failed to load vboxpci [ In reply to ]
On Mon, 18 Jan 2021 14:31:49 -0700, thelma@sys-concept.com wrote:

> On 1/18/21 2:12 PM, tastytea wrote:
> > On 2021-01-18 14:04-0700 thelma@sys-concept.com wrote:
> >
> >> emerge --info
> >> Portage 3.0.13 (python 3.8.6-final-0,
> >> default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.32-r5,
> >> 5.4.80-gentoo-r1 x86_64)
> >>
> >> This is new installation.
> >> cat /etc/modules-load.d/virtualbox.conf
> >> vboxdrv
> >> vboxnetadp
> >> vboxnetflt
> >> vboxpci
> >>
> >> All modules are loading OK except "vboxpci"
> >>
> >> modprobe vboxpci
> >> modprobe: FATAL: Module vboxpci not found in directory
> >> /lib/modules/5.4.80-gentoo-r1
> >
> > app-emulation/virtualbox-modules does not install vboxpci.ko here. I
> > guess the information in the wiki is outdated.
> >
> > $ equery files app-emulation/virtualbox-modules | grep '\.ko$'
> > /lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxdrv.ko
> > /lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxnetadp.ko
> > /lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxnetflt.ko
> >
> > Kind regards, tastytea
>
> I have the same output:
>
> # equery files app-emulation/virtualbox-modules | grep '\.ko$'
> /lib/modules/5.4.80-gentoo-r1/misc/vboxdrv.ko
> /lib/modules/5.4.80-gentoo-r1/misc/vboxnetadp.ko
> /lib/modules/5.4.80-gentoo-r1/misc/vboxnetflt.ko
>
> What is missing is in 5.4.80-gentoo-r1 is: vboxpci.ko
>
> In my old kernel it was there:
> /lib/modules/5.4.72-gentoo/misc/vboxpci.ko

Your old kernel could have it from an older installation of
virtualbox-modules, that module is no longer installed

% qlist virtualbox-modules
/lib/modules/5.4.80-gentoo-r1/misc/vboxnetflt.ko
/lib/modules/5.4.80-gentoo-r1/misc/vboxnetadp.ko
/lib/modules/5.4.80-gentoo-r1/misc/vboxdrv.ko
/etc/modprobe.d/vboxdrv.conf
/usr/lib/modules-load.d/virtualbox.conf

And the virtualbox.conf file contains

vboxdrv
vboxnetflt
vboxnetadp

No mention of vboxpci.

Does VirtualBox work?


--
Neil Bothwick

How do I set my laser printer to stun?
Re: Failed to load vboxpci [ In reply to ]
On 1/18/21 2:31 PM, thelma@sys-concept.com wrote:
> On 1/18/21 2:12 PM, tastytea wrote:
>> On 2021-01-18 14:04-0700 thelma@sys-concept.com wrote:
>>
>>> emerge --info
>>> Portage 3.0.13 (python 3.8.6-final-0,
>>> default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.32-r5,
>>> 5.4.80-gentoo-r1 x86_64)
>>>
>>> This is new installation.
>>> cat /etc/modules-load.d/virtualbox.conf
>>> vboxdrv
>>> vboxnetadp
>>> vboxnetflt
>>> vboxpci
>>>
>>> All modules are loading OK except "vboxpci"
>>>
>>> modprobe vboxpci
>>> modprobe: FATAL: Module vboxpci not found in directory
>>> /lib/modules/5.4.80-gentoo-r1
>>
>> app-emulation/virtualbox-modules does not install vboxpci.ko here. I
>> guess the information in the wiki is outdated.
>>
>> $ equery files app-emulation/virtualbox-modules | grep '\.ko$'
>> /lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxdrv.ko
>> /lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxnetadp.ko
>> /lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxnetflt.ko
>>
>> Kind regards, tastytea
>
> I have the same output:
>
> # equery files app-emulation/virtualbox-modules | grep '\.ko$'
> /lib/modules/5.4.80-gentoo-r1/misc/vboxdrv.ko
> /lib/modules/5.4.80-gentoo-r1/misc/vboxnetadp.ko
> /lib/modules/5.4.80-gentoo-r1/misc/vboxnetflt.ko
>
> What is missing is in 5.4.80-gentoo-r1 is: vboxpci.ko
>
> In my old kernel it was there:
> /lib/modules/5.4.72-gentoo/misc/vboxpci.ko

It seems to me this driver is no longer needed/used.
Re: Failed to load vboxpci [ In reply to ]
On 1/18/21 2:46 PM, Neil Bothwick wrote:
> On Mon, 18 Jan 2021 14:31:49 -0700, thelma@sys-concept.com wrote:
>
>> On 1/18/21 2:12 PM, tastytea wrote:
>>> On 2021-01-18 14:04-0700 thelma@sys-concept.com wrote:
>>>
>>>> emerge --info
>>>> Portage 3.0.13 (python 3.8.6-final-0,
>>>> default/linux/amd64/17.1/desktop, gcc-9.3.0, glibc-2.32-r5,
>>>> 5.4.80-gentoo-r1 x86_64)
>>>>
>>>> This is new installation.
>>>> cat /etc/modules-load.d/virtualbox.conf
>>>> vboxdrv
>>>> vboxnetadp
>>>> vboxnetflt
>>>> vboxpci
>>>>
>>>> All modules are loading OK except "vboxpci"
>>>>
>>>> modprobe vboxpci
>>>> modprobe: FATAL: Module vboxpci not found in directory
>>>> /lib/modules/5.4.80-gentoo-r1
>>>
>>> app-emulation/virtualbox-modules does not install vboxpci.ko here. I
>>> guess the information in the wiki is outdated.
>>>
>>> $ equery files app-emulation/virtualbox-modules | grep '\.ko$'
>>> /lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxdrv.ko
>>> /lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxnetadp.ko
>>> /lib/modules/5.4.80-gentoo-r1-x86_64/misc/vboxnetflt.ko
>>>
>>> Kind regards, tastytea
>>
>> I have the same output:
>>
>> # equery files app-emulation/virtualbox-modules | grep '\.ko$'
>> /lib/modules/5.4.80-gentoo-r1/misc/vboxdrv.ko
>> /lib/modules/5.4.80-gentoo-r1/misc/vboxnetadp.ko
>> /lib/modules/5.4.80-gentoo-r1/misc/vboxnetflt.ko
>>
>> What is missing is in 5.4.80-gentoo-r1 is: vboxpci.ko
>>
>> In my old kernel it was there:
>> /lib/modules/5.4.72-gentoo/misc/vboxpci.ko
>
> Your old kernel could have it from an older installation of
> virtualbox-modules, that module is no longer installed
>
> % qlist virtualbox-modules
> /lib/modules/5.4.80-gentoo-r1/misc/vboxnetflt.ko
> /lib/modules/5.4.80-gentoo-r1/misc/vboxnetadp.ko
> /lib/modules/5.4.80-gentoo-r1/misc/vboxdrv.ko
> /etc/modprobe.d/vboxdrv.conf
> /usr/lib/modules-load.d/virtualbox.conf
>
> And the virtualbox.conf file contains
>
> vboxdrv
> vboxnetflt
> vboxnetadp
>
> No mention of vboxpci.
>
> Does VirtualBox work?

Yes, it works. Gentoo wiki did not get updated, in addition I was copying configuration from previous kernel that I just installed a month ago or so.
It is hard o catch all the changes during updates.
Re: Failed to load vboxpci [ In reply to ]
On Mon, Jan 18, 2021 at 02:47:59PM -0700, thelma@sys-concept.com wrote:
> On 1/18/21 2:31 PM, thelma@sys-concept.com wrote:
> >
> > What is missing is in 5.4.80-gentoo-r1 is: vboxpci.ko
> >
> > In my old kernel it was there:
> > /lib/modules/5.4.72-gentoo/misc/vboxpci.ko
>
> It seems to me this driver is no longer needed/used.

It was for incomplete PCI passthrough support, removed in 6.1.x:

From changelog:
"Linux host: Drop PCI passthrough, the current code is too incomplete
(cannot handle PCIe devices at all), i.e. not useful enough"

So being gone is normal.
--
ionen
Re: Failed to load vboxpci [ In reply to ]
On Mon, 18 Jan 2021 18:24:56 -0700, thelma@sys-concept.com wrote:

> > % qlist virtualbox-modules
> > /lib/modules/5.4.80-gentoo-r1/misc/vboxnetflt.ko
> > /lib/modules/5.4.80-gentoo-r1/misc/vboxnetadp.ko
> > /lib/modules/5.4.80-gentoo-r1/misc/vboxdrv.ko
> > /etc/modprobe.d/vboxdrv.conf
> > /usr/lib/modules-load.d/virtualbox.conf
> >
> > And the virtualbox.conf file contains
> >
> > vboxdrv
> > vboxnetflt
> > vboxnetadp
> >
> > No mention of vboxpci.
> >
> > Does VirtualBox work?
>
> Yes, it works. Gentoo wiki did not get updated, in addition I was
> copying configuration from previous kernel that I just installed a
> month ago or so. It is hard o catch all the changes during updates.

It has nothing to do with your kernel config, the vbox* modules are
installed by virtualbox-modules. The vboxpci module you have was
installed with an older version of that package, possibly a year or so
ago.


--
Neil Bothwick

Top Oxymorons Number 33: American history