View Issue Details

IDProjectCategoryView StatusLast Update
0000904channel: elrepo/el7kmod-ccisspublic2019-03-04 05:50
Reportervamsy Assigned Topperry  
PrioritynormalSeverityblockReproducibilityalways
Status assignedResolutionopen 
Summary0000904: CCISS kmod module not working with CENTOS 7.6, kernel 3.10.0-957.1.3
DescriptionHi,

I am using DL360p Gen8,

Running CENTOS 7.6,

kernel version: 3.10.0-957.1.3.el7.x86_64.
 
The kernel boots up with hpsa module by default.
Instead of hpsa driver I want to try use cciss driver module.
But the booting is failing with error "couldn`t find root partitions".
I have attached the screenshot of the booting error(Error Boot.png).
I have added cciss.ko.xz as a part of initramfs.
I have attached the screenshots of grub.cfg file which comes along with standard OS installation with hpsa as a module (Dracut-hpsa.png)
I have attached the screenshots of modified grub.cfg file to use cciss driver at the time of booting (Dracut-cciss.png).

I am looking for help to boot up linux kernel using cciss driver.

If any solution to resolve this booting issue will be a great help.

Thanks in Advance!!
TagsNo tags attached.
Attached Files
Error Boot.png (260,596 bytes)   
Error Boot.png (260,596 bytes)   
Dracut-hpsa.png (71,255 bytes)   
Dracut-hpsa.png (71,255 bytes)   
Dracut-cciss.png (68,006 bytes)   
Dracut-cciss.png (68,006 bytes)   
with-hpsa.txt (1,469 bytes)   
Content of dracut.conf
# additional kernel modules to the default
#add_drivers+="cciss"

#omit_drivers+="hpsa"
==================================================================

[root@localhost boot]# rpm -qlp kernel-lt-4.4.176-1.el7.elrepo.x86_64.rpm | grep cciss
/lib/modules/4.4.176-1.el7.elrepo.x86_64/kernel/drivers/block/cciss.ko
[root@localhost boot]# rpm -qlp kernel-lt-4.4.176-1.el7.elrepo.x86_64.rpm | grep hpsa
/lib/modules/4.4.176-1.el7.elrepo.x86_64/kernel/drivers/scsi/hpsa.ko

======================================================================
[root@localhost boot]# lsinitrd initramfs-4.4.176-1.el7.elrepo.x86_64.img | grep cciss
[root@localhost boot]# lsinitrd initramfs-4.4.176-1.el7.elrepo.x86_64.img | grep hpsa
-rwxr--r--   1 root     root       161320 Mar  4 02:22 usr/lib/modules/4.4.176-1.el7.elrepo.x86_64/kernel/drivers/scsi/hpsa.ko

=======================================================================

[root@localhost boot]# lsmod | grep cciss
[root@localhost boot]# lsmod | grep hpsa
hpsa                   98304  2
scsi_transport_sas     45056  1 hpsa


========================================================================
[root@localhost mapper]# ls -la centos-*
lrwxrwxrwx. 1 root root 7 Mar  4 02:51 centos-home -> ../dm-2
lrwxrwxrwx. 1 root root 7 Mar  4 02:51 centos-root -> ../dm-0
lrwxrwxrwx. 1 root root 7 Mar  4 02:51 centos-swap -> ../dm-1
[root@localhost mapper]# pwd
/dev/mapper


with-hpsa.txt (1,469 bytes)   
with-cciss.txt (634 bytes)   
Content of dracut.conf
# additional kernel modules to the default
add_drivers+="cciss"

omit_drivers+="hpsa"
========================================================

[root@localhost boot]# lsinitrd initramfs-4.4.176-1.el7.elrepo.x86_64-cciss.img | grep cciss
Image: initramfs-4.4.176-1.el7.elrepo.x86_64-cciss.img: 31M
-rwxr--r--   1 root     root       179088 Mar  4 04:42 usr/lib/modules/4.4.176-1.el7.elrepo.x86_64/kernel/drivers/block/cciss.ko
[root@localhost boot]# lsinitrd initramfs-4.4.176-1.el7.elrepo.x86_64-cciss.img | grep hpsa

======================================================================




with-cciss.txt (634 bytes)   
booting-error-cciss.PNG (182,717 bytes)   
booting-error-cciss.PNG (182,717 bytes)   
grub.cfg (5,278 bytes)
dracut.conf (1,311 bytes)
Reported upstream

Activities

toracat

2019-03-01 12:23

administrator   ~0006234

Will you try installing kernel-lt and see if that works for your hardware?

http://elrepo.org/tiki/kernel-lt

vamsy

2019-03-04 05:48

reporter   ~0006237

As per your suggestion I have installed the kernel-package from the link shared- http://elrepo.org/tiki/kernel-lt

It has been observed that the hpsa.ko and cciss.ko files gets copied when we installed the kernel-package.

We have also observed that the initramfs has entry for hpsa.ko.

After rebooting the system gets booted with the newly installed kernel and hpsa.ko driver.(with-hpsa.txt)

I have done some changes so that system can boot up with cciss driver.I have used attached dracut.conf to create new initramfs with entry for cciss.ko (no hpsa.ko in initramfs).

But the system failed to boot up when I rebooted the system.

Please find the attached file for booting error (booting-error-cciss.PNG).

I think I am missing out some setting in grub.cfg or kernel boot-time parameters specific to cciss.ko driver.

I have also attached grub.cfg and dracut.conf for your reference.

If you need any more information please let me know.

It will be great if you can help me to resolve this booting issue with cciss.ko driver.

Issue History

Date Modified Username Field Change
2019-03-01 03:27 vamsy New Issue
2019-03-01 03:27 vamsy Status new => assigned
2019-03-01 03:27 vamsy Assigned To => pperry
2019-03-01 03:27 vamsy File Added: Error Boot.png
2019-03-01 03:27 vamsy File Added: Dracut-hpsa.png
2019-03-01 03:27 vamsy File Added: Dracut-cciss.png
2019-03-01 12:23 toracat Note Added: 0006234
2019-03-04 05:48 vamsy Note Added: 0006237
2019-03-04 05:49 vamsy File Added: with-hpsa.txt
2019-03-04 05:49 vamsy File Added: with-cciss.txt
2019-03-04 05:50 vamsy File Added: booting-error-cciss.PNG
2019-03-04 05:50 vamsy File Added: grub.cfg
2019-03-04 05:50 vamsy File Added: dracut.conf