[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: nvidia-kernel-source



On Wed, 16 Feb 2005 15:30:22 +0100 (MET), Tomas Nalevajko
<nalevajk@dcs.fmph.uniba.sk> wrote:
> On Wed, 16 Feb 2005, Greg Folkert wrote:
> 
> > On Wed, 2005-02-16 at 14:21 +0100, Tomas Nalevajko wrote:
> > > On Wed, 16 Feb 2005, Wim De Smet wrote:
> > >
> > > > On Wed, 16 Feb 2005 13:35:35 +0100 (MET), Tomas Nalevajko
> > > > <nalevajk@dcs.fmph.uniba.sk> wrote:
> > > > > Hello there,
> > > > >
> > > > > I have problem compiling nvidia kernel module with kernel
> > > > > 2.6.8-10-amd64-k8. architecture of my distro is i386 (dpkg
> > > > > --print-architecture -> i386) but I have athlon64 processor.
> > > > >
> > > > > packages:
> > > > >
> > > > > ii  kernel-image-2.6-amd64-k8         101
> > > > > ii  kernel-image-2.6.8-10-amd64-k8    2.6.8-11
> > > > >
> > > > > ii  kernel-headers-2.6-amd64-k8       101
> > > > > ii  kernel-headers-2.6.8-10           2.6.8-11
> > > > > ii  kernel-headers-2.6.8-10-amd64-k8  2.6.8-11
> > > > >
> > > > > ii  amd64-libs                        1.1
> > > > > ii  amd64-libs-dev                    1.1
> > > > >
> > > > > ii  nvidia-kernel-common              1.0.6629+1
> > > > > ii  nvidia-kernel-source              1.0.6629+1-1
> > > > >
> > > > > - if building with nvidia native installer, i've got
> > > > > /var/log/nvidia-installer:
> > > > >
> > > > > /tmp/selfgz5590/NVIDIA-Linux-x86_64-1.0-6629-pkg2/usr/src/nv/nv.c:1:
> > > > > error: code model `kernel' not supported in the 32 bit mode
> > > > >
> > > > > - this is also error when building module using 'debian/rules
> > > > > binary_modules' with
> > > > >
> > > > > KSRC=/usr/src/linux
> > > > > KVERS=2.6.8-10-amd64-k8
> > > > >
> > > > > - exporting CC='gcc -m64' does not help, it causes even more errors and
> > > > > reference kernel headers, so i think this is not the way.
> > > > >
> > > > > - i also used module-assistant but with same error
> > > > >
> > > > > any idea? beside of switching to kernel for i386 arch
> > > > >
> > > > I found this: http://lists.debian.org/debian-amd64/2004/05/msg00187.html
> > > > among other things. Perhaps you still have some userland 32 bit
> > > > software that you need to switch over? Or you're compiling this
> > > > running the wrong kernel or something...
> > >
> > > hmm, i'm using 32bit userland with 64bit kernel, i don't want to switch
> > > to 64bit userland as you can see from my mail
> >
> > Ahhh HA! Try using the 64-bit userland tools which can co-exist with the
> > 32-bit userland tools as well.
> 
> that is AMD64 port. if this is only way i rather stay with i386. i don't
> want to switch my distros arch.
> 
>[snip]

If you don't want to run 64 bit apps I don't get why you are running a
64 bit kernel in the first place. Pick one, but running mixed seems
quite pointless.

greets,
Wim



Reply to: