Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problemi con nvidia e 2.6
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
jdoe
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jun 2003
Posts: 122
Location: Italy - Florence - Empoli

PostPosted: Wed Aug 20, 2003 12:35 am    Post subject: problemi con nvidia e 2.6 Reply with quote

volevo provare il test3 (son appena tornato dalla ferie :D), ma compilando il modulo nvidia-kernel ho rpoblemi

Code:

 emerge nvidia-kernel
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/nvidia-kernel-1.0.4496 to /
>>> md5 src_uri ;-) NVIDIA-Linux-x86-1.0-4496-pkg0.run
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86-1.0-4496-pkg0
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 1.0-4496.........................................................
 * Linux kernel 2.6.0
 * Applying tasklet patch for kernel 2.[56]...                                                                                                         [ ok ] * Applying NVIDIA_kernel-1.0-4496-tail.diff...                                                                                                        [ ok ] * Applying NVIDIA_kernel-1.0-4496-Makefile.diff...                                                                                                    [ ok ]>>> Source unpacked.
rm -f nv.o os-agp.o os-interface.o os-registry.o  nv-linux.o nv_compiler.h *.d NVdriver nvidia.o
echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -n 1`\" > nv_compiler.h
gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DKBUILD_MODNAME="nvidia" -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4348  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86      -DREMAP_PAGE_RANGE_5  -I. -I/usr/src/linux/include -I/usr/src/linux/include/asm/mach-default -Wno-cast-qual nv.c
nv.c: In function `nv_kern_read_agpinfo':
nv.c:1964: structure has no member named `name'
make: *** [nv.o] Error 1
 
!!! ERROR: media-video/nvidia-kernel-1.0.4496 failed.
!!! Function src_compile, Line 121, Exitcode 2
!!! (no error message)


Con il test2 andava bene, ma ora non lo compila nemmeno più li' :?:

Nessuno ha sto problema?

John
_________________
me
Back to top
View user's profile Send private message
hellraiser
Guru
Guru


Joined: 14 Jun 2003
Posts: 431
Location: Pescara [Italy]

PostPosted: Wed Aug 20, 2003 2:15 am    Post subject: Re: problemi con nvidia e 2.6 Reply with quote

jdoe wrote:
volevo provare il test3 (son appena tornato dalla ferie :D), ma compilando il modulo nvidia-kernel ho rpoblemi

Code:

 emerge nvidia-kernel
Calculating dependencies ...done!
>>> emerge (1 of 1) media-video/nvidia-kernel-1.0.4496 to /
>>> md5 src_uri ;-) NVIDIA-Linux-x86-1.0-4496-pkg0.run
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86-1.0-4496-pkg0
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 1.0-4496.........................................................
 * Linux kernel 2.6.0
 * Applying tasklet patch for kernel 2.[56]...                                                                                                         [ ok ] * Applying NVIDIA_kernel-1.0-4496-tail.diff...                                                                                                        [ ok ] * Applying NVIDIA_kernel-1.0-4496-Makefile.diff...                                                                                                    [ ok ]>>> Source unpacked.
rm -f nv.o os-agp.o os-interface.o os-registry.o  nv-linux.o nv_compiler.h *.d NVdriver nvidia.o
echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -n 1`\" > nv_compiler.h
gcc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wcast-qual -Wno-multichar  -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DKBUILD_MODNAME="nvidia" -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4348  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86      -DREMAP_PAGE_RANGE_5  -I. -I/usr/src/linux/include -I/usr/src/linux/include/asm/mach-default -Wno-cast-qual nv.c
nv.c: In function `nv_kern_read_agpinfo':
nv.c:1964: structure has no member named `name'
make: *** [nv.o] Error 1
 
!!! ERROR: media-video/nvidia-kernel-1.0.4496 failed.
!!! Function src_compile, Line 121, Exitcode 2
!!! (no error message)


Con il test2 andava bene, ma ora non lo compila nemmeno più li' :?:

Nessuno ha sto problema?

John

veramente strano...
anke io oggi provando a compilare i nvidia-kernel ebbi problemi...per il semplice motivo che il link simbolico /usr/src/linux puntava al test2...

:roll:
_________________
Io non sono nessuno...ma nessuno è come me!

"Open Source is a good idea..."
Back to top
View user's profile Send private message
jdoe
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jun 2003
Posts: 122
Location: Italy - Florence - Empoli

