Problem s diskem: DMA disabled
Stepan Roh
stepan na srnet.cz
Neděle Březen 24 13:11:03 CET 2002
Mam takovy mensi problem s diskem v Linuxu. Obcas kernel do syslogu pise:
kernel: hdc: timeout waiting for DMA
kernel: hdc: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
A nakonec napise:
kernel: hdc: status timeout: status=0xd1 { Busy }
kernel: hdc: DMA disabled
kernel: hdc: drive not ready for command
kernel: ide1: reset: success
Tedy to shodi DMA. Ten disk je uplne novy. Na druhem disku to nedela.
Nechci experimentovat s novym jadrem, protoze co funguje do toho nevrtej,
ze :-) Navic ten stroj je v permanentnim provozu.
Setkal se s tim uz nekdo? Hledal jsem v archivu, ale nic zajimaveho jsem
nenasel.
kernel 2.2.16
chipset Intel 430VX Triton III
$ hdparm /dev/hda
/dev/hda:
multcount = 0 (off)
I/O support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 969/128/63, sectors = 7814016, start = 0
$ hdparm -i /dev/hda
/dev/hda:
Model=WDC AC34000L, FwRev=32.41N37, SerialNo=WD-WT3510909973
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq
}
RawCHS=7752/16/63, TrkSize=57600, SectSize=600, ECCbytes=22
BuffType=DualPortCache, BuffSize=256kB, MaxMultSect=16, MultSect=off
CurCHS=7752/16/63, CurSects=7814016, LBA=yes, LBAsects=7814016
IORDY=on/off, tPIO={min:160,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 *mdma2 udma0 udma1 udma2
$ hdparm /dev/hdc
/dev/hdc:
multcount = 0 (off)
I/O support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 2491/255/63, sectors = 40020624, start = 0
$ hdparm -i /dev/hdc
/dev/hdc:
Model=Maxtor 2B020H1, FwRev=WAH21PB0, SerialNo=B1CZXTME
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=off
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=40020624
IORDY=on/off, tPIO={min:120,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
S pozdravem,
Stepan Roh
Další informace o konferenci Linux