Re: DVD playback issue: FAILURE - non aligned DMA transfer attempted
On Thu, Apr 2, 2009 at 7:24 PM, Sergio de Almeida Lenzi lenzi.ser...@gmail.com wrote: Em I've played another DVD which, I'm 100% sure, had copy protection in the same drive without any errors, but that was before upgrading my machine from 7.0-RELEASE to RELENG_7 on Feb 19, 2009. This DVD, however, does not play and gives that error. Also, I have already turned the hw.ata.atapi_dma to 0, but that didn't help either. I'm a bit skeptical about it being the copy protection of the disc. Any more ideas? Hummm. may be the dvd drive is with some firmware problem After I changed (switched) to dvd drive using sata interface, I have never seen that problem again I have seen this too, some dvd plays good, some not... but with SATA, all plays good Sergio This DVD drive is using the SATA interface. I'm using the ATAPICAM layer to emulate it as a SCSI drive though. I don't know what's happening here. Thanks for your suggestions though... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
DVD playback issue: FAILURE - non aligned DMA transfer attempted
I am trying to rip a part of a DVD to my hard drive on my RELENG_7 machine (as of February 19, 2009) using mencoder. I have '/dev/cd0/home/mnt/cdromcd9660 ro,noauto00' in /etc/fstab and the following two lines in /etc/devfs.conf: own/dev/cd0root:operator perm/dev/cd00660 I mount the DVD to ~/mnt/cdrom and run gmplayer to see if it can play the DVD. Right-clicking on the MPlayer-Video window and selecting Preferences--Misc, I have set DVD device and CD-ROM device (the last two lines) to /dev/cd0 (otherwise it won't even recognize the drive). Then, by right-clicking on MPlayer-Video, I select 'DVD--Open disc...' and it shows some information about the DVD (like the number of chapters, audio streams, subtitles, etc.) in the terminal window from which gmplayer was run and then nothing happens except a non-stop hard drive activity. I suspected something and checked /var/log/messages. The following two lines are being constantly, non-stop added to /var/log/messages: Apr 1 17:04:30 rsx4 kernel: ata3: FAILURE - non aligned DMA transfer attempted Apr 1 17:04:30 rsx4 kernel: acd0: setting up DMA failed and I can't even close (or kill -9, for that matter) gmplayer. If I shut down X, then I see a constant stream of the previous two lines on the screen as the text-mode is coming up; there is no command prompt. If I let it continue, finally the /var partition will fill up. Also, even after logging out of X, the gmplayer process is still running and cannot be killed. Using Alt-F2 to switching to other terminals becomes painfully slow and at some point it stops responding. The only way is to reboot the system. Note that it doesn't crash or panic or anything. I just can't type anything after a while because of all these error messages... I have these two lines in /boot/loader.conf hw.ata.ata_dma=1 hw.ata.atapi_dma=1 in my first try. After the first failed attempt and reboot, googling around led me to change the last line to hw.ata.atapi_dma=0 to no avail. I would like to, at least, play this DVD, so I'd appreciate any help...thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: DVD playback issue: FAILURE - non aligned DMA transfer attempted
Novembre wrote: I am trying to rip a part of a DVD to my hard drive on my RELENG_7 machine (as of February 19, 2009) using mencoder. I have '/dev/cd0/home/mnt/cdromcd9660 ro,noauto00' in /etc/fstab and the following two lines in /etc/devfs.conf: own/dev/cd0root:operator perm/dev/cd00660 I mount the DVD to ~/mnt/cdrom and run gmplayer to see if it can play the DVD. Right-clicking on the MPlayer-Video window and selecting Preferences--Misc, I have set DVD device and CD-ROM device (the last two lines) to /dev/cd0 (otherwise it won't even recognize the drive). Then, by right-clicking on MPlayer-Video, I select 'DVD--Open disc...' and it shows some information about the DVD (like the number of chapters, audio streams, subtitles, etc.) in the terminal window from which gmplayer was run and then nothing happens except a non-stop hard drive activity. I suspected something and checked /var/log/messages. The following two lines are being constantly, non-stop added to /var/log/messages: Apr 1 17:04:30 rsx4 kernel: ata3: FAILURE - non aligned DMA transfer attempted Apr 1 17:04:30 rsx4 kernel: acd0: setting up DMA failed and I can't even close (or kill -9, for that matter) gmplayer. If I shut down X, then I see a constant stream of the previous two lines on the screen as the text-mode is coming up; there is no command prompt. If I let it continue, finally the /var partition will fill up. Also, even after logging out of X, the gmplayer process is still running and cannot be killed. Using Alt-F2 to switching to other terminals becomes painfully slow and at some point it stops responding. The only way is to reboot the system. Note that it doesn't crash or panic or anything. I just can't type anything after a while because of all these error messages... I have these two lines in /boot/loader.conf hw.ata.ata_dma=1 hw.ata.atapi_dma=1 in my first try. After the first failed attempt and reboot, googling around led me to change the last line to hw.ata.atapi_dma=0 to no avail. I would like to, at least, play this DVD, so I'd appreciate any help...thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Not 100% on this, but I think I solved this on my system awhile ago by setting dvd drive region code. -- Adam Vandemore Systems Administrator IMED Mobility (605) 498-1610 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: DVD playback issue: FAILURE - non aligned DMA transfer attempted
On Wed, Apr 1, 2009 at 8:20 PM, Sergio de Almeida Lenzi lenzi.ser...@gmail.com wrote: Hello,,, I think it is because of the firmware of the dvd player transfer more than the buffer says it is available, or transfer data not in a word/page boundary Basically when you are trying to play a protect dvd with some kind of protection... You are right, turn the dma to 0 (off) and play again or turn the dma to off, put the dvd in the drive, use the program K9copy (in the ports) to extract the DVD data . put a blank writable dvd in the drive, and write it back the problem will go away, and you now have an unprotected copy of the dvd Sergio I've played another DVD which, I'm 100% sure, had copy protection in the same drive without any errors, but that was before upgrading my machine from 7.0-RELEASE to RELENG_7 on Feb 19, 2009. This DVD, however, does not play and gives that error. Also, I have already turned the hw.ata.atapi_dma to 0, but that didn't help either. I'm a bit skeptical about it being the copy protection of the disc. Any more ideas? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org