MSTFWRESET(1)
π MSTFWRESET, but make it make sense π
okay so bestie, you've wandered into mstfwreset(1) β it lives in the User Commands section of the man pages (iykyk, section 1 is where all the tools hang out). It's part of the mstflint crew, and it's the one you call when you need to ask a device what kind of reset it can do and then actually do it. Let's get into it. β¨
πΈ NAME πΈ
mstfwreset β Query and perform reset operation on the device π
π¦ DESCRIPTION π¦
Here's the shape of the thing, no cap:
usage: mstfwreset --device DEVICE [--level {0,3,4,5}] [--type {0,1}]
[--yes]
[--skip_driver] [--mst_flags MST_FLAGS] [--version] [--help]
[--skip_fsm_sync] {q,query,r,reset,reset_fsm_register}
mstfwreset : the tool provides the following functionality in order to load new firmware, and it's giving two-step queen energy:
- Query the device for the supported reset-level and reset-type π
- Perform reset operation on the device π₯
β¨ OPTIONS β¨
--device DEVICE,-d DEVICEβ Device to work with π«Ά--level {0,3,4,5},-l {0,3,4,5}β Run reset with the specified reset-level β--type {0,1},-t {0,1}β Run reset with the specified reset-type π--yes,-yβ answer "yes" on prompt π--skip_driver,-sβ Skip driver start/stop stage (driver must be stopped manually) π--mst_flags MST_FLAGS,-m MST_FLAGSβ Provide mst flags to be used when invoking mst restart step. For example:--mst_flags="--with_fpga"π--version,-vβ Print tool version π--help,-hβ show this help message and exit πΈ--skip_fsm_syncβ Skip fsm syncing π§
π Commands π
the command menu, bestie, pick one:
{q,query,r,reset,reset_fsm_register}- query: Query reset Level.
- reset: Execute reset.
- reset_fsm_register: Reset the fsm register.
π Reset levels π
- 0: Driver, PCI link, network link will remain up ("live-Patch") π
- 3: Driver restart and PCI reset
- 4: Warm Reboot
- 5: Cold Reboot
π Reset types π
- 0: Full chip reset
- 1: Phy-less reset ("port-alive" - network link will remain up) β¨
π SEE ALSO π
okay that's the whole page, you ate it π
no notes, periodt. this lil gem is mstflint, March 2020, and yeah the page is literally called MSTFWRESET(1) β now go reset something responsibly, bestie π«Άπβ¨
π¦ where this page comes from
- centos-stream 10: mstflint 4.37.0_1.1-2.el10 Β· (GPL-2.0-only OR Linux-OpenIB) AND BSD-3-Clause AND MIT AND blessing
- centos-stream 9: mstflint 4.34.0-5.el9 Β· GPLv2+ or BSD
- debian trixie: mstflint 4.31.0+1-4 Β· BSD-2-Clause OR GPL-2.0-only
- fedora 43: mstflint 4.32.0^20250517git48a1454-2.fc43 Β· (GPL-2.0-only OR Linux-OpenIB) AND BSD-3-Clause AND MIT AND blessing
- fedora 43: mstflint 4.37.0_1.1-2.fc43 Β· (GPL-2.0-only OR Linux-OpenIB) AND BSD-3-Clause AND MIT AND blessing
- fedora 44: mstflint 4.34.0-2.fc44 Β· (GPL-2.0-only OR Linux-OpenIB) AND BSD-3-Clause AND MIT AND blessing
- fedora 44: mstflint 4.37.0_1.1-2.fc44 Β· (GPL-2.0-only OR Linux-OpenIB) AND BSD-3-Clause AND MIT AND blessing
- nixos 26.05: mstflint 4.36.0-1
- nixpkgs unstable: mstflint 4.37.0-1
- ubuntu noble: mstflint 4.26.0+1-2ubuntu3 Β· BSD-2-Clause OR GPL-2.0-only
- ubuntu questing: mstflint 4.33.0+1-1
- ubuntu resolute: mstflint 4.33.0+1-1.1 Β· BSD-2-Clause OR GPL-2.0-only
- ubuntu stonking: mstflint 4.33.0+1-1.1build1 Β· BSD-2-Clause OR GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms