LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-11-2022, 09:52 AM   #1
bond009
LQ Newbie
 
Registered: Apr 2022
Posts: 4

Rep: Reputation: 0
Slackware 15 - RAID HPE Smart Array problem


Hi there,

I am writing to you because I have a problem with installing Slackware 15.0.
My server has RAID controller HPE Smart Array E208i-a SR Gen10 - this controller use smartpqi driver.

After boot from slackware64-15.0-install-dvd there is no SSD disks visible.
So how to start smartpqi driver durging boot installation CD?
You are my last resort, please help me ...

Regards
 
Old 04-11-2022, 10:07 AM   #2
ctrlaltca
Member
 
Registered: May 2019
Location: Italy
Distribution: Slackware
Posts: 323

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Usually HP servers used the "cciss" (now obsolete) and "hpsa" kernel modules, this last one being already included in the kernel-huge used by the Slackware 15 installer.
Your raid controller seems quite new, and it needs the "smartpqi" driver as you already noticed, that is not included in the kernel-huge, but should be loadable by running "modprobe smartpqi" before you start the setup.
 
Old 04-12-2022, 04:24 AM   #3
bond009
LQ Newbie
 
Registered: Apr 2022
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you for help, but after - modprobe smartpqi - i get message:

modprobe: FATAL: Module smartpqi not found in directory /lib/modules/5.15.19
 
Old 04-12-2022, 05:41 AM   #4
sairum
Member
 
Registered: Sep 2004
Location: Portugal
Distribution: Slackware
Posts: 118

Rep: Reputation: 56
The problem is that smartpqi is not included with kernel 5.15.19 which comes with stock Slackare 15. However, it is present in kernel 5.15.27 which is provided as a "patch" (you can find it in directory patches/packages/linux-5.15.27 on Slackware 15 website). I suppose the easier way is to burn a Slackware-current iso (contains kernel 5.17.2 which has also smartpqi) and install from there!

Last edited by sairum; 04-12-2022 at 07:55 AM.
 
Old 04-12-2022, 08:44 AM   #5
bond009
LQ Newbie
 
Registered: Apr 2022
Posts: 4

Original Poster
Rep: Reputation: 0
I have just burn a Slackware-current iso (kernel 5.17.2) and there is still the same message:

modprobe: FATAL: Module smartpqi not found in directory /lib/modules/5.17.2

Please help...
 
Old 04-12-2022, 09:17 AM   #6
ctrlaltca
Member
 
Registered: May 2019
Location: Italy
Distribution: Slackware
Posts: 323

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
I just tried a clean installation and i can confirm that the smartpqi module is non present in /lib/modules on the installation media.
This is how i workarounded it:
Boot the installation media (in my case an usb key /dev/sdb) and get to the root shell

Code:
cd /
mkdir /usb
mount /dev/sdb /usb
tar xvf /usb/slackware64/a/kernel-modules-5.15.19-x86_64-2.txz lib/modules/5.5.19/kernel/drivers/scsi/smartpqi
umount /usb
rmdir usb
cd /lib/modules/5.5.19/kernel/drivers/scsi/smartpqi
insmod smartpqi.ko
At this point the smartpqi module should be loaded and you can proceed with the setup.
At the end of the setup you'll need to ensure the generated initrd contains the smartpqi module.
 
2 members found this post helpful.
Old 04-12-2022, 09:34 AM   #7
bond009
LQ Newbie
 
Registered: Apr 2022
Posts: 4

Original Poster
Rep: Reputation: 0
Thank very much you for your help,
Last guestion - how at the end of the setup generate initrd (contains the smartpqi module) ?
 
Old 04-12-2022, 10:18 AM   #8
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
I'm dealing with a similar situation in my toying around with updating old Slackware versions to run on new hardware. My solution is much more of a kludge, I suppose, and I'm certain far less elegant than ctrlaltca's solid recommendation. I just build a custom kernel with all the hardware support I need for a given system (with no initrd required or desired) and replace the one on the install media if not the iso itself. I haven't yet tried such shenanigans with v15.0, at least where I felt the need to disable "geninitrd" during install instead of just deleting all references in the installation, but it's looking like I may have to this week.

At least my method will get it installed where and how I want despite how hamfisted it may be.
 
Old 04-13-2022, 03:11 AM   #9
ctrlaltca
Member
 
Registered: May 2019
Location: Italy
Distribution: Slackware
Posts: 323

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Quote:
Originally Posted by bond009 View Post
Thank very much you for your help,
Last guestion - how at the end of the setup generate initrd (contains the smartpqi module) ?
Once you complete the installation, instead of rebooting, go back to a shell.
The /mnt directory is the base / directory of the new installation, so you need to
Code:
chroot /mnt
Now it would be like you're running on the new installed system. Running

Code:
/usr/share/mkinitrd/mkinitrd_command_generator.sh
will return a command to be used to generate the new initrd.
Ensure this command explicitly contains the "smartpqi" module, or add it on the "-m" parameter, eg:

Code:
mkinitrd -c -k 5.15.19 -f ext4 -r /dev/sda1 -m module1:module:smartpqi:... -u -o /boot/initrd.gz
Then run this command to generate the new initrd.
You'll then need to fix your bootloader (lilo, elilo, grub, ..) to ensure it will load the kernel-generic and the new initrd.gz
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware current (5.4.27) on HPE Proliant DL260 Gen 10 robel Slackware 2 07-22-2020 02:48 PM
BASH-Adding array element: Naming issue using array[${#array[*]}]=5 calvarado777 Programming 8 07-26-2013 09:48 PM
unable to unmount raid array or unable to stop raid array karthik-naren Linux - Newbie 3 07-09-2013 01:54 PM
RAID problem with RHEL5-AS 64bit on HP DL320 G6 (Smart Array B110i SATA) alazarev Linux - Server 2 08-05-2010 10:18 AM
vectorlinux and compaq 5i smart array raid controller moonlightcheese Linux - Hardware 0 07-17-2008 02:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration