Revert "newbus: Change attach failure behavior"
This reverts commit 68c3f03021
. There are
some weird crashes when KVMs switch caused by this, so revert this
commit until they are sorted out.
Reported by: cy@
Sponsored by: Netflix
This commit is contained in:
parent
6b574b3ba9
commit
3cf97e91fa
2
UPDATING
2
UPDATING
@ -43,6 +43,8 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 14.x IS SLOW:
|
|||||||
needs to use devctl to re-enable the device, and reprobe it (or set
|
needs to use devctl to re-enable the device, and reprobe it (or set
|
||||||
the sysctl/tunable hw.bus.disable_failed_devices=false).
|
the sysctl/tunable hw.bus.disable_failed_devices=false).
|
||||||
|
|
||||||
|
NOTE: This was reverted 20221205 due to unexpected compatibility issues
|
||||||
|
|
||||||
20221122:
|
20221122:
|
||||||
pf no longer accepts 'scrub fragment crop' or 'scrub fragment drop-ovl'.
|
pf no longer accepts 'scrub fragment crop' or 'scrub fragment drop-ovl'.
|
||||||
These configurations are no longer automatically reinterpreted as
|
These configurations are no longer automatically reinterpreted as
|
||||||
|
@ -69,7 +69,7 @@ SYSCTL_NODE(_hw, OID_AUTO, bus, CTLFLAG_RW | CTLFLAG_MPSAFE, NULL,
|
|||||||
SYSCTL_ROOT_NODE(OID_AUTO, dev, CTLFLAG_RW | CTLFLAG_MPSAFE, NULL,
|
SYSCTL_ROOT_NODE(OID_AUTO, dev, CTLFLAG_RW | CTLFLAG_MPSAFE, NULL,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
static bool disable_failed_devs = true;
|
static bool disable_failed_devs = false;
|
||||||
SYSCTL_BOOL(_hw_bus, OID_AUTO, disable_failed_devices, CTLFLAG_RWTUN, &disable_failed_devs,
|
SYSCTL_BOOL(_hw_bus, OID_AUTO, disable_failed_devices, CTLFLAG_RWTUN, &disable_failed_devs,
|
||||||
0, "Do not retry attaching devices that return an error from DEVICE_ATTACH the first time");
|
0, "Do not retry attaching devices that return an error from DEVICE_ATTACH the first time");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user