DMA problem with DVD drive

Francesco Casadei casadeif at yahoo.it
Fri Jan 16 09:45:36 PST 2004


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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


More information about the freebsd-questions mailing list