This content has been marked as final. Show 5 replies
Are you using the UEK kernel?
The SG driver should be built-in and not a module. You can check the following:
Perhaps you are missing the sg3-utils package and therefore what you are trying to install fails.
# cat /boot/config-`uname -r` | grep CONFIG_CHR_DEV_SG CONFIG_CHR_DEV_SG=y # cat /proc/scsi/sg/version 30534 3.5.34 
yum install sg3-utils
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.