Discussion:
Realtek 8111/8168B
(too old to reply)
Stefan Pelz
2010-03-21 16:46:40 UTC
Permalink
Hello,

has anybody got the Realtek 8111/8168B NIC (10EC:8168) working with
Genmac?
The device is on a Gigabyte mainboard.
Initially it got a zero MAC address. I fixed that with genmac_mac.zip
from hobbes, but it's still not working.

The NIC is connected to a 2nd PC with a crossover cable.
The "Link" LEDs on both sides are on.
When pinging the Realtek from the 2nd PC I can seen the LEDs flashing on
both sides, but theres no echo from the Realtek ("100% packet loss").
When pinging the 2nd PC from the Realtek, nothing flashes.

Any ideas?

Best regards
Stefan
--
Newsoffice.de - Die Onlinesoftware zum Lesen und Schreiben im Usenet
Die Signatur läßt sich nach Belieben anpassen ;-)
Doug Bissett
2010-03-21 18:19:56 UTC
Permalink
On Sun, 21 Mar 2010 16:46:40 UTC, Stefan Pelz
Post by Stefan Pelz
Hello,
has anybody got the Realtek 8111/8168B NIC (10EC:8168) working with
Genmac?
Yes...
Post by Stefan Pelz
The device is on a Gigabyte mainboard.
Mine is on an Asub M3A78-EM board, but it should be the same.
Post by Stefan Pelz
Initially it got a zero MAC address. I fixed that with genmac_mac.zip
from hobbes, but it's still not working.
I do not have the zero MAC address problem.
Post by Stefan Pelz
The NIC is connected to a 2nd PC with a crossover cable.
The "Link" LEDs on both sides are on.
When pinging the Realtek from the 2nd PC I can seen the LEDs flashing on
both sides, but theres no echo from the Realtek ("100% packet loss").
When pinging the 2nd PC from the Realtek, nothing flashes.
Any ideas?
Best regards
Stefan
Try a different cable. It is not necessary to use a crossover cable
because the device will automatically switch the interface if
necessary. Your symptoms may be caused by a defective cable.
--
From the eComStation of Doug Bissett
dougb007 at telus dot net
(Please make the obvious changes, to e-mail me)
Stefan Pelz
2010-03-23 16:41:01 UTC
Permalink
Post by Doug Bissett
Try a different cable. It is not necessary to use a crossover cable
because the device will automatically switch the interface if
necessary. Your symptoms may be caused by a defective cable.
When booted to WinXP, it works just fine, therefore I don't think it's a
hardware problem.

Regards
Stefan
--
Newsoffice.de - Die Onlinesoftware zum Lesen und Schreiben im Usenet
Die Signatur läßt sich nach Belieben anpassen ;-)
Stefan Pelz
2010-03-23 17:02:57 UTC
Permalink
Post by Doug Bissett
Post by Stefan Pelz
has anybody got the Realtek 8111/8168B NIC (10EC:8168) working with
Genmac?
Yes...
Post by Stefan Pelz
The device is on a Gigabyte mainboard.
Mine is on an Asub M3A78-EM board, but it should be the same.
Which IRQ ist it using on your system. Here it's IRQ 5. I already tried
3 and 11, but that doesn't change anything.

Probably it's an interrupt problem. I used IRQMON.EXE to check for
interrupts, but there are no interrupts neither when sending nor when
receiving pings.

Regards
Stefan
--
Newsoffice.de - Die Onlinesoftware zum Lesen und Schreiben im Usenet
Die Signatur läßt sich nach Belieben anpassen ;-)
Doug Bissett
2010-03-23 22:17:39 UTC
Permalink
On Tue, 23 Mar 2010 17:02:57 UTC, Stefan Pelz
Post by Stefan Pelz
Post by Doug Bissett
Post by Stefan Pelz
has anybody got the Realtek 8111/8168B NIC (10EC:8168) working with
Genmac?
Yes...
Post by Stefan Pelz
The device is on a Gigabyte mainboard.
Mine is on an Asub M3A78-EM board, but it should be the same.
Which IRQ ist it using on your system. Here it's IRQ 5. I already tried
3 and 11, but that doesn't change anything.
Probably it's an interrupt problem. I used IRQMON.EXE to check for
interrupts, but there are no interrupts neither when sending nor when
receiving pings.
Regards
Stefan
Mine is on IRQ 11.
--
From the eComStation of Doug Bissett
dougb007 at telus dot net
(Please make the obvious changes, to e-mail me)
Stefan Pelz
2010-03-25 13:00:50 UTC
Permalink
Post by Doug Bissett
Mine is on IRQ 11.
Hello Doug,

would you mind to post the output of "type wrnd32$".
This is what I get:

============================ StatusInfo ========================

PciVendor 0x10EC PciDevice 0x8168
SysName RTENICXP.SYS InfName RTENICXP.REG
PciBus 2 PciSlot 0
InterruptLevel 5 Timer100Ns 12709086273600
Interrupts 0 DPC_Interrupt 0
DPC_Timeout 0 DPC_Oid 6
DPC_Transmit 1 DPC_RealeaseRx 0
DoStack32 1 TimerMode 1
NdisStart 0xF4E66000 NdisEnd 0xF4E66241
IDTTABLE[0] 0 IDTTABLE[1] 0
Copy2 0 Copy2Err 0
AllocPagesS 2330 FreePagesS 0
MaxStack 1300



And just in case you have lspci.exe installed, here's the output of
"lspci -vvv". Don't know what this all means ...


02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
Subsystem: Giga-byte Technology GA-EP45-DS5 Motherboard
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-
<MAbort- >SERR- <PERR-
Latency: 0, Cache Line Size: 4 bytes
Interrupt: pin A routed to IRQ 5
Region 0: I/O ports at de00
Region 2: Memory at fdeff000 (64-bit, prefetchable)
Region 4: Memory at fdee0000 (64-bit, prefetchable)
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA
PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/1
Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [70] Express Endpoint IRQ 1
Device: Supported: MaxPayload 256 bytes, PhantFunc 0, ExtTag-
Device: Latency L0s <512ns, L1 <8us
Device: AtnBtn- AtnInd- PwrInd-
Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
Device: MaxPayload 128 bytes, MaxReadReq 512 bytes
Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s L1, Port 0
Link: Latency L0s <512ns, L1 <64us
Link: ASPM Disabled RCB 64 bytes CommClk+ ExtSynch-
Link: Speed 2.5Gb/s, Width x1
Capabilities: [b0] MSI-X: Enable- Mask- TabSize=2
Vector table: BAR=4 offset=00000000
PBA: BAR=4 offset=00000800
Capabilities: [d0] Vital Product Data

Thanks and kind regards
Stefan
--
Newsoffice.de - Die Onlinesoftware zum Lesen und Schreiben im Usenet
Die Signatur läßt sich nach Belieben anpassen ;-)
Doug Bissett
2010-03-26 01:46:22 UTC
Permalink
On Thu, 25 Mar 2010 13:00:50 UTC, Stefan Pelz
Post by Stefan Pelz
Post by Doug Bissett
Mine is on IRQ 11.
Hello Doug,
would you mind to post the output of "type wrnd32$".
============================ StatusInfo ========================
...snip...

Sure:
============================ StatusInfo ========================

PciVendor 0x10EC PciDevice 0x8168
SysName RTENICXP.SYS InfName rtl8168.reg
PciBus 3 PciSlot 0
InterruptLevel 11 Timer100Ns 14450379483600
Interrupts 1559057 DPC_Interrupt 606607
DPC_Timeout 0 DPC_Oid 5
DPC_Transmit 168547 DPC_RealeaseRx 445516
DoStack32 1 TimerMode 1
NdisStart 0xDD742000 NdisEnd 0xDD7422AD
IDTTABLE[0] 0 IDTTABLE[1] 0
Copy2 0 Copy2Err 0
AllocPagesS 2330 FreePagesS 0
MaxStack 1300
=============================

rtl8168.reg is awindows registry export from an identical machine, but
the one that comes with GENMAC also works. I don't notice any
difference.
Post by Stefan Pelz
And just in case you have lspci.exe installed, here's the output of
"lspci -vvv". Don't know what this all means ...
No, I don't have that...

...snip...

