- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The sed pattern to determine the kernel version is broken. It will end up stripping too much off.
for example /lib/modules/2.6.32-504.16.2.el6.x86_64 will get stripped back to 2.6.32
This is not the intent of the sed pattern and causes install problems as /lib/modules/2.6.32 doesn't exist
Patch
--- i40e.spec.orig2016-08-16 16:19:01.808859847 +0000+++ i40e.spec2016-08-16 16:15:00.031131141 +0000@@ -69,7 +69,7 @@
if [ "%{pcitable}" != "/dev/null" ]; then
echo "original pcitable saved in /usr/local/share/%{name}";fi
-for k in $(sed 's/\/lib\/modules\/\([0-9a-zA-Z_\.\-\+]*\).*/\1/' $FL) ;
+for k in $(sed 's/\/lib\/modules\/\([0-9a-zA-Z_\.\+-]*\).*/\1/' $FL) ;
do
d_drivers=/lib/modules/$k d_usr=/usr/local/share/%{name}/$k@@ -90,7 +90,7 @@
done
# Check if kernel version rpm was built on IS the same as running kernel
-BK_LIST=$(sed 's/\/lib\/modules\/\([0-9a-zA-Z_\.\-\+]*\).*/\1/' $FL)
+BK_LIST=$(sed 's/\/lib\/modules\/\([0-9a-zA-Z_\.\+-]*\).*/\1/' $FL)
MATCH=no
for i in $BK_LIST
do
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi atp,
Thank you for posting your query in Wired Ethernet Communities.
Please try out the latest 1.5.19 driver available in the link below.
https://sourceforge.net/projects/e1000/files/i40e%20stable/
regards,
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi atp,
We'd like to check if you still need assistance regarding i40.
regards,
Vince

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page