RTL8029 Ethernet / IRQ frustrations???

RTL8029 Ethernet / IRQ frustrations???

Post by Matt Franci » Wed, 15 Mar 2000 04:00:00



Hello All...
I am trying to get a linux box up and running and communicating with the
rest of the world, but I am having a problem with my card *I think*.
How do I find the resource settings in Linux???  I'm using an old
computer with lots of shared architecture crap, and I don't know where
to start.

Thanks in advance,
Matt

 
 
 

RTL8029 Ethernet / IRQ frustrations???

Post by Stefan Seyfrie » Thu, 16 Mar 2000 04:00:00



> Hello All...
> I am trying to get a linux box up and running and communicating with the
> rest of the world, but I am having a problem with my card *I think*.
> How do I find the resource settings in Linux???  I'm using an old
> computer with lots of shared architecture crap, and I don't know where
> to start.

I have two of those cards in my box (PCI cards), they work without
problems. The only issue i had with them was, that the BIOS configured
them to share the same IRQ, which caused the kernel to hang at boot at
the stage where the ethernet cards should be initialized. (I don't use
modules). I reconfigured my BIOS, now the whole thing is running fine.

Do you use the correct drivers? You need the "PCI NE2000 support" in
the kernel or the ne2k-pci.o module.

Which errors do you get? Be more specific.

Regards,

Stefan
--

Windows 2000 - from the people who brought you EDLIN.

 
 
 

RTL8029 Ethernet / IRQ frustrations???

Post by LhD Administrato » Thu, 16 Mar 2000 04:00:00



Quote:> I have two of those cards in my box (PCI cards), they work without
> problems. The only issue i had with them was, that the BIOS configured

Very true -- not glamorous, but they do work -- 5.0 score at the moment.

http://www.linhardware.com/db/dispproduct.cgi?DISP?312

Quote:> Which errors do you get? Be more specific.

Ditto.

--
LhD Administrator
Linux Hardware Database
http://www.linhardware.com

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

RTL8029 Ethernet / IRQ frustrations???

Post by Matt Franci » Fri, 17 Mar 2000 04:00:00


Hi again...
Sorry for not posting specific errors... What happens is the module
(ne2k-pci.o) is loaded in the kernel, and when I activate the changes
(linuxconf), I get something like a eth0 trying to restart, but it fails.  And
the same thing at boot... I get a big, red [FAILED] when initializing eth0.  I
don't know if it is a software or hardware problem, so that is what I am
trying to figure out at the moment...  AND to top it all off, my BIOS is
crap... It allows me to set a supervisor password, and that's about it...

Thanks...

> I have two of those cards in my box (PCI cards), they work without
> problems. The only issue i had with them was, that the BIOS configured
> them to share the same IRQ, which caused the kernel to hang at boot at
> the stage where the ethernet cards should be initialized. (I don't use
> modules). I reconfigured my BIOS, now the whole thing is running fine.

> Do you use the correct drivers? You need the "PCI NE2000 support" in
> the kernel or the ne2k-pci.o module.

> Which errors do you get? Be more specific.

> Regards,

> Stefan
> --

> Windows 2000 - from the people who brought you EDLIN.

--

http://people.unt.edu/~mfrancis
 
 
 

RTL8029 Ethernet / IRQ frustrations???

Post by Stefan Seyfrie » Fri, 17 Mar 2000 04:00:00



> Hi again...
> Sorry for not posting specific errors... What happens is the module
> (ne2k-pci.o) is loaded in the kernel, and when I activate the changes

good, if the module loads, this seems to be ok so far.
Try the following: (as root) in one console, type 'tail -f
/var/log/messages'
then (in another console, also as root) do a 'modprobe ne2k-pci'

You should get messages in the syslog (/var/log/messages), mine look
like:
ne2k-pci.c:vpre-1.00e 5/27/99 D. Becker/P. Gortmaker http://cesdis.gsfc.nasa.
ne2k-pci.c: PCI NE2000 clone 'RealTek RTL-8029' at I/O 0x6100, IRQ 11.
eth0: RealTek RTL-8029 found at 0x6100, IRQ 11, 00:80:AD:3A:6B:E9.
ne2k-pci.c: PCI NE2000 clone 'RealTek RTL-8029' at I/O 0x6200, IRQ 12.
eth1: RealTek RTL-8029 found at 0x6200, IRQ 12, 52:54:00:DF:98:30.

Quote:> (linuxconf), I get something like a eth0 trying to restart, but it fails.  And

Well, i am not much into this autmatic admin stuff (linuxconf et al),
all i can tell you is: do your troubleshooting by hand, so you can see
all the errors etc.

Quote:> the same thing at boot... I get a big, red [FAILED] when initializing eth0.  I
> don't know if it is a software or hardware problem, so that is what I am
> trying to figure out at the moment...  AND to top it all off, my BIOS is
> crap... It allows me to set a supervisor password, and that's about it...

At the moment, i don't think your BIOS is to blame.

Take these steps: (always watching your syslog in a second console)

1. 'lsmod' to see if the module is already loaded
2. if it is loaded, 'rmmod ne2k-pci' to remove it
3. 'insmod ne2k-pci', look for errors, also watch the syslog
if there are errors until now, come back here and post them.
4. ifconfig eth0 192.168.1.1 up
5. ifconfig eth1 192.168.2.1 up
6. verify the network cards with 'ifconfig'

you can use your ip-adresses instead of the above.

7. route add -net 192.168.1.0 netmask 255.255.255.0 eth0
8. route add -net 192.168.2.0 netmask 255.255.255.0 eth1

now you should be able to ping hosts on both networks.

So, this is what i can offer you. I hope everything is correct, you
might check it against the NET-HOWTOs, it's a long time since i had
errors on the network... :-)

Good luck and best wishes,

Stefan.

If the machine would just lock up when you insert the module - well,
that was exactly what happened when i had the irq shared...
--

Windows 2000 - from the people who brought you EDLIN.

 
 
 

RTL8029 Ethernet / IRQ frustrations???

Post by Thomas Mezge » Fri, 24 Mar 2000 04:00:00


under the directory /proc/ there are files like

    interrupts
    dma

and so on....

you can have a look these files. you cant change settings there.

bye

thomas


Quote:>Hello All...
>I am trying to get a linux box up and running and communicating with the
>rest of the world, but I am having a problem with my card *I think*.
>How do I find the resource settings in Linux???  I'm using an old
>computer with lots of shared architecture crap, and I don't know where
>to start.

>Thanks in advance,
>Matt