Opened 13 years ago

Closed 12 years ago

#4 closed defect (wontfix)

Realtek driver didn't get mac address

Reported by: BlondeGuy Owned by: gerash
Priority: blocker Component: r8110
Version: 0.1.4 Keywords:
Cc:

Description

I have a Realtek ethernet driver working with RTL8169 driver from eCS 2.0. For that driver I need to specify NetAddress?. I installed beta 1, and networking does not start.

Output of ifconfig and lantran.log are attached. PCI dump of the ethernet adapter follows.

Bus 3 (PCI Express), Device Number 0, Device Function 0

Vendor 10ECh Realtek Semiconductor Co., Ltd.
Device 8168h RTL8111/8168B PCI Express Gigabit Ethernet controller
Command 0007h (I/O Access, Memory Access, BusMaster?)
Status 0010h (Has Capabilities List, Fast Timing)
Revision 03h, Header Type 00h, Bus Latency Timer 00h
Self test 00h (Self test not supported)
Cache line size 32 Bytes (8 DWords)
PCI Class Network, type Ethernet
Subsystem ID 0DC4105Bh Unknown
Subsystem Vendor 105Bh Foxconn International, Inc.
Address 0 is an I/O Port : E800h..E8FFh
Address 1 is not present or not configured!
Address 2 is a Memory Address (64-bit, Prefetchable) : DEFFF000h
Address 4 is a Memory Address (64-bit, Prefetchable) : DEFF8000h
System IRQ 11, INT# A
Expansion ROM of 128 KiB decoded by this card, currently disabled
New Capabilities List Present:

Power Management Capability, Version 1.2

Supports low power State D1
Supports low power State D2
Supports PME# signalling from mode(s) D0, D1, D2, D3hot, D3cold
PME# signalling is currently disabled
3.3v AUX Current required : 375 mA
Current Power State : D0 (Device operational, no power saving)

Message Signalled Interrupt Capability

MSI is disabled
MSI function can generate 64-bit addresses

PCI Express Capability, Version 2

Device/Port? Type :

PCI Express Endpoint Device

Device Capabilities :

Unsupported Request Severity is Fatal

Device Status :

Correctable Error Detected
Unsupported Request Detected
AUX Power Detected

Link Capabilities :

Maximum Link speed : 2.5Gb/s
Maximum Link Width : x1
Link Port Number : 0

Link Control :

Common Clock Configuration In Use

Link Status :

Current Link speed : 2.5Gb/s
Current Link Width : x1

MSI-X Capability
Vital Product Data Capability

VPD Data not present

Attachments (6)

lantran.log (453 bytes) - added by BlondeGuy 13 years ago.
ifconfig.log (78 bytes) - added by BlondeGuy 13 years ago.
r8110-02.zip (12.0 KB) - added by gerash 13 years ago.
quick'n'dirty fixes for stated problems
logs.zip (4.2 KB) - added by diver 13 years ago.
my-info.zip (8.3 KB) - added by Leo123 13 years ago.
badly working driver for my chip
r8110-0.1.6-BETA.zip (49.1 KB) - added by gerash 13 years ago.
New version binaries with completely changed HW initialization and standalone diagnostic program

Download all attachments as: .zip

Change History (25)

Changed 13 years ago by BlondeGuy

Attachment: lantran.log added

Changed 13 years ago by BlondeGuy

Attachment: ifconfig.log added

comment:1 Changed 13 years ago by psmedley

I get a similar error here:
lantran.log contains:
IBM OS/2 LANMSGDD [05/21/04] 6.00 is loaded and operational.
IBM OS/2 LAN Netbind
PRO0021: A general failure occurred when the program tried to bind TCPIP_NIF to R8110_NIF.

My pci.exe details are:
Bus 4 (PCI Express), Device Number 0, Device Function 0

Vendor 10ECh Realtek Semiconductor
Device 8168h RTL8168/8111 PCI-E Gigabit Ethernet NIC
Command 0007h (I/O Access, Memory Access, BusMaster?)
Status 0010h (Has Capabilities List, Fast Timing)
Revision 01h, Header Type 00h, Bus Latency Timer 00h
Self test 00h (Self test not supported)
Cache line size 32 Bytes (8 DWords)
PCI Class Network, type Ethernet
Subsystem ID E0001458h Unknown
Subsystem Vendor 1458h Giga-Byte Technology
Address 0 is an I/O Port : C000h
Address 1 is not present or not configured!
Address 2 is a Memory Address (64-bit) : F7000000h
System IRQ 17, INT# A
Expansion ROM of 64 KiB decoded by this card, currently disabled
New Capabilities List Present:

Power Management Capability, Version 1.1

Supports low power State D1
Supports low power State D2
Supports PME# signalling from mode(s) D1, D2, D3hot, D3cold
PME# signalling is currently disabled
3.3v AUX Current required : 375 mA
Current Power State : D0 (Device operational, no power saving)

Vital Product Data Capability

VPD Data not present

Message Signalled Interrupt Capability

MSI is disabled
MSI function can generate 64-bit addresses

PCI Express Capability, Version 1

Device/Port? Type : PCI Express Endpoint Device
Device Capabilities :

Attention Button Present on Device
Attention Indicator Present on Device
Power Indicator Present on Device
Unsupported Request Severity is Fatal

Device Status :

Non-Fatal Error Detected
Unsupported Request Detected
AUX Power Detected

Link Capabilities :

Maximum Link speed : 2.5Gb/s
Maximum Link Width : x1
Link Port Number : 0

Link Control :

Asynchronous Clocking in Use

Link Status :

Current Link speed : 2.5Gb/s
Current Link Width : x1

Vendor-Dependant Capability

comment:2 Changed 13 years ago by ydario

Same problem for me with or without ACPI, Dell Vostro 1520.

Bus 8 (PCI Express), Device Number 0, Device Function 0
Vendor 10ECh Realtek Semiconductor Co., Ltd.
Device 8168h RTL8111/8168B PCI Express Gigabit Ethernet controller

comment:3 Changed 13 years ago by gerash

Owner: set to gerash
Status: newassigned

comment:4 in reply to:  description Changed 13 years ago by gerash

Thanks for your report. We shall investigate this problem and shall offer corrected version ASAP.
WBR, G.S.Rashkovich

Changed 13 years ago by gerash

Attachment: r8110-02.zip added

quick'n'dirty fixes for stated problems

comment:5 Changed 13 years ago by gerash

Please try fixed version r8110-02.zip from attachments.
WBR, G.S>Rashkovich

comment:6 Changed 13 years ago by BlondeGuy

Thanks for r8110-02.zip. I installed it, but I still get no networking. The DHCP client is running, but it never assigns an address. I'm including the output of a few commands to illustrate what is happening.

ifconfig lan0
lan0: flags=8843<UP,BROADCAST,RUNNING,MULTICAST,LOOPBRD>

inet 169.254.240.211 netmask 0xffffffff broadcast 169.254.240.211

type lantran.log
IBM OS/2 LANMSGDD [05/21/04] 6.00 is loaded and operational.
IBM OS/2 TCPBEUI 6.00.0
TCPBEUI: Using a 32-bit data segment.
Installing NETWKSTA.200 Version 6.0. IBM LAN Redirector ( May 25, 2005)

IBM OS/2 LAN Netbind
TCPBEUI: Logical adapter 0 is trying to bind to TCP/IP interface lan0.
TCPBEUI: Logical adapter 0 is bound to TCP/IP interface lan0.

netstat -n
Interface 0 Ethernet-Csmacd
physical address ffffffffffff MTU 1500

speed 1000000000 bits/sec
unicast packets received 0
broadcast packets received 31
total bytes received 7740
unicast packets sent 0
broadcast packets sent 10
total bytes sent 5352
packets discarded on transmission 0
packets discarded on reception 0
received packets in error 0
errors trying to send 0
packets received in unsupported protocols 0

Interface 9 Software Loopback
physical address 000000000000 MTU 1536

speed 0 bits/sec
unicast packets received 0
broadcast packets received 0
total bytes received 0
unicast packets sent 49
broadcast packets sent 0
total bytes sent 11654
packets discarded on transmission 0
packets discarded on reception 0
received packets in error 0
errors trying to send 0
packets received in unsupported protocols 0

