RE: [expert] Compiling Nvidia-driver for SMP kernel

2001-05-09 Thread Gerrit Visser

Sorry about first message, I pressed "send" by accident halfway through
writing the reply..

>> Hi Erik,
>>
>> I've also got it to work without any problems: I've installed the Kernel
>> source from the 2nd CD (required to compile NVidia kernel module
correctly).
>> Removed all libmesa stuff. Used the tar.gz files to compile & install the
>> drivers & modules (equivalent to the rpm rebuild method). Changed
>> XF86Config-4 to nvidia module and use glx option. Created softlinks from
the
>> libmesa stuff to the NVidia libraries. Started X. Everything worked fine.
>>
>> I'm attaching my NVidia module. Hope it will work for you.

> Thanks I will try it but I'm fairly certain that your driver also will
> miss tons of symbols because Rial:s and mine module both faild on the
> second step:
>
> insmod NVdriver
>
>
> I can't try you driver until I'm at home, my computer isn't online jet...
>
> so I can't be certain that your driver also will fail (hope not) but why
> did I get all this "unresolved symbol"? Several of this symbols look like
> they are primary symbols, the kernel would panic if they wheren't there.
>
> Have you recompiled you kernel your self, I haven't?

I did it on the stock kernel without problems. I've later installed 2.4.4
from kernel sources, and it worked fine on that kernel as well.

AFAIK, the unresolved dependencies is caused when the kernel headers used
during the compile does not correspond to the installed kernel. I've simply
installed the kernel sources from the 2nd cd, and then compiled the NVidia
kernel module, and it worked fine.

Regards,

Gerrit





RE: [expert] Compiling Nvidia-driver for SMP kernel

2001-05-09 Thread Gerrit Visser

>> Hi Erik,
>>
>> I've also got it to work without any problems: I've installed the Kernel
>> source from the 2nd CD (required to compile NVidia kernel module
correctly).
>> Removed all libmesa stuff. Used the tar.gz files to compile & install the
>> drivers & modules (equivalent to the rpm rebuild method). Changed
>> XF86Config-4 to nvidia module and use glx option. Created softlinks from
the
>> libmesa stuff to the NVidia libraries. Started X. Everything worked fine.
>>
>> I'm attaching my NVidia module. Hope it will work for you.

> Thanks I will try it but I'm fairly certain that your driver also will
> miss tons of symbols because Rial:s and mine module both faild on the
> second step:
>
> insmod NVdriver
>
>
> I can't try you driver until I'm at home, my computer isn't online jet...
>
> so I can't be certain that your driver also will fail (hope not) but why
> did I get all this "unresolved symbol"? Several of this symbols look like
> they are primary symbols, the kernel would panic if they wheren't there.
>
> Have you recompiled you kernel your self, I haven't?

I did it on the stock kernel without problems. I've later installed 2.4.4
from kernel sources, and it worked fine on that kernel as well.

AFAIK, the unresolved dependencies is caused when the kernel





RE: [expert] Compiling Nvidia-driver for SMP kernel

2001-05-09 Thread Erik Günther

On Wed, 9 May 2001, Gerrit Visser wrote:

> Hi Erik,
>
> I've also got it to work without any problems: I've installed the Kernel
> source from the 2nd CD (required to compile NVidia kernel module correctly).
> Removed all libmesa stuff. Used the tar.gz files to compile & install the
> drivers & modules (equivalent to the rpm rebuild method). Changed
> XF86Config-4 to nvidia module and use glx option. Created softlinks from the
> libmesa stuff to the NVidia libraries. Started X. Everything worked fine.
>
> I'm attaching my NVidia module. Hope it will work for you.

Thanks I will try it but I'm fairly certain that your driver also will
miss tons of symbols because Rial:s and mine module both faild on the
second step:

insmod NVdriver


I can't try you driver until I'm at home, my computer isn't online jet...

so I can't be certain that your driver also will fail (hope not) but why
did I get all this "unresolved symbol"? Several of this symbols look like
they are primary symbols, the kernel would panic if they wheren't there.

Have you recompiled you kernel your self, I haven't?

