[elrepo] CentOS 7.9 driver for Lenovo P620 NIC

James Pearson james-p at moving-picture.com
Sat Oct 16 17:03:20 EDT 2021


I did try it - but couldn't get it to work - although I don't have access to the PC at the moment (I'm testing using a VM - which, of course, doesn't have the NIC in question) - but once the installer is booted in the VM, I can't find the new kernel module in the install instance ?

I'm probably doing something wrong - but I guess in the meantime, I'll see if using a USB stick with the update driver ISO image works ...

Thanks

James Pearson
________________________________________
From: Manuel Wolfshant <wolfy at nobugconsulting.ro>
Sent: 16 October 2021 21:40
To: EL Repo General Mailing List; James Pearson; elrepo at lists.elrepo.org
Subject: Re: [elrepo] CentOS 7.9 driver for Lenovo P620 NIC


On October 16, 2021 11:08:42 PM GMT+03:00, James Pearson <james-p at moving-picture.com> wrote:
>Thanks for the info - however, I would like the driver disk to be obtained from the tftp server along with the kernel/initrd images
>
>The RHEL 6 install docs seems to suggest this is possible - but I can't find similar info in the RHEL 7 install docs, so I'm guessing this isn't possible with EL 7 ?
>
>Do I have to hack the install initrd image to add the new driver?
>
As far as I know, https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/installation_guide/sect-preparing_an_initial_ram_disk_update still works


>Thanks
>
>James Pearson
>________________________________________
>From: elrepo-bounces at lists.elrepo.org <elrepo-bounces at lists.elrepo.org> on behalf of Phil Perry <phil at elrepo.org>
>Sent: 16 October 2021 12:52
>To: elrepo at lists.elrepo.org
>Subject: Re: [elrepo] CentOS 7.9 driver for Lenovo P620 NIC
>
>On 16/10/2021 11:57, James Pearson wrote:
>> I'm trying to install CentOS 7.9 via PXE on a Lenovo P620 that has a single Aquantia 10Gb NIC
>>
>> The installer (Anaconda) fails to start and the installer kernel reports:
>>
>>   atlantic: Bad FW version detected: 4020028
>>
>> Installing the box by adding a 2nd NIC works fine and lspci reports:
>>
>>    01:00.0 Ethernet controller [0200]: Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] [1d6a:07b1] (rev 02)
>>
>> After a bit of googling, it looks like Lenovo PCs with this NIC use/require 'version 4' of the firmware - which is not supported by the EL 7.9 atlantic driver (not supported until EL 8.4)
>>
>> Lenovo provide Linux driver source which builds fine on EL 7.9 - and I can insmod the new kernel module fine and it finds the NIC etc
>>
>> However, I'm struggling to build an installer driver disk image and get the CentOS 7.9 installer to use it
>>
>> I've created my own 'kmod-atlantic' RPM - based on other similar ElRepo SRPMS and it appears the installer attempts to use it - but it gives warnings like:
>>
>>   [   11.087251] atlantic: loading out-of-tree module taints kernel.
>>   [   11.090231] atlantic: module verification failed: signature and/or required key missing - tainting kernel
>>
>
>This messaging is perfectly normal - it's basically just telling you
>that you've loaded a 3rd party module and that it either isn't signed
>for Secure Boot or that the key it has been signed with hasn't been
>imported on your system.
>
>> but doesn't seem to use the newer module?
>>
>> Can anyone give me some pointers to what I need to do to get the newer kernel module to load in the installer?
>>
>
>To load the module during installation, you need to create a Driver
>Update Disk (DUD) from your kmod package. This takes the form of an ISO
>image you can burn to CD/DVD or USB stick and pass to the installer
>(anaconda).
>
>We have written a script that we use to do the job (below) which you are
>welcome to use:
>
>https://url.avanan.click/v2/___https://github.com/elrepo/elrepo-scripts/blob/master/mkdd.sh___.YXAzOnRlY2huaWNvbG9yOmE6bzozOTIxZjRkYzc1NTgwODllZTU5YTkyOGUwOGRlYjcyODo1OjUzY2Y6ZTMzOGJlMGUzZmEyMzNkMTViNTA2ZmQyZDNiYmQwYmQyNTc3ODdhMTJlYWYxMWJjYTRlYWY5MzViZDBhMzc3Nzpw
>
>Simply run the script from the same dir that contains your kmod RPM and
>SRPM. Note you should build your kmod RPM against the same kernel
>version that is used on the installation media.
>
>This video explains how to use a Driver Update Disk (DUD) when
>installing CentOS/RHEL:
>
>https://url.avanan.click/v2/___https://www.youtube.com/watch?v=4fOAuXiynYM___.YXAzOnRlY2huaWNvbG9yOmE6bzozOTIxZjRkYzc1NTgwODllZTU5YTkyOGUwOGRlYjcyODo1OjBlYTU6MTdhYTgwMzUxZDkyOWVhYTlkOTlhNjFhN2I1YTQ0MDM4NjBmMjdjYWYyOGVlYWUwYTYxZDM0YmYzNzA0MDU0Mzpw
>
>> Thanks
>>
>> James Pearson
>
>
>_______________________________________________
>elrepo mailing list
>elrepo at lists.elrepo.org
>https://url.avanan.click/v2/___http://lists.elrepo.org/mailman/listinfo/elrepo___.YXAzOnRlY2huaWNvbG9yOmE6bzozOTIxZjRkYzc1NTgwODllZTU5YTkyOGUwOGRlYjcyODo1OjIzMDU6Njc4M2I0YzRkOTQzNDNmM2U1YWM2NTA5YjE5YzIzYTliZjNlYmEyMTI5Yjk3ZTRjZTY5MWNmMmEwMzM3MjYyOTpw
>_______________________________________________
>elrepo mailing list
>elrepo at lists.elrepo.org
>https://url.avanan.click/v2/___http://lists.elrepo.org/mailman/listinfo/elrepo___.YXAzOnRlY2huaWNvbG9yOmE6bzoxOTQwM2ZjNTllM2E0MTRiYWZiYjg2ODZlMzY3MWU2Yjo1OmYwYzY6ZWMyZmM0OThhYzdhODFmZjk0Y2Y1MWJkYTAzNjA3OWIyYmJkMjBmNzc4NTk1MTdlMjdlNzM5YjYyYzczZjZhZjpw



More information about the elrepo mailing list