Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-12-06, 07:12 AM   #1
Gregoire.Favre
Registered User
 
Join Date: Nov 2004
Posts: 126
Default Compiling against 2.6.18-rc6-mm[12] ?

Hello,

is someone able to compil against the two latest mm kernels ?

Thank
Gregoire.Favre is offline   Reply With Quote
Old 09-12-06, 07:30 AM   #2
darthvader42
Registered User
 
Join Date: Jan 2006
Posts: 8
Angry Re: Compiling against 2.6.18-rc6-mm[12] ?

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 */
The trouble is that exactly the mm2 kernel does work with the JMicron SATA controllor on my brand new Asus P5N. If I use the xorg nv driver instead of the nvidia, I'll get "(II) NV(0): Mode "1600x1200" is larger than BIOS programmed panel size of 1280 x 1024. Removing."

So I can either:
  • use my DVD Rom (2.6.18-rc6-mm2 with xorg.nv) or
  • work in 1600x1200 (2.6.18-rc6 with NVIDIA)
    but not both at the same time.

Who should change here: nvidia or the kernel?
darthvader42 is offline   Reply With Quote
Old 09-12-06, 07:31 AM   #3
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Compiling against 2.6.18-rc6-mm[12] ?

What does the build failure look like, exactly? Please attach the /var/log/nvidia-installer.log file.
zander is offline   Reply With Quote
Old 09-12-06, 10:55 AM   #4
obra
Registered User
 
Join Date: Aug 2006
Posts: 66
Default Re: Compiling against 2.6.18-rc6-mm[12] ?

Quote:
Originally Posted by darthvader42

The trouble is that exactly the mm2 kernel does work with the JMicron SATA controllor on my brand new Asus P5N.
there are support in earlier rc/mm-kernels for this controller. try rc-4-mmX.
It's a nice m/b though
obra is offline   Reply With Quote
Old 09-13-06, 05:36 AM   #5
darthvader42
Registered User
 
Join Date: Jan 2006
Posts: 8
Default Re: Compiling against 2.6.18-rc6-mm[12] ?

@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]
I've install Kubuntu 6.06, 64bit variant.

@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
Attached Files
File Type: log nvidia-installer.log (32.4 KB, 181 views)
darthvader42 is offline   Reply With Quote
Old 09-13-06, 05:36 AM   #6
darthvader42
Registered User
 
Join Date: Jan 2006
Posts: 8
Default Re: Compiling against 2.6.18-rc6-mm[12] ?

@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]
I've install Kubuntu 6.06, 64bit variant.

@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
darthvader42 is offline   Reply With Quote
Old 09-13-06, 05:38 AM   #7
darthvader42
Registered User
 
Join Date: Jan 2006
Posts: 8
Default Re: Compiling against 2.6.18-rc6-mm[12] ?

sorry for the double post.
darthvader42 is offline   Reply With Quote
Old 09-13-06, 05:56 AM   #8
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Compiling against 2.6.18-rc6-mm[12] ?

@darthvader42: thanks, I'll take a look.
zander is offline   Reply With Quote

Old 09-17-06, 01:00 PM   #9
sheuer3012
Registered User
 
Join Date: Sep 2006
Posts: 1
Default Re: Compiling against 2.6.18-rc6-mm[12] ?

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
sheuer3012 is offline   Reply With Quote
Old 09-17-06, 01:12 PM   #10
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Compiling against 2.6.18-rc6-mm[12] ?

@sheuer3012: you can fix the problem by deleting lines 26 and 27 from the file usr/src/nv/nv-i2c.c.
zander is offline   Reply With Quote
Old 09-19-06, 05:19 AM   #11
Gregoire.Favre
Registered User
 
Join Date: Nov 2004
Posts: 126
Default Re: Compiling against 2.6.18-rc6-mm[12] ?

@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 :-)
Gregoire.Favre is offline   Reply With Quote
Old 09-20-06, 02:50 PM   #12
martyj19
Registered User
 
Join Date: Mar 2006
Posts: 9
Default Re: Compiling against 2.6.18-rc6-mm[12] ?

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.
martyj19 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:28 AM.


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