Skip to content

"Max retry while checking receiveddata..." in RMCP mode with Vadatech MCH #6

@j-marjanovic

Description

@j-marjanovic

Hi,

when I try to use the mmcterm with Vadatech MCH UTC056 I get the following error:

$ mmcterm 10.2.21.173 0x7e -c 0
Traceback (most recent call last):
  File "/home/jan-marjanovic/miniconda3/envs/mmc-env/bin/mmcterm", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/jan-marjanovic/Atom/Software/mmcterm/mmcterm/mmcterm.py", line 536, in main
    if not conn.session_ctrl(args.channel, True, args.max_pkt_size):
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jan-marjanovic/Atom/Software/mmcterm/mmcterm/mmcterm.py", line 142, in session_ctrl
    status, _ = self.raw_cmd(
                ^^^^^^^^^^^^^
  File "/home/jan-marjanovic/Atom/Software/mmcterm/mmcterm/mmcterm.py", line 112, in raw_cmd
    raw_reply = self.conn.raw_command(0, 0x30, data)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jan-marjanovic/miniconda3/envs/mmc-env/lib/python3.12/site-packages/pyipmi/__init__.py", line 225, in raw_command
    return self.interface.send_and_receive_raw(self.target, lun, netfn,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jan-marjanovic/miniconda3/envs/mmc-env/lib/python3.12/site-packages/pyipmi/interfaces/rmcp.py", line 656, in send_and_receive_raw
    return self._send_and_receive(target=target,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jan-marjanovic/miniconda3/envs/mmc-env/lib/python3.12/site-packages/pyipmi/interfaces/rmcp.py", line 632, in _send_and_receive
    raise RetryError("Max retry while checking received"
pyipmi.errors.RetryError: Max retry while checking receiveddata against request header for rmcphost 10.2.21.173
Exception ignored in: <function IpmiConn.__del__ at 0x7f5ceeb46d40>
Traceback (most recent call last):
  File "/home/jan-marjanovic/Atom/Software/mmcterm/mmcterm/mmcterm.py", line 54, in __del__
    self.conn.session.close()
  File "/home/jan-marjanovic/miniconda3/envs/mmc-env/lib/python3.12/site-packages/pyipmi/session.py", line 122, in close
    self.interface.close_session()
  File "/home/jan-marjanovic/miniconda3/envs/mmc-env/lib/python3.12/site-packages/pyipmi/interfaces/rmcp.py", line 563, in close_session
    rsp = self.send_and_receive(req)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jan-marjanovic/miniconda3/envs/mmc-env/lib/python3.12/site-packages/pyipmi/interfaces/rmcp.py", line 670, in send_and_receive
    rx_data = self._send_and_receive(target=req.target,
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/jan-marjanovic/miniconda3/envs/mmc-env/lib/python3.12/site-packages/pyipmi/interfaces/rmcp.py", line 632, in _send_and_receive
    raise RetryError("Max retry while checking received"
pyipmi.errors.RetryError: Max retry while checking receiveddata against request header for rmcphost 10.2.21.173

it works fine (although extremely slow) if I use ipmitool option with the fix from #5 . Not surprisingly, IPMI tool also works with no issue:

$ ipmitool -H 10.2.21.173 -P "" -B 0 -b 7 -T 0x82 -t 0x7e raw 0x30 0xf0 0
 4d 4d 43 20 43 6f 6e 73 6f 6c 65
$ ipmitool -H 10.2.21.173 -P "" -B 0 -b 7 -T 0x82 -t 0x7e raw 0x30 0xf0 1
 52 46 53 6f 43

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions