nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   General Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=27)
-   -   trustix (cloud) nvnet (http://www.nvnews.net/vbulletin/showthread.php?t=21654)

joseph_1970 11-29-03 08:22 PM

trustix (cloud) nvnet
 
I have installed the nvnet driver under slack without a hitch, but moving over to trustix hasn't worked. I cannot get the nvnet driver to work.

#make
#make install
I add the alias

#modprobe nvnet
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: kernel-module version mismatch
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o was compiled for kernel version 2.4.20-22em
while this kernel is version 2.4.22-4trfirewall.
modprobe: insmod /lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o failed
modprobe: insmod nvnet failed

I don't want to throw in another NIC, but use the integrated nforce one. I get the same thing with insmod alone as well.

Anyone have any suggestions for me?

TIA,

-joseph

joseph_1970 11-30-03 12:58 AM

OK, I managed to find something...

The headers for the kernel needed to be changed from what I understood. So, I did the following, as outlined by someone from a few months ago off a trustix list.

=================

Get the source rpm for your current kernel.

rpm -i kernel-xxx.src.prm

rpm -bp /usr/src/trustix/specs/kernel-xxx.spec

cd /usr/src/rpm/build/linux-xxx

cp ../../source/kernel-xxx-i586.config .config

change a line in the Makefile
to EXTRAVERSION = -4tr or for the other kernel mentioned below
EXTRAVERSION = -4trfirewall before doing make mrproper

make mrproper
make oldconfig
make dep
make include/linux/version.h

Now your kernel header are in the directory
/usr/src/trustix/build/linux-xxx/include.

Investigate you drivers makefile how to point the kernel includes to this.

===========

My tree is a bit different than this, although I found what I needed. Apparently the person did it from memory and the paths weren't all correct. Anyway, it worked out fine.

After this, I uninstalled the drivers from before, did make clean, make, make install, and insmod nvnet. I recieved the following output:

/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol register_netdev_Rsmp_559bbf87
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol iomem_resource_Rsmp_9efed5af
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol softnet_data_Rsmp_1ce5f658
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol free_irq_Rsmp_f20dabd8
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol pci_unregister_driver_Rsmp_e8061e13
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol pci_free_consistent_Rsmp_1bfc1908
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol __request_region_Rsmp_1a1a4f09
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol pci_disable_device_Rsmp_95846005
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol alloc_skb_Rsmp_23b112b9
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol __out_of_line_bug_Rsmp_8b0fd3c5
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol pci_set_master_Rsmp_99cc7ae2
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol pci_alloc_consistent_Rsmp_ca1c24c8
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol skb_over_panic_Rsmp_316a6a1f
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol pci_find_capability_Rsmp_097d3101
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol pci_enable_device_Rsmp_1bc741d2
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol pci_register_driver_Rsmp_1e536d21
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol netif_rx_Rsmp_a5311eb3
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol __ioremap_Rsmp_9eac042a
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol pci_write_config_word_Rsmp_f23d8795
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol kfree_Rsmp_037a0cba
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol printk_Rsmp_1b7d4074
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol cpu_raise_softirq_Rsmp_d01f3ee8
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol __netdev_watchdog_up_Rsmp_f0c6811f
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol __kfree_skb_Rsmp_1f6efdfa
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol __udelay_Rsmp_9e7d6bd0
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol eth_type_trans_Rsmp_cb1d8d7f
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol pci_set_dma_mask_Rsmp_80a48ce9
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol unregister_netdev_Rsmp_560bd4be
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol jiffies_Rsmp_0da02d67
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol pci_read_config_word_Rsmp_923654cb
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol request_irq_Rsmp_0c60f2e0
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol __release_region_Rsmp_d49501d4
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o: unresolved symbol alloc_etherdev_Rsmp_8eb1468a
/lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o:
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. The module may be trying to access
GPLONLY symbols but the problem is more likely to be a coding or
user error. Contact the module supplier for assistance, only they
can help you.

Using /lib/modules/2.4.22-4trfirewall/kernel/drivers/net/nvnet.o

==============

So, still no go.

Again, any help would be greatly appreciated.

Thank in Advance,

Joseph

joseph_1970 12-01-03 10:47 PM

Anyone...anyone?

I have a few other nics working, so no biggie. But, I don't like buying hardware that just sits there. Not like I can take the integrated NIC out and pop it into another machine, eh.

Anything, even a comment at this point, would be nice. ;)

-joseph


All times are GMT -5. The time now is 08:59 AM.

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