Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HP Smartarray 400i CCISS fix
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Tux's lil' helper
Tux's lil' helper

Joined: 08 Aug 2002
Posts: 118

PostPosted: Tue Dec 29, 2015 5:23 pm    Post subject: HP Smartarray 400i CCISS fix Reply with quote

Hello Everyone,

Just a quick fix for anyone that might have an issue with CCISS driver in Kernel. When running grub2-mkconfig, and constantly encountering grub2 fails to get canonical path cciss errors, I've been searching for a solution for past 2-3 days.

In the end it was a simple fix.

My HP server has HP SmartArray 400i controller and it is not supported by HPSA driver.

So my SCSI raid instead of typically showing as /dev/sda, /dev/sdb show as /dev/cciss/c0d0, /dev/cciss/c0d0. Although this has been the norm, but something must have changed in the time I have been using it (or I am must have done something wrong).

To better illustrate the issue:
normally you see:

/dev/sda <<< As the first SCSI,SATA,SAS drive
/dev/sda1 <<< First Partition
/dev/sda2 <<<< Second Partition
/dev/sdaX <<< as the X partition

With CCISS driver & SmartArray Controller you see:

/dev/cciss/c0d0 <<<<<As the first drive/raid (where c0 is the first controller in the system, and d0 is the first disk/raid attached to the controller)
/dev/cciss/c0d0p1 << first partition
/dev/cciss/c0d0p2 << second partition
and so on ..

What changed is when running grub2-mkconfig, it would error out complaining about /dev/cciss!c0d0p3 (Third partition, the root partition in this case)

grub2-install /dev/cciss/c0d0 works fine

Anyhow, grub2-mkconfig & grub2-probe somehow expect /dev/cciss!c0d0p3 as the block device....

the simple fix was just to do:
ln /dev/cciss/c0d0p1 /dev/cciss!c0d0p1
ln /dev/cciss/c0d0p2 /dev/cciss!c0d0p2
ln /dev/cciss/c0d0p3 /dev/cciss!c0d0p3

and the problem was solved.

During my search to fix this, I found many posts regarding this, but no fix. So here it is.
All your Gentoo are belong to us.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum