ipmi(4) stopped working on my Supermicro-based machine after
upgrading to 5.9. dmesg said:

ipmi0 at mainbus0: version 2.0 interface KCS iobase 0xca2/2 spacing 1
ipmi0: get header fails
ipmi0: no SDRs IPMI disabled

The patch below fixed the problem for me. Perhaps this line was 
removed (in rev 1.87) by mistake.

Thank you,
Colin


diff -u -p -u -p -r1.95 ipmi.c
--- dev//ipmi.c 11 Feb 2016 04:02:22 -0000      1.95
+++ dev//ipmi.c 26 Jun 2016 23:24:13 -0000
@@ -1094,6 +1094,7 @@ get_sdr_partial(struct ipmi_softc *sc, u
        c.c_cmd = STORAGE_GET_SDR;
        c.c_txlen = IPMI_SET_WDOG_MAX;
        c.c_rxlen = 0;
+       c.c_maxrxlen = 8 + length;
        c.c_data = cmd;
        ipmi_cmd(&c);
        len = c.c_rxlen;


Reply via email to