ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

Help Installing Linux Driver for Smart Array B110i Controller

Phylum
Occasional Contributor

Help Installing Linux Driver for Smart Array B110i Controller

I've got an HP ML150 G6 with a B110i SATA controller running CentOS 6.5.

 

I'm unable to use the four drives connected to the black SATA ports, presumably because some sort of driver is required. I previously had Windows installed and after installing the appropriate drivers, Windows saw all 4 drives (or 2 RAID0 drives when configured that way) so I know the drives & ports are working.

 

I tried setting the controller mode from compatible to ahci to raid with no change.

 

 

I found what I believe to be the correct Linux divers here, and it includes instructions on how to install the driver here.

 

INSTALLATION

Login as the system administrator (root), download the RPM to a directory on your hard drive and change to that directory. 

To install or upgrade the driver type:

      # rpm -Uvh kmod-hpahcisr-<version>.<OSupdate>.x86_64.rpm

Setup is now complete. REBOOT your computer NOW!!

NOTE: If the installation fails or if you see any warning or error messages, STOP, do NOT reboot the computer. The driver will not be operational and you must uninstall the driver by typing the following command:

      # rpm -e kmod-hpahcisr-<version>.<OSupdate>.x86_64.rpm

NOTE: Since the hpahcisr does not ship with the Operating System, the removal of the hpahcisr rpm will leave your system without an hpahcisr driver to handle disk storage.  It is important that you reinstall the previous working hpahcisr rpm before you reboot or your system will fail.

 

 I ran the commands, as root of course, but it bombs out immediately:

 [root@~/hp-storage]# rpm -Uvh kmod-hpahcisr-1.2.6-17.rhel6u5.x86_64.rpm
Preparing...                ########################################### [100%]
     #######################################################
     # Hpahcisr is currently not controlling any storage.  #
     # Loading this driver could displace the current      #
     # storage driver causing filesystem corruption.       #
     # Exiting!                                            #
     #######################################################
error: %pre(kmod-hpahcisr-1.2.6-17.rhel6u5.x86_64) scriptlet failed, exit status 1
error:   install: %pre scriptlet failed (2), skipping kmod-hpahcisr-1.2.6-17.rhel6u5

[root@~/hp-storage]# rpm -e kmod-hpahcisr-1.2.6-17.rhel6u5.x86_64.rpm error: package kmod-hpahcisr-1.2.6-17.rhel6u5.x86_64.rpm is not installed

 

Am I doing something wrong?  Is this the wrong driver?  Is there a prerequisite?

 

 

 

Some other stats

[root@~/hp-storage]# lspci -m
00:00.0 "Host bridge" "Intel Corporation" "5500 I/O Hub to ESI Port" -r22 "Hewlett-Packard Company" "ProLiant ML150 G6 Server"
00:01.0 "PCI bridge" "Intel Corporation" "5520/5500/X58 I/O Hub PCI Express Root Port 1" -r22 "" ""
00:03.0 "PCI bridge" "Intel Corporation" "5520/5500/X58 I/O Hub PCI Express Root Port 3" -r22 "" ""
00:07.0 "PCI bridge" "Intel Corporation" "5520/5500/X58 I/O Hub PCI Express Root Port 7" -r22 "" ""
00:14.0 "PIC" "Intel Corporation" "7500/5520/5500/X58 I/O Hub System Management Registers" -r22 "Unknown vendor 003c" "Device 000b"
00:14.1 "PIC" "Intel Corporation" "7500/5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers" -r22 "Unknown vendor 003c" "Device 000b"
00:14.2 "PIC" "Intel Corporation" "7500/5520/5500/X58 I/O Hub Control Status and RAS Registers" -r22 "Unknown vendor 003c" "Device 000b"
00:1a.0 "USB controller" "Intel Corporation" "82801JI (ICH10 Family) USB UHCI Controller #4" "Hewlett-Packard Company" "Device 330d"
00:1a.1 "USB controller" "Intel Corporation" "82801JI (ICH10 Family) USB UHCI Controller #5" "Hewlett-Packard Company" "Device 330d"
00:1a.2 "USB controller" "Intel Corporation" "82801JI (ICH10 Family) USB UHCI Controller #6" "Hewlett-Packard Company" "Device 330d"
00:1a.7 "USB controller" "Intel Corporation" "82801JI (ICH10 Family) USB2 EHCI Controller #2" -p20 "Hewlett-Packard Company" "Device 330d"
00:1c.0 "PCI bridge" "Intel Corporation" "82801JI (ICH10 Family) PCI Express Root Port 1" "" ""
00:1c.4 "PCI bridge" "Intel Corporation" "82801JI (ICH10 Family) PCI Express Root Port 5" "" ""
00:1c.5 "PCI bridge" "Intel Corporation" "82801JI (ICH10 Family) PCI Express Root Port 6" "" ""
00:1d.0 "USB controller" "Intel Corporation" "82801JI (ICH10 Family) USB UHCI Controller #1" "Hewlett-Packard Company" "Device 330d"
00:1d.1 "USB controller" "Intel Corporation" "82801JI (ICH10 Family) USB UHCI Controller #2" "Hewlett-Packard Company" "Device 330d"
00:1d.2 "USB controller" "Intel Corporation" "82801JI (ICH10 Family) USB UHCI Controller #3" "Hewlett-Packard Company" "Device 330d"
00:1d.7 "USB controller" "Intel Corporation" "82801JI (ICH10 Family) USB2 EHCI Controller #1" -p20 "Hewlett-Packard Company" "Device 330d"
00:1e.0 "PCI bridge" "Intel Corporation" "82801 PCI Bridge" -r90 -p01 "" ""
00:1f.0 "ISA bridge" "Intel Corporation" "82801JIR (ICH10R) LPC Interface Controller" "Hewlett-Packard Company" "Device 330d"
00:1f.2 "RAID bus controller" "Intel Corporation" "82801JIR (ICH10R) SATA RAID Controller" "Hewlett-Packard Company" "Device 3118"
00:1f.5 "IDE interface" "Intel Corporation" "82801JI (ICH10 Family) 2 port SATA IDE Controller #2" -p85 "Hewlett-Packard Company" "Device 330d"
01:04.0 "Ethernet controller" "Linksys" "Gigabit Network Adapter" -r10 "Linksys" "EG1032 v3 Instant Gigabit Network Adapter"
03:00.0 "VGA compatible controller" "Matrox Electronics Systems Ltd." "MGA G200e [Pilot] ServerEngines (SEP1)" -r02 "Hewlett-Packard Company" "ProLiant DL140 G3"
04:00.0 "Ethernet controller" "Broadcom Corporation" "NetXtreme BCM5723 Gigabit Ethernet PCIe" -r10 "Hewlett-Packard Company" "NC107i Integrated PCI Express Gigabit Server Adapter"

