pciide controller & softraid

OpenBSD的安装、升级、更新等日常问题。

版主: chenjun天地乾坤

回复
头像
unreal
银 Ag
帖子: 1083
注册时间: 2010-06-07 18:52

pciide controller & softraid

帖子 unreal » 2012-04-05 23:20

最近在瞎折腾 PCI2IDE&SATA 转接卡,发现有关页面给出的信息不完全一致:

openbsd.org/i386.html 的支持硬件
PCI IDE and Serial ATA Controllers (pciide)
Acard ATP850U, ATP860, ATP860-A, ATP865-A, ATP865-R
Acer Labs M5229
Adaptec AAR-1210SA
Advanced Micro Devices AMD-756, AMD-766, AMD-768, AMD-8111
CMD Tech PCI0640, PCI0643, PCI0646, PCI0648, PCI0649, PCI0680
Contaq Microsystems/Cypress CY82C693
HighPoint HPT366, HPT370, HPT372, HPT302, HPT371, HPT374
Intel PIIX, PIIX3, and PIIX4
Intel 82801 (ICH/ICH0/ICH2/ICH3/ICH4/ICH4-M/ICH5/ICH5R/ICH6/ICH6M/ICH6R/ICH7)
Intel 6300ESB
ITE IT8212F
National Semiconductor PC87415
National Semiconductor SCx200 (found on SC1100 SoC)
NVIDIA nForce/nForce2/nForce2-400/nForce3/nForce3-250/nForce4
Promise PDC20246, PDC20262, PDC20265, PDC20267, PDC20268, PDC20268R, PDC20269, PDC20271, PDC20275, PDC20276, PDC20277, PDC20318, PDC20319, PDC20371, PDC20375, PDC20376, PDC20377, PDC20378, PDC20379
ServerWorks OSB4, CSB5, CSB6 (including support for the third channel)
Silicon Image SiI3112 (including ATI IXP SATA), SiI3512, SiI3114
Silicon Integrated System 180, 181, 5513 (5597/5598), 540, 550, 620, 630, 630S, 633, 635, 640, 645, 645DX, 648, 650, 651, 652, 655, 658, 730, 733, 735, 740, 745, 746, 748, 750, 751, 752, 755, 962, 963
VIA Technologies VT82C586/A/B, VT82C596A/B, VT82C686A/B, VT8231, VT8366, VT8233, VT8235, VT8237, VT8251, VT6410

Some of these chips are sometimes used in low-cost software-based RAID systems. This mode of operation is not supported in OpenBSD.
在线manual 里的支持硬件
o Acard ATP850U, ATP860, ATP860-A, ATP865-A, ATP865-R
o Acer Labs M5229
o Adaptec AAR-1210SA
o AMD 756, 766, 768, 8111, Hudson-2
o ATI SB200, SB300, SB400, SB600, SB700 (IDE only)
o CMD Tech PCI0640, PCI0643, PCI0646, PCI0648, PCI0649, PCI0680
o Contaq Microsystems/Cypress CY82C693
o HighPoint HPT366, HPT370, HPT372, HPT302, HPT371, HPT374
o Intel 6300ESB/6321ESB
o Intel 82801 (ICH/ICH0/ICH2/ICH3/ICH4/ICH4-M/ICH5/ICH5R/
ICH6/ICH6M/ICH6R/ICH7/ICH7M/ICH7R/ICH7M DH/ICH8/ICH8M/
ICH9/ICH9M)
o Intel PIIX, PIIX3, and PIIX4
o ITE IT8211F, IT8212F
o JMicron JMB361/3/5/6/8
o National Semiconductor PC87415
o National Semiconductor SCx200 (found on SC1100 SoC)
o NVIDIA nForce/nForce2/nForce2-400/nForce3/nForce3-250/nForce4,
MCP04/MCP51/MCP55/MCP61/MCP65/MCP67/MCP73/MCP77/MCP89
o Phison PS5000
o Promise PDC20246, PDC20262, PDC20265, PDC20267, PDC20268,
PDC20268R, PDC20269, PDC20271, PDC20275, PDC20276, PDC20277,
PDC20318, PDC20319, PDC20371, PDC20375, PDC20376, PDC20377,
PDC20378, PDC20379, PDC20571, PDC20575, PDC20579, PDC20771,
PDC20775, PDC40518, PDC40519, PDC40718, PDC40719, PDC40779
o ServerWorks SATA, OSB4, CSB5, CSB6 (including support for the
third channel)
o Silicon Image SiI3112, SiI3512, SiI3114
o Silicon Integrated System 180, 181, 5513 (5597/5598), 540, 550,
620, 630, 630S, 633, 635, 640, 645, 645DX, 648, 650, 651, 652,
655, 658, 661, 730, 733, 735, 740, 745, 746, 748, 750, 751,
752, 755, 760, 962, 963
o VIA Technologies CX700, VT82C586/A/B, VT82C596A/B, VT82C686A/B,
VT8231, VT8366, VT8233, VT8235, VT8237, VT8237A/S, VT8251,
VT6410, VT6415, VX700, VX855, VX900

Some of these controllers are only available in multifunction PCI chips.
另外搜到 BSDnexus forums 有人2006年就在使用 VT6420,而上述页面里根本木有这款硬件。
pciide0 at pci0 dev 15 function 0 "VIA VT6420 SATA" rev 0x80: DMA
这种情况让我们怎么办??
=====================================================
另外,OB的softraid不能在安装的时候一步到位么?手册里的例子是已经有OB的情况下再添加三块硬盘建RAID 1。有无可能在已经安装好系统的单硬盘机器上再加一块硬盘,组成 RAID 1,若可能的话,数据会自动复制么?但我看手册后猜测这是不可能…有实际经验的筒子请赐教!
勤能補拙 Just do it now!

f5b
锆 Zr
帖子: 643
注册时间: 2011-10-22 20:43

回复: pciide controller & softraid

帖子 f5b » 2012-04-06 7:23

一、文档新旧程度(前面最新)
1、cvs 源
2、安装snapshots后的内置manual
3、http://www.openbsd.org/cgi-bin/man.cgi 查询到的
4、http://www.openbsd.org/i386.html

注意看文档编辑日期
如web查询的 manual pciide
底部有个最新编辑日期 March 15, 2012

二、OpenBSD开发者集成了某硬件的驱动,会顺手写manual,说某某设备“肯定”被支持,也会漏掉一些“可能支持”的设备,因为开发者手上不可能有所有设备测试是否支持。所以需要大家都多提交dmesg来完善。

三、Some of these chips are sometimes used in low-cost software-based RAID systems. This mode of operation is not supported in OpenBSD.
软raid硬件还是不要折腾了,还不如用自带的softraid,当然最好用基于硬件的阵列卡。

看看Provisioning Root on Softraid
http://www.undeadly.org/cgi?action=arti ... 1002154251

softraid前段时间很多更新,最好下snapshot来测试并查看manual
我没有测试过

头像
unreal
银 Ag
帖子: 1083
注册时间: 2010-06-07 18:52

回复: pciide controller & softraid

帖子 unreal » 2012-04-07 0:13

感谢 f5b兄 指教!我买的 Promise PDC20378 芯片的pci转ide/sata 已经接一块ide硬盘在 i386 平台试跑过安装脚本,看起来很顺利;有空继续折腾 raid0、raid。softraid 也抽空在macg4上折腾看看。
勤能補拙 Just do it now!

回复

在线用户

正浏览此版面之用户: 没有注册用户 和 1 访客