Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: funguy 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?
-
did you try the scsi-3.0.21-tinycore extension?
-
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?
-
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
-
#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?
-
I will try the 3.0.21 modules to see if it helps
-
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 :)
#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
-
Hi funguy
The Debian wiki states this about hpsa:
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.
-
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.
-
Hi funguy
If you enter lsmod , does the hpsa module show up?
Does lsinfo hpsa list any optional parameters?
-
lsmod - hpsa does not show up
lsinfo - command not found.
-
Hi funguy
lsinfo - command not found.
Sorry, I meant modinfo hpsa
-
modinfo -shows the info of the module and some params
-
Hi funguy
Yes, that was kind of the point. Maybe some of those parameters will allow your drive to be recognized?
-
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.
-
Hi funguy
You might want to do a search for recent threads on ezremaster to gain more insight.
-
Thanks funguy! I followed your steps (http://forum.tinycorelinux.net/index.php?topic=12624.0) to get a Dell PERC RAID to work.
First, I used ezremaster to add scsi-4.8.17-tinycore.tcz to the image.
Then I got the driver to load at startup (before the items in /etc/fstab are mounted) by doing the following:
sudo vi /tmp/ezremaster/extract/etc/init.d/rcS
//add the following lines before 'mount -a'
depmod -a
modprobe megaraid-sas
mkdir /mnt/sdb2
-
Sorry for the late reply. Glad you figured it out.