[Bug 263704] Panic because device went away with XPT_ATA_IO pending
Date: Sun, 01 May 2022 17:07:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263704 Bug ID: 263704 Summary: Panic because device went away with XPT_ATA_IO pending Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: imp@FreeBSD.org we can drop all references to the device (causing us to go through camperiphfree and destroy the path) while we have an I/O pending in the ata_da state machine (usually in state ADA_STATE_RAHEAD with ATA_SETFEATURES ATA_SF_ENAB_RCACHE command). It's not clear why the reference that we take out to do the reprobe isn't effective at blocking this. By retrying this condition, though we avoid this bug (at least more often, I don't have a good reproduction test case, I just see this panic a few times a month at work on systems that have transient disk errors on ahci connected SATA SSDs). -- You are receiving this mail because: You are the assignee for the bug.