Dracut Shell after kernel upgrade

General support questions
User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Dracut Shell after kernel upgrade

Post by TrevorH » 2018/09/19 01:14:04

kmod-megasr-2.2.3.rhtest60s10-1.el7.x86_64
What's the output from rpm -qi kmod-megasr-2.2.3.rhtest60s10-1.el7.x86_64 ?

Your other server probably doesn't have the same hardware. This one has a MegaRAID controller of some sort and it doesn't appear to be supported by anything in the distro so you need that kmod to add support for it.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

thenameskam
Posts: 15
Joined: 2018/09/12 16:01:30

Re: Dracut Shell after kernel upgrade

Post by thenameskam » 2018/09/19 11:26:52

TrevorH wrote:
2018/09/19 01:14:04
kmod-megasr-2.2.3.rhtest60s10-1.el7.x86_64
What's the output from rpm -qi kmod-megasr-2.2.3.rhtest60s10-1.el7.x86_64 ?

Your other server probably doesn't have the same hardware. This one has a MegaRAID controller of some sort and it doesn't appear to be supported by anything in the distro so you need that kmod to add support for it.
they are the exact same server besides CPU. the one that works with the new kernel, has a different version of the same CPU.

output as request.
Name : kmod-megasr
Version : 2.2.3.rhtest60s10
Release : 1.el7
Architecture: x86_64
Install Date: Mon 26 Sep 2016 03:12:12 PM UTC
Group : System Environment/Kernel
Size : 2084917
License : GPLv2
Signature : (none)
Source RPM : megasr-2.2.3.rhtest60s10-1.el7.src.rpm
Build Date : Wed 14 Oct 2015 06:27:43 PM UTC
Build Host : dhcp-135-24-228-151
Relocations : (not relocatable)
URL : http://www.kernel.org/
Summary : megasr kernel module(s)
Description :
This package provides the megasr kernel modules built for
the Linux kernel 3.10.0-229.el7.x86_64 for the x86_64
family of processors.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Dracut Shell after kernel upgrade

Post by TrevorH » 2018/09/19 21:17:21

Post the output from lspci -nn | grep -i raid on both working and non-working servers. Obviously boot the non-working one from the working kernel to run it ;-)

That kmod package was built by someone on a host called "dhcp-135-24-228-151". Does that sound like one of your internal ones so that it might be an internal build? It's not GPG signed so it's not going to be from anyone well known.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

thenameskam
Posts: 15
Joined: 2018/09/12 16:01:30

Re: Dracut Shell after kernel upgrade

Post by thenameskam » 2018/09/20 12:35:01

TrevorH wrote:
2018/09/19 21:17:21
Post the output from lspci -nn | grep -i raid on both working and non-working servers. Obviously boot the non-working one from the working kernel to run it ;-)

That kmod package was built by someone on a host called "dhcp-135-24-228-151". Does that sound like one of your internal ones so that it might be an internal build? It's not GPG signed so it's not going to be from anyone well known.
working server
08:00.0 RAID bus controller [0104]: LSI Logic / Symbios Logic MegaRAID SAS-3 3108 [Invader] [1000:005d] (rev 02)
non working server
00:1f.2 RAID bus controller [0104]: Intel Corporation C610/X99 series chipset SATA Controller [RAID mode] [8086:8d06] (rev 05)
09:00.0 RAID bus controller [0104]: LSI Logic / Symbios Logic MegaRAID SAS-3 3108 [Invader] [1000:005d] (rev 02)
im not entirely sure. i believe they used ansible to set the raid and most of the server settings.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Dracut Shell after kernel upgrade

Post by TrevorH » 2018/09/20 14:09:09

So that hardware RAID controller with the pci id 1000:005d is supported by the in-kernel megaraid_sas driver and the megasr that you have instaled is not really required.
[root@hostname ~]# grep -i 1000 /lib/modules/3.10.0-862.11.6.el7.x86_64/modules.* | grep -i 005d
/lib/modules/3.10.0-862.11.6.el7.x86_64/modules.alias:alias pci:v00001000d0000005Dsv*sd*bc*sc*i* megaraid_sas
The other RAID controller listed there is not a hardware one, it's Intel FakeRAID. Are you sure that's not in use for this as it would probably explain the problems you're seeing.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

thenameskam
Posts: 15
Joined: 2018/09/12 16:01:30

Re: Dracut Shell after kernel upgrade

Post by thenameskam » 2018/09/20 16:06:00

TrevorH wrote:
2018/09/20 14:09:09
So that hardware RAID controller with the pci id 1000:005d is supported by the in-kernel megaraid_sas driver and the megasr that you have instaled is not really required.
[root@hostname ~]# grep -i 1000 /lib/modules/3.10.0-862.11.6.el7.x86_64/modules.* | grep -i 005d
/lib/modules/3.10.0-862.11.6.el7.x86_64/modules.alias:alias pci:v00001000d0000005Dsv*sd*bc*sc*i* megaraid_sas
The other RAID controller listed there is not a hardware one, it's Intel FakeRAID. Are you sure that's not in use for this as it would probably explain the problems you're seeing.
how can I verify? i cant seem to find any command to find out which hardware raid controller is in use, ide imagine that is on the bootup when you get into the raid controller though..?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Dracut Shell after kernel upgrade

Post by TrevorH » 2018/09/20 17:55:05

Try lshw -short
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

thenameskam
Posts: 15
Joined: 2018/09/12 16:01:30

Re: Dracut Shell after kernel upgrade

Post by thenameskam » 2018/09/21 12:12:14

TrevorH wrote:
2018/09/20 17:55:05
Try lshw -short
i believe this is what we are looking for from out of the output.
/0/100/2.2/0/2.0.0 /dev/sdb disk 21TB UCSC-MRAID12G

thenameskam
Posts: 15
Joined: 2018/09/12 16:01:30

Re: Dracut Shell after kernel upgrade

Post by thenameskam » 2018/09/21 12:14:07

thenameskam wrote:
2018/09/21 12:12:14
TrevorH wrote:
2018/09/20 17:55:05
Try lshw -short
i believe this is what we are looking for from out of the output.
/0/100/2.2/0/2.0.0 /dev/sdb disk 21TB UCSC-MRAID12G
but that matches the working server.

i also noticed the below, which matches the working server as well.
/0/100/2.2/0 scsi0 storage MegaRAID SAS-3 3108 [Invader]

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Dracut Shell after kernel upgrade

Post by TrevorH » 2018/09/21 12:52:57

If that's /dev/sdb, what is sda?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply