Re: EXT3-fs error

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

 



Am Di, den 06.01.2004 schrieb Michael Kearey um 06:32:
> Alexander Dalloz wrote:
> <snip>
> > 
> > First I would check if it is just an error due to DMA activated. "hdparm
> > -i /dev/hdX" where X is the drive a, b, c, d, ... You can switch DMA
> > mode off and running that thing in PIO mode using "hdparm -d0 /dev/hdX".
> > If after that the errors disappear you have luck. If not, I fear your
> > drive is at end of lifetime.
> 
> I don't think you can turn off DMA on the fly anymore, only at boot time.

root $ hdparm  /dev/hde
 
/dev/hde:
 multcount    = 16 (on)
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on) <<-- DMA on
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 9729/255/63, sectors = 156301488, start = 0
 
[Di Jan 06 06:45:53] [»Achtung« root@sirendipity] <pts/3> ~
 
root $ hdparm -d0 /dev/hde
 
/dev/hde:
 setting using_dma to 0 (off)
 using_dma    =  0 (off)
 
[Di Jan 06 06:45:59] [»Achtung« root@sirendipity] <pts/3> ~
 
root $ hdparm  /dev/hde
 
/dev/hde:
 multcount    = 16 (on)
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  0 (off) <<-- DMA off
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 9729/255/63, sectors = 156301488, start = 0

> Look in /etc/sysconfig/harddisks , set  USE_DMA=0

Well, this configuration file is take by /etc/rc.sysinit and therefore
take when kernel is loaded and drives are already recognized. See line
730ff. It just also calls hdparm. So I see no difference in doing it
later.

> Cheers,
> Michael

Alexander


-- 
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416  14CD E197 6E88 ED69 5653





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux