Bug 174072 - mptutil(8): capture cam related errors
Summary: mptutil(8): capture cam related errors
Status: In Progress
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: Warner Losh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-03 04:30 UTC by Enji Cooper
Modified: 2025-02-14 16:56 UTC (History)
1 user (show)

See Also:
linimon: mfc-stable14?
linimon: mfc-stable13?


Attachments
file.diff (1.38 KB, patch)
2012-12-03 04:30 UTC, Enji Cooper
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer freebsd_triage 2012-12-03 04:30:00 UTC
The attached patch catches cam-related errors when using mptutil.

Fix: Patch attached with submission follows:
Comment 1 Steven Hartland freebsd_committer freebsd_triage 2012-12-13 23:11:16 UTC
Responsible Changed
From-To: freebsd-bugs->smh

I'll take it.
Comment 2 Enji Cooper freebsd_committer freebsd_triage 2015-10-24 23:44:17 UTC
Take bug.
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:36:45 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>
Comment 4 commit-hook freebsd_committer freebsd_triage 2025-02-05 05:28:59 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=d90e14fc18e8d276b9b4318b4ca0e16f015c2658

commit d90e14fc18e8d276b9b4318b4ca0e16f015c2658
Author:     Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2025-02-05 03:52:38 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-02-05 03:54:26 +0000

    mptutil: Capture CAM errors from bus rescan

    This will force reporting of CAM errors from rescanning the bus.

    PR: 174072
    Reviewed by: imp

 usr.sbin/mptutil/mpt_config.c | 20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)
Comment 5 Mark Linimon freebsd_committer freebsd_triage 2025-02-14 16:56:28 UTC
^Triage: assign to committer, set flags for possible MFC (just close if not).