LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-19-2007, 09:10 PM   #1
flycast
Member
 
Registered: Jul 2006
Posts: 89

Rep: Reputation: 15
tulip.o.gz - where to find


Can anybody tell me where I can get the tulip.o.gx file that I need for Slackware? There are quite a few links out there (http://www.scyld.com/network/tulip.html) that redirect to http://www.beowulf.org/. I cannot find the driver at beowulf.org anywhere.

Last edited by flycast; 04-19-2007 at 09:11 PM.
 
Old 04-20-2007, 12:37 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
What version of Slack are you running and which kernel? For the standard kernel in Slack 11.0 (i.e. 2.4.33), the module's already there so all you should have to do is a "modprobe tulip".
 
Old 04-20-2007, 11:08 AM   #3
apolinsky
Member
 
Registered: Oct 2004
Location: Brooklyn
Distribution: Slackware 15;
Posts: 440

Rep: Reputation: 46
Some modules might have to be enabled. Irrespective of your Slackware version, take a look at the /etc/rc.d/rc.modules file. The lines starting with a # are commented out. You will probably find a reference to the tulip module prefaced by the #. Remove the character and reboot or try ./rc.modules restart
 
Old 04-21-2007, 10:29 AM   #4
flycast
Member
 
Registered: Jul 2006
Posts: 89

Original Poster
Rep: Reputation: 15
Ouch!
Quote:
root@slacker:~# /etc/rc.d/rc.modules restart
Updating module dependencies for Linux 2.4.33.3:
depmod: *** Unresolved symbols in /lib/modules/2.4.33.3/kernel/drivers/net/tulip/tulip.o
/lib/modules/2.4.33.3/kernel/drivers/net/tulip/tulip.o: The module you are trying to load (/lib/modules/2.4.33.3/kernel/drivers/net/tulip/tulip.o) is compiled with a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work.
/lib/modules/2.4.33.3/kernel/drivers/net/tulip/tulip.o: insmod /lib/modules/2.4.33.3/kernel/drivers/net/tulip/tulip.o failed
/lib/modules/2.4.33.3/kernel/drivers/net/tulip/tulip.o.gz: init_module: No such device
/lib/modules/2.4.33.3/kernel/drivers/net/tulip/tulip.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.33.3/kernel/drivers/net/tulip/tulip.o.gz: insmod /lib/modules/2.4.33.3/kernel/drivers/net/tulip/tulip.o.gz failed
/lib/modules/2.4.33.3/kernel/drivers/net/tulip/tulip.o.gz: insmod tulip failed
Where do I get a version compiled with a version 3 compiler -OR- where can I get source?
 
Old 04-21-2007, 01:00 PM   #5
flycast
Member
 
Registered: Jul 2006
Posts: 89

Original Poster
Rep: Reputation: 15
Update:

I have tried each one separately. They both work when installed alone with the following in the rc.inet1 file:
Quote:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""

IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]="yes"
DHCP_HOSTNAME[1]=""
When I plug both in together all I get is the loopback, neither NIC comes up. THey don't seem to be getting along too well together!
 
Old 04-22-2007, 11:12 AM   #6
flycast
Member
 
Registered: Jul 2006
Posts: 89

Original Poster
Rep: Reputation: 15
Solution:

1) Since I was running more than one type of NIC I had to enable the correct modules in the file '/etc/rc.d/rc.modules'

2) A reboot was in order, I did not seem to have much luck with using '/etc/rc.d/rc.modules restart'. I am not totally positive about this but at any rate, I rebooted every time I made a change to be sure.

3) Run 'modprobe tulip' and 'modprobe 3c90x' to make sure that the modules were installed.

4) Used the following rc.inet1.conf settings:
Quote:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""

IPADDR[1]="192.168.1.150"
NETMASK[1]="255.255.255.0"
USE_DHCP[1]="no"
DHCP_HOSTNAME[1]=""
I currently can see the configuration on both cards using ifconfig and the machine boots well. I can ping both NIC's IP addresses using ping from bith the machine they are installed on and ping on another machine on my lan.

I am still not able to connect to the linksys router connected to 192.168.1.150 (eth1) from either machine but I have some iptables commands in the way (I think). I am able to connect to the internet form eth0.

A note. I installed each card one at a time (basic troubleshooting, change only one thing at a time) and that was what ultimatly got me to the answers above.

Hope this helps others. Thanks for your help on this!
 
Old 04-22-2007, 11:49 AM   #7
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Flycast

Running two cards using the same driver CAN result in some strange behavior. Before everyone screams, yes I know that it should not, but it often does. My solution was to hit ebay for a GigE card ($15 including shipping-for a 3com).

Just a thought.
Lazlow
 
Old 04-22-2007, 12:14 PM   #8
flycast
Member
 
Registered: Jul 2006
Posts: 89

Original Poster
Rep: Reputation: 15
I already have two different cards (a linksys and a 3Com). I have two different drivers uncommented in my rc.modules file and installed two different drivers using modprobe. Wouldnt linux use the appropriate driver for each card?
 
Old 04-22-2007, 12:40 PM   #9
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
The tulip module should come with the kernel source. Was the module configured when you built the kernel?
Code:
zcat /proc/config.gz | grep -in tulip
1373:# Tulip family network device support
1375:CONFIG_NET_TULIP=y
1377:CONFIG_TULIP=m
1378:# CONFIG_TULIP_MWI is not set
1379:# CONFIG_TULIP_MMIO is not set
1380:CONFIG_TULIP_NAPI=y
1381:CONFIG_TULIP_NAPI_HW_MITIGATION=y
 
Old 04-22-2007, 01:48 PM   #10
flycast
Member
 
Registered: Jul 2006
Posts: 89

Original Poster
Rep: Reputation: 15
I think I am past needing to compile. Please see post #6 above. I don't get anything when I do a 'zcat /proc/config.gz | grep -in tulip' but I do see both the 3Com driver and the tulip driver when I do a 'lsmod'.
 
  


Reply



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
Compile tulip.c to tulip.o? WKoepp Linux - General 10 11-06-2003 09:15 AM
Can't find tulip rpm for downloading and other help ... AmonRa7 Linux - Networking 2 10-12-2003 03:38 AM
tulip and redhat8 rrigo Linux - Hardware 0 10-31-2002 01:50 AM
installing tulip.o Lord Draco Linux - Networking 4 10-20-2002 05:34 PM
tulip.o location iihay Linux - Networking 5 02-27-2002 03:06 PM

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

All times are GMT -5. The time now is 03:16 PM.

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