Projects / mpt-status / Comments

Comments for mpt-status

30 May 2012 15:20 mhelix

Third time's a charm!!!

http://pastebin.com/KiMAN33U

30 May 2012 15:13 mhelix

For those with CentOS 5.8, here's how I did it (Find your own mirror for the mpt-status tar.gz file):

http://pastebin.com/tU9PA6ZK

30 May 2012 15:10 mhelix

For those with CentOS, here's how I did it (Find your own mirror for the mpt-status tar.gz file):

yum install rpm-build redhat-rpm-config unifdef -y
cd ~
rm -rf ~/rpmbuild
mkdir -p rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
ll rpmbuild/
echo '%_topdir %(echo $HOME)/rpmbuild' > .rpmmacros
wget ftp://ftp.pbone.net/mirror/ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/kernel-2.6.18-308.1.1.el5.src.rpm
rpm -i kernel-`uname -r`.src.rpm
cd ~/rpmbuild/SPECS
rpmbuild -bp --target=`uname -m` kernel.spec 2> prep-err.log | tee prep-out.log
cd /usr/src
wget FIND-YOUR-OWN-MIRROR-SORRY/mpt-status-1.2.0.tar.gz
tar zxvf mpt-status-1.2.0.tar.gz
cd /usr/src/mpt-status-1.2.0
vi mpt-status.h
### REMOVE THE LINE #include <linux/compiler.h> and save
make KERNEL_PATH=~/rpmbuild/BUILD/kernel-2.6.18/linux-2.6.18-308.1.1.el5.x86_64/
make install
modprobe mptctl
mpt-status

23 Apr 2010 20:37 wsanders

How to make for x4100 on CentOS 5.4:


- Obtain mpt-status from http://freshmeat.net/projects/mptstatus/

- Obtain the X4100 resource CD from Sun. You may have to pay for this. Hopefully you got one with your box. I have an ISO file called X4100_X4200_ResourceCD_4.

- Install the mpt driver from the RPMs on the CD: mptlinux-4.00.05.00-1-rhel5.x86_64.rpm

- Activate the mptctl driver (your distro should have come with mptbase and mpt sas): "/etc/rc3.d/S99fusion.mptctl start". Set up an rc3.d link to start this driver on boot!

- You should see mptctl, mptsas, mptscsih (maybe), and mptbase in the output of lsmod at this point. If not, keep hunting for drivers.

- Also on the Sun CDROM is mptlinux-4.00.05.00-src.tar.gz. Crate the directory and extract this source into /tmp/mptlinux-4.00.05.00-src.

- Extract the mpt-status source into /tmp/mpt-status-1.2.0.

- Edit the Makefile with:

KERNEL_PATH := /usr/src/kernels/2.6.18-164.15.1.el5-x86_64/include
CFLAGS := -Iincl -Wall -W -O2 \
-I${KERNEL_PATH} \
-I/tmp/mptlinux-4.00.05.00-src/message/fusion

23 Apr 2010 16:50 wsanders

Running CentOS. Seems to require src to the lsi driver. Any ideas where to get it?

mpt-status.h:19:26: error: lsi/mpi_type.h: No such file or directory
mpt-status.h:20:21: error: lsi/mpi.h: No such file or directory

Also, Centos 5.4 has mptbase but not mptctl.

06 Feb 2010 05:30 criggie

Great app - can it support SATA / SAS drives?

Screenshot

Project Spotlight

ReciJournal

An open, cross-platform journaling program.

Screenshot

Project Spotlight

Veusz

A scientific plotting package.