namazu-ml(ring)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to add the new indexies



すぎうらしろうです。

<199906270015.JAA14243@xxxxxxxxxxxxxx>の記事において
hatada@xxxxxxxxxさんは書きました。

>> > あれっ? FreeBSD2.2.8で、IDEのHDDのDMA使えてます?
>> > 私は以前どこからかコードを持ってきてマージしようとしたが、途中で
>> > 面倒になってあきらめたことがあります。
>> 
>>   にゅ??
>>   使えてます。

これって、BIOSの設定のことでしょうか?それともカーネルの wd のフラグの
ことでしょうか?

例えば、3.1-RELEASEのマニュアルだと下記のように、2.2.8にはない、0x2000
という項目が増えています。

         0x8000  Test and use the 32bit transfer capability of the drive.

         0x4000  If drive looks like it's coming out of sleep mode, assume
                 it's confused and reinitialize it.

         0x2000  Probe for and use the bus-mastering DMA capabilities of mod鹿
                 ern PCI chipsets.

         0x1000  Use LBA addressing instead of the default CHS addressing.

         0x0f00  Force number of heads to ((flags & 0xf00)>>8), recalculate
                 number of cylinders to match.

         0x00ff  Test and use multi-sector transfer mode of this drive, max
                 number of sectors attempted is (flags & 0x00ff).

で、このフラグをノーマルの2.2.8につけても、何事もなくカーネルの再構築は
終りますが、起動しても

wdc0: unit 0 (wd0): <Maxtor 91152D8>, DMA

といったような、DMAというメッセージも出ず、/sys/i386/isa/wd.c にもそれ
らしい記述は何もなく、実際計測してもなにも変わらないと思いますが、本当
に使えてますか?

#私も、2.2.8でUltraATA/33使いたい

>>  でも、これが原因でrebootしているのだとすると、「使えない」ですね。

もし、クロックアップされているなら、やるべき事はまず動作クロックを
もとに戻してみることですけど、そちらは試されました?

--  
      すぎうらしろう(Sugiura Shiro)      E-mail : sugiura@xxxxxxxxxxxx
      (伊)x7                 <URL:http://www.kt.rim.or.jp/%7Esugiura/>
       御希望の方に、もれなく less-332.tar.gz をプレゼントしています
      [     If you want to talk with me, you MUST speak Japanese     ]