Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2015 14:19:10 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        "Russell L. Carter" <rcarter@pinyon.org>
Cc:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: 10/stable virtualbox-ose crashes
Message-ID:  <CAN6yY1vnRbYxs=aCy-f1gyvC=NzD6qVFa1Ao%2Bw7ajZWKUZjiQA@mail.gmail.com>
In-Reply-To: <5568B6FC.60700@pinyon.org>
References:  <55689D79.3090907@pinyon.org> <CAN6yY1sz-vUk0%2BN-JveoBhE%2BFANGsS=ebcgfyF-35VmG_-bEcA@mail.gmail.com> <5568B6FC.60700@pinyon.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 29, 2015 at 11:59 AM, Russell L. Carter <rcarter@pinyon.org>
wrote:

> Hi Kevin,
>
> On 05/29/15 10:38, Kevin Oberman wrote:
>
>> On Fri, May 29, 2015 at 10:10 AM, Russell L. Carter <rcarter@pinyon.org
>> <mailto:rcarter@pinyon.org>> wrote:
>>
>>     Hi,
>>     kldload vboxsrv crashes recent 10/stables.  Last known working
>>     kernel/module pair is from May 5th.
>>
>>     Not sure what is the optimal next step, suggestions welcome.
>>
>>
>> Sounds like you have done this, but several reports have been made of
>>
>
>
> Where were these reports made?  Next time I'll look it up there first.
>
>  this recently.  All were "fixed" by rebuilding virtualbox-ose-kmod.
>> Always rebuild all kernel modules that are in ports when rebuilding the
>> kernel, preferably by adding the appropriate PORTS_MODULES to
>> /etc/src.conf.
>>
>
> I just perused "pkg info -D virtualbox-ose" and don't see a mention of
> this, it might be a good idea to add the PORTS_MODULES bit to that
> message.  Hmm, nvidia-driver-* doesn't have it either.
>
> googling, I see:
>
> "You can place a list in /etc/src.conf like this:
>
>  PORTS_MODULES= emulators/virtualbox-ose-kmod sysutils/fusefs-kmod
> x11/nvidia-driver
>
>  which will cause those modules to be built and installed with all the
>  proper matching stuff at the same time as buildkernel and
>  installkernel."
>
> I maintain my packages with poudriere.  I build the world+kernel on
> another system and install via NFS onto the poudriere package builder.
> poudriere keeps its own world in a chroot, of course.  But it doesn't
> build a kernel.  Which src.conf should the PORTS_MODULES be added to?
>
> Thanks the help,
> Russell
>

If you run stable or current, I would not use packages for kernel modules.
Build them from ports. They have nothing to link to, so the issues with
mixing ports and packages should not arise.

I don't know any sane way other than this to deal with kernel modules on
stable or head.
--
Kevin Oberman, Network Engineer, Retired
E-mail: rkoberman@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1vnRbYxs=aCy-f1gyvC=NzD6qVFa1Ao%2Bw7ajZWKUZjiQA>