From owner-freebsd-stable Thu Jul 22 4:35:20 1999 Delivered-To: freebsd-stable@freebsd.org Received: from one.orenda.com.my (one.orenda.com.my [202.185.206.8]) by hub.freebsd.org (Postfix) with ESMTP id 6E64814CEF for ; Thu, 22 Jul 1999 04:35:05 -0700 (PDT) (envelope-from azmansl@orenda.com.my) Received: from a (az486pc [10.1.1.6]) by one.orenda.com.my (8.8.8/8.8.8) with SMTP id TAA12451 for ; Thu, 22 Jul 1999 19:34:05 +0800 (MYT) (envelope-from azmansl@orenda.com.my) From: "Azman Salleh" To: Subject: DMA on Ide_pci does not work. Date: Thu, 22 Jul 1999 19:34:00 +0800 Message-ID: <000001bed436$1b89f0e0$0601010a@a> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG After compiling todays 3.2-STABLE, my new kernel cannot boot. It seems that the pci_ide fail on DMA mode. It works after changing to PIO mode. A quick compare on the source tree shows that a new ide_pci code was check in and some changes on the DMA part. The error messages is: ---wd0: DMA failure, DMA status 5---- My Kernel Configuration. I tried both flags on the controller also flags on the disk and get the same result. ---- ##controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0xb0ffb0ff controller wdc0 at isa? port "IO_WD1" bio irq 14 disk wd0 at wdc0 drive 0 flags 0xb0ff ---Shortened DMESG--------- FreeBSD 3.2-STABLE #4: Thu Jul 22 17:27:07 MYT 1999 FreeBSD/SMP: Multiprocessor motherboard Probing for devices on PCI bus 0: chip0: rev 0x00 on pci0.0.0 chip2: rev 0x02 on pci0.18.0 ide_pci0: rev 0x01 on pci0.18.1 wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): , LBA, DMA, 32-bit, multi-block-16 wd0: 4111MB (8420832 sectors), 524 cyls, 255 heads, 63 S/T, 512 B/S . . hanging root device to wd0s1a wd0: DMA failure, DMA status 5 wd0: DMA failure, DMA status 5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message