[英]FATAL: Module sg not found
When I was installing uptime monitoring agent, I got the error messages: 当我安装正常运行时间监视代理程序时,出现错误消息:
Probing 'sg' devices
FATAL: Module sg not found.
But lsmod shows the sg module is loaded: 但是lsmod显示sg模块已加载:
# 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 is the device and 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 is a VMWare guest. 该服务器是VMWare来宾。
Any help will be highly appreciated. 任何帮助将不胜感激。
Thanks in advance, 提前致谢,
Alex 亚历克斯
Is there a specific SCSI device you are trying to use? 您要使用的特定SCSI设备吗? SCSI drivers are built in tiers, so it's possible you are hitting an error with a more specific driver for the device you are trying to access.
SCSI驱动程序是内置的层,因此可能是您尝试访问的设备的特定驱动程序出现错误。
Are there any /dev/sg* devices? 是否有/ dev / sg *设备?
Are there any sg messages/errors in /var/log/messages or in dmesg? / var / log / messages或dmesg中是否有任何sg消息/错误?
You could try: grep kernel /var/log/messages | 您可以尝试:grep内核/ var / log / messages | grep sg
grep sg
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.