Bug 159414 - [isp] isp(4)+gmultipath(8) : removing active fiber path, and gmultipath failing over to standby path provokes a kernel panic
Summary: [isp] isp(4)+gmultipath(8) : removing active fiber path, and gmultipath faili...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 8.2-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-03 13:50 UTC by Stéphane LAPIE
Modified: 2017-12-31 22:29 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane LAPIE 2011-08-03 13:50:08 UTC
When using FC HBAs handled by the isp(4) driver, gmultipath(8) (two fiber paths to access the same devices), and a ZFS pool, removing the active link and trying to provoke automatic failover, will cause a kernel panic.

How-To-Repeat: Remove the active fiber link (confirmable with activity LEDs from the storage unit) while I/O is going on. The kernel log will display some devices failing over, invalidated SCSI packets and devices, isp(4) handle timeouts, before panicking. Latest visible kernel trap message concerns the g_mp_kt thread.

However, if gmultipath rotate is used to switch path on all devices, then it can be safely removed. This looks like a race condition between isp(4) loopdown provoking da(4) destruction, and gmultipath(8) failover.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-08-05 02:35:36 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-scsi

Over to maintainer(s).
Comment 2 Matt Jacob freebsd_committer freebsd_triage 2011-08-05 02:39:45 UTC
Responsible Changed
From-To: freebsd-scsi->mjacob

I guessI should own this.
Comment 3 Matt Jacob freebsd_committer freebsd_triage 2012-09-03 14:37:28 UTC
State Changed
From-To: open->feedback
Comment 4 Matt Jacob freebsd_committer freebsd_triage 2012-09-03 14:38:18 UTC
Responsible Changed
From-To: mjacob->freebsd-geom

This is really a geom bug, not an isp bug.
Comment 5 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:58:43 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped