Wackojacko wrote: > Bruno Buys wrote: > >> On 9/26/06, *Bruno Buys* <[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> >> On 9/26/06, *Wackojacko* <[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> >> George Borisov wrote: >> > Bruno Buys wrote: >> > >> > >I then installed two more kernels to play with: >> > >the 2.6.8-12-amd64-generic and the 2.6.8-12-amd64-k8. Both >> boot and run >> > >ok, but I failed to install nVidia drivers for these two >> > >> > >> > Do those binary drivers even support running under a 64bit >> OS? I >> > think I remember reading somewhere that they don't. >> > >> > I could be wrong on this one. >> > >> > >> > Hope this helps, >> > >> >> I run nvidia graphics drivers on my AMD64 3200+, in both 64 bit >> and 32 >> bit sid, so they definitely work. >> >> Here's what I do. >> >> ~apt-get install module-assistant nvidia-kernel-source >> ~m-a prepare (sudo or root) >> ~m-a a-i nvidia (sudo or root) >> ~dpkg -i /usr/src/nvidia-kernel-moduleXXXXX.deb (sudo or root) >> ~apt-get install nvidia-glx (sudo or root) >> >> Restart X. >> >> You may need the -legacy source and glx packages for older >> hardware. >> >> HTH >> >> Wackojacko >> >> NB I use a custom compiled Kernel, but it shouldn't make any >> difference. >> >> >> -- >> To UNSUBSCRIBE, email to [EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]> >> with a subject of "unsubscribe". Trouble? Contact >> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> >> >> >> >> The package that fails to build is nvidia-kernel-source. >> I guess this line is relevant: >> >> /usr/src/modules/nvidia-kernel/nv/nv.c:1: error: code model `kernel' >> not supported in the 32 bit mode >> >> what do you think? >> >> I am runing x86_64. Must there be a nvidia-kernel-source for x86_64? > > > I think this may be your problem, googling your error message suggests > it comes up when trying to cross compile kernels also. Have you > downloaded the source from the amd64 mirror or the ia32 mirror, it > must match the OS you are compiling on > > On my system in the 64 bit sid > > ls /var/cache/apt/archives/*nvidia* > /var/cache/apt/archives/nvidia-kernel-source_1.0.8774-3_amd64.deb > > In 32 bit sid, mounted as chroot > > ls /emul/ia32-linux/var/cache/apt/archives/*nvidia* > /emul/ia32-linux/var/cache/apt/archives/nvidia-kernel-source_1.0.8774-1_i386.deb > > > >> If I fix the nvidia driver for one of these two 64bit kernels, when I >> boot the 2.6.8-2-k7 back again, will it fail loading the driver? > > > Yes, you need a kernel module for both kernel versions, not sure if > you can just copy the module from one /lib/modules/kernelversion to > another and expect it to work. Never tried this though. > > HTH > > Wackojacko > > Gee... I need to understand this conceptually. Otherwise I won't even be able to follow people's advice.
Does 2.6.8-2-k7 use my cpu's x86_64 instruction set for anything at all? Sempron64 equals AMD64? What optimization shall I stick to? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]