Realtek 8139 Troubles

I have an “Atoz EZgo” which is a little PC not much bigger
than a portable CD player onto which I am trying to install
QNX 6.2.1(NC). The install seems to have gone OK but I can’t
get QNX to recognize the Ethernet which is based on the
Realtek 8139 chip. When I run

slay io-net
io-net -d rtl verbose -ptcpip

it returns

Vendor … 0x10ec
Device … 0x8139
Revision … 0x0
I/O port base … 0xcc00
Interrupt … 0xa
MAC address … 000000 000000

and the device does not show up under the network
configuration utility.

I’ve tried many different forms of the ‘io-net’ command,
passing the vendor and device ID’s to ‘rtl’, passing the
io-port, the interrupt number and, at one point, even trying
to specify a phony MAC address of 0030D7 001234 (I don’t
know what the real MAC address is and I don’t know how to
find out). Nothing seems to help get QNX to se this
thing. Does anyone have any ideas or suggestions? Here is
the output from ‘pci’ and the info on the version of
devn-rtl.so I’m using.

(output from “ls -l”)
-rwxrwxr-x 1 root root 51588 May 02 2002
/lib/dll/devn-rtl.so
-rwxrwxr-x 1 root root 51588 May 02
2002/x86/lib/dll/devn-rtl.so

(output from “pci -vvv”)
Class = Network (Ethernet)
Vendor ID = 10ech, Realtek Semiconductor
Device ID = 8139h, RT8139A/B/C Fast Ethernet Adapter
PCI index = 0h
Class Codes = 020000h
Revision ID = 10h
Bus number = 1
Device number = 6
Function num = 0
Status Reg = 290h
Command Reg = 107h
I/O space access enabled
Memory space access enabled
Bus Master enabled
Special Cycle operations ignored
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Checking disabled
Data/Address stepping disabled
SERR# driver disabled
Fast back-to-back transactions to different agents enabled
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 20h
Cache Line Size= 0h
PCI IO Address = cc00h length 256 enabled
PCI Mem Address = efdfff00h 32bit length 256 enabled
Subsystem Vendor ID = 10ech
Subsystem ID = 8139h
Max Lat = 64ns
Min Gnt = 32ns
PCI Int Pin = INT A
Interrupt line = 10
Device Dependent Registers:
0x40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x50: 01 00 c2 f7 00 00 00 00 00 00 00 00 00 00 00 00
0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xA0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xB0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xC0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xD0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xE0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xF0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Seems like Realtek or the hardware manufacturer have changed something.
The fact that the MAC address is all zeroes is also worrying. What
output do you get if you start the driver with ‘verbose=4’?

Previously, charles.hubbard@pnl.gov wrote in qdn.public.qnxrtp.os:

I have an “Atoz EZgo” which is a little PC not much bigger
than a portable CD player onto which I am trying to install
QNX 6.2.1(NC). The install seems to have gone OK but I can’t
get QNX to recognize the Ethernet which is based on the
Realtek 8139 chip. When I run

slay io-net
io-net -d rtl verbose -ptcpip

it returns

Vendor … 0x10ec
Device … 0x8139
Revision … 0x0
I/O port base … 0xcc00
Interrupt … 0xa
MAC address … 000000 000000

and the device does not show up under the network
configuration utility.

I’ve tried many different forms of the ‘io-net’ command,
passing the vendor and device ID’s to ‘rtl’, passing the
io-port, the interrupt number and, at one point, even trying
to specify a phony MAC address of 0030D7 001234 (I don’t
know what the real MAC address is and I don’t know how to
find out). Nothing seems to help get QNX to se this
thing. Does anyone have any ideas or suggestions? Here is
the output from ‘pci’ and the info on the version of
devn-rtl.so I’m using.

(output from “ls -l”)
-rwxrwxr-x 1 root root 51588 May 02 2002
/lib/dll/devn-rtl.so
-rwxrwxr-x 1 root root 51588 May 02
2002/x86/lib/dll/devn-rtl.so

(output from “pci -vvv”)
Class = Network (Ethernet)
Vendor ID = 10ech, Realtek Semiconductor
Device ID = 8139h, RT8139A/B/C Fast Ethernet Adapter
PCI index = 0h
Class Codes = 020000h
Revision ID = 10h
Bus number = 1
Device number = 6
Function num = 0
Status Reg = 290h
Command Reg = 107h
I/O space access enabled
Memory space access enabled
Bus Master enabled
Special Cycle operations ignored
Memory Write and Invalidate disabled
Palette Snooping disabled
Parity Checking disabled
Data/Address stepping disabled
SERR# driver disabled
Fast back-to-back transactions to different agents enabled
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 20h
Cache Line Size= 0h
PCI IO Address = cc00h length 256 enabled
PCI Mem Address = efdfff00h 32bit length 256 enabled
Subsystem Vendor ID = 10ech
Subsystem ID = 8139h
Max Lat = 64ns
Min Gnt = 32ns
PCI Int Pin = INT A
Interrupt line = 10
Device Dependent Registers:
0x40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x50: 01 00 c2 f7 00 00 00 00 00 00 00 00 00 00 00 00
0x60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xA0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xB0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xC0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xD0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xE0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0xF0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

charles.hubbard@pnl.gov wrote:

I have an “Atoz EZgo” which is a little PC not much bigger
than a portable CD player onto which I am trying to install
QNX 6.2.1(NC). The install seems to have gone OK but I can’t
get QNX to recognize the Ethernet which is based on the
Realtek 8139 chip. When I run

When you say the install went okay, do you mean booting from the
CD and getting QNX running on the harddisk? Have you installed
the Momentics packages for x86 on this box yet? There was a bug in
the rtl driver that caused it not to function properly under 6.2.1.
The 6.2.1 CDs run a 6.2.1 kernel with 6.2.0 packages until you install
the Momentics packages and get everything up to 6.2.1. Your rtl driver
should have this size/timestamp when your install is complete.

-rwxrwxr-x 1 root root 50056 Jan 18 11:12 /lib/dll/devn-rtl.so*

chris


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

On 1 May 2003 15:48:24 GMT, Chris McKillop <cdm@qnx.com> wrote:

When you say the install went okay, do you mean booting from the
CD and getting QNX running on the harddisk? Have you installed
the Momentics packages for x86 on this box yet? There was a bug in
the rtl driver that caused it not to function properly under 6.2.1.
The 6.2.1 CDs run a 6.2.1 kernel with 6.2.0 packages until you install
the Momentics packages and get everything up to 6.2.1. Your rtl driver
should have this size/timestamp when your install is complete.

Chris,

Thanks for the quick response. You were exactly right in your
assumption that I had the system running on the harddisk but hadn’t
yet installed the Momentics packages. I installed them, rebooted,
started io-net with the defaults for rtl and everything worked fine.

Thanks for your help on this. I figured with this Atoz system being
kind of a weird little machine I was just out of luck.


Charlie Hubbard