HP P400 controller driver missing after upgrade to 1.9

frantek

Renowned Member
May 30, 2009
171
7
83
Hi,

to day I've upgraded my first system to 1.9 and it faild to boot becaus the disk were not found. It seems like the HP P400 driver is missing in the initrd. What do I have to do to fix this ?

TIA
 
to day I've upgraded my first system to 1.9 and it faild to boot becaus the disk were not found. It seems like the HP P400 driver is missing in the initrd. What do I have to do to fix this ?

What module name is that exactly?
 
I assume its the cciss?

here is the version used in 1.8:

Code:
uname -a

Linux 2.6.32-4-pve #1 SMP Mon May 9 12:59:57 CEST 2011 x86_64 GNU/Linux

modinfo cciss

filename:       /lib/modules/2.6.32-4-pve/kernel/drivers/block/cciss.ko
license:        GPL
version:        3.6.20
description:    Driver for HP Smart Array Controllers
author:         Hewlett-Packard Company
srcversion:     5B359C6CF5B85B1697BC811

here is the version used in 1.9:

Code:
uname -a

Linux 2.6.32-6-pve #1 SMP Tue Sep 13 10:44:10 CEST 2011 x86_64 GNU/Linux

modinfo cciss

filename:       /lib/modules/2.6.32-6-pve/kernel/drivers/block/cciss.ko
license:        GPL
version:        3.6.28
description:    Driver for HP Smart Array Controllers
author:         Hewlett-Packard Company
srcversion:     B583D085636E1550EEF144B
 
based on this, the 400i should use cciss and not the the new one, hpsa.

in 1.8, hpsa was not available, in 1.9 hpsa is there. probably this is the cause of the issue.
 
Hi,

I have one proxmox machine with HP P212 controller and it's still 1.8.
Can you suggest best solution to load cciss module instead hpsa after upgrade to 1.9?


Regards,
Michu
 
why don´t you wanna use hpsa? see http://cciss.sourceforge.net/. in any case I suggest you just install the new kernel and try to boot. if this fails just boot the old one.

Code:
wget http://download.proxmox.com/debian/dists/lenny/pve/binary-amd64/pve-kernel-2.6.32-6-pve_2.6.32-43_amd64.deb
and

Code:
dpkg -i pve-kernel-2.6.32-6-pve_2.6.32-43_amd64.deb
 
I read again and the page tells it should just continue using cciss - can you confirm this? (I have no P212 here in the test lab).
 
Hi tom,

Unfortunately I can't upgrade this machine soon. It's in production environment, and there is no possibility for system downtime longer than 1 hour:/
So that's why I'm asking how to cause system to load cciss instead hpsa...

Maybe this can be done via GRUB loader ?
I know I can do this via module blacklist, but after upgrade and reboot there will be no possibility to boot
icon_wink.gif


I will try upgrade, but not sooner than 14 days - first I need to test Proxmox 1.9 on testing machine (which unfortunately is not HP).
I don't want hpsa because page says: "If you've been using cciss already on these controllers, it is not recommended that you attempt to upgrade your running system to switch from cciss to hpsa unless you have a very good reason to do so and know what you are doing."

Regards,
Michu
 
Last edited:
Hey there guys.
got in same (almost same) situation :)
here is my fstab:
Code:
/dev/pve/root / ext3 errors=remount-ro 0 1
/dev/pve/data /var/lib/vz ext3 defaults 0 1
/dev/cciss/c0d1p1 /usr/backup ext3 defaults 0 2
UUID=531c357d-8639-4945-8346-48a47e9c2c70 /boot ext3 defaults 0 1
/dev/pve/swap none swap sw 0 0
proc /proc proc defaults 0 0
the part before
Code:
/dev/cciss/c0d1p1 /usr/backup ext3 defaults 0 2
went good after upgrade but the system stopped @ the line before causing an fsck error complaining about unable to find drive. and truly, i looked the /dev/cciss - there is no more such directory, instead, i now have /dev/sda and /dev/sdb
so i just edited the line to
Code:
/dev/sda1 /usr/backup ext3 defaults 0 2
and boot process completed fine, BUT (lots of things would be fine without those but(t)s :D)
now i've got this error:
Code:
# hpacucli ctrl all show config

Error: No controllers detected.

this makes the PITA to monitor my drives!
for an example i've got this in my crontab:
Code:
59 23 * * * root /usr/sbin/hpacucli ctrl all show config | mail -s "HP Array Status" roman@***.ee > /dev/null 2>&1
so i had every night a short report of my controller disks state.
can i do something like that after the upgrade? i'll be honest and say that i didnt look for solution in google yet, asking just if You have some quick answer out of Your experience :)
just upgraded thought. ..
 
Last edited:
oh, a quick search on this problem returned an answer:

modprobe sg
and its ok now, i can use hpacucli again :)

one should add this module to the /etc/modules to activate it on boot.
 
use UUID instead of /dev/sda1.

just run the following to get the UUID of your partition:

Code:
blkid /dev/sda1
 
Wow,
Thanks a lot tom,
i tried to find out how the hell i can find the uuid of my drives out :)))
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!