Re: [gentoo-user] Re: virtualbox-guest-additions

2017-02-18 Thread Alan McKinnon
On 18/02/2017 22:42, Harry Putnam wrote:
> Alan McKinnon  writes:
> 
>> On 18/02/2017 00:08, Harry Putnam wrote:
>>> Are the virtualbox-guest-additions on portage for folks who are
>>> running VirtualBox vms on there gentoo OS?
>>>
>>> Or are they for a Vbox vm where gentoo is being installed, and the
>>> host is something else.
>>
>>
>>
>> * app-emulation/virtualbox-guest-additions
>>  Available versions:  4.3.38 (~)4.3.40 (~)5.0.16 (~)5.0.30 5.0.32
>> (~)5.1.12 (~)5.1.14 {X KERNEL="linux"}
>>  Homepage:http://www.virtualbox.org/
>>  Description: VirtualBox kernel modules and user-space tools
>> for Gentoo guests
>>
>>
>> So it is the latter
>>
>>>
>>> I ask, because I'm installing gentoo into a vm on a windows host.
>>> I've done this quite a few times.
>>>
>>> And the vbox pkg that gets installed on windows always has the
>>> guest-additions supplied internally.
>>>
>>> That is I've installed the virtualbox-guest-additions from the vbox
>>> package installed on the win10 host.
>>>
>>> Or is it expected that for gentoo, one is to install the
>>> guest-additions thru portage (when the host is not gentoo)
>>
>> Err no, that would be impossible (for all practical intent)
>>
>>>
>>> Jesus, that sounds complicated.
>>>
>>> All I'm trying to ask is if you are installing a vbox vm with gentoo
>>> os in a non-gentoo host are you expected to install the
>>> guest-additions thru portage.
>>
>> You install virtualbox-guest-additions on a Gentoo guest VM.
>> What is running on the host is irrelevant
> 
> Still not my question... sorry for the unduly doopy forumutation.
> 
> I know guest-additions gets installed into a vbox vm once installed.
> 
> Until this go around and I've done quite a few installs of gentoo into
> vbox vms ... but always installed the guest addtions that are already
> present in the vbox package.  Not from portage as my host is win-10.
> 
> That is, click the devices menu at the top of the vbox screen and
> click `install guest addtions'.  Go  to /media/cdrom and install them
> with ./NAME_addtions.run.
> 
> I never installed them from portage... and had no idea they were even
> available on portage.
> 
> Now if you are using the portage VBox package and installing vms on a
> gentoo host, then it makes sense to get the guest-additions on
> portage.
> 
> 


Either way works, the one you choose depends a lot on how you do things.

If your hosts are all the same OS but the guests are different then do
it the way you describe - it is consistent no matter what type of guest
you have.

If it's the other way round - different host OSes and all the guests are
Gentoo, the using portage makes more sense.

And, if you live and work in the real world, with many different
hypervisors on many different host OSes running many different guest
OSes with versions all over the place - then your life gets real
interesting real quick. (Don't ask how stuff got like that at work,
please please I beg you, do not ask. The pain, it is too much)

-- 
Alan McKinnon
alan.mckin...@gmail.com




[gentoo-user] Re: virtualbox-guest-additions

2017-02-18 Thread Harry Putnam
Alan McKinnon  writes:

> On 18/02/2017 00:08, Harry Putnam wrote:
>> Are the virtualbox-guest-additions on portage for folks who are
>> running VirtualBox vms on there gentoo OS?
>> 
>> Or are they for a Vbox vm where gentoo is being installed, and the
>> host is something else.
>
>
>
> * app-emulation/virtualbox-guest-additions
>  Available versions:  4.3.38 (~)4.3.40 (~)5.0.16 (~)5.0.30 5.0.32
> (~)5.1.12 (~)5.1.14 {X KERNEL="linux"}
>  Homepage:http://www.virtualbox.org/
>  Description: VirtualBox kernel modules and user-space tools
> for Gentoo guests
>
>
> So it is the latter
>
>> 
>> I ask, because I'm installing gentoo into a vm on a windows host.
>> I've done this quite a few times.
>> 
>> And the vbox pkg that gets installed on windows always has the
>> guest-additions supplied internally.
>> 
>> That is I've installed the virtualbox-guest-additions from the vbox
>> package installed on the win10 host.
>> 
>> Or is it expected that for gentoo, one is to install the
>> guest-additions thru portage (when the host is not gentoo)
>
> Err no, that would be impossible (for all practical intent)
>
>> 
>> Jesus, that sounds complicated.
>> 
>> All I'm trying to ask is if you are installing a vbox vm with gentoo
>> os in a non-gentoo host are you expected to install the
>> guest-additions thru portage.
>
> You install virtualbox-guest-additions on a Gentoo guest VM.
> What is running on the host is irrelevant

Still not my question... sorry for the unduly doopy forumutation.

I know guest-additions gets installed into a vbox vm once installed.

Until this go around and I've done quite a few installs of gentoo into
vbox vms ... but always installed the guest addtions that are already
present in the vbox package.  Not from portage as my host is win-10.

That is, click the devices menu at the top of the vbox screen and
click `install guest addtions'.  Go  to /media/cdrom and install them
with ./NAME_addtions.run.

