Skip to contentSkip to conversation

NVIDIA and 2.6.4?

DISCUSSION Robert L. Harris 5 participants 5 messages Mar 11, 2004 – Mar 13, 2004

lore
Share & tools
lore
#0 lore raw

I'm trying to use the NVIDIA driver so I can play NWN and some other
games which won't run with the stock XFree (xserver-xfree86_4.3.0-5) driver. When I run "make" in the NVIDIA_kernel directory I get alot of undefined variables:

/lib/modules/2.6.4/build/include/asm/mpspec.h:20: error: MAX_MP_BUSSES' undeclared here (not in a function) /lib/modules/2.6.4/build/include/asm/mpspec.h:20: error: conflicting types for mp_bus_id_to_type' /lib/modules/2.6.4/build/include/asm/mpspec.h:8: error: previous declaration of mp_bus_id_to_type' /lib/modules/2.6.4/build/include/asm/mpspec.h:22: error: MAX_IRQ_SOURCES' undeclared here (not in a function) /lib/modules/2.6.4/build/include/asm/mpspec.h:24: error: MAX_MP_BUSSES' undeclared here (not in a function) /lib/modules/2.6.4/build/include/asm/mpspec.h:24: error: conflicting types for mp_bus_id_to_pci_bus' /lib/modules/2.6.4/build/include/asm/mpspec.h:12: error: previous declaration of mp_bus_id_to_pci_bus' /lib/modules/2.6.4/build/include/asm/mpspec.h:50: error: MAX_APICS' undeclared here (not in a function)

And that's just for starters. Does anyone know if there's a way to get this to compile cleanly or is it SoL until a new driver is released (running 1.0.4191 currently).

:wq!
---------------------------------------------------------------------------
Robert L. Harris | GPG Key ID: E344DA3B

                                         @ x-hkp://pgp.mit.edu

DISCLAIMER:
These are MY OPINIONS ALONE. I speak for no-one else.

Life is not a destination, it's a journey.
Microsoft produces 15 car pileups on the highway.
Don't stop traffic to stand and gawk at the tragedy.

#1 lore raw
Quoted 3 lines · On Thu, 11 Mar 2004 07:31:00 -0500 "Robert L. Harris"…

And that's just for starters. Does anyone know if there's a way to get this to compile cleanly or is it SoL until a new driver is released (running 1.0.4191 currently).

At least for x86 the latest driver (1.0-5336) is compatible with 2.6.x (didn't test on 2.6.4 though).

Regards,
Nerijus

#2 lore raw

On Thu, 11 Mar 2004 15:07:03 +0200 (EET)
Nerijus Baliunas <[email protected]> bubbled:

Quoted 9 lines
Quoted 3 lines · On Thu, 11 Mar 2004 07:31:00 -0500 "Robert L. Harris"…

And that's just for starters. Does anyone know if there's a way to get this to compile cleanly or is it SoL until a new driver is released (running 1.0.4191 currently).

At least for x86 the latest driver (1.0-5336) is compatible with 2.6.x (didn't test on 2.6.4 though).

nvidia 5336 works with 2.6.4 here. (but it has a basic sysfs patch applied by gentoo)

Regards,
Martin

Signature · 7 lines
MyExcuse:
kernel panic: write-only-memory (/dev/wom0) capacity exceeded.

Martin Zwickel <[email protected]>
Research & Development

TechnoTrend AG <http://www.technotrend.de>
#3 lore raw
In reply to Nerijus Baliunas

on x86 all nvidia driver will compile and run with 2.6 kernels using nimion patches.

nvidia driver on 2.6.4 won't run if you compile the kernel with -mregparm=3 (CONFIG_REGPARM enabled). Then you will get the most wonderfull oops of your life.

bests
Luigi

Quoted 24 lines · Nerijus Baliunas

Date: Thu, 11 Mar 2004 15:07:03 +0200 (EET)
From: Nerijus Baliunas <[email protected]>
To: Robert L. Harris <[email protected]>
Cc: Linux-Kernel <[email protected]>
Subject: Re: NVIDIA and 2.6.4?

Quoted 3 lines · On Thu, 11 Mar 2004 07:31:00 -0500 "Robert L. Harris"…

And that's just for starters. Does anyone know if there's a way to get this to compile cleanly or is it SoL until a new driver is released (running 1.0.4191 currently).

At least for x86 the latest driver (1.0-5336) is compatible with 2.6.x (didn't test on 2.6.4 though).

Regards,
Nerijus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#4 lore raw
In reply to Robert L. Harris

On Thursday 11 March 2004 12:31, Robert L. Harris wrote:
[snip]

Quoted 3 lines

And that's just for starters. Does anyone know if there's a way to get this to compile cleanly or is it SoL until a new driver is released (running 1.0.4191 currently).

Alternatively, pop along to http://minion.de/, where you can still pick up 2.6 patches for older drivers (we recognise that for some people, the newest drivers break things).

Signature · 8 lines
Cheers,
Alistair.

personal:   alistair()devzero!co!uk
university: s0348365()sms!ed!ac!uk
student:    CS/AI Undergraduate
contact:    7/10 Darroch Court,
            University of Edinburgh.