|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Compiling nvidia-driversHi all.
Im trying to compile the nvidia drivers 71.86.11 for a TNT2 64 nvidia card. I'm trying to make this, because the nv driver can't get the full resolution i need (1280x1024) and it only gets 1024x768. I found a pre-compiled driver for thinstation, but it doesnt work with this video card. After configuring the build environment and picking some stuff around (most from the how to compile the intel e1000e drivers), i get stuck in here: make module NVIDIA: calling KBUILD... make CC=cc KBUILD_VERBOSE=1 -C /source/kernel-2.6.16.5/linux-2.6.16.5 SUBDIRS=/source/nvidia-71.86.11/usr/src/nv modules mkdir -p /source/nvidia-71.86.11/usr/src/nv/.tmp_versions make -f scripts/Makefile.build obj=/source/nvidia-71.86.11/usr/src/nv cc -Wp,-MD,/source/nvidia-71.86.11/usr/src/nv/.nv.o.d -nostdinc -isystem /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os -fomit-frame-pointer -m64 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -I/source/nvidia-71.86.11/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_VERSION_STRING=\"71.86.11\" -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /source/nvidia-71.86.11/usr/src/nv/.tmp_nv.o /source/nvidia-71.86.11/usr/src/nv/nv.c /source/nvidia-71.86.11/usr/src/nv/nv.c:1: error: code model `kernel' not supported in the 32 bit mode /source/nvidia-71.86.11/usr/src/nv/nv.c:1: sorry, unimplemented: 64-bit mode not compiled in make[3]: *** [/source/nvidia-71.86.11/usr/src/nv/nv.o] Error 1 make[2]: *** [_module_/source/nvidia-71.86.11/usr/src/nv] Error 2 NVIDIA: left KBUILD. nvidia.ko failed to build! make[1]: *** [module] Error 1 make: *** [module] Error 2 The machine tha't i'm using is a 64bit one, running Gentoo Linux 10.0 Can it have something to do with the error ? Cheers, Bruno Santos --
------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Thinstation-general mailing list Thinstation-general@... https://lists.sourceforge.net/lists/listinfo/thinstation-general |
||||||||||||||||||||
|
|
Re: Compiling nvidia-driversYou can't compile stuff for TS on a random host. You need the full TS source (available from SF) and compile within the chrooted environment.
Mike On Mon, Nov 2, 2009 at 12:30 PM, Bruno Ricardo Santos <bvsantos@...> wrote:
-- Thinstation oldtimer http://thinstation.org - a light, full featured linux based thin client OS ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Thinstation-general mailing list Thinstation-general@... https://lists.sourceforge.net/lists/listinfo/thinstation-general |
||||||||||||||||||||
|
|
Re: Compiling nvidia-driversOn Mon, 2009-11-02 at 11:30 +0000, Bruno Ricardo Santos wrote:
> Hi all. > > Im trying to compile the nvidia drivers 71.86.11 for a TNT2 64 nvidia > card. > > I'm trying to make this, because the nv driver can't get the full > resolution i need (1280x1024) and it only gets 1024x768. > I found a pre-compiled driver for thinstation, but it doesnt work with > this video card. OK, this is a legacy card needing that driver. You did download the x86 version (and not the x86_64 one)? The process is to - run the extract sh NVIDIA-Linux-x86-71.86.11-pkg1.run -x - copy over the kernel module source into the compile env. cp sh NVIDIA-Linux-x86-71.86.11/usr/src/nv <compile_env>/source/nv-71.86.11 - compile it cd <compile_env> ./RUNME cd source/nv-71.86.11 make module Packaging is a little more complex as you need to add the driver and various libraries used into a package. Look at one of the other ones to see the rough layout and see what is in the NVIDIA package (in the usr/X11R6 & usr/lib directories). And for one I whipped up before.... http://batley.com.au/thinstation/nvidia-71.86.11_TS-2.2.tar.gz Enjoy Trevor B > > After configuring the build environment and picking some stuff around > (most from the how to compile the intel e1000e drivers), i get stuck > in here: > > make module > NVIDIA: calling KBUILD... > make CC=cc KBUILD_VERBOSE=1 -C /source/kernel-2.6.16.5/linux-2.6.16.5 > SUBDIRS=/source/nvidia-71.86.11/usr/src/nv modules > mkdir -p /source/nvidia-71.86.11/usr/src/nv/.tmp_versions > make -f scripts/Makefile.build obj=/source/nvidia-71.86.11/usr/src/nv > cc -Wp,-MD,/source/nvidia-71.86.11/usr/src/nv/.nv.o.d -nostdinc > -isystem /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.4/include > -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall > -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing > -fno-common -ffreestanding -Os -fomit-frame-pointer -m64 > -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks > -Wno-sign-compare -fno-asynchronous-unwind-tables > -I/source/nvidia-71.86.11/usr/src/nv -Wall -Wimplicit -Wreturn-type > -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith > -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error > -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE > -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_VERSION_STRING= > \"71.86.11\" -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG > -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" > -D"KBUILD_BASENAME=KBUILD_STR(nv)" > -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c > -o /source/nvidia-71.86.11/usr/src/nv/.tmp_nv.o /source/nvidia-71.86.11/usr/src/nv/nv.c > /source/nvidia-71.86.11/usr/src/nv/nv.c:1: error: code model `kernel' > not supported in the 32 bit mode > /source/nvidia-71.86.11/usr/src/nv/nv.c:1: sorry, unimplemented: > 64-bit mode not compiled in > make[3]: *** [/source/nvidia-71.86.11/usr/src/nv/nv.o] Error 1 > make[2]: *** [_module_/source/nvidia-71.86.11/usr/src/nv] Error 2 > NVIDIA: left KBUILD. > nvidia.ko failed to build! > make[1]: *** [module] Error 1 > make: *** [module] Error 2 > > > The machine tha't i'm using is a 64bit one, running Gentoo Linux 10.0 > Can it have something to do with the error ? > > > Cheers, > > Bruno Santos > > -- > Use OpenSource Software > Human knowledge belongs to the world > Bruno Santos > bvsantos@... > Tel: +351 962 753 053 > Divisão de Informática > informatica@... > Tel: +351 272 000 155 > Fax: +351 272 000 257 > Hospital Amato Lusitano > geral@... > Tel: +351 272 000 272 > Fax: +351 272 000 257 > > Linux registered user #349448 > > LPIC-1 Certification > > > > > > Esta mensagem e ficheiros em anexo > são confidenciais e destinados > somente ao conhecimento e > utilização da(s) pessoa(s) ou > entidade(s) a quem foram > endereçados. Cabe ao destinatŕrio > verificar a existência de vírus ou > erros, uma vez que a informação > contida pode ser interceptada e/ou > modificada. Se recebeu este e-mail > por engano, ou a ele teve acesso > não sendo o destinatário, por favor > informe de imediato o seu > administrador de sistemas e > elimine-o sem o utilizar, divulgar > ou reproduzir. > > > Proteja o ambiente. Antes de > imprimir este e-mail, verifique se > realmente necessita. > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ Thinstation-general mailing list Thinstation-general@... https://lists.sourceforge.net/lists/listinfo/thinstation-general ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Thinstation-general mailing list Thinstation-general@... https://lists.sourceforge.net/lists/listinfo/thinstation-general |
||||||||||||||||||||
|
|
|
||||||||||||||||||||
| Use OpenSource Software Human knowledge belongs to the world |
| Bruno Santos bvsantos@... Tel: +351 962 753 053 |
| Divisão de Informática informatica@... Tel: +351 272 000 155 Fax: +351 272 000 257 |
| Hospital Amato Lusitano geral@... Tel: +351 272 000 272 Fax: +351 272 000 257 |
| Esta mensagem e ficheiros em anexo são confidenciais e destinados somente ao conhecimento e utilização da(s) pessoa(s) ou entidade(s) a quem foram endereçados. Cabe ao destinatŕrio verificar a existência de vírus ou erros, uma vez que a informação contida pode ser interceptada e/ou modificada. Se recebeu este e-mail por engano, ou a ele teve acesso não sendo o destinatário, por favor informe de imediato o seu administrador de sistemas e elimine-o sem o utilizar, divulgar ou reproduzir. | |
| Proteja o ambiente. Antes de imprimir este e-mail, verifique se realmente necessita. | |
| Use OpenSource Software Human knowledge belongs to the world |
| Bruno Santos bvsantos@... Tel: +351 962 753 053 |
| Divisão de Informática informatica@... Tel: +351 272 000 155 Fax: +351 272 000 257 |
| Hospital Amato Lusitano geral@... Tel: +351 272 000 272 Fax: +351 272 000 257 |
![]() |
![]() |
Hi. Thx for the reply.
I'm compiling the drivers in the chroot environment and with the full sources of the Thinstation-2.2.2 (with the patch applied).
The drivers are for the x86 (i've checked twice :) ) I'm going to try it now in another machine, a x86 and see. I'll post the results later.
The strange thing, even in the chroot environment, when i type uname -a (just to see it all) i get the Gentoo kernel i'm using and not the chroot environment...
Thx in advance
Bruno Santos
Hi. Thx for the reply.
I'm compiling the drivers in the chroot environment and with the full sources of the Thinstation-2.2.2 (with the patch applied).
The drivers are for the x86 (i've checked twice :) ) I'm going to try it now in another machine, a x86 and see. I'll post the results later.
The strange thing, even in the chroot environment, when i type uname -a (just to see it all) i get the Gentoo kernel i'm using and not the chroot environment...
Thx in advance
Bruno Santos
| Use OpenSource Software Human knowledge belongs to the world |
| Bruno Santos bvsantos@... Tel: +351 962 753 053 |
| Divisão de Informática informatica@... Tel: +351 272 000 155 Fax: +351 272 000 257 |
| Hospital Amato Lusitano geral@... Tel: +351 272 000 272 Fax: +351 272 000 257 |
![]() |
![]() |
![]() |
Esta mensagem e ficheiros em anexo são confidenciais e destinados somente ao conhecimento e utilização da(s) pessoa(s) ou entidade(s) a quem foram endereçados. Cabe ao destinatŕrio verificar a existência de vírus ou erros, uma vez que a informação contida pode ser interceptada e/ou modificada. Se recebeu este e-mail por engano, ou a ele teve acesso não sendo o destinatário, por favor informe de imediato o seu administrador de sistemas e elimine-o sem o utilizar, divulgar ou reproduzir. |
![]() |
Proteja o ambiente. Antes de imprimir este e-mail, verifique se realmente necessita. |
Hi. Thx for the reply.
I'm compiling the drivers in the chroot environment and with the full sources of the Thinstation-2.2.2 (with the patch applied).
The drivers are for the x86 (i've checked twice :) ) I'm going to try it now in another machine, a x86 and see. I'll post the results later.
The strange thing, even in the chroot environment, when i type uname -a (just to see it all) i get the Gentoo kernel i'm using and not the chroot environment...
Thx in advance
Bruno Santos
| Use OpenSource Software Human knowledge belongs to the world |
| Bruno Santos bvsantos@... Tel: +351 962 753 053 |
| Divisão de Informática informatica@... Tel: +351 272 000 155 Fax: +351 272 000 257 |
| Hospital Amato Lusitano geral@... Tel: +351 272 000 272 Fax: +351 272 000 257 |
| Esta mensagem e ficheiros em anexo são confidenciais e destinados somente ao conhecimento e utilização da(s) pessoa(s) ou entidade(s) a quem foram endereçados. Cabe ao destinatŕrio verificar a existência de vírus ou erros, uma vez que a informação contida pode ser interceptada e/ou modificada. Se recebeu este e-mail por engano, ou a ele teve acesso não sendo o destinatário, por favor informe de imediato o seu administrador de sistemas e elimine-o sem o utilizar, divulgar ou reproduzir. | |
| Proteja o ambiente. Antes de imprimir este e-mail, verifique se realmente necessita. | |
| Use OpenSource Software Human knowledge belongs to the world |
| Bruno Santos bvsantos@... Tel: +351 962 753 053 |
| Divisão de Informática informatica@... Tel: +351 272 000 155 Fax: +351 272 000 257 |
| Hospital Amato Lusitano geral@... Tel: +351 272 000 272 Fax: +351 272 000 257 |
![]() |
![]() |
| Free embeddable forum powered by Nabble | Forum Help |