Red Hat Bugzilla – Bug 1193817
scsi generic module is not loaded by default
Last modified: 2015-11-19 10:06:04 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
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@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.
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