I also don't know what most of that means...
Post by Stefan Pelz
Thanks and kind regards
Stefan
I wonder if it would work if you reserved the low IRQs (just the ones
that aren't used, like 5), to force it to the higher numbers?
--
From the eComStation of Doug Bissett
dougb007 at telus dot net
(Please make the obvious changes, to e-mail me)
Stefan Pelz
2010-03-27 11:09:58 UTC
Permalink
Post by Doug Bissett
I wonder if it would work if you reserved the low IRQs (just the ones
that aren't used, like 5), to force it to the higher numbers?
I've reserved the lower IRQs in the BIOS and forced it to 11 but that
doesn't help either.

I gave up using OS/2 on this machine, instead I've installed FreeNAS.
That works out of the box ...

Regards
Stefan
--
Newsoffice.de - Die Onlinesoftware zum Lesen und Schreiben im Usenet
Die Signatur läßt sich nach Belieben anpassen ;-)
James Moe
2010-03-21 21:20:25 UTC
Permalink
Post by Stefan Pelz
Hello,
has anybody got the Realtek 8111/8168B NIC (10EC:8168) working with Genmac?
The device is on a Gigabyte mainboard.
Initially it got a zero MAC address. I fixed that with genmac_mac.zip
from hobbes, but it's still not working.
I also have an Asus M3A78-EM MB. And had no trouble with genMAC using
the NIC. It has refused to go to gigabit mode, always running at 100 Mb.
The zero MAC address is bizarre. It sounds like a defective MB, or a
configuration issue.
What is the output of the command "ifconfig lan0"?
--
James Moe
jmm-list at sohnen-moe dot com
Doug Bissett
2010-03-21 22:02:01 UTC
Permalink
On Sun, 21 Mar 2010 21:20:25 UTC, James Moe
Post by James Moe
Post by Stefan Pelz
Hello,
has anybody got the Realtek 8111/8168B NIC (10EC:8168) working with Genmac?
The device is on a Gigabyte mainboard.
Initially it got a zero MAC address. I fixed that with genmac_mac.zip
from hobbes, but it's still not working.
I also have an Asus M3A78-EM MB. And had no trouble with genMAC using
the NIC. It has refused to go to gigabit mode, always running at 100 Mb.
It will run at 1Gbs, if you turn off the Flowcontrol (in the registry
file). However, it won't run for very long before it will trap the
system.
Post by James Moe
The zero MAC address is bizarre. It sounds like a defective MB, or a
configuration issue.
This could be something different in the Gigabyte board (BIOS).
Post by James Moe
What is the output of the command "ifconfig lan0"?
--
From the eComStation of Doug Bissett
dougb007 at telus dot net
(Please make the obvious changes, to e-mail me)
Stefan Pelz
2010-03-23 16:45:12 UTC
Permalink
Post by James Moe
I also have an Asus M3A78-EM MB. And had no trouble with genMAC using
the NIC. It has refused to go to gigabit mode, always running at 100 Mb.
The zero MAC address is bizarre. It sounds like a defective MB, or a
configuration issue.
It works fine under Windows, therefore I don't think it's a hardware
problem.
Post by James Moe
What is the output of the command "ifconfig lan0"?
lan0:
flags=b863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,BRIDGE,SNAP,LOOPBRD>
inet 192.168.1.11 netmask 0xffffff00 broadcast 192.168.1.255


Regards
Stefan
--
Newsoffice.de - Die Onlinesoftware zum Lesen und Schreiben im Usenet
Die Signatur läßt sich nach Belieben anpassen ;-)
Doug Bissett
2010-03-23 22:17:40 UTC
Permalink
On Tue, 23 Mar 2010 16:45:12 UTC, Stefan Pelz
Post by Stefan Pelz
Post by James Moe
I also have an Asus M3A78-EM MB. And had no trouble with genMAC using
the NIC. It has refused to go to gigabit mode, always running at 100 Mb.
The zero MAC address is bizarre. It sounds like a defective MB, or a
configuration issue.
It works fine under Windows, therefore I don't think it's a hardware
problem.
Post by James Moe
What is the output of the command "ifconfig lan0"?
flags=b863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,BRIDGE,SNAP,LOOPBRD>
inet 192.168.1.11 netmask 0xffffff00 broadcast 192.168.1.255
That is quite different from what I see (not counting the addresses):
lan0: flags=8843<UP,BROADCAST,RUNNING,MULTICAST,LOOPBRD>
inet 192.168.1.67 netmask 0xffffff00 broadcast 192.168.1.255

I have no idea what it all means though...
--
From the eComStation of Doug Bissett
dougb007 at telus dot net
(Please make the obvious changes, to e-mail me)
James Moe
2010-03-24 01:19:56 UTC
Permalink
Post by Stefan Pelz
Post by James Moe
What is the output of the command "ifconfig lan0"?
flags=b863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,BRIDGE,SNAP,LOOPBRD>
inet 192.168.1.11 netmask 0xffffff00 broadcast 192.168.1.255
Same as mine:
lan0:
flags=b863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST,BRIDGE,SNAP,LOOPBRD>
inet 192.168.69.249 netmask 0xffffff00 broadcast 192.168.69.255

