Comment 12 for bug 1156667

Revision history for this message
Samantha Jian-Pielak (samantha-jian) wrote :

Attached mei/dcmi modules and dcmitool (binary) are provided by Quanta. Use password 'quanta' for unzip.

Remove ipmi* modules, compile and load mei and dcmi:
1. Make sure all ipmi modules are not loaded. 'sudo modprobe -r'
2. Run 'sudo make install' to compile mei.
3. For dcmi, edit Makefile as in comment #7 then 'sudo make install'.
4. Run 'sudo depmod', 'sudo modprobe dcmi', 'sudo modprobe mei'.
*The version of mei and dcmi shown in modinfo is the same as those from comment #1.

Dcmitool:
5. Make the dcmitool file executable, 'sudo chmod 755 dcmitool'.
6. Running dcmitool gives 'error while loading shared libraries: libreadline.so.5'. Install libreadline5 'sudo apt-get install libreadline5'.
7. Running dcmitool again gives 'error while loading shared libraries: libcypto.so.6'. Install libssl-dev 'sudo apt-get install libssl-dev'.
8. Locate libcrypto.so and rename it to libcrypto.so.6
rorke@ocpr0s11l:/$ sudo find | grep libcrypto.so
./usr/lib/x86_64-linux-gnu/libcrypto.so
./lib/x86_64-linux-gnu/libcrypto.so.1.0.0
rorke@ocpr0s11l:/$ ls -al /usr/lib/x86_64-linux-gnu/ |grep libcrypto
-rw-r--r-- 1 root root 4050576 Mar 19 14:25 libcrypto.a
lrwxrwxrwx 1 root root 40 Mar 19 14:25 libcrypto.so -> /lib/x86_64-linux-gnu/libcrypto.so.1.0.0
rorke@ocpr0s11l:/$
rorke@ocpr0s11l:/$ sudo mv /usr/lib/x86_64-linux-gnu/libcrypto.so /usr/lib/x86_64-linux-gnu/libcrypto.so.6

9. Run dcmitool
rorke@ocpr0s11l:~/dcmi-mei-from-quanta$ ./dcmitool -V
dcmitool version 2.00.05.000
rorke@ocpr0s11l:~/dcmi-mei-from-quanta$ ./dcmitool power status -vvvvv
IDC-HI rsSa : 20
IDC-HI netFn : 0
IDC-HI cmdType : 1
IDC-HI dataLength : 0
Cannot open dcmi driver
Error sending IDC-HI request, status=1 ccode=d7
Cannot open dcmi driver
Error sending IDC-HI request, status=1 ccode=d7
Cannot open dcmi driver
Error sending IDC-HI request, status=1 ccode=d7
Get Chassis Power Status failed: Cannot open driver
rorke@ocpr0s11l:~/dcmi-mei-from-quanta$