[elrepo] 3w-9xxxx missing from ramdisk in 8.2

Phil Perry phil at elrepo.org
Mon Oct 26 13:35:26 EDT 2020


Hi Gerwin,

There is no special procedure to update - things should just work.

Are you booting from the device (I assume yes)?

I think you've done exactly the right thing - keep an eye to ensure the 
driver is in your initramfs image, and if not you can manually rebuild 
the initramfs image to include the driver. I have no idea at this point 
why the driver wasn't included.

You may want to check out the manpage for dracut.conf, and maybe 
consider forcing driver inclusion for the initramfs in a conf file.

Consider something like:

cat /etc/dracut.conf.d/3w-sas.conf

add_drivers+=" 3w-9xxx "

Note the spaces around the double quotes. That should ensure the driver 
is always included in the initramfs whenever it is recreated.

Regards,

Phil

On 26/10/2020 11:28, Gerwin Krist wrote:
> Hi Akemi,
> 
> Thanks for taking time answering my question!
> 
> Well I just downgraded the kernel to the GA kernel:
> 
> [EL8/INT] [root at xxxxxxxx boot]$] rpm -qa | grep 4.18.0-193.el8
> kernel-modules-4.18.0-193.el8.x86_64
> kernel-devel-4.18.0-193.el8.x86_64
> kernel-core-4.18.0-193.el8.x86_64
> kernel-4.18.0-193.el8.x86_64
> 
> And installed the kmod package. But "lsinitrd 
> initramfs-4.18.0-193.el8.x86_64.img | grep 3w" still does not return 
> anything :-(
> 
> So I did: dracut -f --add-drivers 3w-9xxx 
> /boot/initramfs-4.18.0-193.el8.x86_64.img 4.18.0-193.el8.x86_64 and this 
> gives me:
> 
> [EL8/INT] [root at xxxxxxx boot]$] lsinitrd 
> initramfs-4.18.0-193.el8.x86_64.img | grep 3w
> Arguments: -f --add-drivers '3w-9xxx'
> drwxr-xr-x   2 root     root            0 Feb 28  2020 
> usr/lib/modules/4.18.0-193.el8.x86_64/extra/3w-9xxx
> -rw-r--r--   1 root     root        80121 Feb 28  2020 
> usr/lib/modules/4.18.0-193.el8.x86_64/extra/3w-9xxx/3w-9xxx.ko
> 
> Could you elaborate, what the normal procedure would be to upgrade to a 
> new major release? Is it required to goto the GA kernel first and then 
> upgrade to the latest kernel? I could not find any information about it.
> 
> Best wishes,
> Gerwin
> 
> 
> Op vr 23 okt. 2020 om 19:01 schreef Akemi Yagi <amyagi at gmail.com 
> <mailto:amyagi at gmail.com>>:
> 
>     On Thu, Oct 22, 2020 at 11:08 PM Gerwin Krist <gerwinkrist at gmail.com
>     <mailto:gerwinkrist at gmail.com>> wrote:
>      >
>      > Hi,
>      >
>      > I upgradeded an server from EL 8.1 to EL 8.2. And luckily I
>     always check the init ram before booting the server. This is from
>     the current running kernel:
>      >
>      > [EL8/INT] [root at i-xxxxxxxx boot]$] lsinitrd
>     initramfs-4.18.0-147.el8.x86_64.img | grep 3w
>      > drwxr-xr-x   2 root     root            0 Sep  6  2019
>     usr/lib/modules/4.18.0-147.el8.x86_64/extra/3w-9xxx
>      > -rw-r--r--   1 root     root        80049 Sep  6  2019
>     usr/lib/modules/4.18.0-147.el8.x86_64/extra/3w-9xxx/3w-9xxx.ko
>      >
>      > But when I do this on the new 8.2 kernel, I get nothing:
>      >
>      > [EL8/INT] [root at i-xxxxxxxx boot]$] lsinitrd lsinitrd
>     initramfs-4.18.0-193.13.2.el8_2.x86_64.img | grep 3w
>      >
>      > I have kmod-3w-9xxx-2.26.02.014-3.el8_2.elrepo.x86_64 installed
>     on the server and the module is there in
>     /lib/modules/4.18.0-193.el8.x86_64/extra/3w-9xxx.
>      >
>      > Could anyone tell me what I did wrong? And more important howto
>     get the module in the initram image again :-)
>      >
>      > You help is appreciated!
>      >
>      > Regards,
>      > Gerwin
> 
>     When you updated to EL 8.2, did you get
>     kernel-4.18.0-193.13.2.el8_2.x86_64 ?? How about the GA kernel?
> 
>     lsinitrd initramfs-4.18.0-193.el8.x86_64.img | grep 3w
> 
>     Also, is it a typo that you have 'lsinitrd' twice on the command line?
> 
>     Akemi
>     _______________________________________________
>     elrepo mailing list
>     elrepo at lists.elrepo.org <mailto:elrepo at lists.elrepo.org>
>     http://lists.elrepo.org/mailman/listinfo/elrepo
>     <http://lists.elrepo.org/mailman/listinfo/elrepo>
> 
> 
> _______________________________________________
> elrepo mailing list
> elrepo at lists.elrepo.org
> http://lists.elrepo.org/mailman/listinfo/elrepo
> 



More information about the elrepo mailing list