Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usbip_vhci not loading on Windows 7 #12

Closed
tatokis opened this issue Feb 8, 2019 · 4 comments
Closed

usbip_vhci not loading on Windows 7 #12

tatokis opened this issue Feb 8, 2019 · 4 comments
Labels
bug Something isn't working

Comments

@tatokis
Copy link

tatokis commented Feb 8, 2019

I installed the usbip-win 0.0.4 pre-release on Windows 7 (7601), and even after manually generating a signed cat file, windows refuses to load the driver with Code 39.

Event viewer says

Application popup:  : \SystemRoot\system32\DRIVERS\usbip_vhci.sys cannot find ntoskrnl.exe KeInitializeSpinLock

which looks like Win7 compatibility was broken.

I tried compiling the driver with the old build system and the Win7 DDK but there were quite a few issues and I could not get it to compile successfully.

I do not have access to a proper Windows 10 dev installation at the moment to have a look, so it would be appreciated if this could be fixed.

@cezuni
Copy link

cezuni commented Feb 8, 2019

This issue seems to be duplicate of #8. Anyway, it is almost obvious that usbip-win is not working on win7. But in my opinion, win7 support cannot be a high priority. Win10 is already a major version and there are so many malfunctioning and unstable features even on win10. 😢

@tatokis
Copy link
Author

tatokis commented Feb 14, 2019

Thank you for the response.
I took the time to install VS2017 and the Win 10 WDK.

I changed the project's Target OS Version in VS to Windows 7, and then built the driver.
79976dc9aab7

Windows 7 was then able to successfully load my newly built driver.
usbipwin_

I have attached x64 debug binaries built from 94b35a0 for anyone wanting to try to run this.
usbipwinx64.zip

@Oxalin
Copy link

Oxalin commented Mar 8, 2019

@tatokis Adding you workaround to the README.md.

@Oxalin Oxalin added the bug Something isn't working label Mar 8, 2019
Oxalin added a commit that referenced this issue Mar 8, 2019
Clearly identify steps to set Test Certificate.
Add issue #12 workaround for Windows 7 users. This should fix issue #8.

Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com>
@Eric-N-Be
Copy link

thanks for you investigation, it's solve my drivers install to a windows 2012 r2 (client side), i can continue my test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants