|
|
#1 | |
|
Registered User
Join Date: Feb 2003
Location: Toronto, ON, CAN
Posts: 4
|
Problem:
Cannot compile nvnet module with linux kernel 2.5.63 source code. Warnings: `_MOD_INC_USE_COUNT' is deprecated `__MOD_DEC_USE_COUNT' is deprecated Errors: nvnet.c: In function `nvnet_remove': nvnet.c:1172: structure has no member named `driver_data' Solution: Please see attached patch. It may even work for earlier 2.5 kernel versions. I just chose the 2.5.63 kernel version. By the way, rename it from nvnet-patch-2.5.63.diff.txt to nvnet-patch-2.5.63.diff because this forum only accepts the .txt extension and some others. Testing: I did not test it yet but since it compiles just fine it should work. The function you want to test is nvnet_remove. If anyone has any success with this patch write a reply post to let everyone know it worked. |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Feb 2003
Location: Toronto, ON, CAN
Posts: 4
|
I forgot to mention to use patch -p0 < nvnet-patch-2.5.63.diff
Just make sure you put the diff in the directory one level below the nforce directory (not within it!). |
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Feb 2003
Posts: 3
|
The link to the patch doesn't seem to work for me. Can you please point me to another link or maybe just post the patch as text in the forum so I can do the changes manually.
I really hope this patch work as it is the only thing that is still problematic for me in switching to the 2.5 kernel. Regards. -Luguber |
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Feb 2003
Posts: 3
|
I got it working in mozilla. It didn't work in Konqueror, I guess it's because the mimetype for the php-script isn't set, but you probably can't do anything about that.I'll try the patch emediatly and let you know my result ![]() |
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Feb 2003
Posts: 3
|
I tried this patch agains the NVIDIA_nforce-1.0-0248.tar.gz package and then tried to compile it against both
linux-2.5.62-mm3 and linux-2.5.63-mm1 (This is the kernel with Andrew Morton's patchset). In both cases it complains about missing declaration of a IRQ_<something>. I'll try to compile against the plain vanilla-linux sources tomorrow, just a little bit sick of rebooting for today ![]() Btw. If you are using the nvnet driver, then you might have an A7N8X motherboard, so I'm just curious, did you get the 3Com NIC to work? Regards. -Luguber. |
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Jan 2003
Posts: 3
|
I tried that patch for nvnet. I got it to compile. However, when I try to insmod with 2.5.65 kernel I get error :
% insmod nvnet.o Error inserting 'nvnet.o': -1 Invalid module format % insmod.old nvnet.o insmod: QM_MODULES: Function not implemented kernel : 2.5.65 nforce : NVIDIA_nforce-1.0-0248.tar.gz + nvnet-patch-2.5.63.diff.txt gcc : 3.2.2 Any ideas? |
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mageia 2 Cannot Install 71.86.15 for Riva TNT/TNT2 | kbulgrien | NVIDIA Linux | 3 | 06-29-12 08:27 AM |
| UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... | interzoneuk | NVIDIA Linux | 0 | 06-26-12 04:51 AM |
| [NVIDIA REMINDER] Missing Linux kernel => 3.4.x compatibility | artem | NVIDIA Linux | 0 | 05-02-12 06:09 PM |
| Fixes for the latest Linux Kernel | ikrabbe | NVIDIA Linux | 0 | 04-29-12 06:48 AM |
| NVIDIA_kernel with gcc 3.2 based linux kernel | akay | NVIDIA Linux | 18 | 08-24-02 09:23 AM |