LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   PCI ethernet card (https://www.linuxquestions.org/questions/linux-networking-3/pci-ethernet-card-61934/)

R_Shackleford 05-26-2003 02:05 PM

PCI ethernet card
 
Does anyone know if the Siemens Speedstream 1020 PCI 10/100 ethernet card is Linux compatible? The label on the box claims that it is compatible with Linux, *nix, and BSD, but the company provides no support. My card is not recognized even after recompiling the kernel. (I did not see this specific card listed during make config ) Is there a generic driver which might work with this card. Any assistance is greatly appreciated.:confused:

trickykid 05-26-2003 07:05 PM

Re: PCI ethernet card
 
Quote:

Originally posted by R_Shackleford
Does anyone know if the Siemens Speedstream 1020 PCI 10/100 ethernet card is Linux compatible? The label on the box claims that it is compatible with Linux, *nix, and BSD, but the company provides no support. My card is not recognized even after recompiling the kernel. (I did not see this specific card listed during make config ) Is there a generic driver which might work with this card. Any assistance is greatly appreciated.:confused:
If you find out what chipset the card uses, it might help us determine what module is used to support your NIC.

fancypiper 05-26-2003 08:11 PM

Is it installed? If so, look for it in what you get when you command:

cat /proc/pci

and do a google/post again if you can't figure it out.

R_Shackleford 05-27-2003 07:43 AM

Thanks for the suggestions. I am away from that machine at the moment, but I will see if I can find chipset specs tonight. As to "is it installed?" , the card is not recognized during installation of the OS, (I am dual booting a M$ product as well, and it is recognized there - but I am trying to migrate completed away from Redmond software) nor is it recognized during the network setup portion of the install. As I stated originally, I found no Siemens PCI ethernet card option when I recompiled my kernel.

fancypiper 05-27-2003 12:34 PM

Quote:

Originally posted by R_Shackleford
As to "is it installed?"
I meant was "is it plugged into the pci slot in the computer". :eek:

I call the rest of the stuff "configuring".

R_Shackleford 05-29-2003 07:25 PM

Hey fancypiper,
I didn't mean to sound beligerent. When I saw your last reply, I had to laugh. Yes, as a matter of fact, the card is indeed fully inserted into what was previously a vacant PCI slot. However, I am still away from that machine. My job requires that I travel, and in many locations my ISP does not provide local access numbers for dialup with my laptop. Hopefully, I will be able to address this network card issue when I am safely back at my domicile on Friday afternoon. Thanks for not taking offense at my "As I stated..." comment. I know that from time to time there are those users on some forums who don't know how to install parts. Rest assured I am not one of them. I do have formal training as an electronics technician. Computers are a hobby for me, and Linux is an addiction. I have dabbled with several Mandrake releases and one Red Hat release. But I really wanted to learn Linux, so I installed Slackware. I have a Gentoo release, but I haven't been so bold as to attempt it yet. I also have FreeBSD 4.6, but I can't seem to get Xwindows to run on it...Alas, that is a different forum entirely. Thanks to everyone for their patience and politeness. There are some truly outstanding people on this board.

fancypiper 05-29-2003 08:13 PM

:D You never know what/who you are dealing with here if you have been following some of the threads here.

You should find the info you need to finish configuring your kernel with the info from

cat /proc/pci

A handy CD to have laying around to see what modules/configs etc. work is the KNOPPIX Linux Live CD. Stick it in and switch to a virtual terminal (control-alt-F2) and command:

lsmod

That will return a list of modules that their hardware probe found and configured. Then you can look at the ones offered in the kernel that uses that module.

HTH

awdoyle 05-29-2003 10:05 PM

Fancy - not able to pull a match with your KNOPPIX Linux Live CD link.
Andrew

fancypiper 05-29-2003 10:38 PM

:eek: I fixed it (I think) :rolleyes:

KNOPPIX Linux Live CD

# Cheap CDs
Discount Linux CDs
Linux Central
Cheapbytes
TuxCDs
ComputerHelperGuy

R_Shackleford 05-31-2003 03:29 PM

O.K.
cat /proc/pci returned this:

Bus 0, device 7, function 0:
Ethernet controller: PCI device 1432:9130 (Edimax Computer Co.) (rev 16).
IRQ 11.
Master Capable. Latency=32. Min Gnt=32.Max Lat=64.
I/O at 0xc800 [0xc8ff].
Non-prefetchable 32 bit memory at 0xdf000000 [0xdf0000ff].

Where do I go from here? :scratch:

(I am downloading KNOPPIX as we speak. FYI - Chris Perillo from TechTV mentions KNOPPIX in a recent article in CPU magazine.)

fancypiper 05-31-2003 03:45 PM

Quote:

Originally posted by R_Shackleford
O.K.
cat /proc/pci returned this:

Bus 0, device 7, function 0:
Ethernet controller: PCI device 1432:9130 (Edimax Computer Co.) (rev 16).
IRQ 11.
Master Capable. Latency=32. Min Gnt=32.Max Lat=64.
I/O at 0xc800 [0xc8ff].
Non-prefetchable 32 bit memory at 0xdf000000 [0xdf0000ff].

Where do I go from here? :scratch:

We now know that the IRQ is 11 and the port is 0xc800, at least.

I would first check the Ethernet HOWTO to see what I might do with that information.

The good old Linux Google search hits may be of help as well.

R_Shackleford 05-31-2003 07:16 PM

I finally unplugged the card in an effort to find the chipset info.

As it turns out, the chipset is an RMC(Realtek ?) RTL8139C

With this information in hand, I went to the Ethernet HOWTO and found this:

4.31.5. RealTek 8129/8139

Status: Semi-Supported, Driver Name: rtl8139, 8139too

Another PCI single chip ethernet solution from RealTek. A driver for cards based upon this chip was included in the v2.0.34 release of linux. You currently have to answer `Y' when asked if you want experimental drivers for v2.2 kernels to get access to this driver.

Donald says that cards based on this chip are around the same price (or even cheaper in places - 13 bucks!) as a PCI NE2000 clone card, and while the 8139 design is not the best 10/100 board, it is better than a PCI NE2000 clone card.

The 2.4.x kernels have another driver called 8139too which was based on rtl8139 but tries to adress some of the more common problems people were reporting, so you may wish to try that if using a 2.4 kernel.


(I posted this info from the How-to in effort to help those with similar problems who may be viewing this thread)

Should I run make config again to try to find this chipset driver in the kernel configuration? (I have the 2.4.20 kernel)

fancypiper 05-31-2003 09:25 PM

Yes. If you had rather have a module, change the <*> to <m> and load the module on boot.

# Find running kernel version
uname -r

Here is where it is in make menuconfig:
Network device support --->
Ethernet (10 or 100Mbit) --->[*] EISA, VLB, PCI and on board controllerss[*] Ethernet (10 or 100Mbit)
<*> RealTek RTL-8139 PCI Fast Ethernet Adapter support[*] Support for uncommon RTL-8139 rev. K (automatic channel equalization)[*] Support for older RTL-8129/8130 boards

R_Shackleford 05-31-2003 09:56 PM

Thanks so much for your assistance! I hope these will be the last questions I have in this thread. What would be the advantage or disadvantage of compiliing this driver as a loadable module? If it is a module, wouldn't I have to manually load it when I want to access my LAN? Would it be more efficient to have it loaded during boot, so that network access is ready at logon?

fancypiper 05-31-2003 10:13 PM

I compile it into the kernel, myself so that it is there. I don't worry about the kernel size since I don't use a boot floppy.

You can always add it to /etc/modules.conf
Code:

alias eth0 <module>
or modprobe it by putting it in /etc/rc.d/rc.local, the last script run on boot up.

Where to put 'insmod' and 'modprobe' Commands for Start-up

actanner 06-26-2003 06:31 PM

More 8139c woes
 
I have found this thread very informative, and have followed the instructions, but I still cannot get my Siemens Speedstream 1020 NIC to work, using the 8139too module. Here is what happens:
I still have problems with my Realtek 8139C chip NIC. What I
> did was swap out an older slower card for this new one, and I can't
> figure out how to get Mandrake 9.1 to recognize the thing. I put the
> "alias eth0 8139too" in /etc/modules.conf, but when I do an ifconfig, it
> can't find the eth0 device. I get this message on boot-up:
> insmod: /lib/modules/2.4.21-0.13mdk/kerne/drivers/net/8139too.o.gz:
> init_module: no such device
> "lsmod" does not show the module.
> Any advice would be greatly appreciated!:Pengy:

fancypiper 06-26-2003 08:31 PM

Try

urpmi kernel-source

if you don't have the kernel source installed.

# Compiling/installing kernel modules
You will need to have installed:
1. The developmental packages (compiler)
2. The kernel source code that matches your running kernel
3. The module source or install code

Check out your system and see what's under the hood and see if you installed the stuff you need to do the job. Open an x terminal and type in this sequence of commands to see what kernel we are running and see if you have the kernel source installed:
Code:

[fancy@tinwhistle phil]$ su -
Password:
[root@tinwhistle root]# uname -r
2.4.18-3

I am running kernel version 2.4.18-3. Do I have the proper source code?
Code:

[root@tinwhistle root]# cd /usr/src
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root    root          136 Jun 12 14:53 .
drwxr-xr-x  16 root    root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root    root          14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x  16 root    root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root    root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#

I do have the same kernel version source code installed in the directory /usr/src/linux-2.4.18-3 and there is a symbolic link named linux-2.4 pointing to it.

If you don't see something similiar to this (but in color), you will need to install the kernel source.

NOTE: I noticed that Red Hat didn't make the symbolic link /usr/src/linux that all of the INSTALL files that I have read mentioned that I need, so I may as well make one now to save editing the files in the source code to install.So, I'll make it just now:
Code:

[root@tinwhistle src]# ln -s linux-2.4.18-3 linux       
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root    root          160 Jun 12 15:46 .
drwxr-xr-x  16 root    root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root    root          14 Jun 12 15:46 linux -> linux-2.4.18-3
lrwxrwxrwx    1 root    root          14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x  16 root    root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root    root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#

Ah, there it is, so that's done.

Next, did I install the compiler?
Code:

[root@tinwhistle src]# gcc -v         
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
[root@tinwhistle src]#

Yes, I have a compiler installed.

If you don't have those two things installed, you have to install them first off your install CD.

If they are installed, download the source and happy comiling. :tisk: Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing. :study:

# Guides to software and installation and uninstallation
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation

actanner 06-27-2003 08:42 PM

fancypiper: Thanks for all the detail! I will (re)compile the kernel if absolutely necessary, but I am hoping that I won't have to do that. I find the "module"(?) named "8139too.o.gz" in the "net" directory, and I was under the impression that if it was there, then I could just load it without having to do any compiling. I would like to learn more about how module loading works, but I don't know where to look for documentaion. It would be good to have a list of modules with a description of the hardware they support, also. Thanks for any advice you can give! :study:

fancypiper 06-28-2003 02:00 AM

Try

modprobe 8139too

or

insmod 8139too

followed by

lsmod

Did it load?

If so, put that line into /etc/rc.d/rc.local and it will load on boot.

actanner 06-28-2003 10:32 AM

Didn't work. I got four unresolved references.

fancypiper 06-28-2003 11:38 AM

I still think you need to install kernel-source

urpmi kernel-source

actanner 06-28-2003 01:41 PM

Well, I have now installed the kernel source, and still get the following error when I do "modprobe 8139too":
/lib/modules/2.4.21-0.12mdk/kernel/drivers/net/8139too.o.gz: init_module: No such device
Hint: insmod errors can be caused by incorrect module paramaters, including invalid IO or IRQ parameters. You may find more information in syslog or the output form dmesg

I did notice that modprobe installed the module "mii" without any trouble, which is needed by 8139too.
:confused:

fancypiper 06-28-2003 02:59 PM

1. Is the running kernel the same as your kernel source version?
2. Did you make sure you have the proper symbolic link for /usr/src/linux?
3. Did you re-install the module?

actanner 06-28-2003 03:39 PM

1) the kernel source agrees with the running kernel.
2) The link is correct.
3) How do I "reinstall" the module?

actanner 06-29-2003 01:48 PM

PROBLEM SOLVED! (But I cheated!)
After spending far too much time trying to get the SpeadStream 1020 NIC to work, I bought a Linksys LNE100TX card today at BestBuy, which cost $4.99 after rebates. I plugged it in and did "modprobe tulip", and it worked like a champ. So my suggestion to anyone trying to make this Siemens NIC work is to buy the Linksys model. The tulip chip is a good chip, and the support is there.
Thanks to all who responded on this thread, especially fancypiper! :) Now this :newbie: is happy!

docbrazen 11-24-2003 08:27 PM

Quote:

Originally posted by actanner
PROBLEM SOLVED! (But I cheated!)
After spending far too much time trying to get the SpeadStream 1020 NIC to work, I bought a Linksys LNE100TX card today at BestBuy, which cost $4.99 after rebates. I plugged it in and did "modprobe tulip", and it worked like a champ. So my suggestion to anyone trying to make this Siemens NIC work is to buy the Linksys model. The tulip chip is a good chip, and the support is there.
Thanks to all who responded on this thread, especially fancypiper! :) Now this :newbie: is happy!

dang, I was hoping you were going to get it working. I have this exact card and the same problem; linux google returns a lot of posts with the same question but no solutions.

docbrazen 11-26-2003 10:42 AM

I managed to find a solution to this problem, so I’ll post it here incase anyone will need it.

I contacted someone who posted about this same problem on another forum, and asked him if he managed to find a solution. He told me that I should use the kernel 2.4.22-rc4 and that it should have the updated driver 8139too.o. He also suggested that I force the driver into 100mbit mode because the card may be very slow if allowed to negotiate. I ended up using the latest pre-patch 2.4.22 kernel.


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