Jump to content

Why this INF is not recognised?


pangoomis

Recommended Posts

I have a Lenovo IdeaPad Z510 laptop with an Intel i3-4000M, and 8GB of RAM. It has a Realtek 8106E Fast Ethernet chip, and one of its compatible Hardware ID is this: PCI\VEN_10EC&DEV_8136&REV_07

The drivers for this are here: http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=14&PFid=7&Level=5&Conn=4&DownTypeID=3&GetDown=false

This ID is present in the Win 2000/XP driver inside the .inf.

But, this very .inf is very similar to the Win98SE .inf, (it has all the stuff from the .inf from the Win98SE driver: strings, hardware ids, file destinations, driver options, etc.) but it's not recognized by Win98SE.

Here's the Win 2000/XP to look at:

http://wklej.org/id/1498595/

In the .inf for the Win98SE driver, there's no ID for my chip, but it's recognized by Win98SE. There's the Win98SE inf:

http://wklej.org/id/1498598/

 

So anyone can help me to get the Win2000/XP .inf to get recognized?

And no, the NDIS driver didn't work as an alternative, it is automatically disabled in the ASD.EXE, it says there's a conflict between the NDIS driver and the TCP/IP protocol.

Edited by MrMateczko
Link to comment
Share on other sites


The XP .inf file is about 16x too big for 9x to recognize. Try deleting everything that is clearly not needed, then run it through minf to reduce the size to below 64KB and see if 9x will recognize it then.

I'll compare the two files and report back later with my findings. These are all-in-one driver packages, however, so there probably isn't an actual 8106E driver file in the 9x package and the one in the NT package probably won't work in 9x.

Link to comment
Share on other sites

http://www.msfn.org/board/topic/154725-minf-minimize-an-inf-file/

actually a jumper's program, how nifty.

 

Even without doing anything to the INF, it dropped from 2kb to about 655kb.

WIth the stuff I've removed, I narrowed it down to about 25kb.

Will test it when I have time.

Edited by MrMateczko
Link to comment
Share on other sites

I hand-optimized both the v2008 and v2014 infs and got them both down to versions that are extremely similiar. Following is my 9x-only version of the v2014 driver inf:

;; Realtek 10/100/1000 PCI-E NIC Family all in one NDIS Driver

;;

;; Copyright 2014, Realtek Semiconductor Corporation.

;;

;; This product is covered by one or more of the following patents:

;; US6,570,884, US6,115,776, and US6,327,625.

;;

;; This release is primarily for motherboard OEM for WHQL test.

[version]

Signature = "$Chicago$"

Compatible = 1

Class = Net

ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}

Provider = %Realtek%

CatalogFile.NT = netrtle.cat ;;for WHQL certified

DriverVer = 06/05/2014,5.826.0605.2014

[Manufacturer]

%Realtek% = Realtek

[ControlFlags]

ExcludeFromSelect = *

[Realtek]

; DisplayName Section DeviceID

; ----------- ------- --------

;8101E

%RTL8136.DeviceDesc% = RTL8136.ndi, PCI\VEN_10EC&DEV_8136&REV_01

%RTL8136.DeviceDesc% = RTL8136.ndi, PCI\VEN_10EC&DEV_8136&SUBSYS_813610EC&REV_01

;8131

%RTL8131.DeviceDesc% = RTL8136.ndi, PCI\VEN_10EC&DEV_8136&SUBSYS_83A01043&REV_01

;8101HP

%RTL8136.DeviceDesc% = RTL8136HP.ndi, PCI\VEN_10EC&DEV_8136&SUBSYS_2A57103C ;HP

%RTL8136.DeviceDesc% = RTL8136HP.ndi, PCI\VEN_10EC&DEV_8136&SUBSYS_2A78103C ;HP-CPC

%RTL8136.DeviceDesc% = RTL8136HP.ndi, PCI\VEN_10EC&DEV_8136&SUBSYS_2A79103C ;HP-CPC

%RTL8136.DeviceDesc% = RTL8136HP.ndi, PCI\VEN_10EC&DEV_8136&SUBSYS_FF101179&REV_01 ;Toshiba

;8102E/8103E

%RTL8102.DeviceDesc% = RTL8102.ndi, PCI\VEN_10EC&DEV_8136&REV_02

%RTL8102.DeviceDesc% = RTL8102.ndi, PCI\VEN_10EC&DEV_8136&SUBSYS_813610EC&REV_02

;8103Compal

%RTL8102.DeviceDesc% = RTL8102ClkReq.ndi, PCI\VEN_10EC&DEV_8136&SUBSYS_FF001179&REV_02 ;;TOSHIBA

;8104E

%RTL8104.DeviceDesc% = RTL8104.ndi, PCI\VEN_10EC&DEV_8137&REV_03

%RTL8104.DeviceDesc% = RTL8104.ndi, PCI\VEN_10EC&DEV_8137&SUBSYS_813710EC&REV_03

;8401

%RTL8401.DeviceDesc% = RTL8102.ndi, PCI\VEN_10EC&DEV_8136&REV_04

%RTL8401.DeviceDesc% = RTL8102.ndi, PCI\VEN_10EC&DEV_8136&SUBSYS_813610EC&REV_04

;8105E

%RTL8105.DeviceDesc% = RTL8105.ndi, PCI\VEN_10EC&DEV_8136&REV_05

%RTL8105.DeviceDesc% = RTL8105.ndi, PCI\VEN_10EC&DEV_8136&SUBSYS_813610EC&REV_05

;8402

%RTL8105.DeviceDesc% = RTL8105.ndi, PCI\VEN_10EC&DEV_8136&REV_06

%RTL8105.DeviceDesc% = RTL8105.ndi, PCI\VEN_10EC&DEV_8136&SUBSYS_813610EC&REV_06

;8106E

%RTL8105.DeviceDesc% = RTL8105.ndi, PCI\VEN_10EC&DEV_8136&REV_07

%RTL8105.DeviceDesc% = RTL8105.ndi, PCI\VEN_10EC&DEV_8136&SUBSYS_813610EC&REV_07

;8103EVL

%RTL8105.DeviceDesc% = RTL8102.ndi, PCI\VEN_10EC&DEV_8136&REV_09

%RTL8105.DeviceDesc% = RTL8102.ndi, PCI\VEN_10EC&DEV_8136&SUBSYS_813610EC&REV_09

;;****************************************************************************

;; Windows 98/ME

;;****************************************************************************

;;RTL8136(98/ME)

[RTL8136.ndi]

DriverVer = 01/07/2014,824

AddReg = rtl8136.id.reg, NetworkAddress.reg, Speed10_100.reg, Flowctrl.reg, S5Wol.reg, WolShutdownLinkSpeed.reg

AddReg = WolCap.reg, ForceMode.reg

CopyFiles = Rtlnic.CopyFiles9x

;;****************************************************************************

;;RTL8136 HP(98/ME)

[RTL8136HP.ndi]

DriverVer = 01/07/2014,824

AddReg = rtl8136.id.reg, NetworkAddress.reg, Speed10_100.reg, Flowctrl.reg, S5Wol.reg, WolShutdownLinkSpeed.reg

AddReg = AutoCrossoverDet.reg, WolCap.reg, ForceMode.reg

CopyFiles = Rtlnic.CopyFiles9x

;;****************************************************************************

;;RTL8102E(98/ME)

[RTL8102.ndi]

DriverVer = 01/07/2014,824

AddReg = rtl8136.id.reg, NetworkAddress.reg, Speed10_100.reg, DisableFlowctrl.reg, S5Wol.reg, WolShutdownLinkSpeed.reg

AddReg = WolCap.reg, ForceMode.reg

CopyFiles = Rtlnic.CopyFiles9x

;;****************************************************************************

;;RTL8102E(98/ME)

[RTL8102ClkReq.ndi]

DriverVer = 01/07/2014,824

AddReg = rtl8136.id.reg, NetworkAddress.reg, Speed10_100.reg, DisableFlowctrl.reg, S5Wol.reg, WolShutdownLinkSpeed.reg

AddReg = WolCap.reg, ForceMode.reg, ClkReq.reg

CopyFiles = Rtlnic.CopyFiles9x

