From owner-freebsd-questions Sat Jun 26 15:26:38 1999 Delivered-To: freebsd-questions@freebsd.org Received: from s1.smtp.oleane.net (s1.smtp.oleane.net [195.25.12.3]) by hub.freebsd.org (Postfix) with ESMTP id D9CBA14C2E for ; Sat, 26 Jun 1999 15:26:34 -0700 (PDT) (envelope-from jaco@titine.fr.eu.org) Received: from titine.fr.eu.org (dyn-1-1-030.Tls.dialup.oleane.fr [194.2.21.30]) by s1.smtp.oleane.net with ESMTP id AAA23657 for ; Sun, 27 Jun 1999 00:26:30 +0200 Received: by titine.fr.eu.org (Postfix, from userid 1000) id CBBE81571F; Sun, 27 Jun 1999 00:25:02 +0200 (CEST) To: freebsd-questions@FreeBSD.ORG Subject: wd0: wdtimeout() DMA status 1 From: Eric Jacoboni Date: 27 Jun 1999 00:25:02 +0200 Message-ID: <87r9myvbup.fsf@titine.fr.eu.org> Lines: 43 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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): , DMA, 32-bit, multi-block-8 wd0: 1222MB (2503872 sectors), 2484 cyls, 16 heads, 63 S/T, 512 B/S wdc0: unit 1 (wd1): , 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 /kernel: wd0: interrupt timeout (status 50 error 1) 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): , LBA, 32-bit, multi-block-8 wd0: 1222MB (2503872 sectors), 621 cyls, 64 heads, 63 S/T, 512 B/S wdc0: unit 1 (wd1): , 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