Hi, everyone I am new to Oracle Linux. I've been having problems with OEL5.8x64 sg module, when attempting to start it. It comes back with FATAL:Module sg not found. This all came about when I was trying to start the hostagent(Unisphere). Thinking it was a PowerPath compatibility issue, I reinstalled the OS without any EMC apps. Ran the modprobe command, like clock work FATAL: Module sg not found. Has anyone here been able to resolve this? Any help would greatly appreciated, thank you in advance.
Hi Dude, thanks for your reply. Yes that's what I've read and I have read your post on another post too. It does show that sg3_utils-1.25-5.el5x86_64 installed. I pretty much selected all the sg updates via UNL. With that said, shouldn't I be able to run modprobe without the FATAL error?
Your old post: About SG (Scsi Generic) module on OEL6
as a workaround if your software require the module
you can boot into kernel-normal do the install and switch to kernel-uek
the software must be hardcoded to find the module based on /lib/modules/$(uname -r)/
[oracle@ol5 ~]$ find /lib/modules/ -name sg*
[oracle@ol5 ~]$ uname -a
Linux ol5.kikitux.lan 2.6.32-300.39.4.el5uek #1 SMP Tue Feb 5 23:20:24 PST 2013 i686 i686 i386 GNU/Linux
Alvaro, thanks for the reply. Not really sure what's going on the with kernel 2.6.(above 18). SG.ko is just not there. This is my kernel version.
I downloaded CentOS5.8 kernel-2.6.18-308.el5, sg.ko and everything installed/started properly. I will do as you instructed in another post to obtain the OEL5.8 kernel-2.6.18-308.el5. Thank you everyone.
There is no need to install anything from CentOS under OL. Just follow the instructions at http://public-yum.oracle.com and use yum to install the kernel you need. For instance:
# yum list kernel kernel-uek
Check the following output:
# find /lib/modules -iname sg.ko
# grep CONFIG_CHR_DEV_SG /boot/config-2.6.18-274*
# grep CONFIG_CHR_DEV_SG /boot/config*uek
The above shows that the RHEL kernel supplies the sg driver as a module, while the UEK kernel has the driver built-in. What you are trying to install seems to check for the kernel module, which is probably silly. What are you trying to install? Anyway, Oracle Linux supplies the UEK and RHEL kernel and you can choose which one to use.