Précédent   Forum des professionnels en informatique > Systèmes > Linux > Distributions > SUSE
SUSE Vos questions sur la distribution Suse
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
Vieux 06/12/2008, 15h44   #1
Membre du Club
 
Avatar de wodel
 
Homme
Inscription : avril 2005
Messages : 264
Détails du profil
Informations personnelles :
Sexe : Homme
Âge : 30

Informations forums :
Inscription : avril 2005
Messages : 264
Points : 54
Points : 54
Par défaut [opensuse 11.0] erreur compilation driver nvidia sur xen kernel

Salut,

voila j ai le noyau 2.6.25.18-0.2-pae sur mon PC, et j ai installé le driver nvidia v177 pour linux (telechargé depuis le site de nvidia) pour ma carte 8600GTS, et tout c'est bien passé, compilation, installation puis configuration.

j'ai voulu ensuite utilisé xen, en demarrant sur ce noyau, le mode graphique n'a pas demarré, j'ai voulu re-installé le driver, mais j ai obtenu l'erreur suivante lors de la compilation:

If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.

Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.

pourtant le kernel-xen est installé,

j'ai cherché un peu sur le net, apparement c'est un problème recurrent, mais j ai pas trouvé de solution.

une idée???
__________________
Simbad le Marin

Core 2 Duo E8400 / 4Go RAM / HD6850 / HDD 250Go OpenSuse 12.1
wodel est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 08/12/2008, 13h04   #2
Modérateur
 
Avatar de sinok
 
Inscription : août 2004
Messages : 8 083
Détails du profil
Informations personnelles :
Âge : 31
Localisation : France, Paris (Île de France)

Informations forums :
Inscription : août 2004
Messages : 8 083
Points : 10 687
Points : 10 687
En plus du kernel, il faut également installer les sources de celui ci. Il suffit de chercher dans yast pour les trouver (en supposant que tu as installé ton kernel à partir de yast)
__________________
Hey, this is mine. That's mine. All this is mine. I'm claiming all this as mine. Except that bit. I don't want that bit. But all the rest of this is mine. Hey, this has been a really good day. I've eaten five times, I've slept six times, and I've made a lot of things mine. Tomorrow, I'm gonna see if I can't have sex with something.
sinok est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 09/12/2008, 00h44   #3
Membre du Club
 
Avatar de wodel
 
Homme
Inscription : avril 2005
Messages : 264
Détails du profil
Informations personnelles :
Sexe : Homme
Âge : 30

Informations forums :
Inscription : avril 2005
Messages : 264
Points : 54
Points : 54
Salut,

j ai installé et le xen et kernel-xen, mais ça ne marche pas,

j'ai cherché sur le net, et j'ai trouvé des posts qui porposait de compiler avec

#export IGNORE_XEN_PRESENCE=y
#make SYSSRC=/lib/modules/`uname -r'/build module


mais j'obtient tjrs la meme erreur.

apparemment le driver nvidia ne se compile pas avec xen, et pour le moment je n'ai trouvé aucune solution.

le seul driver qui marche est celui ci "xorg-x11-driver-video-nouveau", mais il presente plusieurs problèmes, il ne support pas l'accélération matérielle et ses performances sont moindres par rapport a celui de nvidia, et en plus il ne marche pas bien avec les chip G80 (Geforce 5x/8x/9x)

voila une petite description tirée de yast

xorg-x11-driver-video-nouveau - Nouveau Open Source X11 driver for nVidia cards

This package contains the Nouveau Open-Source driver for nVidia cards. Any bugs and features supported by this driver are highly dependent on the generation if the nVidia chip. NV4x chips (e.g. GeForce 4x/6x/7x) work best with this driver. G80 chips (Geforce 5x/8x/9x) are not usable yet. You can get some information about the chip on your your card with: /sbin/lspci | grep VGA 3D support is provided in a separate package because it is very experimental. The accelerated 2D rendering provided by this package is (if it works with your card and monitor configuration) considered stable and gives the following benefits over the "nv" driver: - Hardware-accelerated EXA rendering with RENDER extension for compositing: It allows to use transparency under KDE and xcompmgr with other window managers - Improved Xvideo performance and feaures. On NV4x, hardware-filtered and video support using textures is the default. - Support for RandR-1.2 (including dual-head), For more inforation, see: http://nouveau.freedesktop.org/wiki/Randr12Howto Suspend is not working. As a workaround, you can use 'Option "ShadowFB" "on"', but this disables all hardware-acceleration. Install xorg-x11-driver-video-nouveau-gallium3d for experimental 3D support.
__________________
Simbad le Marin