[root@~/hp-storage]# lspci -vv | less
/** trimmed **/
00:1f.2 RAID bus controller: Intel Corporation 82801JIR (ICH10R) SATA RAID Controller
        Subsystem: Hewlett-Packard Company Device 3118
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin B routed to IRQ 52
        Region 0: I/O ports at dc00 [size=8]
        Region 1: I/O ports at d880 [size=4]
        Region 2: I/O ports at d800 [size=8]
        Region 3: I/O ports at d480 [size=4]
        Region 4: I/O ports at d400 [size=32]
        Region 5: Memory at faefe000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [80] MSI: Enable+ Count=1/16 Maskable- 64bit-
                Address: fee00378  Data&colon; 0000
        Capabilities: [70] Power Management version 3
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [a8] SATA HBA v1.0 BAR4 Offset=00000004
        Capabilities: [b0] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
                AFStatus: TP-
        Kernel driver in use: ahci
        Kernel modules: ahci

00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller #2 (prog-if 85 [Master SecO PriO])
        Subsystem: Hewlett-Packard Company Device 330d
        Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin B routed to IRQ 19
        Region 0: I/O ports at d080 [size=8]
        Region 1: I/O ports at d000 [size=4]
        Region 2: I/O ports at cc00 [size=8]
        Region 3: I/O ports at c880 [size=4]
        Region 4: I/O ports at c800 [size=16]
        Region 5: I/O ports at c480 [size=16]
        Capabilities: [70] Power Management version 3
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [b0] PCI Advanced Features
                AFCap: TP+ FLR+
                AFCtrl: FLR-
                AFStatus: TP-
        Kernel driver in use: ata_piix
        Kernel modules: ata_generic, pata_acpi, ata_piix
/** trimmed **/

 

The drives show up in `fdisk -l`

Disk /dev/sdc: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ca150

   Device Boot      Start         End      Blocks   Id  System

Disk /dev/sdd: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ca150

   Device Boot      Start         End      Blocks   Id  System

Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ca150

   Device Boot      Start         End      Blocks   Id  System

Disk /dev/sde: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa613a613

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1               1           1         992+  42  SFS
Partition 1 does not end on cylinder boundary.
/dev/sde2               1       15628   125527040   42  SFS
/dev/sde3           15628       30402   118669496   42  SFS

Disk /dev/sdb: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ca150

   Device Boot      Start         End      Blocks   Id  System

Disk /dev/sdf: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0004b274

   Device Boot      Start         End      Blocks   Id  System
/dev/sdf1   *           1          64      512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sdf2              64       30402   243685376   8e  Linux LVM

 Note: sdf and sde are on the 2 'blue' SATA ports.  OS is on sdf, sde was installed later and is currently blank but usable.

 

 

When I try to `pvcreate /dev/sd[a-d]`:

[root@~/hp-storage]# pvcreate /dev/sda
  Can't open /dev/sda exclusively.  Mounted filesystem?
[root@~/hp-storage]# pvcreate /dev/sdb
  Can't open /dev/sdb exclusively.  Mounted filesystem?
[root@~/hp-storage]# pvcreate /dev/sdc
  Can't open /dev/sdc exclusively.  Mounted filesystem?
[root@~/hp-storage]# pvcreate /dev/sdd
  Can't open /dev/sdd exclusively.  Mounted filesystem?

 

 I can't figure out if this is a driver issue, or an issue with the way the box is configured.