Video Screencast Help

HP P212 Smart Array Controller

Created: 30 Nov 2011 • Updated: 30 Nov 2011 | 4 comments
user55's picture

Gents,

I setup SIM on HP DL360G5 server. I would like to connect an external DAS for archive events.

I installed HP Smart Array P212 controller into server. But it seems this controller is not supported.

As I can see, SIM uses old cciss driver. See http://cciss.sourceforge.net/

Only hpsa driver is supported this controller.

 

Is there a way to configure module/driver for HP P212 controller ?

Is there HCL ?

Any advice, how can I use the existing external sas jbod ? I would like to have hardware raid (raid5/raid50) for that.

Thanks

ps. No porblem with this controller in Windows 2008.

Comments 4 CommentsJump to latest comment

olaf's picture

The hpsa driver is for newer kernels.

The version of RHEL we are running is using kernel 2.6.9

Depending on which exact version of SSIM you are running:

http://www.symantec.com/business/support/index?page=content&id=TECH164514

 

So when you are ruuning 4.7 MP4 the kernel installed is 2.6.9-100 you should get the CCISS 2.6 source RPMs.

From the webpage http://cciss.sourceforge.net/ :

Use these for 2.6 kernel up to about 2.6.11. RHEL 4.x and SLES 9.x are examples of systems based upon such kernels. From kernels 2.6.11 to 2.6.15 is kind of a gray area during which some kernel interfaces the driver relies upon were in flux.

Latest version:

http://sourceforge.net/projects/cciss/files/cciss%202.6%20source%20rpms/cciss-2.6.20-16/
 

You have to install 2 additional packages from the SSIM DVD to build the driver.

Let us assume you have 4.7 MP4 installation and you have a SSIM 4.7.4 DVD.

Insert the DVD and mount it.

mkdir -p /mnt/cdrom

mount -o ro -t iso9660 /dev/cdrom /mnt/crom 

Depending on where your drive is mapped you will have to replace /dev/cdrom with the right device on your sysem/

Next change to the director with the RPMs on your DVD.

cd /mnt/cdrom/RedHat/RPMS/

Install the necessary packages to build thirdparty drivers:

rpm -ivh kerne-hugemem-devel-2.6.9-100.EL.i686.rpm (if SSIM is installed on VMware ESX you might have to install other kernel)

rpm -ivh cpp-3.4.6-10.i386.rpm

rpm -ivh gcc-3.4.6-10.i386.rpm

 

Transfer the file cpq-cciss-2.6.20-16.src.rpm to the SSIM. In my example I tranfered it to the home directory of the superuser root.

mkdir /usr/src/redhat

cd /root

rpm -ivh cpq-cciss-2.6.20-16.src.rpm

Then change to directory where source tar.gz file is located uand unpack it.

cd /usr/src/redhat/SOURCES

tar -xzvf cciss-2.6.20-16.tar.gz

Next build the driver:

./configure

make

make install

 

Afterwards you should be able to load the driver:

modprobe cciss

lsmod (to check if the driver got loaded)

 

I also checked HP webpage. Unfortunately they don't provide a binary package for the kernel which is running on SSIM 4.7 MP4. (2.6.9-100)

The binary package from HP only provides support for kernels up to version 2.6.9-89.

If you want a binary package for your controller from HP, I would recommend to contact HP support and see if they are able to provide you a binary package for the 2.6.9-100 kernel.

user55's picture

Hi Olaf,

Wow! Thank you for answer. Yes, I installed SSIM 4.7.4, kernel is 2.6.9-100. I did as you said, a new module was installed. I configured a new external storage. I see this drive in the mount list:

/dev/mapper/ssim_vol_raid50-raid50 on /eventarchive/raid50 type xfs (rw)
 

But during boot I see the following errors in dmesg output:

SCSI subsystem initialized
megasr: module license 'LSI Proprietary' taints kernel.
LSI MegaSR RAID5 version v14.00.1203.2010, built on Jun 10 2011 at 19:50:48
HP CISS Driver (v 2.6.20.RH3)
cciss: Device 0x3230 has been found at bus 6 dev 0 func 0
ACPI: PCI Interrupt 0000:06:00.0[A] -> GSI 16 (level, low) -> IRQ 169
MSI INIT SUCCESS
cciss: using DAC cycles
      blocks= 286677119 block_size= 512
      heads= 255, sectors= 32, cylinders= 35132

      blocks= 286677119 block_size= 512
      heads= 255, sectors= 32, cylinders= 35132

 cciss/c0d0: p1 p2 p3 p4 < p5 p6 p7 p8 p9 p10 p11 >
cciss: Device 0x323a has been found at bus 19 dev 0 func 0
ACPI: PCI Interrupt 0000:13:00.0[A] -> GSI 17 (level, low) -> IRQ 177
cciss: using DAC cycles
      blocks= 4294967295 block_size= 512
      blocks= 5272842845 block_size= 512
      heads= 255, sectors= 32, cylinders= 646182

      blocks= 5272842845 block_size= 512
      heads= 255, sectors= 32, cylinders= 646182

 cciss/c1d0:<4>cciss: cmd d0900000 has CHECK CONDITION sense key = 0x5
queue:0
sglist:1
sgtot:1
Tag:0x00000000/0x00000004
LUN:0x0000004000000000
CDBLen:16
Type:0
Attr:4
 Dir:2
Timeout:0
CDB: 88 00 00 00 00 01 3a 49 32 58 00 00 00 05 00 00
edesc.Addr: 0x00000000/0ce8d0000, Len  = 48
sgs..........Errorinfo:
scsistatus:2
senselen:18
cmd status:1
resid cnt:0
offense size:0
offense byte:0
offense value:0
end_request: I/O error, dev cciss/c1d0, sector 5272842840
Buffer I/O error on device cciss/c1d0, logical block 5272842840
Buffer I/O error on device cciss/c1d0, logical block 5272842841
Buffer I/O error on device cciss/c1d0, logical block 5272842842
Buffer I/O error on device cciss/c1d0, logical block 5272842843
Buffer I/O error on device cciss/c1d0, logical block 5272842844

cciss: cmd d0900000 has CHECK CONDITION sense key = 0x5
queue:0
sglist:1
sgtot:1
Tag:0x00000000/0x00000004
LUN:0x0000004000000000
CDBLen:16
Type:0
Attr:4
 Dir:2
Timeout:0
CDB: 88 00 00 00 00 01 3a 49 32 58 00 00 00 05 00 00
edesc.Addr: 0x00000000/0ce8d0000, Len  = 48
sgs..........Errorinfo:
scsistatus:2
senselen:18
cmd status:1
resid cnt:0
offense size:0
offense byte:0
offense value:0
end_request: I/O error, dev cciss/c1d0, sector 5272842840
Buffer I/O error on device cciss/c1d0, logical block 5272842840
Buffer I/O error on device cciss/c1d0, logical block 5272842841
Buffer I/O error on device cciss/c1d0, logical block 5272842842
Buffer I/O error on device cciss/c1d0, logical block 5272842843
Buffer I/O error on device cciss/c1d0, logical block 5272842844
Alternate GPT is invalid, using primary GPT.
 p1
libata version 2.00 loaded.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
 

Two HP controllers:

1. Smart Array P400i, 2 x 146Gb raid1

2. Smart Array P212, ext SAS IBM JBOD,12 x 300Gb SAS raid50

[root@xxx-sim1 /]# cat /etc/modprobe.conf
alias scsi_hostadapter megasr
alias scsi_hostadapter1 cciss
alias scsi_hostadapter2 ata_piix
alias eth0 bnx2
alias eth1 bnx2
 

[root@xxx-sim1 /]# fdisk /dev/cciss/c1d0

WARNING: GPT (GUID Partition Table) detected on '/dev/cciss/c1d0'! The util fdisk doesn't support GPT. Use GNU Parted.

The number of cylinders for this disk is set to 328219.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/cciss/c1d0: 2699.6 GB, 2699695536640 bytes
255 heads, 63 sectors/track, 328219 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

           Device Boot      Start         End      Blocks   Id  System
/dev/cciss/c1d0p1               1      267350  2147483647+  ee  EFI GPT

 

 

Any advice, what do these errors mean ? Is there a way to check raid50 ?

ps. This raid50 volume perfectly worked in Windows 2008 without any errors.

Thanks

olaf's picture

Sounds like a disk in your raid array has a problem.

Those mesages normally point to a hardware failure or firmware problem.

You might want to run a diagnostic utility to check the array.

http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&cc=us&prodTypeId=329290&prodSeriesId=3885791&prodNameId=3885792&swEnvOID=2078&swLang=8&mode=2&taskId=135&swItem=MTX-5f2c98786eab444e9c1ff709dd

