LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-11-2003, 03:00 AM   #1
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Trying to build Router, but cannot install NIC modules at all


I have an older system that I installed Slackware 8.1 on with the standard 2.4.18 kernel. I put in 3 NICs--all D-Link 530TXS. I checked google/linux to make sure they are compatible and found that they are to use the via-rhine module. I checked www.dlink.ca/support and found that they have developed their own driver called rhinefet.o so I downloaded it too. Here's where I run into problems.

To give some background, I am running as root, and have disabled everything that says PnP in the BIOS and set manual IRQs up for the 3 cards as 11, 10, and 9 since they were free for use. Here's my lspci -vb as root regarding the cards:

Code:
00:08.0 Ethernet controller: D-Link System Inc Sundance Ethernet (rev 12)
           Subsytem: D-Link System Inc: Unknown device 1040
           Flags: bus master, medium devsel, latency 32, IRQ 11
           I/O ports at 6900
           Memory at f0000000 (32-bit, non-prefetchable)
           Capabilities: [50] Power Management version 2

00:09.0 Ethernet controller: D-Link System Inc Sundance Ethernet (rev 12)
           Subsytem: D-Link System Inc: Unknown device 1040
           Flags: bus master, medium devsel, latency 32, IRQ 10
           I/O ports at 6000
           Memory at f0001000 (32-bit, non-prefetchable)
           Capabilities: [50] Power Management version 2

00:0a.0 Ethernet controller: D-Link System Inc Sundance Ethernet (rev 12)
           Subsytem: D-Link System Inc: Unknown device 1040
           Flags: bus master, medium devsel, latency 32, IRQ 9
           I/O ports at 6a00
           Memory at f0001000 (32-bit, non-prefetchable)
           Capabilities: [50] Power Management version 2
The good part is that they show up. However, when I try to modprobe I get:

Code:
root@terminator:~#modprobe via-rhine
/lib/modules/2.4.18/kernel/drivers/net/via-rhine.o.gz: init_module: No such device
/lib/modules/2.4.18/kernel/drivers/net/via-rhine.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.18/kernel/drivers/net/via-rhine.o.gz: insmod /lib/modules/2.4.18/kernel/drivers/net/via-rhine.o.gz failed
/lib/modules/2.4.18/kernel/drivers/net/via-rhine.o.gz: insmod via-rhine failed
Alright, so at least I know that maybe I should try to use the other module rhinefet.o that I saved to /lib/modules/2.4.18/kernel/drivers/net. So, I try to modprobe for rhinefet and get the following:

Code:
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol remove_proc_entry_Rsmp_eb2a9ed0
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol alloc_skb_Rsmp_58797b15
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol free_irq_Rsmp_f20dabd8
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol pci_register_driver_Rsmp_465aa46c
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol netif_rx_Rsmp_38d11448
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol proc_net_Rsmp_ec7f9c0f
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol __request_region_Rsmp_1a1a4f09
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol creat_proc_entry_Rsmp_df14f66a
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol iounmap_Rsmp_5fb196d4
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol softnet_data_Rsmp_8158205c
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol pci_enable_device_Rsmp_944b5e42
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol pci_read_config_byte_Rsmp_3bd38f74
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol pci_read_config_word_Rspm_013f4ee4
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol pci_set_master_Rsmp_87a01918
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol init_etherdev_Rsmp_7746d780
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol pci_free_consistent_Rsmp_d23139f1
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol skb_over_panic_Rsmp_a47ebf66
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol eth_type_trans_Rsmp_9debe794
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol pci_unregister_driver_Rsmp_26713b86
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol sprintf_Rsmp_1d26aa98
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol __ioremap_Rsmp_9eac042a
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol pci_alloc_consistent_Rsmp_1f6a8dc8
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol __check_region_Rsmp_f1d0cdab
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol kfree_Rsmp_037a0cba
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol printk_Rsmp_1b7d4074
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol ioport_resource_Rsmp_865ebccd
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol cpu_raise_softirq_Rsmp_d01f3ee8
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol __kfree_skb_Rsmp_e6edbc94
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol pci_write_config_byte_Rsmp_c19e8242
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol kmalloc_Rsmp_93d4cfe6
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol __const_udelay_Rsmp_eae3dfd6
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol jiffies_Rsmp_0da02d67
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol request_irq_Rsmp_0c60f2e0
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: unresolved symbol __release_region_Rsmp_d49501d4
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: insmod /lib/modules/2.4.18/kernel/drivers/net/rhinefet.o failed
/lib/modules/2.4.18/kernel/drivers/net/rhinefet.o: insmod rhinefet failed
Thanks for making it this far. Now, I've checked and double checked that /lib/modules/2.4.18/kernel/drivers/net has drivers and it's chock full of them--including via-rhine.o.gz and my newly copied rhinefet.o file. So, when I try to "insmod via-rhine" I get the following:

Code:
/lib/modules/2.4.18/kernel/drivers/net/via-rhine.o.gz: unresolved symbol mii_ethtool_sset
/lib/modules/2.4.18/kernel/drivers/net/via-rhine.o.gz: unresolved symbol mii_link_ok
/lib/modules/2.4.18/kernel/drivers/net/via-rhine.o.gz: unresolved symbol mii_ethtool_gset
/lib/modules/2.4.18/kernel/drivers/net/via-rhine.o.gz: unresolved symbol mii_nway_restart
That's it. When I try to "insmod rhinefet" I get the exact same output as shown in "modprobe rhinefet". I decided to check dmesg and found this regarding PCI slots:

Code:
PCI: PCI BIOS revision 2.10 entry at 0xfbc10, last bus=0
PCI: Using configuration type 1
PCI: Probing PCI hardware
Limiting direct PCI/PCI transfers.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink soket
Starting kswapd
VFS: Diskquotas version dquot_6.4.0 initialized
Journalled Block Device driver loaded
Detected PS/2 Mouse Port
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
block: 64 slots per queue, batch=16
RAMDISK driver initailized: 16 RAM disks of 7777K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33Mhz system bus speed for PIO modes; override with idebus=xx
PIIX: IDE controller on PCI bus 00 dev 38
PIIX: chipset revision 2
PIIX: not 100% native mode: will probe irqs later
PIIX: IDE controller on PCI bus 00 dev 39
PIIX: chipset revision 2
PIIX: not 100% native mode: will probe irqs later
      ide0: BM-DMA at 0x3000-0x3007, BIOS settings: hda:DMA, hdb:pio
      ide1: BM-DMA at 0x3008-0x300f, BIOS settings: hdc: pio, hdd: DMA
hda: WDC AC21200H, ATA DISK drive
hdd: CREATIVE CD1220E, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7, 0x3f6 on irq 14
ide1 at 0x170-0x177, 0x376 on irq 15

<snip>

Intel ISA/PCI/CardBus PCIC probe:
  no bridges found.
via-rhine.c:v1.10-LK1.1.13 Nov-17-2001 Written by Donald Becker
  http://www.scyld.com/network/via-rhine.html
via-rhine.c:v1.10-LK1.1.13 Nov-17-2001 Written by Donald Becker
  http://www.scyld.com/network/via-rhine.html
That's it. I've not modified my /etc/rc.d/rc.modules or any other file at this point. Thank you for reading this far. Has anyone else run into this issue before? Can anyone suggest anything on how to proceed with the installation of the modules? The hardware setup seems to be alright according to lspci -v but the installation of the modules very obviously shows otherwise. The IRQs seem to be okay, but perhaps it's the I/O that is causing the foul-up? Any suggestions or tips would be greatly appreciated. I'm going to be playing around with the settings in my BIOS a bit more while waiting for a response as I think it's the I/O settings causing the problem. Thanks again.

Last edited by Texicle; 04-11-2003 at 03:04 AM.
 
Old 04-11-2003, 05:32 PM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Your using the incorrect module, see what happens if you do "modprobe sundance".
 
Old 04-11-2003, 07:13 PM   #3
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Original Poster
Rep: Reputation: 30
Thanks Aussie! I'm going to try it out tonight when I get home. I'll also check around on google/linux for that module. Everything I've read so far suggests via-rhine, and the rhinefet one came from www.dlink.ca but obviously that one doesn't work. Thanks for the suggestion! I'm at my wits end here with this.

EDIT: I just took another trip on google/linux and this time I'm seeing all kinds of stuff for the sundance module for my NICs. I'm partially stunned, and very embarrassed as I've spent hours and hours on fiddling with the BIOS and downloading modules and what not. I don't know why I hadn't seen anything on the sundance module in the past on G4L, but I'm willing to bet this will work once I get home. Thanks again Aussie!

Last edited by Texicle; 04-11-2003 at 07:32 PM.
 
Old 04-11-2003, 10:09 PM   #4
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Original Poster
Rep: Reputation: 30
Thanks a million Aussie! I did a modprobe sundance and it went without a hitch. I still don't understand why I didn't see the sundance module being associated with the DFE-530TXS before. I have no idea, but I'm glad you did. Thanks again!
 
Old 04-11-2003, 10:38 PM   #5
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Your welcome texicle :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No /lib/modules/2.6.10-5-386/build kheno Ubuntu 1 05-25-2005 08:46 AM
/lib/modules/2.6.7/build/ - where is it? bobbens Debian 3 11-25-2004 10:46 AM
2 External Nic, 1 Internal Nic Router Problem trevanda Linux - Networking 0 10-13-2004 01:20 AM
passing options to build-in-modules nielchiano Linux - General 4 02-17-2004 11:40 PM
how to install router with one NIC card sureshk Linux - Networking 6 09-11-2003 03:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration