On 01/24/13 05:02, Michael Haubenwallner wrote:
> 
> I've recently upgraded some server from kernel-2.6.28 to kernel-3.5.7 and
> encountered that the root-device was renamed from /dev/cciss/c0d0p1 to
> /dev/sda1 due to some kernel driver change (took me a while to find out).
> I'm not using genkernel or any initramfs, nor do I have separate /usr.
> 
> The only way I've found to keep the system bootable with both kernels
> (for the upgrade process until the new kernel config was good enough)
> was to replace /dev/cciss/c0d0p1 by /dev/root in /etc/fstab.
> 
> How would this be done when there is no /dev/root any more?
> 

These are the Compaq SmartArray controllers (usually found in HP
Proliants). They used to have their own block driver, but these days
they're just grouped with the rest of the SCSI drives.

The old driver:

  Block Devices -> BLK_CPQ_CISS_DA

The new one is under,

  SCSI device support -> SCSI low-level drivers -> SCSI_HPSA

  This driver supports HP Smart Array Controllers (circa 2009).
  It is a SCSI alternative to the cciss driver, which is a block
  driver.  Anyone wishing to use HP Smart Array controllers who
  would prefer the devices be presented to linux as SCSI devices,
  rather than as generic block devices should say Y here.

The HPSA driver does *not* work on older Proliants, so I can only assume
that HPSA is receiving active maintenance while the old block driver is
not. Nevertheless, if the block driver worked for you in an old kernel,
you could simply disable HPSA on the new one.

When the time comes that you need to boot two newish kernels, you can
re-enable HPSA and update fstab to use the new name.

Reply via email to