From owner-freebsd-questions@FreeBSD.ORG Wed Jan 28 06:00:38 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE16316A4CE for ; Wed, 28 Jan 2004 06:00:38 -0800 (PST) Received: from smtp01.mrf.mail.rcn.net (smtp01.mrf.mail.rcn.net [207.172.4.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47AD643D55 for ; Wed, 28 Jan 2004 06:00:28 -0800 (PST) (envelope-from gerard-seibert@rcn.com) Received: from 207-237-110-41.c3-0.crm-ubr4.crm.ny.cable.rcn.com ([207.237.110.41] helo=[127.0.0.1]) by smtp01.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1AlqF1-0003BR-00; Wed, 28 Jan 2004 09:00:27 -0500 Date: Wed, 28 Jan 2004 09:00:35 -0500 From: Gerard Seibert To: freebsd-questions@freebsd.org Sender: Gerard@FreeBSD.ORG, Seibert@FreeBSD.ORG In-Reply-To: <20040127055923.2479516A5FC@hub.freebsd.org> References: <20040127055923.2479516A5FC@hub.freebsd.org> Message-Id: <20040128085432.83BB.GERARD-SEIBERT@rcn.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.07.04 [en] cc: roman@interview-machine.com Subject: Re: DMA Problem With DVD Drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: gerard-seibert@rcn.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2004 14:00:39 -0000 Wednesday, January 28, 2004 8:54:32 AM Try entering the following into your /boot/loader.conf file: hw.ata.ata_dma=1 hw.ata.atapi_dma=1 hw.ata.wc=1 That solved the problem for me. Of course you will have to reboot after entering the commands. Gerard Seibert gerard-seibert@rcn.com ********** Reply Separator ********** On Tuesday, January 27, 2004 12:59:23 AM freebsd-questions-request@freebsd.org wrote: Date: Fri, 16 Jan 2004 09:34:22 +0100 (CET) From: "Roman Kennke" Subject: DMA problem with DVD drive To: Message-ID: <49184.217.187.89.107.1074242062.squirrel@interview-machine.com> Content-Type: text/plain; charset=iso-8859-1 Hi there, I am not able to enable DMA for my DVD drive. When I issue 'atacontrol mode 1 UDMA100 XXX' and access the drive, first the drive access hangs, and after a view seconds the machine locks up completely. This also hold true for all other DMA modes. I am running FreeBSD 5.2 on a Fujitsu-Siemens Amilo A Notebook. I would send more info about the ATA/IDE controller, and the error messages but I don't know, how to get to this info. BTW: I know that DMA works for this drive. I have got it working at least with linux 2.4.22, althought I also had alot of DMA problems with other versions, so I suspect the hardware (controller) is flakey. Any help is appreciated. Here follows some output from dmesg: moonlight# dmesg | grep ata atapci0: port 0xa000-0xa00f at device 4.0 on pci0ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] ad0: 28615MB [58140/16/63] at ata0-master UDMA100 acd0: CDRW at ata1-master PIO4 Ciao, Roman