SATA on BSD - BBS

Barb Cronin avatar
By Barb Cronin
at 2007-12-06T19:45

Table of Contents

機器很古老 大概只有 P3 而已

若想裝大硬碟 ex 500G 這種

都是以 SATA 居多

不得不用外接卡

想問一下 FreeBSD 對 SATA 卡的支援度好媽?

man ata 找到這些
----------------
The ata driver provides access to ATA (IDE) and SerialATA disk drives,
ATAPI CDROM/DVD drives, ZIP/LS120 ATAPI drives and ATAPI tape drives con-
nected to controllers according to the ATA/ATAPI standards.

The currently supported ATA/SATA controller chips are:

Acard: ATP850P, ATP860A, ATP860R, ATP865A, ATP865R.
ALI: M5229, M5281, M5287, M5289.
AMD: AMD756, AMD766, AMD768, AMD8111.
ATI: IXP200, IXP300, IXP400.
CMD: CMD646, CMD646U2, CMD648, CMD649.
Cypress: Cypress 82C693.
Cyrix: Cyrix 5530.
HighPoint: HPT302, HPT366, HPT368, HPT370, HPT371, HPT372, HPT372N,
HPT374.
Intel: 6300ESB, 31244, PIIX, PIIX3, PIIX4, ESB2, ICH, ICH0,
ICH2, ICH3, ICH4, ICH5, ICH6, ICH7, ICH8.
ITE: IT8211F, IT8212F.
JMicron: JMB360, JMB361, JMB363, JMB365, JMB366.
Marvell 88SX5040, 88SX5041, 88SX5080, 88SX5081, 88SX6041,
88SX6081.
National: SC1100.
nVidia: nForce, nForce2, nForce2 MCP, nForce3, nForce3 MCP,
nForce3 Pro, nForce4.
Promise: PDC20246, PDC20262, PDC20263, PDC20265, PDC20267,
PDC20268, PDC20269, PDC20270, PDC20271, PDC20275,
PDC20276, PDC20277, PDC20318, PDC20319, PDC20371,
PDC20375, PDC20376, PDC20377, PDC20378, PDC20379,
PDC20571, PDC20575, PDC20579, PDC20580, PDC20617,
PDC20618, PDC20619, PDC20620, PDC20621, PDC20622,
PDC40518, PDC40519, PDC40718, PDC40719.
ServerWorks: HT1000, ROSB4, CSB5, CSB6.
Silicon Image: SiI0680, SiI3112, SiI3114, SiI3512.
SiS: SIS180, SIS181, SIS182, SIS5513, SIS530, SIS540, SIS550,
SIS620, SIS630, SIS630S, SIS633, SIS635, SIS730, SIS733,
SIS735, SIS745, SIS961, SIS962, SIS963, SIS964, SIS965.
VIA: VT6410, VT6420, VT6421, VT82C586, VT82C586B, VT82C596,
VT82C596B, VT82C686, VT82C686A, VT82C686B, VT8231,
VT8233, VT8233A, VT8233C, VT8235, VT8237, VT8237A,
VT8251.

Unknown ATA chipsets are supported in PIO modes, and if the standard bus-
master DMA registers are present and contain valid setup, DMA is also
enabled, although the max mode is limited to UDMA33, as it is not known
what the chipset can do and how to program it.

The ata driver can change the transfer mode and various other parameters
when the system is up and running. See atacontrol(8).

The ata driver sets the maximum transfer mode supported by the hardware
as default. However the ata driver sometimes warns: ``DMA limited to
UDMA33, non-ATA66 cable or device''. This means that the ata driver has
detected that the required 80 conductor cable is not present or could not
be detected properly, or that one of the devices on the channel only
accepts up to UDMA2/ATA33.

