Dasharo / dasharo-issues

The Dasharo issue tracker
https://dasharo.com/
25 stars 0 forks source link

Windows bluescreen installing ethernet drivers on VP66x0 #739

Closed filipleple closed 7 months ago

filipleple commented 8 months ago

Device

VP66X0

Dasharo version

v0.9.0

Affected component(s) or functionality

Installing ethernet drivers

Brief summary

When trying to install ethernet drivers on Windows, watchdog timeout bluescreen occurs every time.

How reproducible

100%

How to reproduce

Try to install ethernet drivers on VP66x0, either locally from an .exe file or via Device Manager > Update Driver with an active internet connection.

Expected behavior

The drivers should install

Actual behavior

Bluescreen on installation init

Screenshots

No response

Additional context

USB - Ethernet adapters work out of the box.

Solutions you've tried

No response

filipleple commented 7 months ago

I've confirmed that the ethernet ports work seamlessly on AMI stock firmware

macpijan commented 7 months ago

Thanks, so we will need further analysis from @miczyg1

miczyg1 commented 7 months ago

The drivers do not install automatically for i225/i226 controllers both on AMI and Dasharo. Installing a random i225/i226 driver may cause some problems...

Other devices that are driverless are SM Bus controller, GPIO controller, SPI controller, I2C controllers. Not sure why but there are a lots of drivers which matches the compatible device IDs in the Windows Update Catalog, but none of them want to apply automatically.

Will try with this one https://www.intel.com/content/www/us/en/download/15084/intel-ethernet-adapter-complete-driver-pack.html (29.0.1) and see if I can reproduce.

miczyg1 commented 7 months ago

It appears we have hit a bug with PCH PCIe power/clock gating from this comment:

https://github.com/coreboot/coreboot/blob/master/src/soc/intel/alderlake/fsp_params.c#L933

So I had to enable CLKSRCREQs, assign the clocks and change FSP type to IoT (for the UPD to be present). In order to remain some power savings I also enabled ASPM. Now I could install the drivers for all I226 Ethernet Controllers in Windows without a BSOD.

PR: https://github.com/Dasharo/coreboot/pull/483