Core 2 Duo E8400 / 4Go RAM / HD6850 / HDD 250Go OpenSuse 12.1
wodel est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 10/12/2008, 20h47   #4
Membre du Club
 
Avatar de wodel
 
Homme
Inscription : avril 2005
Messages : 264
Détails du profil
Informations personnelles :
Sexe : Homme
Âge : 30

Informations forums :
Inscription : avril 2005
Messages : 264
Points : 54
Points : 54
Salut,

j'ai trouvé un pdf, qui explique comment compiler un driver nvidia sur un noyau xen, bien que ça a marché, je n ai plus accès a mes terminaux ttyx, a chaque fois que je fait Ctrl+Alt+F1 par exemple, je n ai plus de réponse de mon écran, comme si il se mettait en veil............

voila la procédure pour ceux que ça interesse, et si quelqu'un pourrait m'expliquer ce que veux dire les options gcc (en rouge) de compilation utilisées dans cette manip, ça serai génial


voici les etapes de cette manip en anglais

STEP1
REBOOT IN NON-XEN KERNEL IN TERMINAL
sudo -s
vim /etc/inittab
change id:5:initdefault: to id:3:initdefault:
reboot
STEP2
DOWNLOAD THE DRIVERS
sudo -s
cd /usr/src/
wget http://us.download.nvidia.com/XFree8...77.80-pkg2.run (32-bit)
wget http://us.download.nvidia.com/XFree8...77.80-pkg1.run (64-bit)
STEP3
INSTALL SOME PACKAGES FOR COMPILING THE DRIVERS
/sbin/yast2 –install kernel-source gcc make
STEP4
INSTALL THE DRIVERS IN THE NON-XEN KERNEL
cd /usr/src/
sh NVIDIA-Linux-x86_64-173.14.12-pkg2.run -q
sax2 -r -m 0=nvidia
reboot
STEP5
REBOOT IN XEN KERNEL AND MAKE CONFIG
sudo -s
cd /usr/src/linux
cp arch/i386/defconfig.xen .config (32-bit)
cp arch/x86_64/defconfig.xen .config (64-bit)
make oldconfig && make scripts && make prepare
STEP6
EXTRACT THE DRIVERS FOR XEN
cd /usr/src/
sh NVIDIA* --extract-only
STEP7
COMPILE THE DRIVERS
cd /usr/src/NVIDIA*/usr/src/nv/
IGNORE_XEN_PRESENCE=y CC="gcc -DNV_VMAP_4_PRESENT -DNV_SIGNAL_STRUCT_RLIM" make SYSSRC=/usr/src/linux module
STEP8
INSTALL AND PROBE THE DRIVERS
JUST TO BE SURE WHAT'S YOUR XEN KERNEL VERSION <kernel-version> = uname -r
cp nvidia.ko /lib/modules/<kernel-version>-xen/kernel/drivers/video/
cd /lib/modules/<kernel-version>-xen/kernel/drivers/video/
depmod -a
modprobe nvidia
init5
STEP 9
IF NOT XGL IS ENABLED DURING THE PROBE
<control><Alt><F1>
init 3
gnome-xgl-switch --enable-xgl
init 5
STEP10
OPEN TERMINAL
sudo -s
vim /etc/inittab
change id:3:initdefault: to id:5:initdefault:
reboot



merci d'avance
__________________
Simbad le Marin

Core 2 Duo E8400 / 4Go RAM / HD6850 / HDD 250Go OpenSuse 12.1
wodel est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +1. Il est actuellement 07h42.


 
 
 
 
Partenaires

Hébergement Web