2004-04-23 08:20:56

by Rik van Ballegooijen

[permalink] [raw]
Subject: nvidia binary driver broken with 2.6.6-rc{1,2}, reverting a -mm patch makes it work

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Because of a patch from -mm merged in mainstream i cannot get the nvidia
binary to work with the 2.6.6 release candidates. I get this message
when doing `modprobe nvidia`:

FATAL: Error inserting nvidia (/lib/modules/2.6.6-rc2/video/nvidia.ko):
Invalid module format

On advice of mcp i tried reverting the following patch, which made it
load again.

ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.5-rc3/2.6.5-rc3-mm4/broken-out/move-__this_module-to-modpost.patch

Is there any long-term solution for this comming up? TIA

- -Rik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAiNHjq1cnhHKeD68RAnGVAKC3LWYr43fRkJJ5gshQH2Z/APeohACg6uO3
Q4I+pRmByE0PLSQuZXMSSBI=
=JEbV
-----END PGP SIGNATURE-----


2004-04-23 08:30:49

by Ralf Hildebrandt

[permalink] [raw]
Subject: Re: nvidia binary driver broken with 2.6.6-rc{1,2}, reverting a -mm patch makes it work

* Rik van Ballegooijen <[email protected]>:
> Hi,
>
> Because of a patch from -mm merged in mainstream i cannot get the nvidia
> binary to work with the 2.6.6 release candidates. I get this message
> when doing `modprobe nvidia`:

$ uname -a
Linux hummus2 2.6.6-rc2-bk1 #1 Thu Apr 22 14:15:08 CEST 2004 i686
GNU/Linux

nvidia works like a charm here.

--
Ralf Hildebrandt (Im Auftrag des Referat V a) [email protected]
Charite - Universit?tsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-916
IT-Zentrum Standort Campus Mitte AIM. ralfpostfix

2004-04-23 08:37:24

by Marc-Christian Petersen

[permalink] [raw]
Subject: Re: nvidia binary driver broken with 2.6.6-rc{1,2}, reverting a -mm patch makes it work

On Friday 23 April 2004 10:30, Ralf Hildebrandt wrote:

Hi Ralf,

> > Because of a patch from -mm merged in mainstream i cannot get the nvidia
> > binary to work with the 2.6.6 release candidates. I get this message
> > when doing `modprobe nvidia`:

> $ uname -a
> Linux hummus2 2.6.6-rc2-bk1 #1 Thu Apr 22 14:15:08 CEST 2004 i686
> GNU/Linux
> nvidia works like a charm here.

that's the problem. It works for many people, for many others not. It always
worked fine for me too but I had to rip that out of my 2.6-WOLK tree to
satisfy all people using wolk and lack of knowledge to fix that by myself.

ciao, Marc

2004-04-23 08:41:49

by Ralf Hildebrandt

[permalink] [raw]
Subject: Re: nvidia binary driver broken with 2.6.6-rc{1,2}, reverting a -mm patch makes it work

* Marc-Christian Petersen <[email protected]>:

> > $ uname -a
> > Linux hummus2 2.6.6-rc2-bk1 #1 Thu Apr 22 14:15:08 CEST 2004 i686
> > GNU/Linux
> > nvidia works like a charm here.
>
> that's the problem. It works for many people, for many others not. It always

Oh shit!

> worked fine for me too but I had to rip that out of my 2.6-WOLK tree to
> satisfy all people using wolk and lack of knowledge to fix that by myself.

--
Ralf Hildebrandt (Im Auftrag des Referat V a) [email protected]
Charite - Universit?tsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-916
IT-Zentrum Standort Campus Mitte AIM. ralfpostfix

2004-04-23 14:36:27

by Brian Gerst

[permalink] [raw]
Subject: Re: nvidia binary driver broken with 2.6.6-rc{1,2}, reverting a -mm patch makes it work

Rik van Ballegooijen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> Because of a patch from -mm merged in mainstream i cannot get the nvidia
> binary to work with the 2.6.6 release candidates. I get this message
> when doing `modprobe nvidia`:
>
> FATAL: Error inserting nvidia (/lib/modules/2.6.6-rc2/video/nvidia.ko):
> Invalid module format
>
> On advice of mcp i tried reverting the following patch, which made it
> load again.
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.5-rc3/2.6.5-rc3-mm4/broken-out/move-__this_module-to-modpost.patch
>
>
> Is there any long-term solution for this comming up? TIA

Could you send me your .config?

--
Brian Gerst

2004-04-23 16:43:47

by Antony Suter

[permalink] [raw]
Subject: Re: nvidia binary driver broken with 2.6.6-rc{1,2}, reverting a -mm patch makes it work

Marc wrote:
> On Friday 23 April 2004 10:30, Ralf Hildebrandt wrote:
> Hi Ralf,
>
> > > Because of a patch from -mm merged in mainstream i cannot get the
nvidia
> > > binary to work with the 2.6.6 release candidates. I get this
message
> > > when doing `modprobe nvidia`:
>
> > $ uname -a
> > Linux hummus2 2.6.6-rc2-bk1 #1 Thu Apr 22 14:15:08 CEST 2004 i686
> > GNU/Linux
> > nvidia works like a charm here.
>
> that's the problem. It works for many people, for many others not. It
always
> worked fine for me too but I had to rip that out of my 2.6-WOLK tree
to
> satisfy all people using wolk and lack of knowledge to fix that by
myself.

I had this problem, and I resolved it for me like this: In the
NVIDIA-Linux-x86-1.0-5336-pkg?.run archive from Nvidia are multiple make
files. By default, my distro was using the make file "makefile" and it
stopped working. I switched to using "Makefile.kbuild", which is
oriented to 2.6 kernels, and it works again. Comments within
Makefile.kbuild touch on changes to module handling in 2.6 compared to
2.4.

--
- Antony Suter (suterant users sourceforge net) "Bonta"
- "...through shadows falling, out of memory and time..."


Attachments:
signature.asc (189.00 B)
This is a digitally signed message part