Skip to content

ROCKPro64 (2GB) - Probleme mit der PCIe SATA-Karte??

ROCKPro64
  • Bedingt durch eine Diskussion gestern im IRC-Channel, habe ich heute beschlossen das Ganze mal was intensiver zu testen. Ist ja auch schon eine ganze Zeit lang her, das ich mein NAS zusammen gebaut habe.

    Blöd, das ich nur eine SATA-Karte habe, so muss ich mein NAS heute mal zerlegen....Ok, da ist die Karte.

    SATA_4.jpg

    Es müsste sich dabei um diese Karte hier handeln. Meine ist von pine64.org

    Was mir gerade noch einfällt, bei den ganzen Problemfällen, die es so gibt, wie versorgen die denn die HDD mit Spannung??

    Hier meine Variante

    IMG_20181225_084508_ergebnis.jpg

    IMG_20181225_084532_ergebnis.jpg

    Ok, dann mal ran ans testen

    ROCKPro64 v2.1. 2GB RAM Armbian

    Hardware

    • ROCKPro64 v2.1 2GB RAM
    • PCIe SATA-Karte
    • 1TB 2,5 Zoll HDD
    • Boot erfolgt von einer SD-Karte

    lspci -vvv schmeißt folgendes aus

    root@rockpro64:~# lspci -vvv
    00:00.0 PCI bridge: Device 1d87:0100 (prog-if 00 [Normal decode])
    	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
    	Interrupt: pin A routed to IRQ 224
    	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
    	I/O behind bridge: 00000000-00000fff
    	Memory behind bridge: fa000000-fa0fffff
    	Prefetchable memory behind bridge: 00000000-000fffff
    	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
    	BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
    		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
    	Capabilities: [80] Power Management version 3
    		Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0+,D1+,D2-,D3hot+,D3cold-)
    		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME+
    	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable+ 64bit+
    		Address: 00000000fee30040  Data: 0000
    		Masking: 00000000  Pending: 00000000
    	Capabilities: [b0] MSI-X: Enable- Count=1 Masked-
    		Vector table: BAR=0 offset=00000000
    		PBA: BAR=0 offset=00000008
    	Capabilities: [c0] Express (v2) Root Port (Slot+), MSI 00
    		DevCap:	MaxPayload 256 bytes, PhantFunc 0
    			ExtTag- RBE+
    		DevCtl:	Report errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
    			RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
    			MaxPayload 128 bytes, MaxReadReq 512 bytes
    		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
    		LnkCap:	Port #0, Speed 5GT/s, Width x4, ASPM L1, Exit Latency L0s <256ns, L1 <8us
    			ClockPM- Surprise- LLActRep- BwNot+ ASPMOptComp+
    		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk-
    			ExtSynch- ClockPM- AutWidDis- BWInt+ AutBWInt+
    		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
    		SltCap:	AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise-
    			Slot #0, PowerLimit 0.000W; Interlock- NoCompl-
    		SltCtl:	Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
    			Control: AttnInd Off, PwrInd Off, Power+ Interlock-
    		SltSta:	Status: AttnBtn- PowerFlt- MRL+ CmdCplt- PresDet- Interlock-
    			Changed: MRL- PresDet- LinkState-
    		RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna+ CRSVisible-
    		RootCap: CRSVisible-
    		RootSta: PME ReqID 0000, PMEStatus- PMEPending-
    		DevCap2: Completion Timeout: Range B, TimeoutDis+, LTR+, OBFF Via message ARIFwd+
    		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled ARIFwd-
    		LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
    			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
    			 Compliance De-emphasis: -6dB
    		LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
    			 EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
    	Capabilities: [100 v2] 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- NonFatalErr-
    		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
    		AERCap:	First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
    	Capabilities: [274 v1] Transaction Processing Hints
    		Interrupt vector mode supported
    		Device specific mode supported
    		Steering table in TPH capability structure
    	Kernel driver in use: pcieport
    
    01:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02) (prog-if 01 [AHCI 1.0])
    	Subsystem: ASMedia Technology Inc. ASM1062 Serial ATA Controller
    	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
    	Interrupt: pin A routed to IRQ 225
    	Region 0: I/O ports at <unassigned> [disabled]
    	Region 1: I/O ports at <unassigned> [disabled]
    	Region 2: I/O ports at <unassigned> [disabled]
    	Region 3: I/O ports at <unassigned> [disabled]
    	Region 4: I/O ports at <unassigned> [disabled]
    	Region 5: Memory at fa010000 (32-bit, non-prefetchable) [size=512]
    	[virtual] Expansion ROM at fa000000 [disabled] [size=64K]
    	Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit-
    		Address: fee30040  Data: 0000
    	Capabilities: [78] Power Management version 3
    		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
    		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    	Capabilities: [80] Express (v2) Legacy Endpoint, MSI 00
    		DevCap:	MaxPayload 512 bytes, PhantFunc 0, Latency L0s <1us, L1 <8us
    			ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
    		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
    			RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
    			MaxPayload 128 bytes, MaxReadReq 512 bytes
    		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
    		LnkCap:	Port #1, Speed 5GT/s, Width x1, ASPM not supported, Exit Latency L0s unlimited, L1 <2us
    			ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-
    		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk-
    			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
    		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
    		DevCap2: Completion Timeout: Range ABC, TimeoutDis+, LTR-, OBFF Not Supported
    		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
    		LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
    			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
    			 Compliance De-emphasis: -6dB
    		LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
    			 EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
    	Capabilities: [100 v1] Virtual Channel
    		Caps:	LPEVC=0 RefClk=100ns PATEntryBits=1
    		Arb:	Fixed- WRR32- WRR64- WRR128-
    		Ctrl:	ArbSelect=Fixed
    		Status:	InProgress-
    		VC0:	Caps:	PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
    			Arb:	Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
    			Ctrl:	Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
    			Status:	NegoPending- InProgress-
    	Kernel driver in use: ahci
    

    Software

    Welcome to ARMBIAN 5.67.181217 nightly Debian GNU/Linux 9 (stretch) 4.4.167-rockchip64
    

    und mit

    Welcome to ARMBIAN 5.67 stable Debian GNU/Linux 9 (stretch) 4.4.166-rockchip64
    

    getestet!

    Wie ihr oben schon sehen könnt, wird die Hardware einwandfrei eingebunden, die HDD ist sofort erkennbar. Mit fdisk -l (gekürzt)

    Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disklabel type: dos
    Disk identifier: 0x8786fc87
    
    Device     Boot Start        End    Sectors   Size Id Type
    /dev/sda1        2048 1953525167 1953523120 931.5G 83 Linux
    

    Ich hatte keine Probleme, die Karte zu mounten und mit ihr zu arbeiten. Auf beiden Versionen von Armbian (nightly und die normale) keine Probleme.

    ROCKPro64 v2.1. 2GB RAM Ayufan

    Hardware

    • ROCKPro64 v2.1 2GB RAM
    • PCIe SATA-Karte
    • 1TB 2,5 Zoll HDD
    • Boot erfolgt von einer SD-Karte

    lspci -vvv schmeißt folgendes aus

    rock64@rockpro64:~$ sudo lspci -vvv
     [sudo] password for rock64: 
     00:00.0 PCI bridge: Rockchip Inc. RK3399 PCI Express Root Port Device 0100 (prog-if 00 [Normal decode])
     	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
     	Interrupt: pin A routed to IRQ 238
     	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
     	I/O behind bridge: 00000000-00000fff
     	Memory behind bridge: fa000000-fa0fffff
     	Prefetchable memory behind bridge: 00000000-000fffff
     	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
     	BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
     		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
     	Capabilities: [80] Power Management version 3
     		Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0+,D1+,D2-,D3hot+,D3cold-)
     		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME+
     	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable+ 64bit+
     		Address: 00000000fee30040  Data: 0000
     		Masking: 00000000  Pending: 00000000
     	Capabilities: [b0] MSI-X: Enable- Count=1 Masked-
     		Vector table: BAR=0 offset=00000000
     		PBA: BAR=0 offset=00000008
     	Capabilities: [c0] Express (v2) Root Port (Slot+), MSI 00
     		DevCap:	MaxPayload 256 bytes, PhantFunc 0
     			ExtTag- RBE+
     		DevCtl:	Report errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+
     			RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
     			MaxPayload 128 bytes, MaxReadReq 512 bytes
     		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
     		LnkCap:	Port #0, Speed 5GT/s, Width x4, ASPM L1, Exit Latency L0s <256ns, L1 <8us
     			ClockPM- Surprise- LLActRep- BwNot+ ASPMOptComp+
     		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk-
     			ExtSynch- ClockPM- AutWidDis- BWInt+ AutBWInt+
     		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
     		SltCap:	AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise-
     			Slot #0, PowerLimit 0.000W; Interlock- NoCompl-
     		SltCtl:	Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg-
     			Control: AttnInd Off, PwrInd Off, Power+ Interlock-
     		SltSta:	Status: AttnBtn- PowerFlt- MRL+ CmdCplt- PresDet- Interlock-
     			Changed: MRL- PresDet- LinkState-
     		RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna+ CRSVisible-
     		RootCap: CRSVisible-
     		RootSta: PME ReqID 0000, PMEStatus- PMEPending-
     		DevCap2: Completion Timeout: Range B, TimeoutDis+, LTR+, OBFF Via message ARIFwd+
     		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled ARIFwd-
     		LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
     			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
     			 Compliance De-emphasis: -6dB
     		LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
     			 EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
     	Capabilities: [100 v2] 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- NonFatalErr-
     		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
     		AERCap:	First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
     	Capabilities: [274 v1] Transaction Processing Hints
     		Interrupt vector mode supported
     		Device specific mode supported
     		Steering table in TPH capability structure
     	Kernel driver in use: pcieport
     
     01:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02) (prog-if 01 [AHCI 1.0])
     	Subsystem: ASMedia Technology Inc. ASM1062 Serial ATA Controller
     	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
     	Interrupt: pin A routed to IRQ 239
     	Region 0: I/O ports at <unassigned> [disabled]
     	Region 1: I/O ports at <unassigned> [disabled]
     	Region 2: I/O ports at <unassigned> [disabled]
     	Region 3: I/O ports at <unassigned> [disabled]
     	Region 4: I/O ports at <unassigned> [disabled]
     	Region 5: Memory at fa010000 (32-bit, non-prefetchable) [size=512]
     	[virtual] Expansion ROM at fa000000 [disabled] [size=64K]
     	Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit-
     		Address: fee30040  Data: 0000
     	Capabilities: [78] Power Management version 3
     		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
     		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
     	Capabilities: [80] Express (v2) Legacy Endpoint, MSI 00
     		DevCap:	MaxPayload 512 bytes, PhantFunc 0, Latency L0s <1us, L1 <8us
     			ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
     		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
     			RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
     			MaxPayload 128 bytes, MaxReadReq 512 bytes
     		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
     		LnkCap:	Port #1, Speed 5GT/s, Width x1, ASPM not supported, Exit Latency L0s unlimited, L1 <2us
     			ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-
     		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk-
     			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
     		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
     		DevCap2: Completion Timeout: Range ABC, TimeoutDis+, LTR-, OBFF Not Supported
     		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
     		LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis-
     			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
     			 Compliance De-emphasis: -6dB
     		LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete-, EqualizationPhase1-
     			 EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
     	Capabilities: [100 v1] Virtual Channel
     		Caps:	LPEVC=0 RefClk=100ns PATEntryBits=1
     		Arb:	Fixed- WRR32- WRR64- WRR128-
     		Ctrl:	ArbSelect=Fixed
     		Status:	InProgress-
     		VC0:	Caps:	PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
     			Arb:	Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
     			Ctrl:	Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
     			Status:	NegoPending- InProgress-
     	Kernel driver in use: ahci
    

    Software

    rock64@rockpro64:~$ uname -a
    Linux rockpro64 4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1 #1 SMP Mon Oct 22 20:59:41 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
    

    Danach die Platte mit fdisk -l angezeigt

    Disk /dev/sda: 223.6 GiB, 240057409536 bytes, 468862128 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0xaa1a7c28
    
    Device     Boot Start       End   Sectors   Size Id Type
    /dev/sda1       32768 468860927 468828160 223.6G 83 Linux
    

    Fazit

    Mit beiden aktuellen Linuxversionen, Armbian und Ayufan, geht die PCIe SATA-Karte problemlos. Bitte beachten, ich setze nur Serverversionen ein, die Desktop-Versionen sind aktuell noch viel zu fehleranfällig. Ob man die überhaupt nutzen kann, zur Zeit, möge jeder selber beurteilen.

    Es war egal, ob eine HDD oder eine SSD angeschlossen war. Auch hier bitte beachten, ich setze nur 2,5 Zoll HDDs ein. Aber, mit einer stabilen Spannungsversorgung sollten auch 3,5 Zoll HDDs kein Problem sein.

    In meinem NAS betreibe ich das Ganze mit zwei 2,5 Zoll HDDs mit dem gelieferten Stromadapter von pine64.org. Ich gehe davon aus, das das mit 3,5 Zoll HDDs so nicht geht, da diese einen höheren Strombedarf haben.

    Meine aktuelle Vermutung warum so viele Probleme haben, könnte an genau dieser Spannungsversorgung liegen. Ich werde jetzt den gleichen Test noch auf einem ROCKPro64 v2.0 mit 4GB RAM testen, weil die Vermutung im Raum liegt, das es da nicht geht. Da Ergebnis kommt dann in einem separaten Artikel.

    Viel Spaß beim NAS bauen!

    Auch mir hat das Testen geholfen, weil ich nun mein NAS umbauen kann auf Armbian und ich dann endlich eine zusätzliche HDD einbauen kann (USB3). Ich weiß ja, das die bei Armbian problemlos funktioniert. Ob das mit dem Strom dann noch passt, ok das werden wir dann sehen....

  • 1 Stimmen
    13 Beiträge
    1k Aufrufe
    FrankMF

    Ich möchte das dann hier zum Abschluss bringen, das NAS ist heute zusammengebaut worden. Hier zwei Fotos.

    IMG_20200425_102156_ergebnis.jpg

    IMG_20200425_102206_ergebnis.jpg

  • Image 0.9.14 - Kurztest

    ROCKPro64
    1
    0 Stimmen
    1 Beiträge
    216 Aufrufe
    Niemand hat geantwortet
  • Kamil's 4.20.x

    ROCKPro64
    1
    0 Stimmen
    1 Beiträge
    632 Aufrufe
    Niemand hat geantwortet
  • ROCKPro64 - Armbian nand-sata-install

    Verschoben Armbian
    14
    0 Stimmen
    14 Beiträge
    2k Aufrufe
    FrankMF

    Ich habe heute, nachdem es einige Updates von Armbian gab, mal nachgeschaut ob ein spezieller Fehler verschwunden ist.
    Und zwar geht es um das Resizen der Partion nachdem wir Armbian auf eine USB-HDD (USB3) installiert haben.

    Ich setze dafür folgendes System ein.

    Hardware ROCKPro64v2.0 4GB RAM SanDisk 240GB 2,5 Zoll HDD (nix tolles) Software Welcome to ARMBIAN 5.67.181217 nightly Debian GNU/Linux 9 (stretch) 4.4.167-rockchip64

    Was sehe ich nach dem Reboot?

    root@rockpro64:~# df -h Filesystem Size Used Avail Use% Mounted on udev 1.9G 0 1.9G 0% /dev tmpfs 388M 5.3M 383M 2% /run /dev/sda1 220G 1.3G 207G 1% / tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup tmpfs 1.9G 4.0K 1.9G 1% /tmp /dev/mmcblk0p1 58G 1.3G 57G 3% /media/mmcboot /dev/zram0 49M 3.0M 43M 7% /var/log tmpfs 388M 0 388M 0% /run/user/0

    Korrekt die Größe angepasst!

    Schnell mal den USB3 testen

    root@rockpro64:~# sudo dd if=/dev/zero of=sd.img bs=1M count=4096 conv=fdatasync 4096+0 records in 4096+0 records out 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 38.0723 s, 113 MB/s

    Der Adapter

    root@rockpro64:~# lsusb -vvv Bus 004 Device 002: ID 2109:0715 VIA Labs, Inc. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 3.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 9 idVendor 0x2109 VIA Labs, Inc. idProduct 0x0715 bcdDevice 1.31 iManufacturer 1 VLI Manufacture String iProduct 2 VLI Product String iSerial 3 000000123ADA bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 121 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 224mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk-Only iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 15 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 15 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 1 bNumEndpoints 4 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 98 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x04 EP 4 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 0 Command pipe (0x01) Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x85 EP 5 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 15 MaxStreams 32 Data-in pipe (0x03) Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x06 EP 6 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 15 MaxStreams 32 Data-out pipe (0x04) Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x87 EP 7 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 0 MaxStreams 32 Status pipe (0x02) Binary Object Store Descriptor: bLength 5 bDescriptorType 15 wTotalLength 70 bNumDeviceCaps 4 FIXME: alloc bigger buffer for device capability descriptors Device Status: 0x0000 (Bus Powered)

    Ein lästiger Fehler weniger. 😉

  • ROCKPro64 - USB3 bootet von SSD!

    ROCKPro64
    4
    0 Stimmen
    4 Beiträge
    809 Aufrufe
    FrankMF

    Da oben steht viel Bullshit 🙂 Ich habe mich mal mit dem mechanischen Aufbau einer USB3 Buchse beschäftigt, bzw. dazu recherchiert. Auf dieser Seite ist ein klasse Bild, was das sehr gut verdeutlicht.

    https://kompendium.infotip.de/usb-3-0.html

    Abbildung 28. Dort sieht man das die USB3 Kontakte RX/TX und GND ganz hinten sind. Wenn ich den Stecker jetzt komplett einstecke, wird wohl versucht eine USB3 Verbindung aufzubauen, die ja im Moment aus irgendeinem Grund scheitert. Wenn ich den Stecker nun ein Stück raus ziehe, trenne ich die USB3-Verbindung und es kommt eine USB2-Verbindung zustande.

    So mit ist mir jetzt einiges klarer, aber das Problem ist ungelöst 😞

  • Booten von der NVMe Platte

    ROCKPro64
    16
    0 Stimmen
    16 Beiträge
    7k Aufrufe
    S

    Für dies Kernal: Linux rockpro64 4.4.167-1213-rockchip-ayufan-g34ae07687fce #1 SMP Tue Jun 18 20:44:49 UTC 2019 aarch64 GNU/Linux

    Booten von der NVMe Platte nicht möglich.

    Ich folgte die folgende Schritte. Leider funktioniert es nicht. Es gibt einen Fehler in Boot.

    Ohne RAID oder LVM config.

    Specs:
    Rockpro64
    Marvel PCIe 88se9230 karte
    SANDISK SSD 120 GB

  • 0 Stimmen
    3 Beiträge
    1k Aufrufe
    FrankMF

    Ein paar Hardware Änderungen

    Weiße LED gedimmt

    0_1532529766212_IMG_20180725_151430_ergebnis.jpg

    Neue LED grün, neben dem Eingang der Stromversorgung

    0_1532529863801_IMG_20180725_151421_geändert.jpg

  • Interessante Links

    ROCKPro64
    1
    0 Stimmen
    1 Beiträge
    618 Aufrufe
    Niemand hat geantwortet