Jump to content

Compiling ACPI v2.0 driver for Windows XP SP3 and Windows 2003 SP2 (x32/x64)


Recommended Posts

Posted (edited)

Hi,

I am going to build from scratch a Lan driver for XP SP3 for any i219.

I use Ndis5.1 original from XP, not Ndis6 from Vista, win7 etc.

Just now, for the very first time, I get this my lan driver startet under XP.

Oh crazy..what a hard work with Windbg

Dietmar

cooli219.jpg

 

0: kd> !devnode 8b5e8ee8
DevNode 0x8b5e8ee8 for PDO 0x8b51ccf8
  Parent 0x8b5e9998   Sibling 0x8b5e8dc8   Child 0000000000   
  InstancePath is "PCI\VEN_8086&DEV_15B8&SUBSYS_15B81849&REV_00\3&11583659&0&FE"
  ServiceName is "i219"
  State = DeviceNodeStarted (0x308)
  Previous State = DeviceNodeEnumerateCompletion (0x30d)
  StateHistory[07] = DeviceNodeEnumerateCompletion (0x30d)
  StateHistory[06] = DeviceNodeStarted (0x308)
  StateHistory[05] = DeviceNodeStartPostWork (0x307)
  StateHistory[04] = DeviceNodeStartCompletion (0x306)
  StateHistory[03] = DeviceNodeResourcesAssigned (0x304)
  StateHistory[02] = DeviceNodeDriversAdded (0x303)
  StateHistory[01] = DeviceNodeInitialized (0x302)
  StateHistory[00] = DeviceNodeUninitialized (0x301)
  StateHistory[19] = Unknown State (0x0)
  StateHistory[18] = Unknown State (0x0)
  StateHistory[17] = Unknown State (0x0)
  StateHistory[16] = Unknown State (0x0)
  StateHistory[15] = Unknown State (0x0)
  StateHistory[14] = Unknown State (0x0)
  StateHistory[13] = Unknown State (0x0)
  StateHistory[12] = Unknown State (0x0)
  StateHistory[11] = Unknown State (0x0)
  StateHistory[10] = Unknown State (0x0)
  StateHistory[09] = Unknown State (0x0)
  StateHistory[08] = Unknown State (0x0)
  Flags (0x000000f0)  DNF_ENUMERATED, DNF_IDS_QUERIED, 
                      DNF_HAS_BOOT_CONFIG, DNF_BOOT_CONFIG_RESERVED
  CapabilityFlags (0x00002000)  WakeFromD3

 

Edited by Dietmar

Posted

Hi,

I take all data from Linux for i219 for the registers etc.

Crazy work, 16 hours a day.

Now the driver i219.sys for XP SP3 is nearly ready

Dietmar

ip.jpg

Posted

@Dietmar

Do you think you'd be able to make a similar driver for realtek 2.5gb NICs at some point in the future? I don't have any hardware with intel i219 NICs.

Posted

@Damnation

I think, it can be done for any Nic, as long as you have Linux, where you can spy.

But it is soso crazy hard work.

I notice for example, that I always get Bsod D1, which I cannot catch with Windbg,

only when you make an offline check of it.

It happens, when the lan cable is connected at boottime, but parts of the driver have not loaded

to full, so happens this Bsod even everything is "ok".

Now I understand, why on many compis there is always a big time delay, before you get connected via lan

Dietmar

 

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   1 member

×
×
  • Create New...