Jump to content
Welcome to our new Citrix community!
  • 0

XenServer 6.0.2 update HP smart array driver


Jason Martina1709152868

Question

22 answers to this question

Recommended Posts

  • 0

Hi Jesse

 

I've got the same problem with a HL DL360 G5 with a P400i RAID Controller (v7.24) Server running XenServer 6.0.2 with all hotfixes up to E006.

I'm trying to install the HP Array Drivers 3.2.0-3 from http://support.citrix.com/article/CTX136435

 

Prior to installing, a "modinfo hpsa" reported the version as 3.0.0-2

After a "successful" installation and reboot, modinfo still reports the drivers as 3.0.0-2

Uploading a Server Status Report to taas reports that the HP Array drivers need upgrading.

 

If there anyway of getting a debug/verbose report of the driver installation to see why the drivers are not being upgraded?

 

Also, where in the CTX article does it state the version of the firmware required?

 

Regards

 

Ken Z

Link to comment
  • 0

Erik

 

did you do anything different? I just coped the hpsa.iso to the /tmp directory on XenServer, mounted it with the -o loop,ro arguments, and ran the ./install.sh

I also tried installing hotfix XS602E0021, then the HP Array Driver disk on top of that. Same problem.

 

The problem must either be something to do with the G5 or the P400i :-(

 

Regards

 

Ken Z

Link to comment
  • 0

If you check the Hardware Compatibility List, P400i controllers are supported for XS6.0.2.  The list can be found here:

 

http://hcl.xensource.com/

 

 

Also I find it kind of strange the old driver is still showing even though there were no error messages during the install.  Maybe there was a message and it was missed?  I'd say try installing one more time, and pay close attention to the messages you're getting. 

 

 

It should be noted, the drivers you linked to are to be installed with HF #21.  Amongst the files included in  XS602E021 is a new kernel.  You should install XS602E021 if you're going to use those drivers

Link to comment
  • 0

The driver needs to match the hotfix level. It is critical to read any hotfix KB before applying hotfix. The hotfix will often reference another KB, that has list of updated drivers. So if you install a driver, such as the HP Smart Array "hpsa" driver, it will automatically put the .ko file in the correct kernel sub directory. That is standard Linux. If needed, you can always reboot XenServer to previous kernel if a hotfix caused issue (for whatever reason).

 

What I will do to find correct driver is put driver name (hpsa) into search section on support.citrix.com, filter for XenServer, then version. You will see a list of hpsa drivers for your XenServer version. Please choose the correct one for the highest installed hotfix. So if you see version of hpsa for hotfix 5, 13, 17, 35 (just making this up for illustrative purposes), and you do have hotfix 17 applied, but not 35, you will want the driver for hotfix 17 (even if you have 5 and 13). I hope this helps.

  • Like 2
Link to comment
  • 0

Hi Guys

 

thanks for all the feedback.

 

Citrix have released four versions of the HP Smart Array drivers for XenServer 6.0.2;

 

6.0.2 with hotfix 28;  http://support.citrix.com/article/CTX138920

6.0.2 with hotfix 21;  http://support.citrix.com/article/CTX136616

6.0.2 with hotfix 13;  http://support.citrix.com/article/CTX136436

6.0.2 prior to hotfix 13; http://support.citrix.com/article/CTX136435

 

As I'm only running hotfix 6, I used the last one. Reading the Citrix article, the required kernel is 2.6.32.12-0.7.1.xs6.0.2.542.170665

 

typing cat /proc/version in Dom0 returns

2.6.32.12-0.7.1.xs6.0.2.552.170672

 

just the last two numbers 552.170672 are different. I can't say if this is relevent, so I've installed hotfix 13, which is the next hotfix that a specific version of the HP Smart Array drivers have been released for. After this, the version of the kernel was

2.6.32.12-0.7.1.xs6.0.2.581.170689xen

 

checking the hpsa.iso file from CTX136436, this reported

2.6.32.12-0.7.1.xs6.0.2.581.170689

 

which is identical. I installed it and rebooted the server. The output if the installation was

 

Warning: 'HP hpsa Linux Driver' is already installed, do you want to continue? (Y/N) y
Installing 'HP hpsa Linux Driver'...

Preparing...                ########################################### [100%]
   1:hpsa-modules-xen-2.6.32########################################### [ 50%]
   2:hpsa-modules-kdump-2.6.########################################### [100%]
Memory required by all installed packages: 412090368
Current target 412090368 greater, skipping
Pack installation successful.

 

After the reboot, logging onto the Server and running modinfo hpsa returned the correct version

 

version:        3.2.0-3

 

It looks like CTX136435 will NOT install if you have any 6.0.2 hotfixes installed :-(

Link to comment
  • 0

Hi Guys

 

thanks for all the feedback.

 

Citrix have released four versions of the HP Smart Array drivers for XenServer 6.0.2;

 

6.0.2 with hotfix 28;  See Citrix knowledgebase article CTX138920

6.0.2 with hotfix 21;  See Citrix knowledgebase article CTX136616

6.0.2 with hotfix 13;  http://support.citrix.com/article/CTX136436

6.0.2 prior to hotfix 13; http://support.citrix.com/article/CTX136435

 

As I'm only running hotfix 6, I used the last one. Reading the Citrix article, the required kernel is 2.6.32.12-0.7.1.xs6.0.2.542.170665

 

typing cat /proc/version in Dom0 returns

2.6.32.12-0.7.1.xs6.0.2.552.170672

 

just the last two numbers 552.170672 are different. I can't say if this is relevent, so I've installed hotfix 13, which is the next hotfix that a specific version of the HP Smart Array drivers have been released for. After this, the version of the kernel was

2.6.32.12-0.7.1.xs6.0.2.581.170689xen

 

checking the hpsa.iso file from CTX136436, this reported

2.6.32.12-0.7.1.xs6.0.2.581.170689

 

which is identical. I installed it and rebooted the server. The output if the installation was

 

Warning: 'HP hpsa Linux Driver' is already installed, do you want to continue? (Y/N) y
Installing 'HP hpsa Linux Driver'...

Preparing...                ########################################### [100%]
   1:hpsa-modules-xen-2.6.32########################################### [ 50%]
   2:hpsa-modules-kdump-2.6.########################################### [100%]
Memory required by all installed packages: 412090368
Current target 412090368 greater, skipping
Pack installation successful.

 

After the reboot, logging onto the Server and running modinfo hpsa returned the correct version

 

version:        3.2.0-3

 

It looks like CTX136435 will NOT install if you have any 6.0.2 hotfixes installed (or hotfixes 1-6 installed anyway) :-(

 

Regards

 

Ken Z

Link to comment
  • 0

Update...

 

decided to test with hotifx 21 and 28...

 

Installed hotfix 21, then installed CTX136616; This installed the correct driver

installed hotfix 28, then installed CTX138920; This installed the correct driver

 

Regards

 

Ken Z

  • Like 1
Link to comment
  • 0

Hi Ken,

 

Hope your well.

 

I am seeing the same issue applying to 6.1 hotfix 41

 

I suspect that the patches just install to specific kernel instances as the rpm includes the kernel version

hpsa-modules-xen-2.6.32.43-0.4.1.xs1.6.10.784.170772-3.2.0-3.i386.rpm

 

 

My current kernel is

 

#uname -r

 

2.6.32.43-0.4.1.xs1.6.10.796.170785xen

 

 

There is a bunch of kernel installs with the hpsa.ko driver

 

# find -name hpsa.ko

./2.6.32.43-0.4.1.xs1.6.10.784.170772xen/extra/hpsa.ko
./2.6.32.43-0.4.1.xs1.6.10.784.170772xen/kernel/drivers/scsi/hpsa/hpsa.ko
./2.6.32.43-0.4.1.xs1.6.10.777.170770kdump/kernel/drivers/scsi/hpsa/hpsa.ko
./2.6.32.43-0.4.1.xs1.6.10.734.170748xen/kernel/drivers/scsi/hpsa/hpsa.ko
./2.6.32.43-0.4.1.xs1.6.10.784.170772kdump/extra/hpsa.ko
./2.6.32.43-0.4.1.xs1.6.10.784.170772kdump/kernel/drivers/scsi/hpsa/hpsa.ko
./2.6.32.43-0.4.1.xs1.6.10.796.170785xen/kernel/drivers/scsi/hpsa/hpsa.ko
./2.6.32.43-0.4.1.xs1.6.10.796.170785kdump/kernel/drivers/scsi/hpsa/hpsa.ko
./2.6.32.43-0.4.1.xs1.6.10.741.170752xen/kernel/drivers/scsi/hpsa/hpsa.ko
./2.6.32.43-0.4.1.xs1.6.10.741.170752kdump/kernel/drivers/scsi/hpsa/hpsa.ko
./2.6.32.43-0.4.1.xs1.6.10.734.170748kdump/kernel/drivers/scsi/hpsa/hpsa.ko
./2.6.32.43-0.4.1.xs1.6.10.777.170770xen/kernel/drivers/scsi/hpsa/hpsa.ko
 

 

Current running driver

 

# modinfo hpsa

filename:       /lib/modules/2.6.32.43-0.4.1.xs1.6.10.796.170785xen/kernel/drivers/scsi/hpsa/hpsa.ko
license:        GPL
version:        3.0.0-6
description:    Driver for HP Smart Array Controller version 3.0.0-6 (d733/s488)
author:         Hewlett-Packard Company
srcversion:     0EBE89CFC1B264960AB871A

 

 

 

Driver for the 170772 kernel

# modinfo -k 2.6.32.43-0.4.1.xs1.6.10.784.170772xen hpsa

filename:       /lib/modules/2.6.32.43-0.4.1.xs1.6.10.784.170772xen/extra/hpsa.ko
license:        GPL
version:        3.2.0-3
description:    Driver for HP Smart Array Controller version 3.2.0-3 (d829/s664)
author:         Hewlett-Packard Company
srcversion:     350B3C64B398A56712A8883
alias:          pci:v00000E11d*sv*sd*bc01sc04i*
alias:          pci:v0000103Cd*sv*sd*bc01sc04i*
 

 

 

So I guess the upshot on this one is that you either

1) Wait till Citrix bother to release a driver for the right kernel version (could be a long time)

2) Copy the driver from the 107772 kernel branch to the live one and hope it does not break (risky)

3) Compile the driver if you can find the source and have the dev files installed (tricky)

4) Ignore Taas errors for this driver and hope the fault does not occur (not seen it myself yet)

 

 

Cheers

 

Robin

Link to comment
  • 0

E39 Update says 

 

"Hotfix XS61E039 updated the XenServer dom0 kernel version to 2.6.32.43-0.4.1.xs1.6.10.796.170785.i686.rpm."

 

http://support.citrix.com/article/CTX140773

 

but the driver it links to on that page is for kernel 734.170748 so does not work.

 

 

 

There is currently no update drivers for XS61E041, will just have to keep checking for them..

 

 

 

Cheers

 

 

Rob

 

 

Link to comment
  • 0

Hi Rob,

 

my experience is that you need to install the drivers at the same time as installing the same hotfix. If you install any hotfixes past that point, the driver may not install. Additionally, you can't uninstall the hotfixes :-(

 

Realistic options are

 

1. Rebuild the XenServers and apply the drivers at the correct hotfix installation point

2. Live without the driver update and keep fingers crossed

3. Wait for the next hotfix / driver pair

4. Upgrade to 6.2 SP1

 

Your options 2 and 3 are not supported options -  :wacko: - so very risky!

 

Regards

 

Ken Z

Link to comment
  • 0

It is best to use the manual process in XenCenter, which allows you to reboot at later time. Once done, install the driver.

 

