Networking :: Realtek network card



I remembered Realtek was the easy one with Linux.
Well... seems not. ;P

Okay here's what I have done:
- Removed the other ethernet card just to be sure they don't reserve same... IRQ's? (That was an ISA card remaining is a PCI card)
- Booted many times with different BIOS configs
- Tried different ethernet cables

I have no firewall or NAT. That computer is directly connected to indernet. Or at least it should. ;P My internet provider gives maxium of 5 unique IPs. That would be the third computer, so there even two more free.
Ethernet card seems to communicate a little when I boot that computer (leds flashing).

ifconfig shows eth0 and lo. So it can find it too.
But does not give an inet addr for it.

Here's whole lot information about my computer:
/proc/cpuinfo
Quote
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 2
model name : AMD Athlon™ Processor
stepping : 1
cpu MHz : 630.016
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips : 1255.01


dmesg
Buffer was too small to display everything.
Quote
evice 2 1 2 0
scsi singledevice 2 1 3 0
scsi singledevice 2 1 4 0
scsi singledevice 2 1 5 0
scsi singledevice 2 1 6 0
scsi singledevice 2 1 7 0
scsi singledevice 3 0 0 0
scsi singledevice 3 0 1 0
scsi singledevice 3 0 2 0
scsi singledevice 3 0 3 0
scsi singledevice 3 0 4 0
scsi singledevice 3 0 5 0
scsi singledevice 3 0 6 0
scsi singledevice 3 0 7 0
scsi singledevice 3 1 0 0
scsi singledevice 3 1 1 0
scsi singledevice 3 1 2 0
scsi singledevice 3 1 3 0
scsi singledevice 3 1 4 0
scsi singledevice 3 1 5 0
scsi singledevice 3 1 6 0
scsi singledevice 3 1 7 0
scsi singledevice 4 0 0 0
scsi singledevice 4 0 1 0
scsi singledevice 4 0 2 0
scsi singledevice 4 0 3 0
scsi singledevice 4 0 4 0
scsi singledevice 4 0 5 0
scsi singledevice 4 0 6 0
scsi singledevice 4 0 7 0
scsi singledevice 4 1 0 0
scsi singledevice 4 1 1 0
scsi singledevice 4 1 2 0
scsi singledevice 4 1 3 0
scsi singledevice 4 1 4 0
scsi singledevice 4 1 5 0
scsi singledevice 4 1 6 0
scsi singledevice 4 1 7 0
scsi singledevice 5 0 0 0
scsi singledevice 5 0 1 0
scsi singledevice 5 0 2 0
scsi singledevice 5 0 3 0
scsi singledevice 5 0 4 0
scsi singledevice 5 0 5 0
scsi singledevice 5 0 6 0
scsi singledevice 5 0 7 0
scsi singledevice 5 1 0 0
scsi singledevice 5 1 1 0
scsi singledevice 5 1 2 0
scsi singledevice 5 1 3 0
scsi singledevice 5 1 4 0
scsi singledevice 5 1 5 0
scsi singledevice 5 1 6 0
scsi singledevice 5 1 7 0
scsi singledevice 6 0 0 0
scsi singledevice 6 0 1 0
scsi singledevice 6 0 2 0
scsi singledevice 6 0 3 0
scsi singledevice 6 0 4 0
scsi singledevice 6 0 5 0
scsi singledevice 6 0 6 0
scsi singledevice 6 0 7 0
scsi singledevice 6 1 0 0
scsi singledevice 6 1 1 0
scsi singledevice 6 1 2 0
scsi singledevice 6 1 3 0
scsi singledevice 6 1 4 0
scsi singledevice 6 1 5 0
scsi singledevice 6 1 6 0
scsi singledevice 6 1 7 0
scsi singledevice 7 0 0 0
scsi singledevice 7 0 1 0
scsi singledevice 7 0 2 0
scsi singledevice 7 0 3 0
scsi singledevice 7 0 4 0
scsi singledevice 7 0 5 0
scsi singledevice 7 0 6 0
scsi singledevice 7 0 7 0
scsi singledevice 7 1 0 0
scsi singledevice 7 1 1 0
scsi singledevice 7 1 2 0
scsi singledevice 7 1 3 0
scsi singledevice 7 1 4 0
scsi singledevice 7 1 5 0
scsi singledevice 7 1 6 0
scsi singledevice 7 1 7 0
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
cloop: Initializing cloop v2.01
cloop: loaded (max 128 devices)
cloop: /cdrom/KNOPPIX/KNOPPIX: 1891 blocks, 65536 bytes/block, largest block is 65552 bytes.
ISO 9660 Extensions: RRIP_1991A
cloop: unloaded.
cloop: Initializing cloop v2.01
cloop: loaded (max 128 devices)
cloop: /cdrom2/KNOPPIX/KNOPPIX: 1891 blocks, 65536 bytes/block, largest block is 65552 bytes.
ISO 9660 Extensions: RRIP_1991A
Freeing unused kernel memory: 140k freed
Real Time Clock Driver v1.10f
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
Linux Kernel Card Services 3.1.22
 options:  [pci] [cardbus] [pm]
