nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   2.6 Kernel module... can't compile on SMP (http://www.nvnews.net/vbulletin/showthread.php?t=23411)

BlueAdept 01-11-04 05:25 PM

2.6 Kernel module... can't compile on SMP
 
OK, I'm so disapointed... I just built a kick arse machine... and only Nvidia is letting it down... looking at the drivers it's really not able to compile on SMP... my lovely Dual 2600+ is gonna have no 3D.

Any ideas?

Running 2.6.1, and AMD-768 [Opus] motherboard... Seems to be some problem with the PCI name table too, but that I can turn off if I have to... Baaa, why don't Nvidia have 2.6 drivers yet, it was in out as a test release for some time.

ghostwalker 01-11-04 07:04 PM

Choose one:

http://www.sh.nu/download/nvidia/linux-2.6/

BlueAdept 01-12-04 02:30 AM

Quote:

Originally posted by ghostwalker
Choose one:

http://www.sh.nu/download/nvidia/linux-2.6/

I have tried the drivers from "minion.de" they try to compile NVdriver and fail if SMP is enabled in the kernel tree...

zander 01-12-04 04:35 AM

What's the exact error message you're getting?

BlueAdept 01-12-04 05:37 AM

Quote:

Originally posted by zander
What's the exact error message you're getting?
I'll include the entire error if possible... it's long!

cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparen
theses -Wpointer-arith -Wno-multichar -Werror -O -MD -D__KERNEL__ -DMODULE -D_
LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMOD
ULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=5328 -DNV_UNIX
-DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/lib/modules/2.6.1/build/i
nclude -Wno-cast-qual -Wno-error nv.c
In file included from /lib/modules/2.6.1/build/include/asm/smp.h:18,
from /lib/modules/2.6.1/build/include/linux/smp.h:17,
from /lib/modules/2.6.1/build/include/linux/sched.h:23,
from /lib/modules/2.6.1/build/include/linux/module.h:10,
from nv-linux.h:29,
from nv.c:14:
/lib/modules/2.6.1/build/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file
or directory
In file included from /lib/modules/2.6.1/build/include/asm/smp.h:18,
from /lib/modules/2.6.1/build/include/linux/smp.h:17,
from /lib/modules/2.6.1/build/include/linux/sched.h:23,
from /lib/modules/2.6.1/build/include/linux/module.h:10,
from nv-linux.h:29,
from nv.c:14:
/lib/modules/2.6.1/build/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclar
ed here (not in a function)
/lib/modules/2.6.1/build/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclar
ed here (not in a function)
/lib/modules/2.6.1/build/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undecla
red here (not in a function)
/lib/modules/2.6.1/build/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undecla
red here (not in a function)
/lib/modules/2.6.1/build/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared
here (not in a function)
/lib/modules/2.6.1/build/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undecla
red here (not in a function)
/lib/modules/2.6.1/build/include/asm/mpspec.h:20: error: conflicting types for `
mp_bus_id_to_type'
/lib/modules/2.6.1/build/include/asm/mpspec.h:8: error: previous declaration of
`mp_bus_id_to_type'
/lib/modules/2.6.1/build/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undec
lared here (not in a function)
/lib/modules/2.6.1/build/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undecla
red here (not in a function)
/lib/modules/2.6.1/build/include/asm/mpspec.h:24: error: conflicting types for `
mp_bus_id_to_pci_bus'
/lib/modules/2.6.1/build/include/asm/mpspec.h:12: error: previous declaration of
`mp_bus_id_to_pci_bus'
/lib/modules/2.6.1/build/include/asm/mpspec.h:50: error: `MAX_APICS' undeclared
here (not in a function)
In file included from /lib/modules/2.6.1/build/include/asm/smp.h:20,
from /lib/modules/2.6.1/build/include/linux/smp.h:17,
from /lib/modules/2.6.1/build/include/linux/sched.h:23,
from /lib/modules/2.6.1/build/include/linux/module.h:10,
from nv-linux.h:29,
from nv.c:14:
/lib/modules/2.6.1/build/include/asm/io_apic.h:160: error: `MAX_IRQ_SOURCES' und
eclared here (not in a function)
/lib/modules/2.6.1/build/include/asm/io_apic.h:160: error: conflicting types for
`mp_irqs'
/lib/modules/2.6.1/build/include/asm/mpspec.h:22: error: previous declaration of
`mp_irqs'
In file included from /lib/modules/2.6.1/build/include/linux/smp.h:17,
from /lib/modules/2.6.1/build/include/linux/sched.h:23,
from /lib/modules/2.6.1/build/include/linux/module.h:10,
from nv-linux.h:29,
from nv.c:14:
/lib/modules/2.6.1/build/include/asm/smp.h:73:26: mach_apicdef.h: No such file o
r directory
In file included from /lib/modules/2.6.1/build/include/linux/smp.h:17,
from /lib/modules/2.6.1/build/include/linux/sched.h:23,
from /lib/modules/2.6.1/build/include/linux/module.h:10,
from nv-linux.h:29,
from nv.c:14:
/lib/modules/2.6.1/build/include/asm/smp.h: In function `hard_smp_processor_id':
/lib/modules/2.6.1/build/include/asm/smp.h:77: warning: implicit declaration of
function `GET_APIC_ID'
In file included from nv.c:14:
nv-linux.h:51:4: #error This driver does not support 2.6.x or newer kernels!
In file included from /lib/modules/2.6.1/build/include/linux/irq.h:20,
from /lib/modules/2.6.1/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.1/build/include/linux/interrupt.h:11,
from nv-linux.h:79,
from nv.c:14:
/lib/modules/2.6.1/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or
directory
In file included from /lib/modules/2.6.1/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.1/build/include/linux/interrupt.h:11,
from nv-linux.h:79,
from nv.c:14:
/lib/modules/2.6.1/build/include/linux/irq.h: At top level:
/lib/modules/2.6.1/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared her
e (not in a function)
In file included from /lib/modules/2.6.1/build/include/linux/irq.h:72,
from /lib/modules/2.6.1/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.1/build/include/linux/interrupt.h:11,
from nv-linux.h:79,
from nv.c:14:
/lib/modules/2.6.1/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undecl
ared here (not in a function)
/lib/modules/2.6.1/build/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared he
re (not in a function)
In file included from nv.c:14:
nv-linux.h:420:2: #error "Couldn't determine number of arguments expected by rem
ap_page_range!"
In file included from nv.c:14:
nv-linux.h: In function `NV_IRQL_IS_RAISED':
nv-linux.h:478: warning: implicit declaration of function `__save_flags'
nv.c: In function `nv_kern_vma_open':
nv.c:1036: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/
2.6.1/build/include/linux/module.h:482)
nv.c: In function `nv_kern_vma_release':
nv.c:1070: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/
2.6.1/build/include/linux/module.h:494)
nv.c: At top level:
nv.c:1164: warning: initialization from incompatible pointer type
nv.c: In function `nv_kern_open':
nv.c:1263: warning: passing arg 2 of `request_irq' from incompatible pointer typ
e
nv.c:1291: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/
2.6.1/build/include/linux/module.h:482)
nv.c: In function `nv_kern_close':
nv.c:1384: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/
2.6.1/build/include/linux/module.h:494)
nv.c: In function `nv_kern_mmap':
nv.c:1430: warning: implicit declaration of function `NV_REMAP_PAGE_RANGE'
nv.c:1552: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/
2.6.1/build/include/linux/module.h:482)
nv.c: In function `nv_kern_ioctl':
nv.c:1651: error: structure has no member named `uc'
nv.c: In function `nv_kern_isr':
nv.c:1795: warning: implicit declaration of function `mark_bh'
nv.c:1795: error: `IMMEDIATE_BH' undeclared (first use in this function)
nv.c:1795: error: (Each undeclared identifier is reported only once
nv.c:1795: error: for each function it appears in.)
nv.c: In function `nv_kern_ctl_open':
nv.c:1917: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/
2.6.1/build/include/linux/module.h:482)
nv.c: In function `nv_kern_ctl_close':
nv.c:1960: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/
2.6.1/build/include/linux/module.h:494)
nv.c: In function `nv_kern_read_agpinfo':
nv.c:2095: error: structure has no member named `name'
make: *** [nv.o] Error 1

zander 01-12-04 06:41 AM

Which driver release/installer did you use? The error messages suggest that you're attempting to build the kernel module using unpatched or possibly partially patched sources (i.e. with rejected chunks).

BlueAdept 01-12-04 07:22 AM

Quote:

Originally posted by zander
Which driver release/installer did you use? The error messages suggest that you're attempting to build the kernel module using unpatched or possibly partially patched sources (i.e. with rejected chunks).
Hmm... you might be right... I'll read the doc's again... would sure be nice to have this working.


All times are GMT -5. The time now is 05:36 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.