[測試] OpenMediaVault 3.0 @Linksys WRT1900AC v2

本帖最後由 fakeman 於 2016-9-8 13:31 編輯

上個月收到 HKEPC 俾我套 WRT1900AC v2 之後一直心郁郁想玩下特別野,無意中俾我發現 GitHub 上有個叫 McDebian 既 project,就係將 Debian 8.5 (Jessie) 放上去 WRT1x00AC 系列運行,做法係 flash 只放 boot image 然後靠外置 USB memory 做 root filesystem,屎忽痕既我就去玩下。

裝呢個就無乜難度可言,因為 Linksys 都好 open to community,而且 Marvell 又肯開放 WiFi driver source code(所以 GitHub 有另一個 mwlwifi project 去定期更新,McDebian project 或 OpenWRT/DD-WRT 都係靠佢)。

OpenMediaVault 係一套 Debian based NAS system,現時 stable release 2.x,pre-release 出到 3.0,我試咗幾晚都裝唔到 2.x 因為 2.x 本身建基於 Debian 7 (Wheezy)之上,夾硬係 Debian 8 上裝遇到好多解決唔到既問題。OMV 3.0 官方指出係建基於 Debian 8,雖然 pre-release 但係佢哋聲稱 core system 已 stable,只欠外部 plugin 及 extras 未配合好,於是我就直接試 3.0

因為我係安裝於 existing system,就要修改 /etc/apt/source.list 去加 OMV repo 然後安裝,大概步驟如下:
  1. wget -O - http://packages.openmediavault.org/public/archive.key | apt-key add -
  2. echo "deb http://packages.openmediavault.org/public erasmus main" > /etc/apt/sources.list.d/openmediavault.list
  3. apt-get update
  4. apt-get install postfix
  5. apt-get install openmediavault-keyring
  6. apt-get install openmediavault
  7. omv-initsystem
  8. shutdown -r now
複製代碼
omv-login.jpg
2016-9-8 11:41

成功安裝!!

omv-home.jpg
2016-9-8 11:41

OMV 3.0 dashboard

esata-back.jpg
2016-9-8 11:41
esata-front.jpg
2016-9-8 11:41

插上 Orico 3-bay USB3/eSATA,當然就係用 eSATA 啦

omv-hdd.jpg
2016-9-8 11:41

個 box 我 set 做 "clear RAID",理論上只要 WRT1900AC support SATA port multiplier 就可以睇到獨立碟,呢個我用 stock firmware 試過係得,所以肯定 hardware support
可以清楚見到 boot 機 root filesystem USB 手指 + 2 隻 Hitachi 1TB HDD + 1 隻 Seagate 750GB HDD

理論上應該就 OK,不過暫時未得,原因係我做任何 disk operation 時 HDD 不停 on/off reset,睇 dmesg 見到以下部份 log:
  1. [ 2676.401672] ata2: hard resetting link
  2. [ 2676.951670] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
  3. [ 2676.958220] ata2.15: Port Multiplier 1.2, 0x197b:0x0325 r0, 5 ports, feat 0x5/0xf
  4. [ 2676.965765] ahci-mvebu f10a8000.sata: FBS is enabled
  5. [ 2676.971057] ata2.01: limiting SATA link speed to 1.5 Gbps
  6. [ 2676.976537] ata2.02: limiting SATA link speed to 1.5 Gbps
  7. [ 2676.982023] ata2.03: limiting SATA link speed to 1.5 Gbps
  8. [ 2676.987491] ata2.04: limiting SATA link speed to 1.5 Gbps
  9. [ 2676.992932] ata2.00: hard resetting link
  10. [ 2677.342154] ata2.00: SATA link up 3.0 Gbps (SStatus 123 SControl 320)
  11. [ 2677.348673] ata2.01: hard resetting link
  12. [ 2678.421709] ata2.01: failed to resume link (SControl 0)
  13. [ 2678.427295] ata2.01: SATA link down (SStatus 0 SControl 0)
  14. [ 2678.432916] ata2.02: hard resetting link
  15. [ 2679.501711] ata2.02: failed to resume link (SControl 0)
  16. [ 2679.507311] ata2.02: SATA link down (SStatus 0 SControl 0)
  17. [ 2679.512957] ata2.03: hard resetting link
  18. [ 2680.581735] ata2.03: failed to resume link (SControl 0)
  19. [ 2680.587320] ata2.03: SATA link down (SStatus 0 SControl 0)
  20. [ 2680.593126] ata2.04: hard resetting link
  21. [ 2681.661710] ata2.04: failed to resume link (SControl 0)
  22. [ 2681.667297] ata2.04: SATA link down (SStatus 0 SControl 0)
  23. [ 2681.673585] ata2.00: ATA-7: Hitachi HUAxxxxxxx, 0958, max UDMA/133
  24. [ 2681.680231] ata2.00: 1953525168 sectors, multi 1: LBA48
  25. [ 2681.686315] ata2.00: configured for UDMA/133
  26. [ 2681.690722] ata2: EH complete
  27. [ 2681.693962] ata2.00: detaching (SCSI 1:0:0:0)
  28. [ 2681.704080] sd 1:0:0:0: [sdb] Stopping disk
  29. [ 2683.880571] ata2.15: PMP product ID mismatch
  30. [ 2683.884883] ata2.15: hard resetting link
  31. [ 2684.431672] ata2.15: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
  32. [ 2684.438451] ata2.15: Port Multiplier vendor mismatch '0x197b' != '0x0'
  33. [ 2684.445021] ata2.15: PMP revalidation failed (errno=-19)
  34. [ 2684.450358] ata2.15: limiting SATA link speed to 1.5 Gbps
  35. [ 2689.431669] ata2.15: hard resetting link
  36. [ 2689.981671] ata2.15: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
  37. [ 2689.988464] ata2.15: Port Multiplier vendor mismatch '0x197b' != '0x0'
  38. [ 2689.995034] ata2.15: PMP revalidation failed (errno=-19)
  39. [ 2694.981671] ata2.15: hard resetting link
  40. [ 2695.531670] ata2.15: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
  41. [ 2695.538452] ata2.15: Port Multiplier vendor mismatch '0x197b' != '0x0'
  42. [ 2695.545020] ata2.15: PMP revalidation failed (errno=-19)
  43. [ 2695.550366] ata2.15: failed to recover PMP after 5 tries, giving up
  44. [ 2695.556667] ata2.15: Port Multiplier detaching
  45. [ 2695.561129] ata2.00: disabled
  46. [ 2695.564116] ata2.00: disabled
