为什么这个 LTO4 磁带驱动器不工作

为什么这个 LTO4 磁带驱动器不工作
# modprobe mptsas
# dmesg

[ 4274.796796] scsi target7:0:0: mptsas: ioc1: delete device: fw_channel 0, fw_id 0,  phy 0, sas_addr 0x50050763124b29ac
[ 4274.939579] mptsas 0000:01:00.0: PCI INT A disabled
[ 4280.934531] Fusion MPT SAS Host driver 3.04.12
[ 4280.934552] mptsas 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 4280.934692] mptbase: ioc2: Initiating bringup
[ 4281.490183] ioc2: LSISAS1064E B3: Capabilities={Initiator}
[ 4281.490203] mptsas 0000:01:00.0: setting latency timer to 64
[ 4293.555274] scsi8 : ioc2: LSISAS1064E B3, FwRev=011e0000h, Ports=1, MaxQ=277, IRQ=16
[ 4293.574906] mptsas: ioc2: attaching ssp device: fw_channel 0, fw_id 0, phy 0, sas_addr 0x50050763124b29ac
[ 4293.576471] scsi 8:0:0:0: Sequential-Access IBM      ULTRIUM-HH4      B6W1 PQ: 0 ANSI: 6
[ 4293.578549] st 8:0:0:0: Attached scsi tape st0
[ 4293.578550] st 8:0:0:0: st0: try direct i/o: yes (alignment 512 B)
[ 4293.578577] st 8:0:0:0: Attached scsi generic sg5 type 1


# mt -f /dev/st0 status 

mt -f /dev/st0 status
mt: /dev/st0: rmtopen failed: Input/output error



# dd if=/dev/zero of=/dev/nst0 bs=1024 count=10
dd: opening `/dev/nst0': Input/output error

我正在运行 debian squeeze

2.6.32-5-amd64 #1 SMP 2012 年 5 月 6 日星期日 04:00:17 UTC x86_64 GNU/Linux

服务器是富士通 TX140,带有控制器 Symbios Logic SAS1064ET PCI-Express Fusion-MPT SAS 磁带 + 硬件是新的。

答案1

对于我的 SAS 和 SCSI 连接的磁带设备,当我使用 MPT Fusion/LSI 控制器时,我通常会看到加载以下模块:

[root@Lance ~]# lsmod  | grep mpt
mptctl                 31976  4 
mptspi                 17051  0 
mptscsih               36828  1 mptspi
mptbase                94037  3 mptctl,mptspi,mptscsih
scsi_transport_spi     26151  1 mptspi

或者...

[root@Doper ~]# lsmod  | grep mpt
mptctl                 74953  4 
mptscsih                2625  0 
mptsas                 26977  1 mptscsih
mptspi                 13521  1 mptscsih
mptscsi                50641  2 mptsas,mptspi
mptbase                78625  4 mptctl,mptsas,mptspi,mptscsi
scsi_mod              146193  9 sg,st,libata,cciss,mptsas,mptspi,mptscsi,usb_storage,sd_mod

查看您的设置并查看是否加载了同一组模块。

相关内容