> Gerrit
>
> -Original Message-
> Thanks Rial I got it. But it still don't work.
>
> I got the Nvidia_kernel-0.9-769.i686.rpm from Rial that works fine for him
> and don't work at all for me. I got the error you see below. And as you
> can see it missing symbols to several primary symbols as kill_proc,
> strncpy_from_user, create_proc_entry, etc, etc. The question is why?
>
> I use the kernel that comes with LM8.0 (2.4.3-20) I have not recompiled
> it. I have a dual P3 mashine and the driver is know to work on other
> SMP mashines (Rial:s).
>
> [root@localhost /tmp]# rpm -Uhv NVIDIA_kernel-0.9-769.i686.rpm
> NVIDIA_kernel
> ##
> depmod: *** Unresolved symbols in
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> __ioremap_R9eac042a
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> tq_immediate_R0da0dcd1
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> boot_cpu_data_R65dda927
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> schedule_timeout_R17d59d01
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> inter_module_get_Rf6a0ce24
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> do_gettimeofday_R72270e35
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> inter_module_put_R6b99f7d8
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> pci_read_config_byte_R59f4893e
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> pcibios_read_config_word_Raa9effd7
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> kmalloc_R93d4cfe6
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> init_mm_Rf1fe99f5
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> mtrr_add_R56179c5f
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> vfree_R2fd1d81c
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> register_chrdev_R3b2bdff1
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> bh_task_vec_R284177b8
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> unregister_chrdev_Rc192d491
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> create_proc_entry_Rcce2ea9f
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> pci_write_config_word_Ra7f43c5c
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> high_memory_R8a7d1c31
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> inter_module_get_request_Rb69f826b
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> pcibios_read_config_byte_Rd80115e1
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> __generic_copy_to_user_Rd523fdd3
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> __pollwait_Rffb1dd2e
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> proc_root_R9ea1b4d2
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> __generic_copy_from_user_R116166aa
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> remove_proc_entry_Rd419f102
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> remap_page_range_R69d01e73
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> sprintf_R3c2c5af5
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> pci_devices_R7a84b102
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> pcibios_find_class_Ref333f7b
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol
> mtrr_del_R272d394e
> /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol

Re: [expert] Compiling Nvidia-driver for SMP kernel

2001-05-09 Thread Erik Günther

On Mon, 7 May 2001, Erik Günther wrote:

> On Thu, 3 May 2001, Erik Günther wrote:
>
> > On Thu, 3 May 2001, Rial Juan wrote:
> >
> > >
> > > I also have smp; I just grabbed the src.rpm from their site, did a 'rpm
> > > --rebuild' on it, and it works like a charm.
> > >
> >
> > Could you please send that rpm to me so I try?
> >
> Could you please or someone else have Nvidias driver compiled for 2.4.3
> and SMP that could send a copy to me?
>

Thanks Rial I got it. But it still don't work.

I got the Nvidia_kernel-0.9-769.i686.rpm from Rial that works fine for him
and don't work at all for me. I got the error you see below. And as you
can see it missing symbols to several primary symbols as kill_proc,
strncpy_from_user, create_proc_entry, etc, etc. The question is why?

I use the kernel that comes with LM8.0 (2.4.3-20) I have not recompiled
it. I have a dual P3 mashine and the driver is know to work on other
SMP mashines (Rial:s).

[root@localhost /tmp]# rpm -Uhv NVIDIA_kernel-0.9-769.i686.rpm
NVIDIA_kernel   ##
depmod: *** Unresolved symbols in /lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
__ioremap_R9eac042a
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
tq_immediate_R0da0dcd1
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
boot_cpu_data_R65dda927
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
schedule_timeout_R17d59d01
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
inter_module_get_Rf6a0ce24
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
do_gettimeofday_R72270e35
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
inter_module_put_R6b99f7d8
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
pci_read_config_byte_R59f4893e
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
pcibios_read_config_word_Raa9effd7
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol kmalloc_R93d4cfe6
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol init_mm_Rf1fe99f5
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol mtrr_add_R56179c5f
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol vfree_R2fd1d81c
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
register_chrdev_R3b2bdff1
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
bh_task_vec_R284177b8
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
unregister_chrdev_Rc192d491
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
create_proc_entry_Rcce2ea9f
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
pci_write_config_word_Ra7f43c5c
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
high_memory_R8a7d1c31
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
inter_module_get_request_Rb69f826b
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
pcibios_read_config_byte_Rd80115e1
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
__generic_copy_to_user_Rd523fdd3
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
__pollwait_Rffb1dd2e
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
proc_root_R9ea1b4d2
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
__generic_copy_from_user_R116166aa
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
remove_proc_entry_Rd419f102
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
remap_page_range_R69d01e73
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol sprintf_R3c2c5af5
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
pci_devices_R7a84b102
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
pcibios_find_class_Ref333f7b
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol mtrr_del_R272d394e
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol __udelay_R9e7d6bd0
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol free_irq_Rf20dabd8
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
tasklet_hi_vec_Rbb06575f
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
pcibios_write_config_word_R4f1c2e33
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
pci_write_config_dword_R8b8c6dae
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol kfree_R037a0cba
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
pci_read_config_word_Rb4c9a637
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
pci_read_config_dword_Rf3b4e49e
/lib/modules/2.4.3-20mdksmp/kernel/video/NVdriver: unresolved symbol 
__wake_up_R2c77a2af
/lib/modules/2

