linux - FATAL: Module sg not found -


when installing uptime monitoring agent, got error messages:

probing 'sg' devices fatal: module sg not found. 

but lsmod shows sg module loaded:

# cat /etc/redhat-release red hat enterprise linux server release 6.1 (santiago) # uname -r 2.6.32-131.0.15.el6.x86_64  # cat /proc/scsi/sg/version 30534   3.5.34 [20061027]  # find /lib/modules -name sg.ko /lib/modules/2.6.32-131.0.15.el6.x86_64/kernel/drivers/scsi/sg.ko  # lsmod |grep sg sg                     30186  0  # modprobe -lv|grep sg #  # cat /boot/config-`uname -r` | grep config_chr_dev_sg config_chr_dev_sg=m 

following device , file system information:

# pvs   pv         vg             fmt  attr psize   pfree   /dev/sda2  vg0            lvm2 a-   499.51g 113.51g  # df -hf ext4 filesystem            size  used avail use% mounted on /dev/mapper/vg0-lv_root                        99g  7.9g   86g   9% / /dev/sda1             485m   36m  425m   8% /boot /dev/mapper/vg0-lv_opt                        99g  189m   94g   1% /opt /dev/mapper/vg0-lv_var                       148g  114g   27g  82% /var   # grep kernel /var/log/messages | grep sg jul 21 03:25:04 server810 kernel: imklog 4.6.2, log source = /proc/kmsg started.  # ls /dev/sg* /dev/sg0  /dev/sg1  # ls -l /dev/sg* crw-rw---- 1 root cdrom 21, 0 jul 14 11:10 /dev/sg0 crw-rw---- 1 root disk  21, 1 jul 14 11:10 /dev/sg1 

the server vmware guest.

any highly appreciated.

thanks in advance,

alex

is there specific scsi device trying use? scsi drivers built in tiers, it's possible hitting error more specific driver device trying access.

are there /dev/sg* devices?

are there sg messages/errors in /var/log/messages or in dmesg?

you try: grep kernel /var/log/messages | grep sg


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -