1 2 Previous Next 15 Replies Latest reply: Aug 29, 2011 7:24 AM by Catch-22 RSS

    About SG (Scsi Generic) module on OEL6

    884291
      Hi,

      I have installed Oracle Enterpise Linux 6 but "sg" module was not loaded default by OS."FATAL: Module sg not found." error is printed when i try to "modprobe sg" command.

      SG module is loaded default on Redhat 6 but as far as i see it does not install default on OEL 6.Secure Backup and EMC storage HostAgent software need to SG module on Linux.

      Which package(s) should be selected during the OEL6 minimal installation ? or how can i install sg module on OEL 6 after minimal installation ?

      If you help me,I will be happy.
      Thanks.
        • 1. Re: About SG (Scsi Generic) module on OEL6
          Sergio-Oracle
          Can you provide some basic information:

          # uname -r
          # cat /etc/oracle-release

          SG should be built into the kernel. Check:

          # cat /proc/scsi/sg/version

          Sergio
          • 2. Re: About SG (Scsi Generic) module on OEL6
            Catch-22
            SG is a generic SCSI driver. Does the kernel recognize your SCSI adapter? What is the output of lspci -v
            • 3. Re: About SG (Scsi Generic) module on OEL6
              884291
              Hi,thanks for your reply.

              You can see the below information about OS and sg version.

              # uname -r
              2.6.32-100.34.1.el6uek.x86_64

              # cat /etc/oracle-release
              Oracle Linux Server release 6.1

              # cat /proc/scsi/sg/version
              30534 3.5.34 [20061027]
              • 4. Re: About SG (Scsi Generic) module on OEL6
                884291
                Hi,thanks for your reply.You can find lspci -v outout like below:



                00:00.0 Host bridge: Intel Corporation 5500 I/O Hub to ESI Port (rev 13)
                Subsystem: Fujitsu Technology Solutions Device 1127
                Flags: fast devsel, IRQ 11
                Capabilities: [60] MSI: Enable- Count=1/2 Maskable+ 64bit-
                Capabilities: [90] Express Root Port (Slot+), MSI 00
                Capabilities: [e0] Power Management version 3
                Capabilities: [100] Advanced Error Reporting
                Capabilities: [150] Access Control Services
                Capabilities: [160] Vendor Specific Information <?>

                00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 1 (rev 13) (prog-if 00 [Normal decode])
                Flags: bus master, fast devsel, latency 0
                Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
                I/O behind bridge: 00002000-00002fff
                Memory behind bridge: ce100000-ce1fffff
                Prefetchable memory behind bridge: 00000000c0000000-00000000c00fffff
                Capabilities: [40] Subsystem: Fujitsu Technology Solutions Device 1127
                Capabilities: [60] MSI: Enable+ Count=1/2 Maskable+ 64bit-
                Capabilities: [90] Express Root Port (Slot+), MSI 00
                Capabilities: [e0] Power Management version 3
                Capabilities: [100] Advanced Error Reporting
                Capabilities: [150] Access Control Services
                Capabilities: [160] Vendor Specific Information <?>
                Kernel driver in use: pcieport
                Kernel modules: shpchp

                00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 3 (rev 13) (prog-if 00 [Normal decode])
                Flags: bus master, fast devsel, latency 0
                Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
                I/O behind bridge: 00003000-00003fff
                Memory behind bridge: ce200000-ce2fffff
                Prefetchable memory behind bridge: 00000000c0100000-00000000c01fffff
                Capabilities: [40] Subsystem: Fujitsu Technology Solutions Device 1127
                Capabilities: [60] MSI: Enable+ Count=1/2 Maskable+ 64bit-
                Capabilities: [90] Express Root Port (Slot+), MSI 00
                Capabilities: [e0] Power Management version 3
                Capabilities: [100] Advanced Error Reporting
                Capabilities: [150] Access Control Services
                Capabilities: [160] Vendor Specific Information <?>
                Kernel driver in use: pcieport
                Kernel modules: shpchp

                00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 7 (rev 13) (prog-if 00 [Normal decode])
                Flags: bus master, fast devsel, latency 0
                Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
                I/O behind bridge: 00004000-00004fff
                Memory behind bridge: ce300000-ce3fffff
                Prefetchable memory behind bridge: 00000000c0200000-00000000c02fffff
                Capabilities: [40] Subsystem: Fujitsu Technology Solutions Device 1127
                Capabilities: [60] MSI: Enable+ Count=1/2 Maskable+ 64bit-
                Capabilities: [90] Express Root Port (Slot+), MSI 00
                Capabilities: [e0] Power Management version 3
                Capabilities: [100] Advanced Error Reporting
                Capabilities: [150] Access Control Services
                Capabilities: [160] Vendor Specific Information <?>
                Kernel driver in use: pcieport
                Kernel modules: shpchp

                00:09.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 9 (rev 13) (prog-if 00 [Normal decode])
                Flags: bus master, fast devsel, latency 0
                Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
                I/O behind bridge: 00005000-00005fff
                Memory behind bridge: ce400000-ce6fffff
                Prefetchable memory behind bridge: 00000000c0300000-00000000c03fffff
                Capabilities: [40] Subsystem: Fujitsu Technology Solutions Device 1127
                Capabilities: [60] MSI: Enable+ Count=1/2 Maskable+ 64bit-
                Capabilities: [90] Express Root Port (Slot+), MSI 00
                Capabilities: [e0] Power Management version 3
                Capabilities: [100] Advanced Error Reporting
                Capabilities: [150] Access Control Services
                Kernel driver in use: pcieport
                Kernel modules: shpchp

                00:10.0 PIC: Intel Corporation 5520/5500/X58 Physical and Link Layer Registers Port 0 (rev 13) (prog-if 00 [8259])
                Subsystem: Device 0034:0027
                Flags: fast devsel
                Capabilities: [50] Vendor Specific Information <?>

                00:10.1 PIC: Intel Corporation 5520/5500/X58 Routing and Protocol Layer Registers Port 0 (rev 13) (prog-if 00 [8259])
                Subsystem: Device 0034:0027
                Flags: fast devsel

                00:11.0 PIC: Intel Corporation 5520/5500 Physical and Link Layer Registers Port 1 (rev 13) (prog-if 00 [8259])
                Subsystem: Device 0034:0027
                Flags: fast devsel
                Capabilities: [50] Vendor Specific Information <?>

                00:11.1 PIC: Intel Corporation 5520/5500 Routing & Protocol Layer Register Port 1 (rev 13) (prog-if 00 [8259])
                Subsystem: Device 0034:0027
                Flags: fast devsel

                00:14.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub System Management Registers (rev 13) (prog-if 00 [8259])
                Subsystem: Device 0034:0027
                Flags: fast devsel
                Capabilities: [40] Express Root Complex Integrated Endpoint, MSI 00

                00:14.1 PIC: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers (rev 13) (prog-if 00 [8259])
                Subsystem: Device 0034:0027
                Flags: fast devsel
                Capabilities: [40] Express Root Complex Integrated Endpoint, MSI 00

                00:14.2 PIC: Intel Corporation 5520/5500/X58 I/O Hub Control Status and RAS Registers (rev 13) (prog-if 00 [8259])
                Subsystem: Device 0034:0027
                Flags: fast devsel
                Capabilities: [40] Express Root Complex Integrated Endpoint, MSI 00

                00:14.3 PIC: Intel Corporation 5520/5500/X58 I/O Hub Throttle Registers (rev 13) (prog-if 00 [8259])
                Subsystem: Device 0034:0027
                Flags: fast devsel

                00:15.0 PIC: Intel Corporation 5520/5500/X58 Trusted Execution Technology Registers (rev 13) (prog-if 20 [IO(X)-APIC])
                Subsystem: Device 0034:0027
                Flags: fast devsel

                00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4 (prog-if 00 [UHCI])
                Subsystem: Fujitsu Technology Solutions Device 114d
                Flags: bus master, medium devsel, latency 0, IRQ 19
                I/O ports at 1820 [size=32]
                Capabilities: [50] PCI Advanced Features
                Kernel driver in use: uhci_hcd
                Kernel modules: uhci-hcd

                00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5 (prog-if 00 [UHCI])
                Subsystem: Fujitsu Technology Solutions Device 114d
                Flags: bus master, medium devsel, latency 0, IRQ 18
                I/O ports at 1840 [size=32]
                Capabilities: [50] PCI Advanced Features
                Kernel driver in use: uhci_hcd
                Kernel modules: uhci-hcd

                00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6 (prog-if 00 [UHCI])
                Subsystem: Fujitsu Technology Solutions Device 114d
                Flags: bus master, medium devsel, latency 0, IRQ 18
                I/O ports at 1860 [size=32]
                Capabilities: [50] PCI Advanced Features
                Kernel driver in use: uhci_hcd
                Kernel modules: uhci-hcd

                00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2 (prog-if 20 [EHCI])
                Subsystem: Fujitsu Technology Solutions Device 114d
                Flags: bus master, medium devsel, latency 0, IRQ 18
                Memory at ce000000 (32-bit, non-prefetchable) [size=1K]
                Capabilities: [50] Power Management version 2
                Capabilities: [58] Debug port: BAR=1 offset=00a0
                Capabilities: [98] PCI Advanced Features
                Kernel driver in use: ehci_hcd

                00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1 (prog-if 00 [Normal decode])
                Flags: bus master, fast devsel, latency 0
                Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
                I/O behind bridge: 00006000-00006fff
                Memory behind bridge: ce700000-ceffffff
                Prefetchable memory behind bridge: 00000000cf000000-00000000cfffffff
                Capabilities: [40] Express Root Port (Slot+), MSI 00
                Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
                Capabilities: [90] Subsystem: Fujitsu Technology Solutions Device 114d
                Capabilities: [a0] Power Management version 2
                Capabilities: [100] Virtual Channel <?>
                Capabilities: [180] Root Complex Link <?>
                Kernel driver in use: pcieport
                Kernel modules: shpchp

                00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1 (prog-if 00 [UHCI])
                Subsystem: Fujitsu Technology Solutions Device 114d
                Flags: bus master, medium devsel, latency 0, IRQ 23
                I/O ports at 1880 [size=32]
                Capabilities: [50] PCI Advanced Features
                Kernel driver in use: uhci_hcd
                Kernel modules: uhci-hcd

                00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2 (prog-if 00 [UHCI])
                Subsystem: Fujitsu Technology Solutions Device 114d
                Flags: bus master, medium devsel, latency 0, IRQ 22
                I/O ports at 18a0 [size=32]
                Capabilities: [50] PCI Advanced Features
                Kernel driver in use: uhci_hcd
                Kernel modules: uhci-hcd

                00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3 (prog-if 00 [UHCI])
                Subsystem: Fujitsu Technology Solutions Device 114d
                Flags: bus master, medium devsel, latency 0, IRQ 21
                I/O ports at 18c0 [size=32]
                Capabilities: [50] PCI Advanced Features
                Kernel driver in use: uhci_hcd
                Kernel modules: uhci-hcd

                00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1 (prog-if 20 [EHCI])
                Subsystem: Fujitsu Technology Solutions Device 114d
                Flags: bus master, medium devsel, latency 0, IRQ 23
                Memory at ce001000 (32-bit, non-prefetchable) [size=1K]
                Capabilities: [50] Power Management version 2
                Capabilities: [58] Debug port: BAR=1 offset=00a0
                Capabilities: [98] PCI Advanced Features
                Kernel driver in use: ehci_hcd

                00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90) (prog-if 01 [Subtractive decode])
                Flags: bus master, fast devsel, latency 0
                Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
                Capabilities: [50] Subsystem: Fujitsu Technology Solutions Device 114d

                00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
                Subsystem: Fujitsu Technology Solutions Device 114d
                Flags: bus master, medium devsel, latency 0
                Capabilities: [e0] Vendor Specific Information <?>
                Kernel modules: iTCO_wdt

                00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller #1 (prog-if 8a [Master SecP PriP])
                Subsystem: Fujitsu Technology Solutions Device 1150
                Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 16
                I/O ports at 01f0 [size=8]
                I/O ports at 03f4 [size=1]
                I/O ports at 0170 [size=8]
                I/O ports at 0374 [size=1]
                I/O ports at 1c10 [size=16]
                I/O ports at 1c00 [size=16]
                Capabilities: [70] Power Management version 3
                Capabilities: [b0] PCI Advanced Features
                Kernel driver in use: ata_piix
                Kernel modules: ata_generic, pata_acpi, ata_piix

                00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
                Subsystem: Fujitsu Technology Solutions Device 114d
                Flags: medium devsel, IRQ 17
                Memory at ce002000 (64-bit, non-prefetchable) [size=256]
                I/O ports at 18e0 [size=32]
                Kernel driver in use: i801_smbus
                Kernel modules: i2c-i801

                00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller #2 (prog-if 85 [Master SecO PriO])
                Subsystem: Fujitsu Technology Solutions Device 114d
                Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 17
                I/O ports at 1c68 [size=8]
                I/O ports at 1c5c [size=4]
                I/O ports at 1c60 [size=8]
                I/O ports at 1c58 [size=4]
                I/O ports at 1c30 [size=16]
                I/O ports at 1c20 [size=16]
                Capabilities: [70] Power Management version 3
                Capabilities: [b0] PCI Advanced Features
                Kernel driver in use: ata_piix
                Kernel modules: ata_generic, pata_acpi, ata_piix

                01:00.0 Ethernet controller: Intel Corporation 82575EB Gigabit Network Connection (rev 02)
                Subsystem: Fujitsu Technology Solutions Device 1128
                Flags: bus master, fast devsel, latency 0, IRQ 28
                Memory at ce160000 (32-bit, non-prefetchable) [size=128K]
                Memory at ce140000 (32-bit, non-prefetchable) [size=128K]
                I/O ports at 2000 [size=32]
                Memory at ce100000 (32-bit, non-prefetchable) [size=16K]
                [virtual] Expansion ROM at c0000000 [disabled] [size=128K]
                Capabilities: [40] Power Management version 2
                Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
                Capabilities: [60] MSI-X: Enable+ Count=10 Masked-
                Capabilities: [a0] Express Endpoint, MSI 00
                Capabilities: [100] Advanced Error Reporting
                Capabilities: [140] Device Serial Number 00-26-2d-ff-ff-08-da-60
                Kernel driver in use: igb
                Kernel modules: igb

                01:00.1 Ethernet controller: Intel Corporation 82575EB Gigabit Network Connection (rev 02)
                Subsystem: Fujitsu Technology Solutions Device 1128
                Physical Slot: 1
                Flags: bus master, fast devsel, latency 0, IRQ 40
                Memory at ce1c0000 (32-bit, non-prefetchable) [size=128K]
                Memory at ce1a0000 (32-bit, non-prefetchable) [size=128K]
                I/O ports at 2020 [size=32]
                Memory at ce104000 (32-bit, non-prefetchable) [size=16K]
                [virtual] Expansion ROM at c0020000 [disabled] [size=128K]
                Capabilities: [40] Power Management version 2
                Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
                Capabilities: [60] MSI-X: Enable+ Count=10 Masked-
                Capabilities: [a0] Express Endpoint, MSI 00
                Capabilities: [100] Advanced Error Reporting
                Capabilities: [140] Device Serial Number 00-26-2d-ff-ff-08-da-60
                Kernel driver in use: igb
                Kernel modules: igb

                02:00.0 RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2108 [Liberator] (rev 05)
                Subsystem: Fujitsu Technology Solutions RAID Ctrl SAS 6G 5/6 512MB (D2616)
                Physical Slot: 3
                Flags: bus master, fast devsel, latency 0, IRQ 24
                I/O ports at 3000 [size=256]
                Memory at ce200000 (64-bit, non-prefetchable) [size=16K]
                Memory at ce280000 (64-bit, non-prefetchable) [size=256K]
                [virtual] Expansion ROM at c0100000 [disabled] [size=256K]
                Capabilities: [50] Power Management version 3
                Capabilities: [68] Express Endpoint, MSI 00
                Capabilities: [a8] MSI: Enable- Count=1/1 Maskable- 64bit+
                Capabilities: [c0] MSI-X: Enable+ Count=15 Masked-
                Capabilities: [100] Advanced Error Reporting
                Capabilities: [138] Power Budgeting <?>
                Kernel driver in use: megaraid_sas
                Kernel modules: megaraid_sas

                03:00.0 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
                Subsystem: LSI Logic / Symbios Logic Device 3080
                Physical Slot: 2
                Flags: bus master, fast devsel, latency 0, IRQ 30
                I/O ports at 4000 [size=256]
                Memory at ce300000 (64-bit, non-prefetchable) [size=16K]
                Memory at ce340000 (64-bit, non-prefetchable) [size=256K]
                [virtual] Expansion ROM at c0200000 [disabled] [size=512K]
                Capabilities: [50] Power Management version 3
                Capabilities: [68] Express Endpoint, MSI 00
                Capabilities: [d0] Vital Product Data
                Capabilities: [a8] MSI: Enable- Count=1/1 Maskable- 64bit+
                Capabilities: [c0] MSI-X: Enable+ Count=15 Masked-
                Capabilities: [100] Advanced Error Reporting
                Capabilities: [138] Power Budgeting <?>
                Kernel driver in use: mpt2sas
                Kernel modules: mpt2sas

                04:00.0 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)
                Subsystem: QLogic Corp. Device 015d
                Flags: bus master, fast devsel, latency 0, IRQ 32
                I/O ports at 5000 [size=256]
                Memory at ce400000 (64-bit, non-prefetchable) [size=16K]
                Memory at ce500000 (64-bit, non-prefetchable) [size=1M]
                [virtual] Expansion ROM at c0300000 [disabled] [size=256K]
                Capabilities: [44] Power Management version 3
                Capabilities: [4c] Express Endpoint, MSI 00
                Capabilities: [88] MSI: Enable- Count=1/32 Maskable- 64bit+
                Capabilities: [98] Vital Product Data
                Capabilities: [a0] MSI-X: Enable+ Count=32 Masked-
                Capabilities: [100] Advanced Error Reporting
                Capabilities: [138] Power Budgeting <?>
                Kernel driver in use: qla2xxx
                Kernel modules: qla2xxx

                04:00.1 Fibre Channel: QLogic Corp. ISP2532-based 8Gb Fibre Channel to PCI Express HBA (rev 02)
                Subsystem: QLogic Corp. Device 015d
                Physical Slot: 1-1
                Flags: bus master, fast devsel, latency 0, IRQ 42
                I/O ports at 5400 [size=256]
                Memory at ce404000 (64-bit, non-prefetchable) [size=16K]
                Memory at ce600000 (64-bit, non-prefetchable) [size=1M]
                [virtual] Expansion ROM at c0340000 [disabled] [size=256K]
                Capabilities: [44] Power Management version 3
                Capabilities: [4c] Express Endpoint, MSI 00
                Capabilities: [88] MSI: Enable- Count=1/32 Maskable- 64bit+
                Capabilities: [98] Vital Product Data
                Capabilities: [a0] MSI-X: Enable+ Count=32 Masked-
                Capabilities: [100] Advanced Error Reporting
                Capabilities: [138] Power Budgeting <?>
                Kernel driver in use: qla2xxx
                Kernel modules: qla2xxx

                05:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200e [Pilot] ServerEngines (SEP1) (rev 02) (prog-if 00 [VGA controller])
                Subsystem: Fujitsu Technology Solutions Device 108e
                Flags: bus master, fast devsel, latency 0, IRQ 11
                Memory at cf000000 (32-bit, prefetchable) [size=16M]
                Memory at ce700000 (32-bit, non-prefetchable) [size=16K]
                Memory at ce800000 (32-bit, non-prefetchable) [size=8M]
                Expansion ROM at <unassigned> [disabled]
                Capabilities: [dc] Power Management version 2
                Capabilities: [e4] Express Legacy Endpoint, MSI 00
                Capabilities: [54] MSI: Enable- Count=1/1 Maskable- 64bit-

                fe:00.0 Host bridge: Intel Corporation Xeon 5600 Series QuickPath Architecture Generic Non-core Registers (rev 02)
                Subsystem: Fujitsu Technology Solutions Device 1126
                Flags: bus master, fast devsel, latency 0

                fe:00.1 Host bridge: Intel Corporation Xeon 5600 Series QuickPath Architecture System Address Decoder (rev 02)
                Subsystem: Fujitsu Technology Solutions Device 1126
                Flags: bus master, fast devsel, latency 0

                fe:02.0 Host bridge: Intel Corporation Xeon 5600 Series QPI Link 0 (rev 02)
                Subsystem: Fujitsu Technology Solutions Device 1126
                Flags: bus master, fast devsel, latency 0

                fe:02.1 Host bridge: Intel Corporation Xeon 5600 Series QPI Physical 0 (rev 02)
                Subsystem: Fujitsu Technology Solutions Device 1126
                Flags: bus master, fast devsel, latency 0

                fe:02.2 Host bridge: Intel Corporation Xeon 5600 Series Mirror Port Link 0 (rev 02)
                Subsystem: Fujitsu Technology Solutions Device 1126
                Flags: bus master, fast devsel, latency 0

                fe:02.3 Host bridge: Intel Corporation Xeon 5600 Series Mirror Port Link 1 (rev 02)
                Subsystem: Fujitsu Technology Solutions Device 1126
                Flags: bus master, fast devsel, latency 0

                fe:02.4 Host bridge: Intel Corporation Xeon 5600 Series QPI Link 1 (rev 02)
                Subsystem: Fujitsu Technology Solutions Device 1126
                Flags: bus master, fast devsel, latency 0

                fe:02.5 Host bridge: Intel Corporation Xeon 5600 Series QPI Physical 1 (rev 02)
                Subsystem: Fujitsu Technology Solutions Device 1126
                Flags: bus master, fast devsel, latency 0
                • 5. Re: About SG (Scsi Generic) module on OEL6
                  884291
                  Strange because SG module is loaded by RHEL6 without any manual action when i install the RHEL6 on the same server and same installation method.
                  • 6. Re: About SG (Scsi Generic) module on OEL6
                    Catch-22
                    Are the devices for the QLogic Fibre Channel Host Bus Adapters really named sg using a generic scsi driver?

                    You might also want to check if you have kernel-uek-firmware installed. I don't recall the exact kernel version, but some later versions of 2.6 separate the drivers and firmware. Pls check you dmesg output.

                    # yum install kernel-uek-firmware

                    Btw, from what I read, no Oracle database products are certified for OL 6 yet. Unless this is for experimental purpose, I'd stick to OL 5U7 until further notice.
                    • 7. Re: About SG (Scsi Generic) module on OEL6
                      884291
                      I have checked with rpm -qa | grep -i kernel and saw the kernel-uek-firmware-2.6.32-100.34.1.el6uek.noarch package so kernel-uek-firmware has already installed.

                      Ok,if OL6 is not certified yet for Oracle product,I will try to install OL5U7 and check the sg module.But still i can not understand,why OL6 does not use sg module while RHEL6 can use.

                      Do you have offical URL address for which OS is certified by Oracle poduct ?
                      • 8. Re: About SG (Scsi Generic) module on OEL6
                        Catch-22
                        Is this the correct version for your current uek-kernel (uname -r)?

                        Perhaps the RHEL kernel does not have a driver installed for your HBA adapter and is therefore using a generic driver. You might want check what special devices the qla2xxx driver actually creates, which may not be /dev/sg*.

                        You could also check the lspci -v output using the RHEL kernel and compare it with the UEK kernel to see what driver your kernel is using for the HBA adapter.

                        What do you see in "cat /proc/scsi/scsi"?
                        • 9. Re: About SG (Scsi Generic) module on OEL6
                          884291
                          Hi,

                          I try to boot OL6 with RHEL6 compatible kernel (2.6.32-131.0.15.el6.x86_64) and then sg module was loaded.

                          This is the output cat /proc/scsi/scsi command for OL6 and RHEL6.They are same.

                          cat /proc/scsi/scsi

                          Attached devices:
                          Host: scsi4 Channel: 02 Id: 00 Lun: 00
                          Vendor: LSI Model: RAID 5/6 SAS 6G Rev: 2.90
                          Type: Direct-Access ANSI SCSI revision: 05


                          But lsmod command output is different.

                          OL6

                          Module Size Used by
                          cpufreq_ondemand 8764 8
                          acpi_cpufreq 6264 0
                          freq_table 3751 2 cpufreq_ondemand,acpi_cpufreq
                          ipv6 281175 28
                          iTCO_wdt 10956 0
                          iTCO_vendor_support 2886 1 iTCO_wdt
                          pcspkr 1942 0
                          microcode 19198 0
                          i2c_i801 10062 0
                          i2c_core 29090 1 i2c_i801
                          igb 138146 0
                          dca 6093 1 igb
                          pata_acpi 3403 0
                          ata_generic 3475 0
                          ata_piix 21956 0
                          usb_storage 46186 0
                          megaraid_sas 62940 3
                          uhci_hcd 22889 0
                          qla2xxx 313139 0
                          scsi_transport_fc 44592 1 qla2xxx
                          scsi_tgt 11339 1 scsi_transport_fc
                          mpt2sas 142420 0
                          scsi_transport_sas 27752 1 mpt2sas
                          raid_class 4290 1 mpt2sas


                          RHEL6

                          Module Size Used by
                          cpufreq_ondemand 10382 8
                          acpi_cpufreq 8529 0
                          freq_table 4847 2 cpufreq_ondemand,acpi_cpufreq
                          ipv6 322899 28
                          dm_mirror 14067 0
                          dm_region_hash 12136 1 dm_mirror
                          dm_log 10120 2 dm_mirror,dm_region_hash
                          dm_round_robin 2651 4
                          scsi_dh_emc 8123 4
                          dm_multipath 18266 3 dm_round_robin
                          power_meter 9309 0
                          hwmon 2464 1 power_meter
                          sg 30186 0
                          igb 157582 0
                          dca 7099 1 igb
                          microcode 112845 0
                          i2c_i801 11133 0
                          i2c_core 31274 1 i2c_i801
                          iTCO_wdt 12060 0
                          iTCO_vendor_support 3022 1 iTCO_wdt
                          i7core_edac 18086 0
                          edac_core 46533 3 i7core_edac
                          shpchp 33448 0
                          ext4 359703 2
                          mbcache 7918 1 ext4
                          jbd2 88800 1 ext4
                          sd_mod 38196 8
                          crc_t10dif 1507 1 sd_mod
                          qla2xxx 365773 8
                          scsi_transport_fc 52002 1 qla2xxx
                          scsi_tgt 12107 1 scsi_transport_fc
                          mpt2sas 165836 0
                          scsi_transport_sas 35036 1 mpt2sas
                          raid_class 4738 1 mpt2sas
                          megaraid_sas 76143 3
                          ata_generic 3611 0
                          pata_acpi 3667 0
                          ata_piix 22652 0
                          dm_mod 75539 7 dm_mirror,dm_log,dm_multipath
                          • 10. Re: About SG (Scsi Generic) module on OEL6
                            884291
                            As you can see above,kernel version is 2.6.32-100.34.1.el6uek.x86_64 and OL6 and RHEL6 are use same module (Kernel driver in use: qla2xxx Kernel modules: qla2xxx) for Qlogic.

                            You might want check what special devices the qla2xxx driver actually creates, which may not be /dev/sg*.
                            How can i check which devices was created by qla2xxx driver ?
                            • 11. Re: About SG (Scsi Generic) module on OEL6
                              Catch-22
                              What does the following output:

                              find /lib/modules -name sg.ko

                              If the SG module is missing in the uek directory tree, which is probably the case, then the question will be if this is intended, a bug or whether the "old" sg device is obsolete with the newer uek kernel.

                              What about the installation of Secure Backup and EMC stuff? Is it meant to work for the uek-kernel version? Is there any newer software required by the vendor?
                              • 12. Re: About SG (Scsi Generic) module on OEL6
                                884291
                                Hi,

                                Thanks for reply.Our find command output like below.

                                # find /lib/modules -name sg.ko
                                /lib/modules/2.6.32-131.0.15.el6.x86_64/kernel/drivers/scsi/sg.ko

                                Secure backup need to sg module.You can see in below address

                                http://download.oracle.com/docs/cd/E14812_01/doc/doc.103/e12835/inst_ux.htm#CHDFIBDG

                                On EMC side,I am getting to error "Error:sg module was not loaded" when i try to start EMC HostAgent service.EMC HostAgent is a Linux Agent for comminicate to EMC storage correctly via fiber channel.Actually,EMC HostAgent is support OL4 and OL5.I am using newer version for Secure Backup and EMC HostAgent.

                                I tried to install OL5U7 on same server and "sg" module not load by default.I will try to install OL5.5 As far as i know OL5.5 is certified by Oracle Products.I think,this will be the best choice.
                                • 13. Re: About SG (Scsi Generic) module on OEL6
                                  Catch-22
                                  I've checked the kernel-uek source tree (http://public-yum.oracle.com/repo/OracleLinux/OL6/1/base/x86_64/kernel-uek-2.6.32-100.34.1.el6uek.src.rpm) and there seems to be no sg module, but there is /usr/src/kernels/2.6.32-100.34.1.el6uek.x86_64/include/scsi/sg.h, which actually contains some interesting information. I could be wrong, but perhaps the sg driver is build into the kernel and not a module.

                                  Regarding Oracle Secure Backup, I vaguely remember from Integration of RMAN with virtual tape library it requires to install the sg3_utils and sg3_devel packages.

                                  Did you install them? You might want to try if this makes any difference.

                                  # yum install sg3_utils sg3_utils-devel

                                  You can use the above command following the repo setup instructions at http://public-yum.oracle.com

                                  Other than that, perhaps there are udev rules in/lib/udev/rules.d/ that affect the SG devices.
                                  • 14. Re: About SG (Scsi Generic) module on OEL6
                                    Sergio-Oracle
                                    which actually contains some interesting information. I could be wrong, but perhaps the sg driver is build into the kernel and not a module.
                                    I believe that's correct. That's a point I was trying to make earlier.

                                    Sergio
                                    1 2 Previous Next