From owner-freebsd-stable Thu Jul 22 4:57:20 1999 Delivered-To: freebsd-stable@freebsd.org Received: from mel.alcatel.fr (mel.alcatel.fr [212.208.74.132]) by hub.freebsd.org (Postfix) with ESMTP id 5988F1563F for ; Thu, 22 Jul 1999 04:57:02 -0700 (PDT) (envelope-from thierry.herbelot@alcatel.fr) Received: from aifhs2.alcatel.fr (mailhub.alcatel.fr [155.132.180.80]) by mel.alcatel.fr (ALCANET/SMTP) with ESMTP id MAA28234; Thu, 22 Jul 1999 12:50:33 +0200 Received: from lune.telspace.alcatel.fr (lune.telspace.alcatel.fr [155.132.144.65]) by aifhs2.alcatel.fr (ALCANET/SMTP2) with ESMTP id NAA27585; Thu, 22 Jul 1999 13:48:11 +0200 (MET DST) Received: from telss1 (telss1.telspace.alcatel.fr [155.132.51.4]) by lune.telspace.alcatel.fr (8.9.1a/8.9.1) with ESMTP id NAA27265; Thu, 22 Jul 1999 13:35:24 +0200 (MEST) Received: from alcatel.fr by telss1 (8.8.8+Sun/SMI-SVR4) id NAA17180; Thu, 22 Jul 1999 13:43:23 +0200 (MET DST) Message-ID: <37970504.94AFDC88@alcatel.fr> Date: Thu, 22 Jul 1999 13:48:20 +0200 From: Thierry Herbelot Reply-To: thierry.herbelot@alcatel.fr Organization: ALCATEL CIT Nanterre X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Azman Salleh Cc: freebsd-stable@FreeBSD.ORG Subject: Re: DMA on Ide_pci does not work. References: <000001bed436$1b89f0e0$0601010a@a> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I use 0xa0ff for my flags on a config similar to yours (and it works). TfH Azman Salleh wrote: > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message