Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1193817 - scsi generic module is not loaded by default
scsi generic module is not loaded by default
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: systemd (Show other bugs)
7.1
All Linux
unspecified Severity low
: rc
: ---
Assigned To: systemd-maint
Branislav Blaškovič
:
Depends On: 1186462
Blocks: 1133060
  Show dependency treegraph
 
Reported: 2015-02-18 05:25 EST by Vishnu Kumar
Modified: 2015-11-19 10:06 EST (History)
12 users (show)

See Also:
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 10:06:04 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 1474203 None None None Never
Red Hat Product Errata RHBA-2015:2092 normal SHIPPED_LIVE systemd bug fix and enhancement update 2015-11-19 07:13:57 EST

  None (edit)
Description Vishnu Kumar 2015-02-18 05:25:46 EST
Description of problem:
sg module is not loaded by default

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

How reproducible:
100%

Steps to Reproduce:
1. Install RH 7.1 RC1
2. Grep for the sg module 


Actual results:
sg module is not loaded

Expected results:
sg module should be loaded by default

Additional info:
[root@RH71-RC1 ~]# lsmod | grep -i sg
ipmi_msghandler        45603  2 ipmi_devintf,ipmi_si
[root@RH71-RC1 ~]# modprobe sg
[root@RH71-RC1 ~]# lsmod | grep -i sg
sg                     40721  0
ipmi_msghandler        45603  2 ipmi_devintf,ipmi_si
[root@RH71-RC1 ~]# clear
Comment 2 George Yameen 2015-02-27 20:24:32 EST
Hi,

Will this be fixed when this GA's?

Thanks!
George
Comment 3 Lukas Herbolt 2015-03-17 05:52:43 EDT
Same issue in GA.
sg module is not loaded after update from 7.0 to 7.1.
Comment 5 George Yameen 2015-05-20 13:54:54 EDT
Hi,

Is there any update for this?

Thanks!
George
Comment 6 David Sommerseth 2015-05-20 14:23:47 EDT
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.
Comment 9 George Yameen 2015-06-25 19:50:21 EDT
Hi David,

Thank you for the update, can you give us a date for this solution?

Thanks!
George
Comment 10 Branislav Blaškovič 2015-08-31 09:15:57 EDT
$ cat 0180-rules-load-sg-module.patch
From 50a7827f7376d31d2af2dc563fc51d8ad71f48dc Mon Sep 17 00:00:00 2001
From: Lukas Nykryn <lnykryn@redhat.com>
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.
Comment 11 Branislav Blaškovič 2015-10-02 10:36:28 EDT
Switching this to SanityOnly, patch is in current systemd build as I wrote before in comment 10.
Comment 12 errata-xmlrpc 2015-11-19 10:06:04 EST
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

Note You need to log in before you can comment on or make changes to this bug.