Bug 261674 - mpsutil/mprutil manpage incomplete ('slot set status' and 'debug dumpregs' missing)
Summary: mpsutil/mprutil manpage incomplete ('slot set status' and 'debug dumpregs' mi...
Status: New
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2022-02-02 09:55 UTC by Sebastian
Modified: 2022-02-04 02:18 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian 2022-02-02 09:55:57 UTC
The mpsutil (and mprutil) tool states these commands in its usage message:

Commands include:
debug dumpreqs                                  Dump the active request queue
flash save [firmware|bios] [file]               Save firmware/bios into a file
flash update [firmware|bios] file               Update firmware/bios
show adapter                                    display controller information
show iocfacts                                   Show IOC Facts Message
show adapters                                   Show a summary of all adapters
show all                                Show all devices
show devices                                    Show attached devices
show enclosures                                 Show attached enclosures
show expanders                                  Show attached expanders
show cfgpage page [num] [addr]                  Display config page
slot set status <enclosure handle> <slot number> <status>       Set status of the slot in the directly attached enclosure
version                                 version


While all show/flash subcommands are described in the manpage, the 'debug dumpregs' and 'slot set status' commands aren't.
'debug dumpregs' doesn't take arguments and is quite self-explanatory, but the 'slot set status' command needs arguments of which only the enclosure handle and slot number could be extracted e.g. from an 'mpsutil show devices' listing. However, the 'status' (which needs to be a numerical argument) can't be guessed from any output of mpsutil/mprutil and isn't mentioned in any of the mpr/mprutil/mps/mpusutil manpages.
Comment 1 Andriy Gapon freebsd_committer freebsd_triage 2022-02-03 15:34:46 UTC
Patches are welcome.
See base r351812 / base c2a13d6f24ed.