我怀疑我的卡已经处于 IT 模式,但我想在连接驱动器之前确定一下。似乎sas2flash
无法在 Ubuntu 上安装(至少sudo apt install sas2flash
不起作用。我确实尝试过这个命令:
❯ sudo dmesg | grep -i mpt2sas
[ 0.796565] mpt2sas_cm0: 64 BIT PCI BUS DMA ADDRESSING SUPPORTED, total mem (16125728 kB)
[ 0.851086] mpt2sas_cm0: CurrentHostPageSize is 0: Setting default host page size to 4k
[ 0.851117] mpt2sas_cm0: MSI-X vectors supported: 1
[ 0.851119] mpt2sas_cm0: 0 1 1
[ 0.851193] mpt2sas_cm0: High IOPs queues : disabled
[ 0.851194] mpt2sas0-msix0: PCI-MSI-X enabled: IRQ 137
[ 0.851194] mpt2sas_cm0: iomem(0x0000000070dc0000), mapped(0x0000000064f573f0), size(16384)
[ 0.851198] mpt2sas_cm0: ioport(0x0000000000003000), size(256)
[ 0.905583] mpt2sas_cm0: CurrentHostPageSize is 0: Setting default host page size to 4k
[ 0.933100] mpt2sas_cm0: scatter gather: sge_in_main_msg(1), sge_per_chain(9), sge_per_io(128), chains_per_io(15)
[ 0.933273] mpt2sas_cm0: request pool(0x00000000aab2cc00) - dma(0xfff80000): depth(3492), frame_size(128), pool_size(436 kB)
[ 0.939816] mpt2sas_cm0: sense pool(0x00000000d078309d) - dma(0xff900000): depth(3367), element_size(96), pool_size (315 kB)
[ 0.939866] mpt2sas_cm0: reply pool(0x000000004eb2eb9f) - dma(0xff880000): depth(3556), frame_size(128), pool_size(444 kB)
[ 0.939871] mpt2sas_cm0: config page(0x0000000022037cd0) - dma(0xff87b000): size(512)
[ 0.939872] mpt2sas_cm0: Allocated physical memory: size(7579 kB)
[ 0.939873] mpt2sas_cm0: Current Controller Queue Depth(3364),Max Controller Queue Depth(3432)
[ 0.939873] mpt2sas_cm0: Scatter Gather Elements per IO(128)
[ 0.984362] mpt2sas_cm0: LSISAS2008: FWVersion(19.00.00.00), ChipRevision(0x03)
[ 0.984371] mpt2sas_cm0: Protocol=(Initiator,Target), Capabilities=(TLR,EEDP,Snapshot Buffer,Diag Trace Buffer,Task Set Full,NCQ)
[ 0.985900] mpt2sas_cm0: sending port enable !!
[ 3.492365] mpt2sas_cm0: hba_port entry: 00000000aa9aed9e, port: 255 is added to hba_port list
[ 3.494524] mpt2sas_cm0: host_add: handle(0x0001), sas_addr(0x500605b0097a5180), phys(8)
[ 8.618573] mpt2sas_cm0: port enable: SUCCESS
这条线路Protocol=(Initiator,Target)
听起来像是卡处于 IT 模式。有人能确认这是否是在没有启动到装有 sas2flash 的 USB 的情况下进行验证的正确方法吗?