microtca-tech-lab / mmcterm Goto Github PK
View Code? Open in Web Editor NEWTerminal for the custom "serial over IPMB" protocol used by DMMC-STAMP
License: BSD 3-Clause "New" or "Revised" License
Terminal for the custom "serial over IPMB" protocol used by DMMC-STAMP
License: BSD 3-Clause "New" or "Revised" License
When using mmcterm
with ipmitool backend (-i
flag) and the IPMI tool is not installed, the following error message is shown:
$ mmcterm -i mch1 0x88
Traceback (most recent call last):
File "/home/jan/.local/bin/mmcterm", line 8, in <module>
sys.exit(main())
File "/home/jan/.local/lib/python3.8/site-packages/mmcterm/mmcterm.py", line 456, in main
if not conn.session_ctrl(args.channel, True):
File "/home/jan/.local/lib/python3.8/site-packages/mmcterm/mmcterm.py", line 110, in session_ctrl
status, _ = self.raw_cmd(IpmiCode.SOI_SESSION_CTRL, channel + enable)
File "/home/jan/.local/lib/python3.8/site-packages/mmcterm/mmcterm.py", line 82, in raw_cmd
raw_reply = self.conn.raw_command(0, 0x30, data)
File "/home/jan/.local/lib/python3.8/site-packages/pyipmi/__init__.py", line 225, in raw_command
return self.interface.send_and_receive_raw(self.target, lun, netfn,
File "/home/jan/.local/lib/python3.8/site-packages/pyipmi/interfaces/ipmitool.py", line 143, in send_and_receive_raw
cc, rsp = self._parse_output(output)
File "/home/jan/.local/lib/python3.8/site-packages/pyipmi/interfaces/ipmitool.py", line 124, in _parse_output
rsp = array('B', [
File "/home/jan/.local/lib/python3.8/site-packages/pyipmi/interfaces/ipmitool.py", line 125, in <listcomp>
int(value, 16) for value in hexstr.split(' ')
ValueError: invalid literal for int() with base 16: '/bin/sh:'
This message is rather confusing, ideally it would mention that the IPMI tool is not installed.
Installing the IPMI tool (sudo apt install ipmitool
) fixes this issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.