Articles in the ‘Hardware’ Category

SCSI Dell R200 SAS6i errors on CENTOS with cPanel

Thursday, June 16th, 2011

If your DELL R200 server behaves like crazy and you have the following error messages:

kernel: sd 0:1:0:0: mptscsih: ioc0: completing cmds: fw_channel 0, fw_id 0, sc=ffff810064654680, mf = ffff81012e507b00, idx=a6
kernel: sd 0:1:0:0: mptscsih: ioc0: completing cmds: fw_channel 0, fw_id 0, sc=ffff810093433500, mf = ffff81012e508000, idx=b0
kernel: sd 0:1:0:0: mptscsih: ioc0: completing cmds: fw_channel 0, fw_id 0, sc=ffff81010b79b6c0, mf = ffff81012e508600, idx=bc
kernel: sd 0:1:0:0: mptscsih: ioc0: completing cmds: fw_channel 0, fw_id 0, sc=ffff810077cf2500, mf = ffff81012e508680, idx=bd

or

kernel: command: Write(10): 2a 00 0f 33 be 55 00 00 08 00
kernel: mptscsih: ioc0: Issue of TaskMgmt failed!
kernel: mptscsih: ioc0: task abort: FAILED (sc=ffff81000d056840)
kernel: mptscsih: ioc0: attempting task abort! (sc=ffff810115d99e40)
kernel: sd 0:1:0:0:
kernel: command: Write(10): 2a 00 0f 33 be 65 00 00 08 00
kernel: mptscsih: ioc0: Issue of TaskMgmt failed!
kernel: mptscsih: ioc0: task abort: FAILED (sc=ffff810115d99e40)
kernel: mptscsih: ioc0: attempting task abort! (sc=ffff81012eab9840)
kernel: sd 0:1:0:0:

than …it’s complicated!

Most likely you have an outdated SAS 6iR Driver that is not compatible with the latest CENTOS kernel. You need to update the SAS 6iR driver.

To do this, you first need to use the ELRepo repository.

rpm –import http://elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://elrepo.org/elrepo-release-5-2.el5.elrepo.noarch.rpm

Than go to /etc/yum.repos.d/ and put enabled=1 to all elrepo drivers.

Please check, as follows, for a base-line reference:

find /lib/modules -name mpt\*.ko | grep -E ‘extra|weak’
ls -l /etc/depmod.d/*.conf /etc/rc.d/init.d/mpt*

Both should have null returns.

yum install kmod-mptfusion

and then repeat the above two commands.

find /lib/modules -name mpt\*.ko | grep -E ‘extra|weak’
ls -l /etc/depmod.d/*.conf /etc/rc.d/init.d/mpt*

then run

chkconfig –list mptfusion_ctl

It should be “on” for runlevels 2, 3, 4 & 5.

Reboot and check the driver version. It should be 4.x.x

[~]# modinfo mptsas
filename: /lib/modules/2.6.18-238.12.1.el5/weak-updates/mptfusion/mptsas.ko
version: 4.00.38.02
license: GPL
description: Fusion MPT SAS Host driver

Credits: http://elrepo.org/bugs/view.php?id=48

How to read an SDHC card on DELL XPS Latop?

Sunday, September 20th, 2009

You have purchased a shiny new SDHC card and your DELL XPS M1330 Laptop is not reading it? Older DELL XPS laptops don not read properly the new format SDHC. You need to update the MediaDirect from DELL. Follow the next link and install it.