DMA and UDMA
Dear debian-isp, I have just compiled the kernel 2.6.6 in my box, and during boot time it says the following for each disk partition: ** * Warning: The dma on your hard drive is turned off. * * This may really slow down the fsck process. * ** And in fact it takes 15 minutes to end the booting process... I compiled the kernel with all the DMA options enabled an the BIOS has them enabled too. Maybe I'm missing an option or I have to install hdparm or...? My motherboard is an M756 LMRT+ with a PIII (RK80526PZ001256) and the disk is an WD200EB if that helps. Thanks in advance, Agustín -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: DMA?
Thomas -Balu- Walter wrote: I thought that myself, but got curious, why the #debian.de FAQ told me that "it could be possible that the BIOS activated the UDMA-mode already (marked with *). You don't have to do anything in this case. If not you have to enable it using hdparm afterwards." Well, there's a kernel option to automatically enable DMA if it's detected, at least in 2.4.18. I don't recall exactly where, and alas, I can't access my box from here :-/. But I compiled the kernel to support my motherboard's chipset, enabled the option in the kernel to automatically enable DMA if detected, and now it detects and enables it when I boot :) -- Kevin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: DMA?
+ Raghavendra Bhat <[EMAIL PROTECTED]> [23.07.02 20:06]: > -Balu- Walter posts : > > >> but do I have dma on? > > DMA is not enabled. Have you installed hdparm ? Of course, I couldn't have done "hdparm -i /dev/hda" without ;) > Do an `apt-get install > hdparm' and enable DMA by doing `hdparm -d1 /dev/hda'. You can also > pass on `-c1 -u1' to hdparm. Please test out the hard disk read timings > by doing a`hdparn -t /dev/hda' before and after passing the said > arguments. I thought that myself, but got curious, why the #debian.de FAQ told me that "it could be possible that the BIOS activated the UDMA-mode already (marked with *). You don't have to do anything in this case. If not you have to enable it using hdparm afterwards." The hdd "felt" kinda slow though, so I checked with "hdparm -d /dev/hda" and was told that dma is not active... > >> BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=16 > > You can also set the multi-sector count to 16 by passing `-m16' to > hdparm. I'd like to test it, but I have to wait 'til tomorrow. Self-larted myself (as I am guessing atm) by editing /etc/network/interfaces and typing "auth eth0" instead of "auto eth0" some hours ago. I just tried to reboot and check if everything gets started and configured as expected on booting (which does not :) Balu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: DMA?
-Balu- Walter posts : >> but do I have dma on? DMA is not enabled. Have you installed hdparm ? Do an `apt-get install hdparm' and enable DMA by doing `hdparm -d1 /dev/hda'. You can also pass on `-c1 -u1' to hdparm. Please test out the hard disk read timings by doing a`hdparn -t /dev/hda' before and after passing the said arguments. >> BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=16 ^^ You can also set the multi-sector count to 16 by passing `-m16' to hdparm. >> BIOS is already using udma4, but the following tells me, it's off? Anyway `man hdparm' and `hdparm --help'. HTH. -- ragOO, VU2RGU<->http://gnuhead.dyndns.org/<->GPG: 1024D/F1624A6E Helping to keep the Air-Waves FREE Amateur Radio Helping to keep your Software FREE the GNU Project Helping to keep the W W W FREE Debian GNU/${kernel} -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
DMA?
Guess it's a FAQ, but do I have dma on? # hdparm -i /dev/hda /dev/hda: Model=ST340810A, FwRev=3.39, SerialNo=5FB3DCX2 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=16 CurCHS=4047/16/255, CurSects=16511760, LBA=yes, LBAsects=78165360 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 *udma4 udma5 AdvancedPM=yes: unknown setting WriteCache=enabled Drive Supports : Reserved : ATA-1 ATA-2 ATA-3 ATA-4 ATA-5 ATA-6 If I got it correctly (german: http://channel.debian.de/faq/ch-confighw.html#s-udmaactivate), the * in "DMA modes" tells me that BIOS is already using udma4, but the following tells me, it's off? # hdparm -d /dev/hda /dev/hda: using_dma= 0 (off) Balu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: DMA?
Thomas -Balu- Walter wrote: > > I thought that myself, but got curious, why the #debian.de FAQ told me > that "it could be possible that the BIOS activated the UDMA-mode already > (marked with *). You don't have to do anything in this case. If not you > have to enable it using hdparm afterwards." Well, there's a kernel option to automatically enable DMA if it's detected, at least in 2.4.18. I don't recall exactly where, and alas, I can't access my box from here :-/. But I compiled the kernel to support my motherboard's chipset, enabled the option in the kernel to automatically enable DMA if detected, and now it detects and enables it when I boot :) -- Kevin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: DMA?
+ Raghavendra Bhat <[EMAIL PROTECTED]> [23.07.02 20:06]: > -Balu- Walter posts : > > >> but do I have dma on? > > DMA is not enabled. Have you installed hdparm ? Of course, I couldn't have done "hdparm -i /dev/hda" without ;) > Do an `apt-get install > hdparm' and enable DMA by doing `hdparm -d1 /dev/hda'. You can also > pass on `-c1 -u1' to hdparm. Please test out the hard disk read timings > by doing a`hdparn -t /dev/hda' before and after passing the said > arguments. I thought that myself, but got curious, why the #debian.de FAQ told me that "it could be possible that the BIOS activated the UDMA-mode already (marked with *). You don't have to do anything in this case. If not you have to enable it using hdparm afterwards." The hdd "felt" kinda slow though, so I checked with "hdparm -d /dev/hda" and was told that dma is not active... > >> BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=16 > > You can also set the multi-sector count to 16 by passing `-m16' to > hdparm. I'd like to test it, but I have to wait 'til tomorrow. Self-larted myself (as I am guessing atm) by editing /etc/network/interfaces and typing "auth eth0" instead of "auto eth0" some hours ago. I just tried to reboot and check if everything gets started and configured as expected on booting (which does not :) Balu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: DMA?
-Balu- Walter posts : >> but do I have dma on? DMA is not enabled. Have you installed hdparm ? Do an `apt-get install hdparm' and enable DMA by doing `hdparm -d1 /dev/hda'. You can also pass on `-c1 -u1' to hdparm. Please test out the hard disk read timings by doing a`hdparn -t /dev/hda' before and after passing the said arguments. >> BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=16 ^^ You can also set the multi-sector count to 16 by passing `-m16' to hdparm. >> BIOS is already using udma4, but the following tells me, it's off? Anyway `man hdparm' and `hdparm --help'. HTH. -- ragOO, VU2RGU<->http://gnuhead.dyndns.org/<->GPG: 1024D/F1624A6E Helping to keep the Air-Waves FREE Amateur Radio Helping to keep your Software FREE the GNU Project Helping to keep the W W W FREE Debian GNU/${kernel} -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
DMA?
Guess it's a FAQ, but do I have dma on? # hdparm -i /dev/hda /dev/hda: Model=ST340810A, FwRev=3.39, SerialNo=5FB3DCX2 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=16 CurCHS=4047/16/255, CurSects=16511760, LBA=yes, LBAsects=78165360 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 *udma4 udma5 AdvancedPM=yes: unknown setting WriteCache=enabled Drive Supports : Reserved : ATA-1 ATA-2 ATA-3 ATA-4 ATA-5 ATA-6 If I got it correctly (german: http://channel.debian.de/faq/ch-confighw.html#s-udmaactivate), the * in "DMA modes" tells me that BIOS is already using udma4, but the following tells me, it's off? # hdparm -d /dev/hda /dev/hda: using_dma= 0 (off) Balu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]