SMP_CONF_GENERAL(8)
β¨ SMP_CONF_GENERAL(8) β¨
okay bestie, sit down, we're doing the smp_conf_general page from smp_utils and honestly? it's giving "expander whisperer" energy. it invokes the CONFIGURE GENERAL SMP function, and yes, we're gonna go through every single flag, no skipping, periodt.
π NAME π
smp_conf_general β invoke CONFIGURE GENERAL SMP function. that's it, that's the name, iconic.
π SYNOPSIS π
smp_conf_general [--connect=CO] [--expected=EX] [--help] [--hex]
[--inactivity=IN] [--interface=PARAMS] [--nexus=NE] [--open=OP]
[--power=PD] [--raw] [--reduced=RE] [--sa=SAS_ADDR] [--ssp=CTL]
[--verbose] [--version] SMP_DEVICE[,N]
look at all those little flags, they're like charms on a bracelet fr fr π«Ά
πΈ DESCRIPTION πΈ
so what this does is it sends a SAS Serial Management Protocol (SMP) CONFIGURE GENERAL function request to an SMP target. the target gets ID'd by the SMP_DEVICE plus the --sa=SAS_ADDR. depending on which interface you're using, the SAS_ADDR might just be deducible from the SMP_DEVICE itself β no extra work, slay.
the mpt interface though? that one uses SMP_DEVICE to identify a HBA (an SMP initiator), and it needs the extra ,N to tell HBAs apart when you've got multiple ones hanging around. lowkey important, don't forget the ,N π
β¨ OPTIONS β¨
heads up: mandatory arguments to long options are mandatory for short options as well. the rules apply to everyone, no nepo babies here.
-c,--connect=COβ sets the"update STP maximum connect time limit"flag and the matching"STP maximum connect time limit"field toCO. the unit ofCOis 100 microseconds. aCOof zero means "no maximum connection time limit" β free spirit behavior, we love it.-E,--expected=EXβ sets the'expected expander change count'field in the SMP request.EXruns from 0 to 65535 inclusive, and 0 is the default. here's the spicy part: whenEXis greater than zero, then if the value doesn't match the expander change count of the SMP target (i.e. the expander) at the moment the request arrives, the target just ignores the request and sets a function result of"invalid expander change count"in the response. vibe check failed, request denied π-h,--helpβ output the usage message then exit. our little helper π₯Ί-H,--hexβ output the response (less the CRC field) in hexadecimal. numbers but make it fashion.-i,--inactivity=INβ sets the"update STP bus inactivity time limit"flag and the corresponding"STP bus inactivity time limit"field toIN. unit ofINis 100 microseconds. anINof zero is taken to mean no bus inactivity time limit. zero = unlimited chill.-I,--interface=PARAMSβ interface specific parameters. in this case "interface" means the path through the operating system to the SMP initiator. more info lives in thesmp_utilsman page, go read it bestie.-n,--nexus=NEβ sets the"update STP SMP I_T nexus loss time"flag and the corresponding"STP SMP I_T nexus loss time"field toNE. unit ofNEis one millisecond. anNEof zero is taken to mean a vendor specific amount of time; anNEof 65535 means the port shall never recognize an I_T nexus loss. never ever. not once. π-o,--open=OPβ sets the"update STP reject to open limit"flag and the corresponding"STP reject to open limit"field toOP. unit ofOPis 10 microseconds.-p,--power=PDβ sets the"update power done timeout"flag and the corresponding"power doen timeout"field toPD. unit ofPDis 1 second. aPDvalue of 0 is interpreted as don't change the current value. the maximum value ofPDis 255 and means the time limit is vendor specific. (and yes, the field is spelled"power doen timeout"up in here, we don't make the rules π)-r,--rawβ send the response (less the CRC field) to stdout in binary. all error messages are sent to stderr. clean split, no mess.-R,--reduced=REβ sets the"update Initial time to reduced functionality"flag and the corresponding"Initial time to reduced functionality"field toRE. unit ofREis 100 milliseconds. the maximum permittedREvalue is 255, which corresponds to 25.5 seconds. the ceiling is real.-s,--sa=SAS_ADDRβ specifies the SAS address of the SMP target device. typically that's an expander. this option may not be needed if theSMP_DEVICEalready has the target's SAS address inside it. important tea: theSAS_ADDRis in decimal, but most SAS addresses are shown in hexadecimal. to give a number in hexadecimal, either prefix it with'0x'or put a trailing'h'on it. don't get caught out, iykyk.-S,--ssp=CTLβ sets the"update SSP time limit"flag and the corresponding"SSP maximum connect time limit"field toCTL. unit ofCTLis 100 microseconds. aCTLof zero is taken to mean that there is no SSP connect time limit.-v,--verboseβ increase the verbosity of the output. can be used multiple times. stack it, bestie, more-vmore yapping.-V,--versionβ print the version string and then exit. bye π
π CONFORMING TO π
the SMP CONFIGURE GENERAL function was introduced in SAS-2. old but gold.
π AUTHORS π
Written by Douglas Gilbert. king behavior, no cap. π
π¦ REPORTING BUGS π¦
Report bugs to <dgilbert at interlog dot com>. tell him directly, he wants to know fr fr.
β COPYRIGHT β
Copyright Β© 2006-2015 Douglas Gilbert
This software is distributed under a FreeBSD license. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. (that's the scary part, so we're saying it loud: NO WARRANTY, like, at all π)
π SEE ALSO π
smp_utilssmp_rep_general(smp_utils)
okay that's the whole thing, you ate that. and for the sign-off moment: this page is from smp_utils-0.99, dated November 2015 β vintage, but she still serves. π β¨π
π¦ where this page comes from
- debian bookworm: smp-utils 0.99-1 Β· BSD-3-Clause
- debian trixie: smp-utils 0.99-1 Β· BSD-3-Clause
- epel 10: smp_utils 0.99-1.el10_0 Β· BSD-3-Clause
- epel 9: smp_utils 0.99-5.el9 Β· BSD
- fedora 43: smp_utils 0.99-14.fc43 Β· BSD-3-Clause
- fedora 44: smp_utils 0.99-15.fc44 Β· BSD-3-Clause
- opensuse-leap 16.0: smp_utils 0.99-bp160.1.6 Β· BSD-3-Clause AND GPL-2.0-only
- opensuse-leap 16.0: smp_utils 0.99-bp160.1.6 Β· BSD-3-Clause AND GPL-2.0-only
- opensuse-leap 16.0: smp_utils 0.99-bp160.1.6 Β· BSD-3-Clause AND GPL-2.0-only
- opensuse-leap 16.0: smp_utils 0.99-bp160.1.6 Β· BSD-3-Clause AND GPL-2.0-only
- ubuntu jammy: smp-utils 0.99-1 Β· BSD-3-Clause
- ubuntu noble: smp-utils 0.99-1 Β· BSD-3-Clause
- ubuntu resolute: smp-utils 0.99-1build1 Β· BSD-3-Clause
- ubuntu stonking: smp-utils 0.99-1build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms