[ros-dev] Loading failure of rtl8139.sys driver : Nic not recognized

Gge gerard.gatineau at laposte.net
Tue Oct 19 22:59:51 CEST 2004


Filip Navara wrote:
> Filip Navara wrote:
> 
>> Gge wrote:
>>
>>> Hi Filip ,
>>>
>>> I have updated the Relatek8138 Nic entry of the hivesys.inf file
>>> according your indications  
>>>
>> Try the attached registry entries (I haven't tested it). You _might_ 
>> need to replace the "VEN_10EC&DEV_8139&SUBSYS_81391186&REV_10" part 
>> with something specific to your card (you can get this from existing 
>> Windows installation or from debug messages of drivers/bus/pci/fdo.c).
> 


> Thanks  Filip

  I tested the driver loading with your registry but the driver still 
does not load


1) The RTL8139 PCI NIC Driver informations are supposed to be 
"PCI\VEN_10EC&DEV_8139&SUBSYS_D0101429&REV_10"
as per PCI utility

Vendor 10ECh Realtek Semiconductor
  Device 8139h RT8139 (A/B/C/813x) Fast Ethernet Adapter
  Revision 10h, Header Type 00h, Bus Latency 80h
  PCI Class Network, type Ethernet
  Subsystem ID D0101429h ND010 Fast Ethernet Adapter
  Subsystem Vendor 1429h UNEX Technology Corp
  Address 0 is an I/O Port : 0000D800h
  Address 1 is a Memory Address (anywhere in 0-4Gb) : FEAFFC00h
  System IRQ 11, INT# A

2) In the registry of wibndows XP , as per REGEDIT the nic location 
information id PCI BUD 2 DEVICE 8 FUNCTION 0

The FDO debug says :

fdo.c:99) Bus 2  Device  7  Func 0
(fdo.c:109) Size 0
(fdo.c:99) Bus 2  Device  8  Func 0
(fdo.c:109) Size 0
(fdo.c:99) Bus 2  Device  9  Func 0
(fdo.c:109) Size 0

fdo.c:173) Done
(fdo.c:280) DeviceID: PCI\VEN_8086&DEV_2501&SUBSYS_00000000&REV_03
(fdo.c:280) DeviceID: PCI\VEN_8086&DEV_250F&SUBSYS_00000000&REV_03
(fdo.c:280) DeviceID: PCI\VEN_8086&DEV_2418&SUBSYS_00000000&REV_02
(fdo.c:280) DeviceID: PCI\VEN_8086&DEV_2410&SUBSYS_00000000&REV_02
(fdo.c:280) DeviceID: PCI\VEN_8086&DEV_2411&SUBSYS_24118086&REV_02
(fdo.c:280) DeviceID: PCI\VEN_8086&DEV_2412&SUBSYS_24128086&REV_02
(fdo.c:280) DeviceID: PCI\VEN_8086&DEV_2413&SUBSYS_24138086&REV_02
(fdo.c:280) DeviceID: PCI\VEN_10DE&DEV_0111&SUBSYS_00000000&REV_B2
(fdo.c:355) Done


3) Conclusion
-------------

Sounds like the Nic is not recognized by Reactos/PCI

Regards
Gerard

Annexure : Hivesys entry

Note : I have added the enum key "driver"

; RTL8139 PCI NIC Driver
HKLM,"SYSTEM\CurrentControlSet\Services\Rtl8139","ErrorControl",0x00010001,0x00000000
HKLM,"SYSTEM\CurrentControlSet\Services\Rtl8139","Group",0x00000000,"NDIS"
HKLM,"SYSTEM\CurrentControlSet\Services\Rtl8139","ImagePath",0x00020000,"system32\drivers\RTL8139.SYS"
HKLM,"SYSTEM\CurrentControlSet\Services\Rtl8139","Start",0x00010001,0x00000003
HKLM,"SYSTEM\CurrentControlSet\Services\Rtl8139","Type",0x00010001,0x00000001
HKLM,"SYSTEM\CurrentControlSet\Services\Rtl8139\Enum","0",0x00000000,"PCI\VEN_10EC&DEV_8139&SUBSYS_D0101429&REV_10\0002"
HKLM,"SYSTEM\CurrentControlSet\Services\Rtl8139\Enum","Count",0x00010001,0x00000001
HKLM,"SYSTEM\CurrentControlSet\Services\Rtl8139\Enum","NextInstance",0x00010001,0x00000001
HKLM,"SYSTEM\CurrentControlSet\Services\Rtl8139\Enum\0002","Driver",0x00000000,"{4D36E972-E325-11CE-BFC1-08002BE10318}\0002"
HKLM,"SYSTEM\CurrentControlSet\Enum\PCI\VEN_10EC&DEV_8139&SUBSYS_81391186&REV_10\0000","Service",0x00000000,"Rtl8139"
HKLM,"SYSTEM\CurrentControlSet\Enum\PCI\VEN_10EC&DEV_8139&SUBSYS_81391186&REV_10\0000","Class",0x00000000,"Net"
HKLM,"SYSTEM\CurrentControlSet\Enum\PCI\VEN_10EC&DEV_8139&SUBSYS_81391186&REV_10\0000","ClassGUID",0x00000000,"{4D36E972-E325-11CE-BFC1-08002BE10318}"
HKLM,"SYSTEM\CurrentControlSet\Enum\PCI\VEN_10EC&DEV_8139&SUBSYS_81391186&REV_10\0000","Driver",0x00000000,"{4D36E972-E325-11CE-BFC1-08002BE10318}\0002"

; RTL8139 PCI NIC PCI Adapter 1
HKLM,"SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0002","SlotNumber",0x00000000,"9"
HKLM,"SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0002\Linkage","Bind",0x00010000,"\Device\Rtl81391"
HKLM,"SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0002\Linkage","Export",0x00010000,"\Device\Rtl81391"
HKLM,"SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\0002\Linkage","Route",0x00010000,"Rtl81391"
HKLM,"SYSTEM\CurrentControlSet\Services\Rtl81391\Parameters\Tcpip","DefaultGateway",0x00010000,"192.168.1.0"
HKLM,"SYSTEM\CurrentControlSet\Services\Rtl81391\Parameters\Tcpip","IPAddress",0x00010000,"192.168.1.5"
HKLM,"SYSTEM\CurrentControlSet\Services\Rtl81391\Parameters\Tcpip","SubnetMask",0x00010000,"255.255.255.0"


More information about the Ros-dev mailing list