I use the CLI for both the hotfix and driver. I use WinSCP to copy hotfix and driver to host. I unzip the hotfix and proceed with patch-upload, patch-apply, and then the driver required by the hotfix. Once done a reboot is performed. I will check the kernel with uname command and then the module (modinfo hpsa | more). I check version and path. The location of the .ko file is important and should match the kernel. Version is just a label, hopefully it is accurate.

Link to comment
  • 0

A clean install would be best way to resolve issue with driver not loading.

 

On a side note, you can actually install all the hpsa drivers, as they will put the hpsa.ko file in the correct folder for the xen kernel. This is standard Linux. That way, if you decide to boot an older kernel (as noted in /boot/extlinux.conf menu), it will load the driver for that version. :)

 

It is recommended to install starting with version for XenServer with no hotfixes, then proceed up with version for lowest hotfix, etc. You will get message that driver is already installed, but please proceed anyways. you can then use the Linux "find" command for hpsa.ko, and you will see the drivers located in the correct folders. You can then boot host and type "menu.c32" and select an older kernel and then verify the driver is loading for that xen kernel. 

 

Personally, I would upgrade to XenServer 6.1 or 6.2 (preferred) if your hardware is certified for it, as XenServer 6 and 6.0.2 are both end of maintenance (not end of life).

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...