I recommend to check with HP suuport what the best course of action is in this case.

user55's picture

I created two disks in the Raid controller: 8x300Gb raid50, 4x300Gb raid5. No any errors, disks work fine:

 

Dec  9 21:39:06 msk-hq-sim1 sesagentd[4901]: username: db2admin
Dec  9 21:42:28 msk-hq-sim1 kernel:       blocks= 3515228763 block_size= 512
Dec  9 21:42:28 msk-hq-sim1 kernel:       heads= 255, sectors= 32, cylinders= 430788
Dec  9 21:42:28 msk-hq-sim1 kernel:
Dec  9 21:42:28 msk-hq-sim1 kernel:  cciss/c1d0:
Dec  9 21:42:30 msk-hq-sim1 kernel:       blocks= 3515228763 block_size= 512
Dec  9 21:42:30 msk-hq-sim1 kernel:       heads= 255, sectors= 32, cylinders= 430788
Dec  9 21:42:30 msk-hq-sim1 kernel:
Dec  9 21:42:30 msk-hq-sim1 kernel:  cciss/c1d0:
Dec  9 21:43:08 msk-hq-sim1 kernel:       blocks= 3515228763 block_size= 512
Dec  9 21:43:08 msk-hq-sim1 kernel:       heads= 255, sectors= 32, cylinders= 430788
Dec  9 21:43:08 msk-hq-sim1 kernel:
Dec  9 21:43:08 msk-hq-sim1 kernel:  cciss/c1d0: p1
Dec  9 21:43:10 msk-hq-sim1 kernel:       blocks= 3515228763 block_size= 512
Dec  9 21:43:10 msk-hq-sim1 kernel:       heads= 255, sectors= 32, cylinders= 430788
Dec  9 21:43:10 msk-hq-sim1 kernel:
Dec  9 21:43:10 msk-hq-sim1 kernel:  cciss/c1d0: p1
Dec  9 21:43:24 msk-hq-sim1 kernel: XFS mounting filesystem dm-0
Dec  9 21:47:55 msk-hq-sim1 kernel:       blocks= 1757614683 block_size= 512
Dec  9 21:47:55 msk-hq-sim1 kernel:       heads= 255, sectors= 32, cylinders= 215394
Dec  9 21:47:55 msk-hq-sim1 kernel:
Dec  9 21:47:55 msk-hq-sim1 kernel:  cciss/c1d1: p1
Dec  9 21:47:58 msk-hq-sim1 kernel:       blocks= 1757614683 block_size= 512
Dec  9 21:47:58 msk-hq-sim1 kernel:       heads= 255, sectors= 32, cylinders= 215394
Dec  9 21:47:58 msk-hq-sim1 kernel:
Dec  9 21:47:58 msk-hq-sim1 kernel:  cciss/c1d1: p1
Dec  9 21:50:27 msk-hq-sim1 kernel:       blocks= 1757614683 block_size= 512
Dec  9 21:50:27 msk-hq-sim1 kernel:       heads= 255, sectors= 32, cylinders= 215394
Dec  9 21:50:27 msk-hq-sim1 kernel:
Dec  9 21:50:27 msk-hq-sim1 kernel:  cciss/c1d1: p1
Dec  9 21:50:29 msk-hq-sim1 kernel:       blocks= 1757614683 block_size= 512
Dec  9 21:50:29 msk-hq-sim1 kernel:       heads= 255, sectors= 32, cylinders= 215394
Dec  9 21:50:29 msk-hq-sim1 kernel:
Dec  9 21:50:29 msk-hq-sim1 kernel:  cciss/c1d1: p1
Dec  9 21:50:42 msk-hq-sim1 kernel: XFS mounting filesystem dm-1
 

 

Current DAS / SAN Configuration
 
The new Logical volume (raid5) has been created.
 
Disks in External Storage 2
Maximum Size of External Storage 2574630 MB
Size Currently in Use 2 MB
Size Currently Allocated 2574630 MB
 
 
Current Logical Volumes configured:
 
Mount Point /eventarchive/raid50
Disks /dev/cciss/c1d0
Total Size 1716420 MB
Size in Use 1 MB
Size Available 1716419 MB
 
Mount Point /eventarchive/raid5
Disks /dev/cciss/c1d1
Total Size 858210 MB
Size in Use 1 MB
Size Available 858209 MB