首页 > 解决方案 > 如何更换 EMC VNXe3150 上的操作系统?

问题描述

我从一家公司购买了一台使用过的 EMC VNXe3150,因为它已停产,但它的硬件状况良好,工作正常。随着 Flash 的死亡迫在眉睫,并且管理 UI 仅在 Flash 中可用,它很快就会成为一个昂贵的镇纸,无论是否有许可证。

我正试图让一个真正的操作系统在机器上运行,但最好是 unRAID。我已经启动 unRAID 并启动了 Ubuntu 实时会话,但我一直遇到一个大问题:我无法访问磁盘,我不知道为什么。

这是我目前掌握的所有信息。我可以根据需要提供更多。第一组输出来自现场 Ubuntu:

调查 lspci

root@ubuntu:~# lspci -Dnnvvd ::0107
    0000:10:00.0 Serial Attached SCSI controller [0107]: PMC-Sierra Inc. Device [11f8:8001] (rev 05)
        Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at c0130000 (64-bit, non-prefetchable) [size=64K]
        Region 2: Memory at c0120000 (64-bit, non-prefetchable) [size=64K]
        Region 4: Memory at c0110000 (32-bit, non-prefetchable) [size=64K]
        Region 5: Memory at c0100000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at c0000000 [disabled] [size=1M]
        Capabilities: [40] Power Management version 3
            Flags: PMEClk- DSI- D1+ D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot-,D3cold-)
            Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [50] MSI: Enable- Count=1/32 Maskable- 64bit+
            Address: 0000000000000000  Data: 0000
        Capabilities: [70] Express (v2) Endpoint, MSI 00
            DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <1us, L1 <8us
                ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0.000W
            DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq-
                RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
                MaxPayload 256 bytes, MaxReadReq 256 bytes
            DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend-
            LnkCap: Port #0, Speed 5GT/s, Width x8, ASPM L0s L1, Exit Latency L0s <512ns, L1 <64us
                ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-
            LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk+
                ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
            LnkSta: Speed 5GT/s (ok), Width x4 (downgraded)
                TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
            DevCap2: Completion Timeout: Not Supported, TimeoutDis+, NROPrPrP-, LTR-
                 10BitTagComp-, 10BitTagReq-, OBFF Not Supported, ExtFmt-, EETLPPrefix-
                 EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit-
                 FRS-, TPHComp-, ExtTPHComp-
                 AtomicOpsCap: 32bit- 64bit- 128bitCAS-
            DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
                 AtomicOpsCtl: ReqEn-
            LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
                 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
                 Compliance De-emphasis: -6dB
            LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
                 EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
        Capabilities: [ac] MSI-X: Enable- Count=16 Masked-
            Vector table: BAR=0 offset=00002000
            PBA: BAR=0 offset=00004000
        Capabilities: [100 v1] Advanced Error Reporting
            UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
            UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
            UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt+ UnxCmplt+ RxOF+ MalfTLP+ ECRC+ UnsupReq- ACSViol-
            CESta:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
            CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
            AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn+ ECRCChkCap+ ECRCChkEn+
                MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
            HeaderLog: 00000000 00000000 00000000 00000000
        Kernel modules: pm80xx

调查 dmesg

root@ubuntu:~# dmesg | grep -i 'pm80xx'
[   44.386832] pm80xx 0000:10:00.0: pm80xx: driver version 0.1.39
[   46.257010] pm80xx mpi_uninit_check 727:TIMEOUT:IBDB value/=0x2
[   46.458565] pm80xx soft_reset_ready_check 761:MPI state is not ready
[   46.458566] pm80xx pm8001_chip_soft_rst 825:FW is not ready
[   48.912971] pm80xx pm8001_chip_init 658:Firmware is not ready!
[   48.982746] pm80xx pm8001_pci_probe 1018:chip_init failed [ret: -16]
[   49.182688] pm80xx: probe of 0000:10:00.0 failed with error -16

查看 pm80xx 内核模块

root@ubuntu:~# modinfo pm80xx
filename:       /lib/modules/5.4.0-42-generic/kernel/drivers/scsi/pm8001/pm80xx.ko
license:        GPL
version:        0.1.39
description:    PMC-Sierra PM8001/8006/8081/8088/8089/8074/8076/8077/8070/8072 SAS/SATA controller driver
author:         Nikith Ganigarakoppal <Nikith.Ganigarakoppal@pmcs.com>
author:         Sangeetha Gnanasekaran <Sangeetha.Gnanasekaran@pmcs.com>
author:         Anand Kumar Santhanam <AnandKumar.Santhanam@pmcs.com>
author:         Jack Wang <jack_wang@usish.com>
srcversion:     678765D7110B5E12E6A8200
alias:          pci:v0000117Cd00008072sv0000117Csd00000082bc*sc*i*
...<more aliases>
depends:        libsas,scsi_transport_sas
retpoline:      Y
intree:         Y
name:           pm80xx
vermagic:       5.4.0-42-generic SMP mod_unload 

使用默认操作系统查看此设备时,除了没有提及 pm80xx 和 lspci 外,没有什么不同,因为它看起来像这样:

0000:10:00.0 Serial Attached SCSI controller [0107]: PMC-Sierra Inc. Device [11f8:8001] (rev 05)
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort-<MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at c0130000 (64-bit, non-prefetchable) [size=64K]
        Region 2: Memory at c0120000 (64-bit, non-prefetchable) [size=64K]
        Region 4: Memory at c0110000 (32-bit, non-prefetchable) [size=64K]
        Region 5: Memory at c0100000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at c0000000 [disabled] [size=1M]
        Capabilities: <access denied>
        Kernel driver in use: CSX KMF-Owned PCI Device

对此的任何和所有帮助将不胜感激。

标签: linuxserverlinux-device-drivernasemc

解决方案


推荐阅读