RELENG_7 problem with playing DVDs

[LoN]Kamikaze LoN_Kamikaze at gmx.de
Tue Oct 23 23:04:19 PDT 2007


Olivier Brisson wrote:
>> -----Original Message-----
>> From: owner-freebsd-stable at freebsd.org [mailto:owner-freebsd-
>> stable at freebsd.org] On Behalf Of [LoN]Kamikaze
>> Sent: mercredi 24 octobre 2007 00:06
>> To: freebsd-stable at freebsd.org
>> Subject: RELENG_7 problem with playing DVDs
>>
>> Using mplayer to try play a DVD my errorconsole is spammed with:
>>
>> ata1: FAILURE - non aligned DMA transfer attempted
>> acd0: setting up DMA failed
>>
>> The mplayer just hangs around in physrd status and cannot be killed
>> (even by
>> kill -9). The error message gets posted until the system is shutdown.
>> The
>> mplayer process also stays alive for the whole time. The only way to
>> open the
>> DVD-drive after attempting to play the DVD is to reboot the system.
> 
> It seems that you have a hardware problem. Could you please try with an other drive?

I actually tried with 2 different drives. I can get more detailed, now.

The drive lockup and dmesg spamming till the system has shut down as I
reported it only occurs if I try to use the drives through the cam interface
/dev/cd0 or /dev/cd1. The error message being the same.

Here is the dmesg boot output concerning the drives:
atapci0: <Intel ICH2 UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x37...skipping...
acd0: DVDROM <HL-DT-STDVD-ROM GDR8164B/0L06> at ata1-master UDMA33
acd1: DVDR <HP DVD Writer 840b/FF66> at ata1-slave UDMA33
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
cd0 at ata1 bus 0 target 0 lun 0
cd0: <HL-DT-ST DVD-ROM GDR8164B 0L06> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: cd present [3799193 x 2048 byte records]
cd1 at ata1 bus 0 target 1 lun 0
cd1: <HP DVD Writer 840b FF66> Removable CD-ROM SCSI-0 device
cd1: 33.000MB/s transfers
cd1: cd present [3793882 x 2048 byte records]

If I use the acd0 device mplayer just fails because of failed CSS-key
cracking. The dmesg gets a couple of lines with:
ata1: FAILURE - non aligned DMA transfer attempted
acd0: setting up DMA failed
acd0: FAILURE - REPORT_KEY ILLEGAL REQUEST asc=0x6f ascq=0x04

If I use the acd1 device there are no dmesg reports and the dvd plays, but
very poorly, as if the drive was in PIO mode. I checked my BIOS settings and
all the usual suspects like block-reading, DMA and so on are turned on.


More information about the freebsd-stable mailing list