Intel ISA PCIC probe: not found.
Databook TCIC-2 PCMCIA probe: not found.
usb-uhci.c: $Revision: 1.275 $ time 19:48:59 Apr 17 2004
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usbdevfs: remount parameter error
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
8139too Fast Ethernet driver 0.9.26
AMD756: dev 10ec:8139, router pirq : 4 get irq : 10
PCI: Found IRQ 10 for device 00:0c.0
PCI: Sharing IRQ 10 with 00:07.4
PCI: Sharing IRQ 10 with 00:08.0
eth0: RealTek RTL8139 at 0xd8c22e00, 00:30:84:25:f6:2c, IRQ 10
eth0:  Identified 8139 chip type 'RTL-8139C'
Linux agpgart interface v0.99 © Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 321M
agpgart: Detected AMD Irongate chipset
agpgart: AGP aperture is 64M @ 0xe8000000
Adding Swap: 1667192k swap-space (priority -1)
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
usb-ohci.c: USB suspend: usb-00:07.4
usb-ohci.c: USB suspend: usb-00:08.0
usb-ohci.c: USB suspend: usb-00:08.1
ehci_hcd 00:08.2: suspend to state 3
usb-ohci.c: USB continue: usb-00:07.4 from host wakeup
usb-ohci.c: USB continue: usb-00:08.0 from host wakeup
usb-ohci.c: USB continue: usb-00:08.1 from host wakeup
ehci_hcd 00:08.2: resume
AMD756: dev 104c:8020, router pirq : 1 get irq :  9
PCI: Found IRQ 9 for device 00:09.0
PCI: Sharing IRQ 9 with 00:08.1
hub.c: new USB device 00:07.4-1, assigned address 2
scsi3 : SCSI emulation for USB Mass Storage devices
 Vendor: CREATIVE  Model: MuVo Slim         Rev: 1113
 Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi3, channel 0, id 0, lun 0
SCSI device sda: 1015808 512-byte hdwr sectors (520 MB)
sda: Write Protect is off
sda: sda1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
usb.c: USB disconnect on device 00:07.4-1 address 2
usb-ohci.c: USB suspend: usb-00:07.4
usb-ohci.c: USB suspend: usb-00:08.0
usb-ohci.c: USB suspend: usb-00:08.1
ehci_hcd 00:08.2: suspend to state 3
usb-ohci.c: USB continue: usb-00:07.4 from host wakeup
usb-ohci.c: USB continue: usb-00:08.0 from host wakeup
usb-ohci.c: USB continue: usb-00:08.1 from host wakeup
ehci_hcd 00:08.2: resume
AMD756: dev 104c:8020, router pirq : 1 get irq :  9
PCI: Found IRQ 9 for device 00:09.0
PCI: Sharing IRQ 9 with 00:08.1
hub.c: new USB device 00:07.4-1, assigned address 3
scsi4 : SCSI emulation for USB Mass Storage devices
 Vendor: ICSI      Model: SD Card           Rev: 3.1C
 Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sdb at scsi4, channel 0, id 0, lun 0
SCSI device sdb: 1003264 512-byte hdwr sectors (514 MB)
sdb: Write Protect is off
sdb: sdb1
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
sda: Unit Not Ready, sense:
Info fld=0xa00 (nonstd), Current 00:00: sns = 70  2
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sns = 70  2
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
sda : block size assumed to be 512 bytes, disk size 1GB.  
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
sda: Unit Not Ready, sense:
Info fld=0xa00 (nonstd), Current 00:00: sns = 70  2
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sns = 70  2
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
sda : block size assumed to be 512 bytes, disk size 1GB.  
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
sda: Unit Not Ready, sense:
Info fld=0xa00 (nonstd), Current 00:00: sns = 70  2
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
sda : READ CAPACITY failed.
sda : status = 1, message = 00, host = 0, driver = 08
Info fld=0xa00 (nonstd), Current sd00:00: sns = 70  2
Raw sense data:0x70 0x00 0x02 0x00 0x00 0x0a 0x00 0x00
sda : block size assumed to be 512 bytes, disk size 1GB.  
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
USB storage reports are because I transferred some files with my Crative MP3 player, that had some stange problems. Anyway. I than used memory card and reader.

lspci -v
Quote
0000:00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller (rev 25)
Flags: bus master, medium devsel, latency 120
Memory at e8000000 (32-bit, prefetchable) [size=64M]
Memory at eddff000 (32-bit, prefetchable) [size=4K]
I/O ports at dc00 [disabled] [size=4]
Capabilities: [a0] AGP version 1.0

0000:00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] AGP Bridge (rev 01) (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, medium devsel, latency 120
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: ede00000-efefffff
Prefetchable memory behind bridge: ddc00000-e5cfffff

0000:00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-756 [Viper] ISA (rev 01)
Subsystem: Advanced Micro Devices [AMD] AMD-756 [Viper] ISA
Flags: bus master, medium devsel, latency 0

0000:00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-756 [Viper] IDE (rev 07) (prog-if 8a [Master SecP PriP])
Flags: bus master, medium devsel, latency 32
I/O ports at f000 [size=16]

0000:00:07.3 Bridge: Advanced Micro Devices [AMD] AMD-756 [Viper] ACPI (rev 03)
Flags: medium devsel

0000:00:07.4 USB Controller: Advanced Micro Devices [AMD] AMD-756 [Viper] USB (rev 06) (prog-if 10 [OHCI])
Flags: bus master, medium devsel, latency 16, IRQ 10
Memory at efffd000 (32-bit, non-prefetchable) [size=4K]

0000:00:08.0 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI])
Subsystem: Belkin Root Hub
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at efffb000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2

0000:00:08.1 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI])
Subsystem: Belkin Root Hub
Flags: bus master, medium devsel, latency 64, IRQ 9
Memory at efffc000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2

0000:00:08.2 USB Controller: NEC Corporation USB 2.0 (rev 04) (prog-if 20 [EHCI])
Subsystem: Belkin Root Hub
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at efffef00 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 2

0000:00:09.0 FireWire (IEEE 1394): Texas Instruments TSB12LV26 IEEE-1394 Controller (Link) (prog-if 10 [OHCI])
Flags: bus master, medium devsel, latency 64, IRQ 9
Memory at efffe000 (32-bit, non-prefetchable) [size=2K]
Memory at efff4000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 1

0000:00:0a.0 SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U (rev 01)
Subsystem: Adaptec AHA-2940UW SCSI Host Adapter
Flags: bus master, medium devsel, latency 64, IRQ 11
I/O ports at de00 [size=256]
Memory at effff000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at effe0000 [disabled] [size=64K]
Capabilities: [dc] Power Management version 1

0000:00:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Allied Telesyn International AT-2500TX/ACPI
Flags: bus master, medium devsel, latency 64, IRQ 10
I/O ports at da00 [size=256]
Memory at efffee00 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2

0000:01:05.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440SE AGP 8x] (rev a2) (prog-if 00 [VGA])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 8900
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 11
Memory at ee000000 (32-bit, non-prefetchable) [size=16M]
Memory at e0000000 (32-bit, prefetchable) [size=64M]
Expansion ROM at efee0000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 3.0


So there was it. Much info but I thought better to have too much than not enough. ;)

Quote
8139too Fast Ethernet driver 0.9.26
AMD756: dev 10ec:8139, router pirq : 4 get irq : 10
PCI: Found IRQ 10 for device 00:0c.0
PCI: Sharing IRQ 10 with 00:07.4
PCI: Sharing IRQ 10 with 00:08.0
eth0: RealTek RTL8139 at 0xd8c22e00, 00:30:84:25:f6:2c, IRQ 10
eth0:  Identified 8139 chip type 'RTL-8139C'
...
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Nothing looks wrong from here... did you try running netcardconfig anyways?  What's the current output of ifconfig eth0?

Realtek rtl8139 works fine and is very supported by DSL.
I am using one currently at the moment.

Your situation shows that 00:07.4 & 00:08.0 are both Sharing IRQ 10
This would imply that your USB mass storage device is in conflict with the enternet card which is also using IRQ 10.

Try to adjust IRQ settings in your BIOS.

Code Sample
sudp pump -k && sudo pump --win-client-ident

... was the only working way in my LAN.
It seems that it is with my modem.
It works acts as a router when there's no connection to internet.
And it gave same ip adresses to my laptop and to my server. :rock:
I'll try that same technique with iternet conection... Let's hope for the best.


original here.