Date: 27 Jun 1999 00:25:02 +0200 From: Eric Jacoboni <jaco@titine.fr.eu.org> To: freebsd-questions@FreeBSD.ORG Subject: wd0: wdtimeout() DMA status 1<active> Message-ID: <87r9myvbup.fsf@titine.fr.eu.org>
next in thread | raw e-mail | index | archive | help
Hi,
In order to take full advantage of my IDE hard disks, i have put the
following lines in my kernel conf file :
controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0xa0ffa0ff
On reboot, all seemed ok as the following messages appear :
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa
wdc0: unit 0 (wd0): <QUANTUM FIREBALL1280A>, DMA, 32-bit, multi-block-8
wd0: 1222MB (2503872 sectors), 2484 cyls, 16 heads, 63 S/T, 512 B/S
wdc0: unit 1 (wd1): <QUANTUM FIREBALL_TM2550A>, DMA, 32-bit, multi-block-16
But, sometimes, the hard drive seems to stop running for a
while... This incident is reported by the following lines in
/var/log/messages :
/kernel: wd0: wdtimeout() DMA status 1<active>
/kernel: wd0: interrupt timeout (status 50<rdy,seekdone> error 1<no_dam>)
I've modified my kernel conf file to read :
controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0x90ff90ff
And, now, on reboot, i get the following lines :
wdc0 at 0x1f0-0x1f7 irq 14 flags 0x90ff90ff on isa
wdc0: unit 0 (wd0): <QUANTUM FIREBALL1280A>, LBA, 32-bit, multi-block-8
wd0: 1222MB (2503872 sectors), 621 cyls, 64 heads, 63 S/T, 512 B/S
wdc0: unit 1 (wd1): <QUANTUM FIREBALL_TM2550A>, LBA, 32-bit, multi-block-16
wd1: 2445MB (5008752 sectors), 621 cyls, 128 heads, 63 S/T, 512 B/S
No more DMA, but no more timeouts...
The doc of my computer says that my IDE controller supports PIO modes
3 & 4 and Bus Master IDE DMA mode 2. My first try to configure DMA
seems to show that is the case, but why these timeouts ? Is there some
pointers, docs, etc. where this pb is addressed ?
--
---------------------------------------------------------
Éric Jacoboni « No sport, cigars! » (W. Churchill)
---------------------------------------------------------
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87r9myvbup.fsf>
