Bug 27392 - mpi3mr与nvme驱动加载时资源竞争问题导致无法完成驱动初始化
Summary: mpi3mr与nvme驱动加载时资源竞争问题导致无法完成驱动初始化
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: drivers (show other bugs) drivers
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: GuixinLiu
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-26 16:28 UTC by wangkaiyuan
Modified: 2025-12-02 11:40 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wangkaiyuan inspur_group 2025-11-26 16:28:54 UTC
Description of problem:

问题:博通raid卡后接一块坏的机械硬盘,驱动mpi3mr,系统盘在nvme盘上,系统启动过程中会偶发卡死,几率高;
现象:如果将initramfs中mpi3mr驱动删除,则没问题;如果initramfs中存在mpi3mr 且配置 rd.driver.pre=nvme 和 rd.driver.post=mpi3mr调节驱动加载顺序,也可以规避。
定位:linux社区6.10内核 c0a40097f0bc81deafc15f9195d1fb54595cd6d0,在really_probe和dev_uevent处理之间用锁同步信息,避免竞争;6.15内核dc1771f718548f7d4b93991b174c6e7b5e1ba410 移除上一个commit,说在遇到某些坏sd卡会耗时超过2分种,并说明上一个增加的锁是有害的锁。

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 hobbit alibaba_cloud_group 2025-12-02 11:40:49 UTC
目前已经有添加cmdline指定加载顺序的规避方案,判断从内核层面修复这个问题的优先级不高,先观察upstream动态是否会修复这个问题