View previous topic :: View next topic |
Author |
Message |
magowiz Veteran
Joined: 17 Feb 2005 Posts: 1029 Location: Italy/Milan/Bresso
|
Posted: Mon Sep 04, 2006 3:27 pm Post subject: [RISOLTO]nuovo kernel, impossibile installare nvidia-kernel |
|
|
l'emerge mi dà il seguente errore :
Code: |
/var/tmp/portage/nvidia-kernel-1.0.7667/work/NVIDIA-Linux-x86-1.0-7667-pkg0/usr/src/nv/os-interface.c:1266:5: warning: "DEBUG" is not defined
/var/tmp/portage/nvidia-kernel-1.0.7667/work/NVIDIA-Linux-x86-1.0-7667-pkg0/usr/src/nv/os-interface.c: In function os_set_mlock_capability:
/var/tmp/portage/nvidia-kernel-1.0.7667/work/NVIDIA-Linux-x86-1.0-7667-pkg0/usr/src/nv/os-interface.c:1284: error: struct task_struct has no member named rlim
make[3]: *** [/var/tmp/portage/nvidia-kernel-1.0.7667/work/NVIDIA-Linux-x86-1.0-7667-pkg0/usr/src/nv/os-interface.o] Error 1
make[2]: *** [_module_/var/tmp/portage/nvidia-kernel-1.0.7667/work/NVIDIA-Linux-x86-1.0-7667-pkg0/usr/src/nv] Error 2
make[1]: *** [module] Error 1
make: *** [module] Error 2
!!! ERROR: media-video/nvidia-kernel-1.0.7667 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
ebuild.sh, line 1248: Called linux-mod_src_compile
linux-mod.eclass, line 469: Called die
!!! Unable to make IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux clean module.
!!! If you need support, post the topmost build error, and the call stack if relevant.
7667/work/NVIDIA-Linux-x86-1.0-7667-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7667 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/nvidia-kernel-1.0.7667/work/NVIDIA-Linux-x86-1.0-7667-pkg0/usr/src/nv/.tmp_os-interface.o /var/tmp/portage/nvidia-kernel-1.0.7667/work/NVIDIA-Linux-x86-1.0-7667-pkg0/usr/src/nv/os-interface.c
NVIDIA: left KBUILD.
nvidia.ko failed to build!
|
faccio presente che con il precedente kernel non ho avuto problemi.
Cosa posso fare?
Last edited by magowiz on Mon Sep 04, 2006 4:34 pm; edited 1 time in total |
|
Back to top |
|
|
silvius Guru
Joined: 16 May 2006 Posts: 364
|
Posted: Mon Sep 04, 2006 3:32 pm Post subject: |
|
|
Io avevo avuto a suo tempo problemi con l' installazione di nvidia-kernel.
Poi da quando uso nvidia-driver non ho mai avuto problemi.
Prova ad emergere nvidia-driver anzichè nvidia-kernel.
Non ho capito perchè ci sono entrabi i pacchetti, non basterebbe nvidia-driver ?
Saluto |
|
Back to top |
|
|
Onip Advocate
Joined: 02 Sep 2004 Posts: 2912 Location: Parma (Italy)
|
Posted: Mon Sep 04, 2006 3:33 pm Post subject: |
|
|
togliere i vari nvidia-* che hai attualmente installati ( che tanto sono destinati ad essere tolti da portage )
Code: | # emerge -C nvidia-kernel nvidia-glx |
per passare a nvidia-drivers o nvidia-legacy-drivers se la tua scheda è fra quelle non più supportate dai nuovi driver.
Se intendi utilizzare i primi allora ti consiglio di usare sepre l'ultima versione in ~
Code: | # echo 'x11-drivers/nvidia-drivers' >> /etc/portage/package.keywords
# emerge nvidia-drivers |
Byez _________________ Linux Registered User n. 373835
Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum |
|
Back to top |
|
|
magowiz Veteran
Joined: 17 Feb 2005 Posts: 1029 Location: Italy/Milan/Bresso
|
Posted: Mon Sep 04, 2006 3:46 pm Post subject: |
|
|
perfetto, installando nvidia-drivers ho risolto, tuttavia ho ancora un piccolo problema : la risoluzione dello schermo è aumentata a dismisura, cosa può essere?
Inoltre che nvidia-glx devo installare? Oppure non serve? |
|
Back to top |
|
|
silvius Guru
Joined: 16 May 2006 Posts: 364
|
Posted: Mon Sep 04, 2006 3:50 pm Post subject: |
|
|
magowiz wrote: | perfetto, installando nvidia-drivers ho risolto, tuttavia ho ancora un piccolo problema : la risoluzione dello schermo è aumentata a dismisura, cosa può essere?
Inoltre che nvidia-glx devo installare? Oppure non serve? |
nvidia-glx mi pare che non serve, per lo schermo posta xorg.conf.
Magari l' hai già fatto, dai un occhio a http://www.gentoo.org/doc/en/nvidia-guide.xml
Saluto |
|
Back to top |
|
|
magowiz Veteran
Joined: 17 Feb 2005 Posts: 1029 Location: Italy/Milan/Bresso
|
Posted: Mon Sep 04, 2006 4:17 pm Post subject: |
|
|
ecco il mio xorg.conf :
Code: |
Section "Module"
# This loads the DBE extension module.
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
# Load "speedo"
Load "freetype"
# Load "xtt"
Load "glx"
# This loads the DRI module
# Load "dri"
Load "xtrap"
Load "extmod"
EndSection
Section "Files"
RgbPath "/usr/lib/X11/rgb"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
# FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/local/"
# FontPath "/usr/share/fonts/Speedo/"
# FontPath "/usr/share/fonts/TrueType/"
# FontPath "/usr/share/fonts/freefont/"
# ModulePath "/usr/lib/modules"
# ModulePath "/usr/lib/opengl/nvidia/extensions"
# ModulePath "/usr/lib/opengl/nvidia/include"
# ModulePath "/usr/lib/modules"
# ModulePath "/lib/modules"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"
EndSection
Section "InputDevice"
Identifier "Logitech MX 700"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/psaux"
EndSection
Section "Monitor"
Identifier "Acer77e"
HorizSync 31.5 - 57.0
VertRefresh 50-90
EndSection
Section "Device"
Identifier "Nvidia_GeForce"
Driver "nvidia"
VideoRam 131072
# Insert Clocks lines here if appropriate
Option "XaaNoOffscreenPixmaps"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "Nvidia_GeForce"
Monitor "Acer77e"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Logitech MX 700" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
#Section "DRI"
# Mode 0666
#EndSection
|
|
|
Back to top |
|
|
silvius Guru
Joined: 16 May 2006 Posts: 364
|
Posted: Mon Sep 04, 2006 4:32 pm Post subject: |
|
|
Nei log di quando testi X hai qualche errore ?
Saluto |
|
Back to top |
|
|
magowiz Veteran
Joined: 17 Feb 2005 Posts: 1029 Location: Italy/Milan/Bresso
|
Posted: Mon Sep 04, 2006 4:33 pm Post subject: |
|
|
ho risolto da solo rimuovendo nel depth 24 la risoluzione 1280x1024. |
|
Back to top |
|
|
magowiz Veteran
Joined: 17 Feb 2005 Posts: 1029 Location: Italy/Milan/Bresso
|
Posted: Mon Sep 04, 2006 4:38 pm Post subject: |
|
|
silvius wrote: | Nei log di quando testi X hai qualche errore ?
Saluto |
no nessuno |
|
Back to top |
|
|
|