Unknown ATAPI devices are initialized to DMA mode if the hw.ata.atapi_dma
tunable is set to 1 and they support at least UDMA33 transfers. Other-
wise they are set to PIO mode because severe DMA problems are common even
if the device capabilities indicate support. You can always try to set
DMA mode on an ATAPI device using atacontrol(8), but be aware that your
hardware might not support it and can potentially hang the entire system
causing data loss.

-----------------------------
看完不是很懂 尤其是最後兩段

感覺上是支援這些晶片 但最多只能跑 ATA66 ???

hw.ata.atapi_dma 不太清楚是幹麻的~ 原文有畫底線 可能很重要吧@@?

我有另外去看 hardware note (我的OS是 6.2 RELEASE)

Driver 有支援的SATA 好像又都不是這種

我的用途:單純為了擴充硬碟 不會用到RAID

我想問的問題是

1.SATA卡 系統真的認識它 因為 hardware note 裡面 只有列出

那些很貴的卡....LSI 3Ware 我太窮了 買不起 ><

找了一些 比較便宜的卡 ex: HighPoint RocketRAID 1520 1720 1640

雖然 hareware note 沒有列 但是HighPoint 官方有放 BSD 的Driver

其他家公司做的 我就都沒有看到 所以也就沒有考慮


2.買了能跑的出他的效果嗎? (就是跑150 or 300)

還是 真的如同上面所說 就是 跑 ATA33 最多 ATA66 這樣?


====

研究了好久 沒有頭緒

很怕買了跑不出預期的效果

那不如等IDE 但SATA已經是市場主流

要是大容量不做IDE 最後還是要遷就 SATA Orz

很困惑 請大家幫忙推薦一下吧 ^^||| 謝謝~

--
Tags: BBS

All Comments

不知道freebsd的gcc specs放在那裡

John avatar
By John
at 2007-12-06T09:20
如題 雖然有/usr/libdata/gcc但是裡面是空的,什麼都沒有 我看書上說只要打gcc -v就可以看什麼版本而且它的specs放在那裡 結果只會寫build-in specs就沒有了 但是我使用gcc -dumpspecs的話又可以看到它的設定檔內容,但是到底放在那裡呢? - ...

請問沒辦法顯示目前在哪個目錄下,要怎묠…

Linda avatar
By Linda
at 2007-12-04T02:54
※ 引述《Gracybaby (對愛情沒痛覺)》之銘言: : 請問一下喔 : 我看不太懂耶 : [33m\]....這些是要加的字or不是? : PS1=後面的內容可以再寫一遍嗎? : 還有我有個同事跟我說可以改/root/.profile : 加上一行export PS1=and#39;\h:\w\$ an ...

請問沒辦法顯示目前在哪個目錄下,要怎묠…

Hardy avatar
By Hardy
at 2007-12-03T22:21
※ 引述《Gracybaby (對愛情沒痛覺)》之銘言: : 我用bash : 那麼到底要改成什麼呢? 如果沒什麼原因一定要用bash的話 你可以用chfn 把bash改成tcsh .. : ※ 引述《appleboy46 (我是道明柏毅)》之銘言: : : source .profile : : sour ...

請問沒辦法顯示目前在哪個目錄下,要怎묠…

Madame avatar
By Madame
at 2007-12-03T21:59
※ 引述《Gracybaby (對愛情沒痛覺)》之銘言: : 我用bash : 那麼到底要改成什麼呢? 建議你 man bash 然後找 PROMPTING 的部分自己看,自己改成你要的樣子 -- 三十年來尋刀劍,幾回落葉又抽枝。自從一見桃花後,直至如今更不疑。 ...

ssh 進去後馬上斷線

Ophelia avatar
By Ophelia
at 2007-12-03T19:54
不是 是一般 user 欸 ※ 引述《seeseeya (炘)》之銘言: : 可能是你用 root 登入? : 預設 root 無法遠端登入 : 若登入會遭到斷線 : ※ 引述《PowerSec (0day)》之銘言: : : 當我用 putty 連到機器一輸入完帳號密碼登入後 : : 就秀出 serve ...