WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: HP Proliant SCSI support module needed  (Read 9899 times)

Offline funguy

  • Newbie
  • *
  • Posts: 29
HP Proliant SCSI support module needed
« on: May 23, 2012, 01:04:39 PM »
I have bunch of HP proliants rackmount servers but they all seem to be missing hp scsi drivers.  According to another post I need "cciss" or "hpsa."

http://forum.tinycorelinux.net/index.php/topic,9501.msg51972.html#msg51972
>>The HP SmartArray P410 is 103c:3243, supported by the hpsa module. Per instructions in the Debian Wiki,  you may need to add a file "/etc/modprobe.d/cciss_allow_hpsa.conf" containing the single line "options cciss cciss_allow_hpsa=y". I am unsure because it doesn't appear that Tiny Core has the cciss module anyway.


The /etc/modprobe.d/ doesn't exist in tinycorelinux so not sure if just making it would help....

Can someone please make a cciss.tcz and hpsa.tcz I can use in tinycore to support hp proliants?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14741
Re: HP Proliant SCSI support module needed
« Reply #1 on: May 23, 2012, 01:08:14 PM »
did you try the scsi-3.0.21-tinycore extension?

Offline funguy

  • Newbie
  • *
  • Posts: 29
Re: HP Proliant SCSI support module needed
« Reply #2 on: May 23, 2012, 01:16:17 PM »
I tried Tincore-current.iso 4.5.2 ezmastered to include:
firmware.tcz, firmware-broadcom.tcz,firmware-bnx2.tcz, scsi-3.0.3-tinycore.tcz, raid-dm-3.0.3-tinycore.tcz, mdadm.tcz, sg3-utils.tcz

Are you saying the 3.0.21 is better?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14741
Re: HP Proliant SCSI support module needed
« Reply #3 on: May 23, 2012, 01:20:08 PM »
both appear to contain the hpsa driver, but not cciss

..but if you remastered 4.5.2, it would be better to use the 3.0.21-tinycore modules
« Last Edit: May 23, 2012, 01:23:16 PM by Juanito »

Offline funguy

  • Newbie
  • *
  • Posts: 29
Re: HP Proliant SCSI support module needed
« Reply #4 on: May 23, 2012, 01:29:22 PM »
#1 So do you have a cciss module?
#2 How to enable hpsa via kernel line or a config in case it is not on by default

I saw the hpsa.ko file is included in the scsi package.  I ran uname -a on my vmware tinycore and it replied Linux box 3.0.21-tinycore... so does that mean I have to use the .21 version scsi.tcz?

Offline funguy

  • Newbie
  • *
  • Posts: 29
Re: HP Proliant SCSI support module needed
« Reply #5 on: May 23, 2012, 01:32:19 PM »
I will try the 3.0.21 modules to see if it helps

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14741
Re: HP Proliant SCSI support module needed
« Reply #6 on: May 23, 2012, 01:40:47 PM »
I ran uname -a on my vmware tinycore and it replied Linux box 3.0.21-tinycore... so does that mean I have to use the .21 version scsi.tcz?
Yes  :)

Quote
#2 How to enable hpsa via kernel line or a config in case it is not on by default
If would probably load itself if the hardware is detected, but you could load from /opt/bootlocal.sh

I'd try the extension first before trying a remaster

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11502
Re: HP Proliant SCSI support module needed
« Reply #7 on: May 23, 2012, 05:16:36 PM »
Hi funguy
The Debian wiki states this about hpsa:
Quote
This is the 'next generation' driver which replaces cciss for many cards. Notably this driver uses the kernel scsi subsystem rather than implementing its own block device.

Offline funguy

  • Newbie
  • *
  • Posts: 29
Re: HP Proliant SCSI support module needed
« Reply #8 on: May 24, 2012, 10:25:31 AM »
I tried the 3.0.21 modules and still no luck.  The hard drive still doesn't show up.  Is there a kernel option or "cciss_allow_hpsa.conf" that needs to be added?  I wish someone working with HP Proliants could help me.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11502
Re: HP Proliant SCSI support module needed
« Reply #9 on: May 24, 2012, 10:43:05 AM »
Hi funguy
If you enter  lsmod , does the  hpsa  module show up?
Does  lsinfo hpsa  list any optional parameters?

Offline funguy

  • Newbie
  • *
  • Posts: 29
Re: HP Proliant SCSI support module needed
« Reply #10 on: May 25, 2012, 03:44:38 PM »
lsmod - hpsa does not show up
lsinfo  - command not found.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11502
Re: HP Proliant SCSI support module needed
« Reply #11 on: May 25, 2012, 04:15:52 PM »
Hi funguy
Quote
lsinfo  - command not found.
Sorry, I meant   modinfo hpsa

Offline funguy

  • Newbie
  • *
  • Posts: 29
Re: HP Proliant SCSI support module needed
« Reply #12 on: May 29, 2012, 09:38:35 AM »
modinfo -shows the info of the module and some params

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11502
Re: HP Proliant SCSI support module needed
« Reply #13 on: May 29, 2012, 10:14:35 AM »
Hi funguy
Yes, that was kind of the point. Maybe some of those parameters will allow your drive to be recognized?

Offline funguy

  • Newbie
  • *
  • Posts: 29
Re: HP Proliant SCSI support module needed
« Reply #14 on: May 29, 2012, 11:14:44 AM »
Thank you so much Rich!  You led me down the right path.  Got all my HP Proliants to see drives by running the following:
sudo insmod /usr/local/lib/modules/3.0.21-tinycore/kernel/drivers/scsi/hpsa.ko.gz
lsmod - now shows hpsa
Tested on HP DL360, HP DL 385 G7, and HP DL 365.
So I guess I can add that to my start-up script in /home/tc/.X.d/ to make sure the module loads.  I would rather add to the kernel line at boot if possible.  I just don't get why it didn't start it automatically.  Did I add the module the wrong way using ezremaster? I use "Add App Extract TCZ to initrd" to embed all my modules.