For a month or so I’ve been trying to get mpt-status 1.0 compiled on my new IBM x335 running Debian/Linux 2.6.10.
After finally finishing some other work tonight I start down and looked at it hard. Finally figuring out that it was missing the define macro for
__user. So I added
#include <linux/compiler.h>, and voilà!
$ sudo ./mpt-status
ioc0 vol 0 type IM, 2 phy, 136 GB, flags ENABLED, state OPTIMAL
ioc0 phy 0 IBM-ESXS ST3146807LC FN B25H, 136 GB, state ONLINE
ioc0 phy 1 IBM-ESXS ST3146807LC FN B25H, 136 GB, state ONLINE
Update: Well supported version of mpt-status now avaliable from ratz.