Restarting a Driver Host

20 views
Skip to first unread message

Natalie Eleftheriades

unread,
Feb 16, 2021, 11:35:32 PM2/16/21
to drivers-dev

Hi all!

You can now restart manually restart a driver host by specifying the name of a driver.

This might be useful for debugging issues related to driver unbinding and rebinding. It’s also now the easiest way for you to check that your driver will behave correctly if a crash causes the driver host to automatically restart.

To get started, you can try restarting the e1000 driver on a NUC:

fx shell run fuchsia-pkg://fuchsia.com/restart-driver-hosts#meta/restart-driver-hosts.cmx /boot/driver/e1000.so 
Although restarting the e1000 driver may require you to close and rerun
fx shell if you have it currently running.

If you need to find the name of a driver, try looking for it in dm dump.

Reply all
Reply to author
Forward
0 new messages