comment:7 Changed 13 years ago by ydario

this new driver works for me now :-)

mac address is 0000000 but it works.

I have added the R8110 protocol.ini parameters specified in the readme.txt.

One issue still present (I have this problem also using 8169 rtgnda driver): in a specific lab here at school, networking is not working at all; if I move to another lab, everything is ok. Using windows or linux in this lab is ok, so something is wrong in OS/2 driver (maybe LAN speed or some automatic duplex selection).

comment:8 Changed 13 years ago by psmedley

Latest build works for me too.

netstat -n shows:
Interface 0 Ethernet-Csmacd
physical address 001a4d5c2498 MTU 1500

comment:9 Changed 13 years ago by diver

Priority: majorblocker

i have exactly the same nic as BlondGuy? and exactly the same symptoms. i also tried the attached driver, but also with this it's not working. i have the feeling it's due to physical address ffffffffffff

comment:10 in reply to:  9 ; Changed 13 years ago by gerash

Replying to diver:
Please attach pci.exe output, and output of rmview /IRQ and rmview /IOA

comment:11 Changed 13 years ago by Leo123

I am sorry to tell that the beta2 driver does not work for me.

Motherboard Asus M3A78-EM with Bios version 2701
Device 8168h RTL8111/8168B PCI Express Gigabit Ethernet controller

When I switch my machine on I see on my Linksys switch three leds for the
network port: ON, half/full duplex and 10/100Mbps.
During config.sys (netbind.exe?) the leds go off for a few seconds. Then,
sometimes they stay off, sometimes only the ON led, sometimes ON and full
duplex, and sometimes all three. Only in the latter case the driver is useful.

I have more information available.

Changed 13 years ago by diver

Attachment: logs.zip added

comment:12 in reply to:  10 Changed 13 years ago by diver

Replying to gerash:

Replying to diver:
Please attach pci.exe output, and output of rmview /IRQ and rmview /IOA

done with logs.zip

comment:13 in reply to:  11 ; Changed 13 years ago by gerash

Replying to Leo123:

I have more information available.

Any info will be appreciate.
It seems something goes wrong with autonegate speed/duplex while init.
Please attach pci.exe output, and output of rmview /IRQ and rmview /IOA. Also I need config.sys and \ibmcom\macs\protocol.ini.

comment:14 in reply to:  13 Changed 13 years ago by Leo123

Replying to gerash:

Replying to Leo123:

I have more information available.

Any info will be appreciate.
It seems something goes wrong with autonegate speed/duplex while init.
Please attach pci.exe output, and output of rmview /IRQ and rmview /IOA. Also I need config.sys and \ibmcom\macs\protocol.ini.

Hello,

here is what you whish: my-info.zip

Changed 13 years ago by Leo123

Attachment: my-info.zip added

badly working driver for my chip

comment:15 Changed 13 years ago by BlondeGuy

I just tried this driver, but I didn't see any function beyond the driver loading in config.sys.

4-15-11 5:36a 537 0 a--- R8110.nif
4-14-11 12:47a 34,401 0 a--- R8110.os2
4-14-11 12:47a 2,660 0 a--- R8110.sym

Which is 0.1.3 by the zip file and readme, but announces itself as 0.1.2 while booting.

ifconfig lan0

lan0: flags=3c2a<BROADCAST,LOOPBACK,NOTRAILERS,DEFMTU,MULTICAST,BRIDGE,SNAP>

netstat -n

Interface 9 Software Loopback
physical address 000000000000 MTU 1536

speed 0 bits/sec
unicast packets received 0
broadcast packets received 0
total bytes received 0
unicast packets sent 0
broadcast packets sent 0
total bytes sent 0
packets discarded on transmission 0
packets discarded on reception 0
received packets in error 0
errors trying to send 0
packets received in unsupported protocols 0

type pci.log

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Unknown device 8168

(rev 03)

Subsystem: Foxconn International, Inc. Unknown device 0dc4
Flags: bus master, fast devsel, latency 0, IRQ 11
I/O ports at d800
Memory at fdfff000 (64-bit, prefetchable)
Memory at fdff8000 (64-bit, prefetchable)
Expansion ROM at feae0000 [disabled]
Capabilities: [40] Power Management version 3
Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable

-

Capabilities: [70] Express Endpoint IRQ 1
Capabilities: [ac] MSI-X: Enable- Mask- TabSize?=4
Capabilities: [cc] Vital Product Data

comment:16 Changed 13 years ago by warpuser

Component: nvethr8110
Version: 0.1.60.1.4

Wrong component (driver) was selected. Fixed.

comment:17 Changed 13 years ago by BlondeGuy

I tried version 0.1.3 with the timestamps as shown.

4-27-11 2:43a 519 0 a--- R8110.nif
4-27-11 2:41a 19,515 0 a--- r8110.os2

It didn't work again. It didn't get a mac address, so it couldn't get an IP address. I'm giving the data from netstat, ifconfig and detectei again.

Interface 0 Ethernet-Csmacd
physical address ffffffffffff MTU 1500

speed 1000000000 bits/sec
unicast packets received 0
broadcast packets received 2
total bytes received 491
unicast packets sent 0
broadcast packets sent 5
total bytes sent 2402
packets discarded on transmission 0
packets discarded on reception 0
received packets in error 0
errors trying to send 0
packets received in unsupported protocols 0

lan0: flags=8843<UP,BROADCAST,RUNNING,MULTICAST,LOOPBRD>

inet 169.254.240.17 netmask 0xffffffff broadcast 169.254.240.17


Bus 3 (PCI Express), Device Number 0, Device Function 0
Vendor 10ECh Realtek Semiconductor Co., Ltd.
Device 8168h RTL8111/8168B PCI Express Gigabit Ethernet controller
Command 0007h (I/O Access, Memory Access, BusMaster?)
Status 0010h (Has Capabilities List, Fast Timing)
Revision 03h, Header Type 00h, Bus Latency Timer 00h
Self test 00h (Self test not supported)
Cache line size 32 Bytes (8 DWords)
PCI Class Network, type Ethernet
Subsystem ID 0DC4105Bh Unknown
Subsystem Vendor 105Bh Foxconn International, Inc.
Address 0 is an I/O Port : D800h
Address 1 is not present or not configured!
Address 2 is a Memory Address (64-bit, Prefetchable) : FDFFF000h
Address 4 is a Memory Address (64-bit, Prefetchable) : FDFF8000h
System IRQ 11, INT# A
Expansion ROM of 128 KiB decoded by this card, currently disabled
New Capabilities List Present:

Power Management Capability, Version 1.2

Supports low power State D1
Supports low power State D2
Supports PME# signalling from mode(s) D0, D1, D2, D3hot, D3cold
PME# signalling is currently disabled
3.3v AUX Current required : 375 mA
Current Power State : D0 (Device operational, no power saving)

Message Signalled Interrupt Capability

MSI is disabled
MSI function can generate 64-bit addresses

PCI Express Capability, Version 2

Device/Port? Type :

PCI Express Endpoint Device

Device Capabilities :

Unsupported Request Severity is Fatal

Device Status :

Correctable Error Detected
Unsupported Request Detected
AUX Power Detected

Link Capabilities :

Maximum Link speed : 2.5Gb/s
Maximum Link Width : x1
Link Port Number : 0

Link Control :

Common Clock Configuration In Use

Link Status :

Current Link speed : 2.5Gb/s
Current Link Width : x1

MSI-X Capability
Vital Product Data Capability

VPD Data not present

Changed 13 years ago by gerash

Attachment: r8110-0.1.6-BETA.zip added

New version binaries with completely changed HW initialization and standalone diagnostic program

comment:18 Changed 12 years ago by jep

I have similar motherboard and identical nic
The 0.1.6. driver cause it to trap.
Can't connect to shares on other machines, has to type in the computer name by hand to get the shares visible. It's possible to send text with "Network Messaging".

comment:19 Changed 12 years ago by David Azarewicz

Resolution: wontfix
Status: assignedclosed

The R8110 driver has been replaced by the R8169 driver. Please read the wiki for the reasons why: http://svn.ecomstation.nl/multimac/wiki Please try the R8169 driver.

Note: See TracTickets for help on using tickets.