;;****************************************************************************

;;RTL8104E(98/ME)

[RTL8104.ndi]

DriverVer = 01/07/2014,824

AddReg = rtl8136.id.reg, NetworkAddress.reg, Speed10_100.reg, Flowctrl.reg, S5Wol.reg, WolShutdownLinkSpeed.reg

AddReg = WolCap.reg, ForceMode.reg

CopyFiles = Rtlnic.CopyFiles9x

;;****************************************************************************

;;RTL8105E(98/ME)

[RTL8105.ndi]

DriverVer = 01/07/2014,824

AddReg = rtl8136.id.reg, NetworkAddress.reg, Speed10_100.reg, Flowctrl.reg, S5Wol.reg, WolShutdownLinkSpeed.reg

AddReg = WolCap.reg, ForceMode.reg,EEEEnable.reg

CopyFiles = Rtlnic.CopyFiles9x

[Rtlnic.CopyFiles9x]

Rtenic.sys,,,2

;;***************************************************************************

;; Windows 9x parameters

;;***************************************************************************

[rtl8136.id.reg]

HKR,, MediaType, 0, 1

HKR,, AdapterType, 0, 5

HKR,, BusType, 0, 5

HKR,, DevLoader, 0, "*ndis"

HKR,, DeviceVxDs, 0, "Rtenic.sys"

HKR,, EnumPropPages, 0, "netdi.dll,EnumPropPages"

HKR,NDIS, LogDriverName, 0, "RTLE8023"

HKR,NDIS, MajorNdisVersion, 1, 03

HKR,NDIS, MinorNdisVersion, 1, 0A

HKR,Ndi, DeviceID, 0, "PCI\VEN_10EC&DEV_8136"

HKR,Ndi\Interfaces, DefUpper, 0, "ndis3"

HKR,Ndi\Interfaces, DefLower, 0, "ethernet"

HKR,Ndi\Interfaces, UpperRange, 0, "ndis3"

HKR,Ndi\Interfaces, LowerRange, 0, "ethernet"

;;****************************************************************************

;; common parameters

;;****************************************************************************

[NetworkAddress.reg]

HKR,Ndi\params\NetworkAddress, ParamDesc, 0, %NetworkAddress%

HKR,Ndi\params\NetworkAddress, type, 0, "edit"

HKR,Ndi\params\NetworkAddress, default, 0, ""

HKR,Ndi\params\NetworkAddress, LimitText, 0, "12"

HKR,Ndi\params\NetworkAddress, UpperCase, 0, "1"

HKR,Ndi\params\NetworkAddress, Optional, 0, "1"

[speed10_100.reg]

HKR, Ndi\params\DuplexMode, ParamDesc, 0, %SpeedDuplexMode%

HKR, Ndi\params\DuplexMode, type, 0, "enum"

HKR, Ndi\params\DuplexMode, default, 0, "1"

HKR, Ndi\params\DuplexMode\enum, 1, 0, %auto_nego%

HKR, Ndi\params\DuplexMode\enum, 2, 0, %sd10half%

HKR, Ndi\params\DuplexMode\enum, 3, 0, %sd10full%

HKR, Ndi\params\DuplexMode\enum, 4, 0, %sd100half%

HKR, Ndi\params\DuplexMode\enum, 5, 0, %sd100full%

HKR,,DuplexMode,0,"1"

[Flowctrl.reg]

HKR,Ndi\params\FlowControl, ParamDesc, 0, %FlowControl%

HKR,Ndi\params\FlowControl, default, 0, "1"

HKR,Ndi\params\FlowControl, type, 0, "enum"

HKR,Ndi\params\FlowControl\enum, "0", 0, %Disabled%

HKR,Ndi\params\FlowControl\enum, "1", 0, %Enabled%

HKR,,FlowControl,0,"1"

[DisableFlowctrl.reg]

HKR,Ndi\params\FlowControl, ParamDesc, 0, %FlowControl%

HKR,Ndi\params\FlowControl, default, 0, "1"

HKR,Ndi\params\FlowControl, type, 0, "enum"

HKR,Ndi\params\FlowControl\enum, "0", 0, %Disabled%

