- 论坛徽章:
- 0
|
2.4内核 使用脚本:
###########################################################################################
#This is a tool to look for scsi device on Linux.
# The variables stand for as below:
#
# a == hostadapter id (first one being 0)
# b == SCSI channel on hostadapter (first one being 0)
# c == ID
# d == LUN (first one being 0)
#
# After runing the script, you can read the file at /proc/scsi/scsi by "cat" command
# to confirm what devices have been added.
#
# Written by Neeki
##########################################################################################
#!/bin/bash
echo " Looking for scsi devices......."
for ((a=0;a<=15;a++))
do
for ((b=0;b<=15;b++))
do
for ((c=0;c<=15;c++))
do
for ((d=0;d<=15;d++))
do
echo "scsi add-single-device $a $b $c $d" > /proc/scsi/scsi
done
done
done
done
echo "Done"
2.6正确安装了光纤卡驱动,重启就可以识别,没有识别的情况下,检查st sg
标准 Enterprise Linux 版本中包含可供装入的 sg 和 st 模块。这些模块是按需装入的。此外,如果内核中没有这些模块,您也可以装入它们。请使用下列命令:
/sbin/modprobe st
/sbin/modprobe sg
Linux 驱动程序会自动创建设备文件
驱动器设备文件:
/dev/nstX
机械手设备文件:
/dev/sgX |
|