Re: DVD playback issue: FAILURE - non aligned DMA transfer attempted

2009-04-02 Thread Novembre
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


Re: DVD playback issue: FAILURE - non aligned DMA transfer attempted

2009-04-01 Thread Adam Vandemore

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

2009-04-01 Thread Novembre
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


Re: DVD playback

2006-07-22 Thread Nicolas Blais
On Saturday 22 July 2006 15:37, Beech Rintoul wrote:
 Is there any program in the ports that will playback the new DVD's? Some
 will play fine, but others I  just get a lot of disk activity and it locks
 up the machine. Is this some kind of new copy protection?

 Beech

I've never had any problems with either Mplayer or Xine compiled very every 
useful options, including libdvdcss (access dvd without caring for the 
encryption). 
One of my FreeBSD machines is a HTPC connected to my TV and I use it to play 
dvds and never encountered problems (other than media/quality-related). 

Nicolas.
-- 
FreeBSD 7.0-CURRENT #10: Sat Jul 22 13:02:01 EDT 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://www.clkroot.net/security/nb_root.asc


pgpCexKsVyVOZ.pgp
Description: PGP signature


Re: DVD playback finally works! =)

2004-02-11 Thread Antoine Jacoutot
On Wednesday 11 February 2004 09:55, Benjamin Walkenhorst wrote:
 Unfortunately, due to devfs, I have to change the permissions for acd0
 and create the link (/dev/dvd) every time the system starts up - is
 there any way to make these changes permanent?

Yes there is.
-- man devfs
-- edit /etc/devfs.conf

Antoine
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DVD playback finally works! =)

2004-02-11 Thread Benjamin Walkenhorst
On Wed, 11 Feb 2004 11:15:47 +0100
Antoine Jacoutot [EMAIL PROTECTED] wrote:

 On Wednesday 11 February 2004 09:55, Benjamin Walkenhorst wrote:
  Unfortunately, due to devfs, I have to change the permissions for
  acd0 and create the link (/dev/dvd) every time the system starts up
  - is there any way to make these changes permanent?
 
 Yes there is.
 -- man devfs
 -- edit /etc/devfs.conf

Thanks!

 
 Antoine

kind regards,

Benjamin!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]