Bug 6655 - 升级到5.10内核后服务器无法进入系统,卡在dracut界面
Summary: 升级到5.10内核后服务器无法进入系统,卡在dracut界面
Status: RESOLVED FIXED
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: kernel - anck-5.10 (show other bugs) kernel - anck-5.10
Version: 8.2
Hardware: x86_64 Linux
: P3-Medium S1-blocker
Target Milestone: ---
Assignee: gumi
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-21 09:40 UTC by djhwyh
Modified: 2023-11-10 16:53 UTC (History)
1 user (show)

See Also:


Attachments
进入dracut前的屏幕输出 (69.55 KB, image/jpeg)
2023-09-21 09:40 UTC, djhwyh
Details
无法识别LVM分区的具体截图 (41.77 KB, image/jpeg)
2023-09-21 09:41 UTC, djhwyh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description djhwyh 2023-09-21 09:40:16 UTC
Created attachment 896 [details]
进入dracut前的屏幕输出

Description of problem:
在从4.19.91-24.8.an8 内核升级到5.10.134-14.an8 (龙蜥8仓库中对应rpm包)的时候,发现一些服务器,升级前硬盘对应SAS卡的驱动是isci,但是升级后系统盘无法启动,找不到对应LVM分区,我看新内下没有isci的驱动模块文件,请问如何解决。
对应SAS卡在4内核下的pci信息如下:
lspci -nn|grep -i sas
03:00.0 Serial Attached SCSI controller [0107]: Intel Corporation C606 chipset Dual 4-Port SATA/SAS Storage Control Unit [8086:1d68] (rev 06)

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 djhwyh 2023-09-21 09:41:28 UTC
Created attachment 897 [details]
无法识别LVM分区的具体截图

补充服务器型号是INSPUR	SA5212H2。
Comment 2 gumi alibaba_cloud_group 2023-09-25 17:56:57 UTC
问题原因是在5.10的config文件中CONFIG_SCSI_ISCI没打开,导致isci.ko驱动没有。
Comment 3 小龙 admin 2023-09-25 19:57:16 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/2239
Comment 4 gumi alibaba_cloud_group 2023-11-10 16:53:14 UTC
问题已分析清楚,是anck-5.10 config关闭了iscsi驱动配置,导致isci驱动没有编译。修改方案为将isci驱动配置为m,开启编译。解决此问题。