Re: [Vserver] x with nvidia module in vserver?

From: Ola Lundqvist <opal_at_debian.org>
Date: Tue 11 Oct 2005 - 19:23:04 BST
Message-ID: <20051011182304.GA22652@opalsys.net>

Hello

On Tue, Oct 04, 2005 at 02:08:23PM +0200, Torsten Becker wrote:
> Hello List,
>
> I try to run a complete workstation in a vserver including a x-server.
> This is no problem since I do not try to use the hardware acceleration
> with the nvidia kernel module.
> I have set several capabilities for the vserver:
>
> CAP_CHOWN
> CAP_DAC_READ_SEARCH
> CAP_FOWNER
> CAP_FSETID
> CAP_KILL
> CAP_SETGID
> CAP_SETUID
> CAP_SETPCAP
> CAP_NET_BIND_SERVICE
> CAP_NET_BROADCAST
> CAP_NET_RAW
> CAP_SYS_MODULE
> CAP_SYS_RAWIO
> CAP_SYS_CHROOT
> CAP_SYS_PTRACE
> CAP_SYS_PACCT
> CAP_MKNOD
> CAP_LEASE
>
> I copied the device files from the host to the vserver. If I use the
> "nv" driver for xfree all is well. But if I try to use "nvidia" xfree fails
> with the error "unable to load kernel module". This is clear for me.
> Then I tried to figure out which device is used with the "nv" driver. I
> tried to copa the device file /dev/nvidia0-4 from the host to
> /dev/video0-4 in the vserver.
> But the 3d-accel does not function...
>
> Does anyone have a hint for me, how I can manage this? Or is it impossible?
> I use this configuration to deploy the workstations to a pool of pc's.
> Therefor the security between host and vserver is not first goal.

What I did when I set up such a system (about 1.5 years ago) on a 2.4 kernel
I did just like you did. What I also did was to load the kernel module on the
host system (not in the vserver). It worked like a charm. However it was some
time ago and on 2.4 kernel.

Regards,

// Ola

> Greets, Torsten
>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
>

-- 
 --------------------- Ola Lundqvist ---------------------------
/  opal@debian.org                     Annebergsslingan 37      \
|  opal@lysator.liu.se                 654 65 KARLSTAD          |
|  +46 (0)54-10 14 30                  +46 (0)70-332 1551       |
|  http://www.opal.dhs.org             UIN/icq: 4912500         |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Oct 11 19:24:05 2005
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 11 Oct 2005 - 19:24:13 BST by hypermail 2.1.8