I never installed them from portage... and had no idea they were even
available on portage.

Now if you are using the portage VBox package and installing vms on a
gentoo host, then it makes sense to get the guest-additions on
portage.




[gentoo-user] Re: Virtualbox-guest-additions-4.3.24 breaks 3D acceleration in linux guests (?)

2015-03-06 Thread James
Alan McKinnon alan.mckinnon at gmail.com writes:


   Downgrading Virtualbox to 4.3.20-r1 fixes the problem on one ~amd64
   machine but, of course, not the other one sigh.

  (not the xf86-*

 File a bug at b.g.o.
 what you describe has much potential to trip up many people 

Well, I have to concur with what I did not prune out of this thread.
My recent experience with xf86* on my amd64 and the 3.18.6 kernel
had me reading quite a few horror stories of others; finally I 
found a solution, that is more a result of marathonic efforts
as opposed to finding the correct nuggets of information.

I.E. in this area I'm willing to bet there are ample bugs
and things that have been modified or fixed, but the knowledge
is just not disseminated. I filed no bugs because clarity
never appeared as to the exact problem(s).

For example in /lib/firmware/radeon I have these relevant drivers
some are lower case some are uppercase and my card requires the (V|v)erde*
drivers and at least one TAHITI driver. In fact the inter
relationships on some kernel options are there, but are not, or
are poorly, defined. I think this is a result of the quickened
turn_around speed of the kernel versions. Quality was sacrificed,
imho.

I found no documentation as to why. It's just a mess, imho. I could
list dozens of things, but the impression I got was (dev)folks are
hacking at this, but it's not cleaned up because there is little
clarity for (kernel) devs or other subsequent development efforts. 
I sure hope I'm wrong. ymmv.


James








[gentoo-user] Re: Virtualbox-guest-additions-4.3.24 breaks 3D acceleration in linux guests (?)

2015-03-05 Thread walt
On 03/05/2015 02:25 PM, walt wrote:
 Downgrading Virtualbox to 4.3.20-r1 fixes the problem on one ~amd64
 machine but, of course, not the other one sigh.

For reasons I don't know, the gentoo devs split the guest-additions
into two parts: they put the vboxvideo kernel module into the gentoo
xf86-video-virtualbox package, and the vboxguest+vboxsf kernel modules
into the virtualbox-guest-additions package.

Anyway, starting with a vbox gentoo snapshot from Mar 3 (before the
update to vbox-4.3.24) I upgraded only the virtualbox-guest-additions
(not the xf86-video-virtualbox package) and found that everything still
works normally.

I then upgraded the xf86-video-virtualbox package and discovered that
3D video acceleration was broken, just as before.

I then downgraded the xf86-video-virtualbox package to 4.3.20 (leaving
the virtualbox-guest-additions at 4.3.24) and found the 3D acceleration
working normally again.

That clearly implicates the vboxvideo.ko kernel module as the cause of
the breakage, I think.

Opinions/comments are most welcome.






Re: [gentoo-user] Re: Virtualbox-guest-additions-4.3.24 breaks 3D acceleration in linux guests (?)

2015-03-05 Thread Alan McKinnon
On Thu, 05 Mar 2015 16:27:25 -0800
walt w41...@gmail.com wrote:

 On 03/05/2015 02:25 PM, walt wrote:
  Downgrading Virtualbox to 4.3.20-r1 fixes the problem on one ~amd64
  machine but, of course, not the other one sigh.
 
 For reasons I don't know, the gentoo devs split the guest-additions
 into two parts: they put the vboxvideo kernel module into the gentoo
 xf86-video-virtualbox package, and the vboxguest+vboxsf kernel modules
 into the virtualbox-guest-additions package.
 
 Anyway, starting with a vbox gentoo snapshot from Mar 3 (before the
 update to vbox-4.3.24) I upgraded only the virtualbox-guest-additions
 (not the xf86-video-virtualbox package) and found that everything
 still works normally.
 
 I then upgraded the xf86-video-virtualbox package and discovered that
 3D video acceleration was broken, just as before.
 
 I then downgraded the xf86-video-virtualbox package to 4.3.20 (leaving
 the virtualbox-guest-additions at 4.3.24) and found the 3D
 acceleration working normally again.
 
 That clearly implicates the vboxvideo.ko kernel module as the cause of
 the breakage, I think.
 
 Opinions/comments are most welcome.


File a bug at b.g.o.

what you describe has much potential to trip up many people :-)

Alan