複製代碼
呢個似係 base system 問題,個 port multiplier 用起上來會自己 reset,唔排除係 kernel issue,我係 GitHub McDebian 原作者個 project 開咗一個 bug report 去一齊跟進中,歡迎各熟悉 Linux 的師兄一齊研究。

期待問題解決及希望 OMV 3.0 快 d 正式 release 就可以完成埋佢。

P.S. WRT1900AC v2 用的是 dual core Marvell Armada 385 88F8620 @1.6GHz + 512MB DDR3,此 config 正正同 S 牌 DS-216 一模一樣。

好玩呀,AC1900 V1 得唔得?

via HKEPC Reader for Android

TOP

好玩呀,AC1900 V1 得唔得?

via HKEPC Reader for Android
chanzilla 發表於 2016-9-8 13:16



    V1 都得,因為 McDebian 係可以裝去 1900 v1/v2 ACS 及 1200

TOP

V1 都得,因為 McDebian 係可以裝去 1900 v1/v2 ACS 及 1200
fakeman 發表於 2016-9-8 13:30

正,找個Ext HD 玩多個NAS 先。

via HKEPC Reader for Android

TOP

本帖最後由 fakeman 於 2016-9-8 14:16 編輯
正,找個Ext HD 玩多個NAS 先。

via HKEPC Reader for Android
chanzilla 發表於 2016-9-8 13:46



    如有 eSATA 會最好,因為最穩定,不過你 v1 的話少 d RAM 可能會少少吃力,同埋記得裝埋 McDebian 果個 fan control

TOP

小心 gen 好多 "199 UDMA CRC error count", 抹唔走. 雖則係 d 舊碟.
PMP 有時好鑊.

TOP

小心 gen 好多 "199 UDMA CRC error count", 抹唔走. 雖則係 d 舊碟.
PMP 有時好鑊.
GbE 發表於 2016-9-8 14:55



    呢個我知呀,特別係 Orico 果 d 我都聽過唔少,但佢行 JMicron JMB321 都叫比 low end Sil chipset 好 dddddd 咁啦 但而家 d error 似係 kernel driver 問題,希望 fix 到,到時要玩咪換過隻新

TOP

小心 gen 好多 "199 UDMA CRC error count", 抹唔走. 雖則係 d 舊碟.
PMP 有時好鑊.
GbE 發表於 2016-9-8 14:55



    我諗住買隻單碟 eSATA 盒做測試但原來都唔易買 -_-

TOP

可唔可以只插一隻碟,試吓先?

TOP

如果只插一隻 harddisk, 直接比電加 esata <-> sata 線就 ok. 睇下中間冇 bridge / PMP 會否出問題.

TOP