PostPosted: Wed Aug 20, 2003 8:05 am    Post subject: Reply with quote

nono, il link va bene,.quello che non capisco e' che nion me lo compila manco con il test2...

John
_________________
me
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Wed Aug 20, 2003 8:11 am    Post subject: Reply with quote

prova a rifare il make del kernel.
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Wed Aug 20, 2003 8:24 am    Post subject: Reply with quote

Date un'occhiata qui. :wink:
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
MoRPh3uSz
n00b
n00b


Joined: 12 Aug 2003
Posts: 69

PostPosted: Wed Aug 20, 2003 8:46 am    Post subject: Reply with quote

bsolar wrote:
Date un'occhiata qui. :wink:

Con test3 funzionano i soliti driver nvidia, se invece sta usando il 2.6.0-test3-mm3 o un 2.6.0-test3-bk5 (e superiori) allora deve applicare anche l'altra patch.
Dall'errore sembra che gli manchi qualcosa nel kernel.
Back to top
View user's profile Send private message
jdoe
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jun 2003
Posts: 122
Location: Italy - Florence - Empoli

PostPosted: Wed Aug 20, 2003 9:50 am    Post subject: Reply with quote

MoRPh3uSz wrote:
bsolar wrote:
Date un'occhiata qui. :wink:

Con test3 funzionano i soliti driver nvidia, se invece sta usando il 2.6.0-test3-mm3 o un 2.6.0-test3-bk5 (e superiori) allora deve applicare anche l'altra patch.
Dall'errore sembra che gli manchi qualcosa nel kernel.


asp asp io ho il bk6... però non capisco, avevo il development-kernel-test2 e mi ha detto di aggiornarlo con il test3-bk6... credevo fosse quello "standard" di sviluppo

John
_________________
me
Back to top
View user's profile Send private message
MoRPh3uSz
n00b
n00b


Joined: 12 Aug 2003
Posts: 69

PostPosted: Wed Aug 20, 2003 11:58 am    Post subject: Reply with quote

jdoe wrote:
MoRPh3uSz wrote:
bsolar wrote:
Date un'occhiata qui. :wink:

Con test3 funzionano i soliti driver nvidia, se invece sta usando il 2.6.0-test3-mm3 o un 2.6.0-test3-bk5 (e superiori) allora deve applicare anche l'altra patch.
Dall'errore sembra che gli manchi qualcosa nel kernel.


asp asp io ho il bk6... però non capisco, avevo il development-kernel-test2 e mi ha detto di aggiornarlo con il test3-bk6... credevo fosse quello "standard" di sviluppo

John

Si vede che lo considerano abbastanza stabile per essere usato.
Quindi, tirando le somme, per poter emergere i driver nvidia devi, nel file /usr/portage/media-video/nvidia-kernel/nvidia-kernel-1.0.4496.ebuild,
aggiungere la riga in grassetto

EPATCH_SINGLE_MSG="Applying tasklet patch for kernel 2.[56]..." \
epatch ${FILESDIR}/${PV}/NVIDIA_kernel-${NV_V}-2.5-20030728.diff
epatch ${FILESDIR}/${PV}/NVIDIA_kernel-${NV_V}-2.6-bk5.diff

Quindi copi il file http://www.minion.de/files/NVIDIA_kernel-1.0-4496-2.6-bk5.diff nella dir /usr/portage/media-video/nvidia-kernel/files/1.0.4496/.

A questo punto puoi fare il solito emerge nvidia-kernel e tutto è fatto :D

Naturalmente al prossimo emerge sync tutto quanto viene riportato allo stato originale e quindi se ti serve di riemerge i driver nvidia devi rifare tutto quanto, a meno che no vengo fatto l'ebuild.
Back to top
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Wed Aug 20, 2003 12:17 pm    Post subject: Reply with quote

MoRPh3uSz wrote:

Naturalmente al prossimo emerge sync tutto quanto viene riportato allo stato originale e quindi se ti serve di riemerge i driver nvidia devi rifare tutto quanto, a meno che no vengo fatto l'ebuild.


...oppure che tu metta il tuo ebuild modificato nella directory impostata in PORTDIR_OVERLAY. In questo caso non ti verrà toccato quando fai un emerge sync (anzi, avrai sia la tua versione modificata che quella originale).
_________________
Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum