Bug 8180 - [Anolis23.1][RC2][内核兼容性][ANCK-5.10-016.2][x86_64]ANCK-5.10-016.2_rc2内核兼容性评估cmdline部分项有差异
Summary: [Anolis23.1][RC2][内核兼容性][ANCK-5.10-016.2][x86_64]ANCK-5.10-016.2_rc2内核兼容性评估cm...
Status: CLOSED INVALID
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: general/others (show other bugs) general/others
Version: 5.10.y-16.2
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: maqiao
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-05 16:31 UTC by Banana
Modified: 2024-03-29 10:29 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Banana alibaba_cloud_group 2024-02-05 16:31:15 UTC
[问题描述]:
An23.1 ANCK-5.10-016.2_rc2内核兼容性评估kparams部分项结果有差异,与预期不符
x86环境:
以下三项应有对应结果,在5.10.134-16.1和5.10.134-16.2_rc2采集结果均为空
iommu.passthrough
iommu
intel_iommu

arm环境:
以下两项在5.10.134-16.1存在值,在5.10.134-16.2_rc2采集为空
                5.10.134-16.1         5.10.134-16.2_rc2
ssbd	        force-off	      null
nospectre_bhb	nospectre_bhb	      null

[环境信息]:
数据采集评估机器类型:ECS

[内核信息]:
- 基准内核:
[root@iZbp135ihsd67yb2jtkdy9Z ~]# uname -r
5.10.134-16.1.an23.x86_64

- 评估内核:
[root@localhost database]# uname -r
5.10.134-16.2_rc2.an23.x86_64

[操作系统信息]:
- 基准系统:
[root@iZbp135ihsd67yb2jtkdy9Z ~]# cat /etc/os-release
NAME="Anolis OS"
VERSION="23"
ID="anolis"
VERSION_ID="23"
PLATFORM_ID="platform:an23"
PRETTY_NAME="Anolis OS 23"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugzilla.openanolis.cn/"

- 评估系统:
[root@localhost database]# cat /etc/os-release
NAME="Anolis OS"
VERSION="23"
ID="anolis"
VERSION_ID="23"
PLATFORM_ID="platform:an23"
PRETTY_NAME="Anolis OS 23"
ANSI_COLOR="0;31"
HOME_URL="https://openanolis.cn/"
BUG_REPORT_URL="https://bugzilla.openanolis.cn/"

[期望结果]:
需判定评估结果:
1、如果是内核新特性则结果正常
2、如果是内核bug,则需解决,评估结果应正常

[实际结果]:
与实际不符
Comment 1 maqiao alibaba_cloud_group 2024-02-06 10:10:40 UTC
arm的两项是环境被改过导致的。
重装内核rpm包以后,这个cmdline就恢复正常了。

[root@localhost ~]# cat /proc/cmdline 
BOOT_IMAGE=(hd0,gpt2)/boot/vmlinuz-5.10.134-16.2_rc2.an23.aarch64 root=UUID=e7fa3731-1fa9-49dd-9a9e-f7cc1cb8d7cd ro rhgb cryptomgr.notests rcupdate.rcu_cpu_stall_timeout=300 quiet selinux=1 console=tty0 biosdevname=0 net.ifnames=0 console=ttyAMA0,115200n8 noibrs nvme_core.io_timeout=4294967295 nvme_core.admin_timeout=4294967295 cgroup.memory=nokmem crashkernel=0M-2G:0M,2G-64G:256M,64G-:384M iommu.passthrough=1 iommu.strict=0 nospectre_bhb ssbd=force-off
[root@localhost ~]# uname -r
5.10.134-16.2_rc2.an23.aarch64
Comment 2 maqiao alibaba_cloud_group 2024-02-06 10:21:38 UTC
x86的内核基线中没有这几个iommu相关的,翻了下镜像的配置,也没有这些
Comment 3 maqiao alibaba_cloud_group 2024-02-29 10:11:26 UTC
置为invalid