Bug 27318 - [Anolis23.4][RC1][浪潮信息]OS启动后没有自动加载sg驱动,导致scsi设备无法识别
Summary: [Anolis23.4][RC1][浪潮信息]OS启动后没有自动加载sg驱动,导致scsi设备无法识别
Status: RESOLVED FIXED
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 23.4
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: gaochang
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-19 16:51 UTC by wangkaiqiang
Modified: 2025-11-20 09:33 UTC (History)
0 users

See Also:


Attachments
开机后没有加载sg驱动 (2.42 KB, image/png)
2025-11-19 16:51 UTC, wangkaiqiang
Details
修改udev规则后可以加载sg驱动 (2.42 KB, image/png)
2025-11-19 16:53 UTC, wangkaiqiang
Details
可以识别到scsi设备 (38.88 KB, image/jpeg)
2025-11-20 09:31 UTC, wangkaiqiang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wangkaiqiang inspur_group 2025-11-19 16:51:43 UTC
Created attachment 1380 [details]
开机后没有加载sg驱动

Description of problem:
OS启动后没有加载sg驱动,导致scsi存储设备无法识别

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


How reproducible:

必现
Steps to Reproduce:
1. 服务器有scsi存储设备
2.开机后查看scsi存储设备
3.lsmod | grep sg

Actual results:
1、无法查到scsi存储设备
2、sg驱动未加载

Expected results:

sg驱动已经加载且,能识别到scsi设备

Additional info:
Comment 1 wangkaiqiang inspur_group 2025-11-19 16:52:37 UTC
原因是systemd udev规则中没有添加对sg驱动的启动
Comment 2 wangkaiqiang inspur_group 2025-11-19 16:53:19 UTC
Created attachment 1381 [details]
修改udev规则后可以加载sg驱动

修改udev规则后可以加载sg驱动
Comment 3 wangkaiqiang inspur_group 2025-11-20 09:31:02 UTC
Created attachment 1382 [details]
可以识别到scsi设备