The implication is that your TCP/IP stack is functional.
A couple of other things to try:
ping 127.0.0.1
netstat -r
netstat -i
--
James Moe
jmm-list at sohnen-moe dot com
Stefan Pelz
2010-03-23 16:58:38 UTC
Permalink
Post by Stefan Pelz
Hello,
has anybody got the Realtek 8111/8168B NIC (10EC:8168) working with
Genmac?
The device is on a Gigabyte mainboard.
Initially it got a zero MAC address. I fixed that with genmac_mac.zip
from hobbes, but it's still not working.
The NIC is connected to a 2nd PC with a crossover cable.
The "Link" LEDs on both sides are on.
When pinging the Realtek from the 2nd PC I can seen the LEDs flashing on
both sides, but theres no echo from the Realtek ("100% packet loss").
When pinging the 2nd PC from the Realtek, nothing flashes.
This is the PCI output for the Realtek device:

Bus 2 (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 02h, Header Type 00h, Bus Latency Timer 00h
Self test 00h (Self test not supported)
Cache line size 4 Bytes (1 DWords)
PCI Class Network, type Ethernet
Subsystem ID E0001458h GA-EP45-DS5 Motherboard
Subsystem Vendor 1458h Giga-byte Technology
Address 0 is an I/O Port : DE00h..DEFFh
Address 1 is not present or not configured!
Address 2 is a Memory Address (64-bit, Prefetchable) : FDEFF000h
Address 4 is a Memory Address (64-bit, Prefetchable) : FDEE0000h
System IRQ 5, INT# A
Expansion ROM of 64 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 1
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
--
Newsoffice.de - Die Onlinesoftware zum Lesen und Schreiben im Usenet
Die Signatur läßt sich nach Belieben anpassen ;-)
Peter Brown
2010-03-23 17:39:15 UTC
Permalink
Hi Stefan
Post by Stefan Pelz
Hello,
has anybody got the Realtek 8111/8168B NIC (10EC:8168) working with Genmac?
The device is on a Gigabyte mainboard.
Initially it got a zero MAC address. I fixed that with genmac_mac.zip
from hobbes, but it's still not working.
The NIC is connected to a 2nd PC with a crossover cable.
The "Link" LEDs on both sides are on.
When pinging the Realtek from the 2nd PC I can seen the LEDs flashing on
both sides, but theres no echo from the Realtek ("100% packet loss").
When pinging the 2nd PC from the Realtek, nothing flashes.
Any ideas?
Best regards
Stefan
Is ACPI involved? - If "Yes" which build of ACPI?

I ask because using some builds of ACPI here cause the nic (nVidia
Nforce430/MCP61) to fail in a very similar manner.

Regards

Pete
Stefan Pelz
2010-03-24 13:09:47 UTC
Permalink
Post by Peter Brown
Is ACPI involved? - If "Yes" which build of ACPI?
I ask because using some builds of ACPI here cause the nic (nVidia
Nforce430/MCP61) to fail in a very similar manner.
No ACPI driver loaded in OS/2. There's only APM.SYS.

Regards
Stefan
--
Newsoffice.de - Die Onlinesoftware zum Lesen und Schreiben im Usenet
Die Signatur läßt sich nach Belieben anpassen ;-)
Herbert Rosenau
2010-04-07 16:58:15 UTC
Permalink
On Sun, 21 Mar 2010 16:46:40 UTC, Stefan Pelz
Post by Stefan Pelz
Hello,
has anybody got the Realtek 8111/8168B NIC (10EC:8168) working with
Genmac?
The device is on a Gigabyte mainboard.
I've used many different network cards under OS/2 and eCS - none of
thew were willing to work on IRQ11 but all were happy working well on
IRQ10. Don't ask me why. It is how I get any card working when there
is an OS/2 driver for.
--
Tschau/Bye
Herbert

Visit http://www.ecomstation.de the home of german eComStation
eComStation 1.2R Deutsch ist da!
Dariusz Piatkowski
2011-01-12 04:09:57 UTC
Permalink
Post by Stefan Pelz
Hello,
has anybody got the Realtek 8111/8168B NIC (10EC:8168) working with
Genmac?
The device is on a Gigabyte mainboard.
Initially it got a zero MAC address. I fixed that with genmac_mac.zip
from hobbes, but it's still not working.
The NIC is connected to a 2nd PC with a crossover cable.
The "Link" LEDs on both sides are on.
When pinging the Realtek from the 2nd PC I can seen the LEDs flashing on
both sides, but theres no echo from the Realtek ("100% packet loss").
When pinging the 2nd PC from the Realtek, nothing flashes.
Any ideas?
Best regards
Stefan
Stefan,
Did you ever get anywhere with this?

I am currently following the same 'trail'...managed to bring my Gigabyte MA770
board up and running in SMP mode with 2 cores active in my Phenom II 555 CPU.

For the time being I tossed a ADMTek NIC...the main OS/2 machine has a 3Com in
it that I'll probably migrate over...but it sure would be nice to get the
on-board nic supported.

I have not tried any drivers yet...

Thanks!

Loading...