HKR,Ndi\params\FlowControl\enum, "1", 0, %Enabled%

HKR,,FlowControl,0,"0"

[s5Wol.reg]

HKR,Ndi\params\S5WakeOnLan, ParamDesc, 0, %S5WakeOnLan%

HKR,Ndi\params\S5WakeOnLan, default, 0, "1"

HKR,Ndi\params\S5WakeOnLan, type, 0, "enum"

HKR,Ndi\params\S5WakeOnLan\enum, "0", 0, %Disabled%

HKR,Ndi\params\S5WakeOnLan\enum, "1", 0, %Enabled%

HKR,,S5WakeOnLan,0,"1"

[WolShutdownLinkSpeed.reg]

HKR, Ndi\params\WolShutdownLinkSpeed, ParamDesc, 0, %WolShutdownLinkSpeed%

HKR, Ndi\params\WolShutdownLinkSpeed, type, 0, "enum"

HKR, Ndi\params\WolShutdownLinkSpeed, default, 0, "0"

HKR, Ndi\params\WolShutdownLinkSpeed\enum, "0", 0, %10MbFirst%

HKR, Ndi\params\WolShutdownLinkSpeed\enum, "1", 0, %100MbFirst%

HKR, Ndi\params\WolShutdownLinkSpeed\enum, "2", 0, %NotSpeedDown%

HKR,,WolShutdownLinkSpeed,0,"0"

[WolCap.reg]

HKR, Ndi\params\WolCap, ParamDesc, 0, %WolCap%

HKR, Ndi\params\WolCap, type, 0, "enum"

HKR, Ndi\params\WolCap, default, 0, "3"

HKR, Ndi\params\WolCap\enum, "0", 0, %None%

HKR, Ndi\params\WolCap\enum, "1", 0, %PatternMatch%

HKR, Ndi\params\WolCap\enum, "2", 0, %MagicPacket%

HKR, Ndi\params\WolCap\enum, "3", 0, %PatternAndMagic%

HKR,,WolCap,0,"3"

[EEEEnable.reg]

HKR, Ndi\params\EEE, ParamDesc, 0, %EEE%

HKR, Ndi\params\EEE, default, 0, "1"

HKR, Ndi\params\EEE, type, 0, "enum"

HKR, Ndi\params\EEE\enum, "0", 0, %Disabled%

HKR, Ndi\params\EEE\enum, "1", 0, %Enabled%

HKR,,EEE,0,"1"

[PowerDownPll.reg]

HKR,,PowerDownPll,0,"0"

[ClkReq.reg]

HKR,,ClkReq,0,"1"

[ForceMode.reg]

HKR,,ForceMode,0,"0"

[RtNicProp32.reg]

HKR,,EnumPropPages32,,"rtnicprop32.dll,RTNicPropPageProvider"

;;****************************************************************************

;; Destination Directory

;;****************************************************************************

[DestinationDirs]

Rtlnic.CopyFiles = 12

Rtlnic.CopyFiles9x = 11

DefaultDestDir = 11 ; LDID_SYS

;;****************************************************************************

;; Source Files

;;****************************************************************************

[sourceDisksNames]

1=%DISKNAME%,,,

[sourceDisksFiles]

Rtenic.sys = 1

RTNicProp32.dll = 1

;;****************************************************************************

;; Strings

;;****************************************************************************

[strings]

Realtek = "Realtek Semiconductor Corp."

SpeedDuplexMode = "Speed & Duplex"

auto_nego = "Auto Negotiation"

sd10half = "10 Mbps Half Duplex"

sd10full = "10 Mbps Full Duplex"

sd100half = "100 Mbps Half Duplex"

sd100full = "100 Mbps Full Duplex"

sd1000full = "1.0 Gbps Full Duplex"

NetworkAddress = "Network Address"

FlowControl = "Flow Control"

S5WakeOnLan = "Shutdown Wake-On-Lan"

10MbFirst = "10 Mbps First"

100MbFirst = "100 Mbps First"

NotSpeedDown = "Not Speed Down"

WolShutdownLinkSpeed = "WOL & Shutdown Link Speed"

AutoCrossoverDet = "Auto Crossover Detection"

Disabled = "Disabled"

Enabled = "Enabled"

2KBMTU = "2KB MTU"

3KBMTU = "3KB MTU"

4KBMTU = "4KB MTU"

5KBMTU = "5KB MTU"

6KBMTU = "6KB MTU"

7KBMTU = "7KB MTU"

8KBMTU = "8KB MTU"

9KBMTU = "9KB MTU"

WolCap = "Wake-On-Lan Capabilities"

None = "None"

PatternMatch = "Pattern Match"

MagicPacket = "Magic Packet"

PatternAndMagic = "Pattern Match & Magic Packet"

EEE = "EEE"

;;Source disk name

DISKNAME = "Realtek 10/100/1000 NIC Family all in one NDIS Driver"

RTL8136.DeviceDesc = "Realtek PCIe FE Family Controller"

RTL8102.DeviceDesc = "Realtek PCIe FE Family Controller"

RTL8104.DeviceDesc = "Realtek PCIe FE Family Controller"

RTL8105.DeviceDesc = "Realtek PCIe FE Family Controller"

RTL8401.DeviceDesc = "Realtek PCIe FE Family Controller"

RTL8131.DeviceDesc = "Realtek PCIe FE Family Controller"

edit: Oops, posted my v2008 inf which is extremely similiar; now it's the v2014 mod with the 8106E entry. :blush:

Edited by jumper
Link to comment
Share on other sites

Sadly, it still doesn't work :(

It hangs on the boot screen the restart after the driver installs.

If i reboot again, I got the same error in ASD.EXE (the windows in the middle) as with the NDIS driver before.

I've used the jumper's inf, as well as the one I shortened myself earlier, still the same thing.

This is really strange, as everything seems to be fine, but things like WINIPCFG.EXE gives an error the the IP configuration is not ready. Obviously no sign of connection whatsoever.

Maybe the 98lite I'm using is the culprit? Maybe use the .SYS file from the 2008 version?

Maybe the fact that I'm running this 98SE from my SanDisk Cruiser Blade 16GB pendrive.

If installing to my real HDD would help? (I really don't want to screw with it, only as a last resort)

Maybe it's because I've installed it with the /p i switch (to force APM instead of ACPI) to install it on a pendrive?

Xe8bIhb.png

Any log files worth sharing?

Edited by MrMateczko
Link to comment
Share on other sites

Could be a problem with the driver itself which, despite the 9x entries in the inf, was clearly never successfully tested on Win9x by Realtek themselves.

In the 2014 inf, the 8106E uses the same install as the 8105E in which the only addition over the 8104E is something called EEE which can be enabled/disabled. So lets try creating an 8106E entry in the 2008 inf by cloning the 8104E section:

To the 2008 inf file below

[Realtek];8104E%RTL8104.DeviceDesc%    = RTL8104.ndi,      PCI\VEN_10EC&DEV_8137&REV_03%RTL8104.DeviceDesc%    = RTL8104.ndi,      PCI\VEN_10EC&DEV_8137&SUBSYS_813710EC&REV_03
add
;8106E%RTL8106.DeviceDesc%    = RTL8104.ndi,      PCI\VEN_10EC&DEV_8136&REV_07%RTL8106.DeviceDesc%    = RTL8104.ndi,      PCI\VEN_10EC&DEV_8136&SUBSYS_813610EC&REV_07
And below
[Strings]RTL8104.DeviceDesc        = "Realtek RTL8104E Family PCI-E Fast Ethernet NIC"
add
RTL8106.DeviceDesc        = "Realtek RTL8106E Family PCI-E Fast Ethernet NIC"
You can also try using RTL8102.ndi as that is DEV_8136&REV_02 compared to the 8106E's DEV_8136&REV_07
Link to comment
Share on other sites

I think this is impossible. :(

First, I tried without 98lite, using the clean install - same errors.

Then, I tried jumper's suggestion, the Device Manager showed an yellow exclamation mark, as if the driver wasn't loaded at all, so the 2008 *.sys file does NOT work.

The 2014 one, and the NDIS driver DOES, but with the ASD error as explained in my previous post.

Edited by MrMateczko
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...