Re: [expert] Compiling Nvidia-driver for SMP kernel

2001-05-07 Thread Erik Günther

On Thu, 3 May 2001, Erik Günther wrote:

> On Thu, 3 May 2001, Rial Juan wrote:
>
> >
> > I also have smp; I just grabbed the src.rpm from their site, did a 'rpm
> > --rebuild' on it, and it works like a charm.
> >
>
> Could you please send that rpm to me so I try?
>
Could you please or someone else have Nvidias driver compiled for 2.4.3
and SMP that could send a copy to me?

> BTW don't send the rpm to the expert-list some maileservers and users will
> probobly be uppset ;-)

Still stands I presume :-)
>
>
>
>

-- 

   /EgU

* Erik (EgU) Günther can be found at:
  Netch Technologies AB | www.netch.se/~erikg
  +46 (0)46 - 272 46 35 | [EMAIL PROTECTED]

* Fortune:





Re: [expert] Compiling Nvidia-driver for SMP kernel

2001-05-03 Thread Erik Günther

On Thu, 3 May 2001, Rial Juan wrote:

>
> I also have smp; I just grabbed the src.rpm from their site, did a 'rpm
> --rebuild' on it, and it works like a charm.
>

Could you please send that rpm to me so I try?

BTW don't send the rpm to the expert-list some maileservers and users will
probobly be uppset ;-)



-- 

   /EgU

* Erik (EgU) Günther can be found at:
  Netch Technologies AB | www.netch.se/~erikg
  +46 (0)46 - 272 46 35 | [EMAIL PROTECTED]

* Fortune:
Quigley's Law:
Whoever has any authority over you, no matter how small, will
atttempt to use it.





Re: [expert] Compiling Nvidia-driver for SMP kernel

2001-05-03 Thread Rial Juan


I also have smp; I just grabbed the src.rpm from their site, did a 'rpm
--rebuild' on it, and it works like a charm.

On 2001.05.03 08:52 Erik Günther wrote:
> 
> I have now tried several times to compile my Nvidia driver (from Nvidia)
> but no success. It always compiles and always fails to load the module
> into the kernel becouse on several unresulved symbols. So I think I do
> the
> same misstake over and over agin but what?
> 
> I have tried:
> 
> Unziping the tar and make.
> Unziping the tar and make SYSINCLUDE="/usr/src/linux/include"
> rpm --rebuild NVIDIA_kernel.rpm
> rpm --rebuild --target=i586 NVIDIA_kernel.rpm
> 
> All build, all faild to load the module. I prefer to use rpm and if I get
> a success with tar I can easy include that into the RPM.
> 
> 
> I have:
> Linux-Mandrak 8.0 (kernel 2.4.3. as you didn't know that ;-) )
> two P3 800Mhz (SMP)
> Nvidia Geforce2 Ultra (Asus7700)
> 
> 
> -- 
> 
>/EgU
> 
> * Erik (EgU) Günther can be found at:
>   Netch Technologies AB | www.netch.se/~erikg
>   +46 (0)46 - 272 46 35 | [EMAIL PROTECTED]
> 
> * Fortune:
> Today is the tomorrow you worried about yesterday.
> 
> 
-- 
Rial Juan
e-mail:  [EMAIL PROTECTED]
   ICQ:20135549
Belgiumtel:++3289856533
  cellular:   ++32496737018
ulyssis system admininstrator   

1010011010 : Binary of the Beast