View Single Post
Old 11-30-03, 01:58 AM   #2
joseph_1970
Registered User
 
Join Date: Nov 2003
Location: Houston, TX
Posts: 3
Default

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