LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   ethernet card (https://www.linuxquestions.org/questions/linux-hardware-18/ethernet-card-116745/)

asp2 11-16-2003 02:22 PM

ethernet card
 
Hi,
I have installed an ethernet card which works under windows.
However, under linux, it doesn't work properly. I think that the card is able to send, but it can't receive (maybe I have problems with the interrupt).

I have noticed that I get this message when booting:

PCI: No IRQ known for interrupt pin A of device 00:02.5. Probably buggy MP table.

Any idea?

Tinkster 11-16-2003 02:47 PM

Please give us an
lspci -v

Did you verify that the device 00:02.5
is the network card?

Cheers,
Tink

asp2 11-17-2003 12:59 PM

This is what I get with lspci -v. Executing this command I have seen the device 00:02.5 is not the ethernet card:

00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown device 0651 (rev 01)
Subsystem: Elitegroup Computer Systems: Unknown device 0a44
Flags: bus master, medium devsel, latency 32
Memory at d0000000 (32-bit, non-prefetchable) [size=128M]
Capabilities: [c0] AGP version 2.0

00:01.0 PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
Memory behind bridge: e8000000-e9ffffff
Prefetchable memory behind bridge: d8000000-e7ffffff

00:02.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev 04)
Flags: bus master, medium devsel, latency 0

00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (prog-if 8a [Master SecP PriP])
Subsystem: Elitegroup Computer Systems: Unknown device 0a44
Flags: bus master, medium devsel, latency 128
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at 4000 [size=16]
Capabilities: [58] Power Management version 2

00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS7012 PCI Audio Accelerator (rev a0)
Subsystem: Elitegroup Computer Systems: Unknown device 0a44
Flags: bus master, medium devsel, latency 32, IRQ 9
I/O ports at e000 [size=256]
I/O ports at e400 [size=128]
Capabilities: [48] Power Management version 2

00:03.0 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 0f) (prog-if 10 [OHCI])
Subsystem: Elitegroup Computer Systems: Unknown device 0a44
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at ea000000 (32-bit, non-prefetchable) [size=4K]

00:03.1 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 0f) (prog-if 10 [OHCI])
Subsystem: Elitegroup Computer Systems: Unknown device 0a44
Flags: bus master, medium devsel, latency 32, IRQ 9
Memory at ea001000 (32-bit, non-prefetchable) [size=4K]

00:03.2 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 0f) (prog-if 10 [OHCI])
Subsystem: Elitegroup Computer Systems: Unknown device 0a44
Flags: bus master, medium devsel, latency 32, IRQ 5
Memory at ea002000 (32-bit, non-prefetchable) [size=4K]

00:03.3 USB Controller: Silicon Integrated Systems [SiS]: Unknown device 7002 (prog-if 20)
Subsystem: Elitegroup Computer Systems: Unknown device 0a44
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at ea003000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [50] Power Management version 2

00:09.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
Subsystem: D-Link System Inc RTL8139 Ethernet
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at e800 [size=256]
Memory at ea004000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2

01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0171 (rev a3) (prog-if 00 [VGA])
Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 5
Memory at e8000000 (32-bit, non-prefetchable) [size=16M]
Memory at d8000000 (32-bit, prefetchable) [size=128M]
Memory at e0000000 (32-bit, prefetchable) [size=512K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 2.0

Regards

Tinkster 11-17-2003 01:38 PM

It's obviously a realtek one, one of the most
commonly used cards these days, and quite
well established as a kernel driver.... which
module are you loading for it?

Please give's lsmod :)

Cheers,
Tink

asp2 11-19-2003 05:49 AM

Here is the lsmod:

Module Size Used by Not tainted
snd-mixer-oss 11424 0 (autoclean)
snd-pcm-oss 45568 0 (autoclean)
snd-intel8x0 12480 0
snd-pcm 61824 0 [snd-pcm-oss snd-intel8x0]
snd-timer 12256 0 [snd-pcm]
ipv6 156928 -1 (autoclean)
snd-ac97-codec 24548 0 [snd-intel8x0]
snd-mpu401-uart 3824 0 [snd-intel8x0]
snd-rawmidi 14112 0 [snd-mpu401-uart]
snd-seq-device 4416 0 [snd-rawmidi]
snd 33640 0 [snd-mixer-oss snd-pcm-oss snd-intel8x0 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3396 3 [snd]
isa-pnp 27656 0 (unused)
joydev 5792 0 (unused)
evdev 4000 0 (unused)
input 3168 0 [joydev evdev]
st 26452 0 (autoclean) (unused)
sg 24356 0 (autoclean)
usb-ohci 19552 0 (unused)
usbcore 57184 1 [usb-ohci]
af_packet 12936 0 (autoclean)
8139too 14016 0
mii 1056 0 [8139too]
ide-scsi 7552 0
reiserfs 160576 1

Regards,
Juan

Tinkster 11-19-2003 01:51 PM

OK, so it's getting the right driver
(8139too 14016 0), too ...

Now, as root, what does
ifconfig (without any parameters) say?

Cheers,
Tink

asp2 11-19-2003 02:52 PM

This is what ifconfig says:

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:30 errors:0 dropped:0 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1956 (1.9 Kb) TX bytes:1956 (1.9 Kb)

Regards,
Juan

michaelk 11-19-2003 03:20 PM

Does the following commmand configure your eth0?
ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up

Replace IP addr and netmask to match your network.

asp2 11-20-2003 11:02 AM

I think that's not possible in my case because I have a dynamic IP. Am I wrong?

By the way, I haven't commented in this thread that I get this message when my computer tries to get the IP via DHCP:
........... No IP address yet (backgrounding)
It never gets the IP

michaelk 11-20-2003 11:31 AM

Yes, since DHCP isn't working setting a static IP would confirm that the module is loading and the network card is functioning. The next step would be to troubleshoot why dhcp isn't working.

Explain your network setup. What distro / version are you using. BTW it will help us if you post as many details as you can. I'm not a dentist:)

asp2 11-20-2003 11:57 AM

Currently I have SuSE Linux 8.0, but I also tried to get the card working with Mandrake 9.1 and Augustux 0.2.

I have a dynamic IP obtained via DHCP. When I boot I get this message:
eth0 (DHCP) . . . . . . No IP address yet, backgrounding

If I open a web browser, Konqueror for instance, I get this message: "Unknown host: www.google.es".


All times are GMT -5. The time now is 06:36 AM.