Bug 1193817
| Summary: | scsi generic module is not loaded by default | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Vishnu Kumar <vishnu.kumar> |
| Component: | systemd | Assignee: | systemd-maint |
| Status: | CLOSED ERRATA | QA Contact: | Branislav Blaškovič <bblaskov> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.1 | CC: | bblaskov, george.yameen, hannsj_uhl, igeorgex, jscotka, lherbolt, lnykryn, qe-baseos-daemons, rdave, srishankarshana.kmk, systemd-maint-list, truong.nguyen |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | systemd-219-3.el7 | Doc Type: | Bug Fix |
| Doc Text: |
Cause:
Previously the module was load automatically by some other package.
Consequence:
They have removed that.
Fix:
Now we load the sg driver, when there is a scsi device.
Result:
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-11-19 15:06:04 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1186462 | ||
| Bug Blocks: | 1133060 | ||
|
Description
Vishnu Kumar
2015-02-18 10:25:46 UTC
Hi, Will this be fixed when this GA's? Thanks! George Same issue in GA. sg module is not loaded after update from 7.0 to 7.1. Hi, Is there any update for this? Thanks! George Sorry for the lack of updates - we've been working on this one, but this issue has been tracked a few other places as well. Yes, there is a solution on the way. The issue is related to a udev rule which was removed from systemd (hence the change from sg3_utils to systemd) which was responsible for loading the sg module automatically. The current plan is to re-introduce this rule for RHEL7. Hi David, Thank you for the update, can you give us a date for this solution? Thanks! George $ cat 0180-rules-load-sg-module.patch
From 50a7827f7376d31d2af2dc563fc51d8ad71f48dc Mon Sep 17 00:00:00 2001
From: Lukas Nykryn <lnykryn>
Date: Wed, 20 May 2015 12:34:18 +0200
Subject: [PATCH] rules: load sg module
Revert of 09637f743414e2c36d6c5b032d77d76dbeb86b31
RHEL-only
Resolves: #1186462
---
rules/40-redhat.rules | 3 +++
1 file changed, 3 insertions(+)
diff --git a/rules/40-redhat.rules b/rules/40-redhat.rules
index 556a3a3..305e752 100644
--- a/rules/40-redhat.rules
+++ b/rules/40-redhat.rules
@@ -8,3 +8,6 @@ SUBSYSTEM=="memory", ACTION=="add", ATTR{state}=="offline", ATTR{state}="online"
# reload sysctl.conf / sysctl.conf.d settings when the bridge module is loaded
ACTION=="add", SUBSYSTEM=="module", KERNEL=="bridge", RUN+="/usr/lib/systemd/systemd-sysctl --prefix=/proc/sys/net/bridge"
+
+# load SCSI generic (sg) driver
+SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST!="[module/sg]", RUN+="/sbin/modprobe -bv sg"
This patch will be released in RHEL7.2. Beta should be out soon.
Switching this to SanityOnly, patch is in current systemd build as I wrote before in comment 10. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2092.html |