Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2004 12:29:56 +0100
From:      Francesco Casadei <casadeif@yahoo.it>
To:        freebsd-questions@freebsd.org
Subject:   Re: DMA problem with DVD drive
Message-ID:  <20040116112956.GA2673@goku.kasby>
In-Reply-To: <49183.217.187.89.107.1074242037.squirrel@interview-machine.com>
References:  <49183.217.187.89.107.1074242037.squirrel@interview-machine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 16, 2004 at 09:33:57AM +0100, Roman Kennke wrote:
> 
> 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: <AcerLabs Aladdin UDMA100 controller> 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 <FUJITSU MHR2030AT> [58140/16/63] at ata0-master UDMA100
> acd0: CDRW <TOSHIBA DVD-ROM SD-R2212> at ata1-master PIO4
> 
> 
> 
> Ciao, Roman
> -- 
> SOAP for Python
> http://interview-machine.com/soap/
> 
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> end of the original message

I have a similar drive on my Toshiba Satellite A30-514 and to set UDMA
mode on boot I have put the following line in /boot/loader.conf:

hw.ata.atapi_dma="1"

Here's the relevant part of dmesg output:

acd0: CDRW <TOSHIBA DVD-ROM SD-R2412> at ata1-master UDMA33

	Francesco Casadei



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040116112956.GA2673>