|
|
#1 | |
|
Registered User
Join Date: Nov 2004
Posts: 126
|
Hello,
is someone able to compil against the two latest mm kernels ? Thank |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Jan 2006
Posts: 8
|
Nope. I've got the same trouble. Seems like the i2c stuffed changed in the prepatch kernel, see the following diff:
Code:
root@emperor:/usr/src# diff linux-2.6.18-rc6/include/linux/i2c.h linux-2.6.18-rc6-mm2/include/linux/i2c.h 67,74d66 < /* < * Some adapter types (i.e. PCF 8584 based ones) may support slave behaviuor. < * This is not tested/implemented yet and will change in the future. < */ < extern int i2c_slave_send(struct i2c_client *,char*,int); < extern int i2c_slave_recv(struct i2c_client *,char*,int); < < 204,207d195 < /* --- these optional/future use for some adapter types.*/ < int (*slave_send)(struct i2c_adapter *,char*,int); < int (*slave_recv)(struct i2c_adapter *,char*,int); < 223c211 < struct i2c_algorithm *algo;/* the algorithm to access the bus */ --- > const struct i2c_algorithm *algo; /* the algorithm to access the bus */ So I can either:
Who should change here: nvidia or the kernel? |
|
|
|
|
|
|
#3 |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
What does the build failure look like, exactly? Please attach the /var/log/nvidia-installer.log file.
|
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Aug 2006
Posts: 66
|
Quote:
It's a nice m/b though ![]() |
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Jan 2006
Posts: 8
|
@zander: I've uploaded nvidia-installer.log as attachment to this post. HW is a Asus P5B board with a Core 2 Duo CPU, 2GB RAM, the lspci output for the graphics card is
Code:
0000:01:00.0 VGA compatible controller: nVidia Corporation NV44 [GeForce 6200 TurboCache(TM)] (rev a1) (prog-if 00 [VGA])
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
Memory at a0000000 (64-bit, prefetchable) [size=512M]
Memory at fc000000 (64-bit, non-prefetchable) [size=16M]
Expansion ROM at fe6e0000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [68] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Capabilities: [78] #10 [0001]
@obra: thx, i'll try one of the previous kernels. But 2.6.18-rc6 does not work for this controller: Code:
0000:03:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02) (prog-if 01 [AHCI 1.0])
Subsystem: ASUSTeK Computer Inc.: Unknown device 81e4
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at fe8fe000 (32-bit, non-prefetchable) [size=8K]
Expansion ROM at fe8e0000 [disabled] [size=64K]
Capabilities: [68] Power Management version 2
Capabilities: [50] #10 [0211]
0000:03:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02) (prog-if 85 [Master SecO PriO])
Subsystem: ASUSTeK Computer Inc.: Unknown device 81e4
Flags: fast devsel
I/O ports at bc00 [disabled] [size=8]
I/O ports at b880 [disabled] [size=4]
I/O ports at b800 [disabled] [size=8]
I/O ports at b480 [disabled] [size=4]
I/O ports at b400 [disabled] [size=16]
Capabilities: [68] Power Management version 2
|
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Jan 2006
Posts: 8
|
@zander: I've uploaded nvidia-installer.log as attachment to this post. HW is a Asus P5B board with a Core 2 Duo CPU, 2GB RAM, the lspci output for the graphics card is
Code:
0000:01:00.0 VGA compatible controller: nVidia Corporation NV44 [GeForce 6200 TurboCache(TM)] (rev a1) (prog-if 00 [VGA])
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
Memory at a0000000 (64-bit, prefetchable) [size=512M]
Memory at fc000000 (64-bit, non-prefetchable) [size=16M]
Expansion ROM at fe6e0000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [68] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Capabilities: [78] #10 [0001]
@obra: thx, i'll try one of the previous kernels. But 2.6.18-rc6 does not work for this controller: Code:
0000:03:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02) (prog-if 01 [AHCI 1.0])
Subsystem: ASUSTeK Computer Inc.: Unknown device 81e4
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at fe8fe000 (32-bit, non-prefetchable) [size=8K]
Expansion ROM at fe8e0000 [disabled] [size=64K]
Capabilities: [68] Power Management version 2
Capabilities: [50] #10 [0211]
0000:03:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02) (prog-if 85 [Master SecO PriO])
Subsystem: ASUSTeK Computer Inc.: Unknown device 81e4
Flags: fast devsel
I/O ports at bc00 [disabled] [size=8]
I/O ports at b880 [disabled] [size=4]
I/O ports at b800 [disabled] [size=8]
I/O ports at b480 [disabled] [size=4]
I/O ports at b400 [disabled] [size=16]
Capabilities: [68] Power Management version 2
|
|
|
|
|
|
|
#7 |
|
Registered User
Join Date: Jan 2006
Posts: 8
|
sorry for the double post.
|
|
|
|
|
|
#8 |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
@darthvader42: thanks, I'll take a look.
|
|
|
|
|
|
#9 |
|
Registered User
Join Date: Sep 2006
Posts: 1
|
I am also having issues with 2.6.18-rc6-mm2
/var/tmp/portage/nvidia-drivers-1.0.8774/work/NVIDIA-Linux-x86_64-1.0-8774-pkg2/usr/src/nv/nv-i2c.c:26: error: unknown field 'slave_send' specified in initializer /var/tmp/portage/nvidia-drivers-1.0.8774/work/NVIDIA-Linux-x86_64-1.0-8774-pkg2/usr/src/nv/nv-i2c.c:27: error: unknown field 'slave_recv' specified in initializer make[3]: *** [/var/tmp/portage/nvidia-drivers-1.0.8774/work/NVIDIA-Linux-x86_64-1.0-8774-pkg2/usr/src/nv/nv-i2c.o] Error 1 make[2]: *** [_module_/var/tmp/portage/nvidia-drivers-1.0.8774/work/NVIDIA-Linux-x86_64-1.0-8774-pkg2/usr/src/nv] Error 2 NVIDIA: left KBUILD. nvidia.ko failed to build! make[1]: *** [mdl] Error 1 make: *** [module] Error 2 |
|
|
|
|
|
#10 |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
@sheuer3012: you can fix the problem by deleting lines 26 and 27 from the file usr/src/nv/nv-i2c.c.
|
|
|
|
|
|
#11 |
|
Registered User
Join Date: Nov 2004
Posts: 126
|
@zander (and others): an hudge thank from 2.6.18-rc7-mm1 !!!
I didn't have time to try 2.6.18-rc6-mm[12] but it's perfect under the last mm kernel :-) |
|
|
|
|
|
#12 |
|
Registered User
Join Date: Mar 2006
Posts: 9
|
Released 2.6.18 came out this morning. FYI, I have been able to build without needing any patch against the released kernel. I guess they undid whatever broke.
|
|
|
|
![]() |
| Thread Tools | |
|
|