SCSI–

這一兩個學期來,實驗室買了幾台 RAID 來裝大家實驗用的資料。幾個禮拜前,file system 爆炸,我們損失了不少資料 :(

重點提要:

  1. 同一個 channel 不要接超過三組 RAID
  2. 同一個 channel 不要接不同廠牌的 RAID
  3. SCSI 線跟 terminator 是消耗品

接 RAID 的機器是跑 FreeBSD 7.0-PRERELEASE。一開始發現異常,是 zfs 說他寫進去的資料跟讀出來的 checksum 不一樣,於是就爆了三個 zfs 的 partition。接在同一個 SCSI channel 的 RAID 共有四台,三台 proware 跟一台 festora(?),zfs 叫有 error 的是其中兩台 proware,所以我們懷疑是 RAID 本身有問題。

後來找了 proware 的工程師來幫我檢查 RAID,他說我們接四組 RAID 太多了… 小時候學到的 SCSI device 不就是要用串的嗎,可是沒想到四組就算太多 orz 而且最好不要把不同廠牌的 RAID 接在一起… 因為訊號可能會互相干擾 @@ (我以為這應該有標準,可是看起來接在一起的確不太好…)

於是我們把四台 RAID 分到兩張 scsi 卡上(之前因為某些原因沒這麼做),其中一個 channel 是一組 proware + 一組 festora。然後今天下午一直發現 zfs 又開始抱怨了… 一個月前這麼接還沒事的耶 orz 真是 ooxx 現在改成三組 proware 接同一張 scsi card,另一組自己接一張,zfs 就不叫了。

(%&$#@!*(%!#@^!)

ipw for macosx

最近我把之前裝 Gentoo 的 partition 又拿來玩 OSX86 XD 但裝好之後的問題是,ipw2100 不能用,而我的 eepro100 不知道幾年前就壞了,這樣等於沒網路啊。

找了好久,總算看到有一個人最近一個月左右開始在嘗試把 ipw2100/2200 系列的 driver port 到 MacOSX 上。他自己是用 2200,所以 2200 好像已經 ok 了,他說等到夠 stable,會把它加到 osx86 的 3rd Party Driver List

我看這兩天他在這個 forum 上都還有文章,希望過陣子 ipw2100 也能在 osx86 上跑。

Project url: http://code.google.com/p/iwidarwin/

Auto-MDI/MDIX

My Dad just bought a DI-524 yesterday, and I find a feature called “Auto-MDI/MDIX” on the spec. I can guess that’s an autodetection of common cable or crossover, but when I googled it, almost all of them are product information, except one like this breif introduction in Polish wikipedia. Could be a non-standard spec?

Ethernet_crossover_cable
Medium_dependent_interface

power supply’s fan is broken

I found that my computer is down surprisingly this morning. The reason could be overheating caused by the broken fan of power supply. Damn it, I shouldn’t buy the inferior brand!

power consumption

放寒假這段時間,無聊的時候做了這個測試,在我的 notebook (ThinkPad R40 2722-2v1) 上 activate/deactivate 硬體、跟 start/stop 程式對電池電力的消耗功率的影響。不同的測試之間我大概會等個 2 ~ 3 分鐘左右,功率的觀察是透過 /proc/acpi/battery/BAT0/state。

kernel Linux 2.6.10 under scaling governor “powersave”

 console login                     (-----)
 10427  <--- 目前功率
 turn the back-light to min        (-2373)   --- 做了前面這件事後的功率變化
 8054
 max light, eject bay              (-2081)
 10135
 startx                            (+648)
 10783
 eject bay                         (-284)
 10499
 modprobe ipw2100                  (+1407)
 11906
 modprobe -r uhci_hcd              (-1148)
 10758
 start seti@home                   (+3136)
 13894
 press "led" button                (-3674)
 10220