Bug 13918 - ixgbe_5.6.5 and ixgbevf_4.6.3 will compile failed with kernel:linux-intel 5.4.28 (Dunfell)
Summary: ixgbe_5.6.5 and ixgbevf_4.6.3 will compile failed with kernel:linux-intel 5.4...
Status: VERIFIED FIXED
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-intel (show other bugs)
Version: 3.1
Hardware: x86 x86_64
: Medium+ normal
Target Milestone: 3.1.2
Assignee: Anuj Mittal
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2020-05-25 01:07 UTC by robert1030tw
Modified: 2020-06-16 19:43 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description robert1030tw 2020-05-25 01:07:06 UTC
1. Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "x86_64-poky-linux"
MACHINE              = "intel-corei7-64"
DISTRO               = "poky"
DISTRO_VERSION       = "3.1"
TUNE_FEATURES        = "m64 corei7"
TARGET_FPU           = ""
meta                 = "dunfell:1a50634e56dfcb63eac0df1aa9cd7e6fb7bd470a"
meta-oe              
meta-filesystems     
meta-python          
meta-networking      = "dunfell:a62ad77973b16daac1cbaa03cbda3c6b9b91f2ff"
meta-poky            
meta-yocto-bsp       = "dunfell:3f6857be9be9ab5e2ede9a416c212487357eec0d"
meta-intel           = "dunfell:81cfa07db0ca5f756179af2af5799a2fce5ee7ee"
meta-dpdk            = "dunfell:2b077a7ece9b4f2b9c5b3586149b4eef0e383e3e"

2. some version information
linux-intel kernel version:5.4.28
ixgbe version: 5.6.5
ixgbevf version: 4.6.3

3. conf/local.conf setup (Related ixgbe and ixgbevf)
CONFIG_IXGBE="y"
CONFIG_IXGBE_HWMON="y"
CONFIG_IXGBE_DCA="y"
CONFIG_IXGBE_DCB="y"
CONFIG_IXGBEVF="y"                                                                                                                       
# Image_include                                                                                                                          
IMAGE_INSTALL_append = " ixgbe"                                                                                                          
IMAGE_INSTALL_append = " ixgbevf"                                                                                                        
                                                                                                                                         
# Enable systemd                                                                                                                         
DISTRO_FEATURES_append = " systemd"                                                                                                      
DISTRO_FEATURES_BACKFILL_CONSIDERED_append = "sysvinit"                                                                                  
VIRTUAL-RUNTIME_init_manager = "systemd"                                                                                                 
VIRTUAL-RUNTIME_initscripts = ""  

4. log.do_compile faild result (Both ixgbe_5.6.5 and ixgbevf_4.6.3) 
kcompat.h:2796:10: fatal error: linux/pci-aspm.h: No
such file or directory
 2796 | #include <linux/pci-aspm.h>

5. ZEUS can't reproduce this issue.
Comment 1 Anuj Mittal 2020-05-26 17:10:33 UTC
(In reply to comment #0)
> 1. Build Configuration:
> BB_VERSION           = "1.46.0"
> BUILD_SYS            = "x86_64-linux"
> NATIVELSBSTRING      = "universal"
> TARGET_SYS           = "x86_64-poky-linux"
> MACHINE              = "intel-corei7-64"
> DISTRO               = "poky"
> DISTRO_VERSION       = "3.1"
> TUNE_FEATURES        = "m64 corei7"
> TARGET_FPU           = ""
> meta                 = "dunfell:1a50634e56dfcb63eac0df1aa9cd7e6fb7bd470a"
> meta-oe              
> meta-filesystems     
> meta-python          
> meta-networking      = "dunfell:a62ad77973b16daac1cbaa03cbda3c6b9b91f2ff"
> meta-poky            
> meta-yocto-bsp       = "dunfell:3f6857be9be9ab5e2ede9a416c212487357eec0d"
> meta-intel           = "dunfell:81cfa07db0ca5f756179af2af5799a2fce5ee7ee"
> meta-dpdk            = "dunfell:2b077a7ece9b4f2b9c5b3586149b4eef0e383e3e"
> 
> 2. some version information
> linux-intel kernel version:5.4.28
> ixgbe version: 5.6.5
> ixgbevf version: 4.6.3
> 
> 3. conf/local.conf setup (Related ixgbe and ixgbevf)
> CONFIG_IXGBE="y"
> CONFIG_IXGBE_HWMON="y"
> CONFIG_IXGBE_DCA="y"
> CONFIG_IXGBE_DCB="y"
> CONFIG_IXGBEVF="y"                                                          
> 
> # Image_include                                                             
> 
> IMAGE_INSTALL_append = " ixgbe"                                             
> 
> IMAGE_INSTALL_append = " ixgbevf"                                           
>
This will install the out of tree module from meta-intel which is probably not needed for v5.4 kernel. If you just want to be able to use ixgbe driver from kernel, IMAGE_INSTALL is not needed in this case.
Comment 2 robert1030tw 2020-05-31 18:40:27 UTC
ixgbe-5.6.5 and ixgbevf-4.6.3 only support to kernel 5.3 (release note say) , they doesn't support up to kernel 5.4, new ixgbe-5.7.1 and ixgbevf-4.7.1 support to kernel 5.6, why poky dunfell branch doesn't upgrade to new version?? i found master branch of meta-intel layer at poky, it has upgrade ixgbevf from 4.6.3 to 4.7.1, so i change ixgbe to 5.7.1 and ixgbevf to 4.7.1 of local meta-intel, the issue can't be reproduced.
Comment 3 Anuj Mittal 2020-06-11 08:39:48 UTC
Upgrades merged in dunfell.
Comment 4 robert1030tw 2020-06-16 19:43:47 UTC
Check it on Build Configuration:
BB_VERSION           = "1.46.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "x86_64-poky-linux"
MACHINE              = "intel-corei7-64"
DISTRO               = "poky"
DISTRO_VERSION       = "3.1.1"
TUNE_FEATURES        = "m64 corei7"
TARGET_FPU           = ""
meta                 
meta-poky            
meta-yocto-bsp       = "dunfell:febbe2944c0c4a04b85fa98fdc261186115954d8"
meta-oe              
meta-filesystems     
meta-python          
meta-networking      = "dunfell:8a72d29e0876830ffd96b85d7d0308302eb07a5d"
meta-intel           = "dunfell:4cf511565a9d7d338db5df9bb0ec169a1ccaff42"
meta-dpdk            = "dunfell:04f410e3d26776db5b697dbb63ce00d902d702f2"

IXGBE version has been upgrade to 5.7.1
IXGBEVF version has been upgrade to 4.7.1