Comment 14 for bug 1425116

Revision history for this message
Albert Syriy (asyriy) wrote : Re: [Bug 1425116] Re: update hpsa module

Hello,

Actually the newer driver version 3.4.8 has been merged.
To check how the driver works you need server with the RAID. (It has been
checked on HP DL 360 Gen 9 using a customer server).

To check just a driver version you should deploy Fuel, but not installed
Ubuntu or CentOS.
Than login to the node in bootstrap mode and check the driver by the command

modinfo <path_to_driver>/hpsa.ko

You should see the driver version and kernel version for which it was
compiled.

The alternative way is unpack initramfs and type the command modinfo hpsa.ko

To extract initramfs you should
1. Mount ISO
sudo mkdir /mnt/iso
sudo mount -o loop -t iso9660 -r <fuel-name>.iso /mnt/iso
2. Copy initramfs to /tmp/initramfs
sudo mkdir /tmp/initramfs
cp /mnt/iso/bootstrap/initramfs.img /tmp/initramfs/
3. Unpack the initramfs
cd /tmp/initramfs
mv initramfs.img initramfs.img.gz
gunzip initramfs.img.gz
mkdir initramfs-new
cd initramfs-new/
cpio -i < ../initramfs.img
3. You will have unpacked image initramfs in the initramfs-new directory.
Check driver version by the command
modinfo lib/modules/3.10.55-1.mira4.x86_64/kernel/drivers/scsi/hpsa.ko

You will get something like
filename:
/tmp/initramfs/initramfs-new/lib/modules/3.10.55-1.mira4.x86_64/kernel/drivers/scsi/hpsa.ko
license: GPL
version: 3.4.8-140
description: Driver for HP Smart Array Controller version 3.4.8-140
(d16/s100)
author: Hewlett-Packard Company
srcversion: 4FDFEB1A6E7951CA6386DB9
...
intree: Y
vermagic: 3.10.55-1.mira4.x86_64 SMP mod_unload modversions
parm: hpsa_allow_any:Allow hpsa driver to access unknown HP Smart
Array hardware (int)
parm: hpsa_simple_mode:Use 'simple mode' rather than 'performant
mode' (int)
parm: reply_queues:Specify desired number of reply queues. 1-16,
default is 4, not to exceed number of online CPUs. (int)

4. Don't forget unmount the iso and clean-up the folders, files.

With Best Regards,
Albert

Albert Syriy,

Software Engineer,
Mirantis

On Fri, May 15, 2015 at 12:07 PM, Kyrylo Romanenko <email address hidden>
wrote:

> On CentOS:
> # modinfo hpsa
> filename:
> /lib/modules/2.6.32-504.1.3.el6.x86_64/kernel/drivers/scsi/hpsa.ko
> license: GPL
> version: 3.4.4-1-RH2
>
> and how to check it in bootstrap?
>
> VERSION:
> feature_groups:
> - mirantis
> production: "docker"
> release: "6.1"
> openstack_version: "2014.2.2-6.1"
> api: "1.0"
> build_number: "395"
> build_id: "2015-05-08_11-08-49"
> nailgun_sha: "46f55c293e4540d31bcaa6ca3fba77235fb27537"
> python-fuelclient_sha: "af6c9c3799b9ec107bcdc6dbf035cafc034526ce"
> astute_sha: "6a4dcd11c67af2917815f3678fb594c7412a4c97"
> fuel-library_sha: "f385d6a58298c702f8d4f14c452dcffdc0b1e2a3"
> fuel-ostf_sha: "740ded337bb2a8a9b3d505026652512257375c01"
> fuelmain_sha: "3eca5e8f7ca6a83faff5feeca92c21cff31c0af1"
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1425116
>
> Title:
> update hpsa module
>
> Status in Mirantis OpenStack:
> Fix Committed
> Status in Mirantis OpenStack 5.1.x series:
> In Progress
> Status in Mirantis OpenStack 6.0-updates series:
> Fix Committed
> Status in Mirantis OpenStack 6.0.x series:
> Fix Committed
>
> Bug description:
> hpsa module in bootstrap and CentOS should be updated to newest version
> (3.4.x at least).
> The current one doesn't support modern controllers (HP Smart Array
> P244br).
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mos/+bug/1425116/+subscriptions
>