From owner-freebsd-questions@FreeBSD.ORG Wed Apr 1 23:24:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA0AE106566B for ; Wed, 1 Apr 2009 23:24:25 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-ew0-f171.google.com (mail-ew0-f171.google.com [209.85.219.171]) by mx1.freebsd.org (Postfix) with ESMTP id 0F3E68FC0C for ; Wed, 1 Apr 2009 23:24:24 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by ewy19 with SMTP id 19so280703ewy.43 for ; Wed, 01 Apr 2009 16:24:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=AP8wvzCPFQcuBfyJt7qlFEV8VSwZZXUzy+nBxVt2Lgc=; b=tsnxy1+5Ac6aP+jLoZOJm0DiWzu06jeNmMJ8FAIt4TYKS33JiIfLKyshuNziK3FUrF xFh4B40LsKq9r7CEZRnMRA5JiRYVWd2lb6zI9G02deDFWjKX409gwbyFzH/G04h4jiDr EVSxaZu4ZZvGYAATAJhdvEWcV1RCNGgjoQGBU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=eXjZp6uPgFeRIwacJ2Owq4X+hIaiggCCmLHmSOLWDmqW3IHZboNrFmK5Wwu8plt5RO /Sk1r7Ev6a+zyw8/eRA7BXNA393Kh3KTcX8EdBVI292xXa5xKivWbJAOeqhbcl7FPDQm N4hBGyjaX7Nx/yWN+P8NiAPlEU4vpKklKfMik= Received: by 10.216.45.207 with SMTP id p57mr2830025web.94.1238628263960; Wed, 01 Apr 2009 16:24:23 -0700 (PDT) Received: from ?216.16.29.53? (host-53.216-16-29.iw.net [216.16.29.53]) by mx.google.com with ESMTPS id i6sm936388gve.6.2009.04.01.16.24.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 01 Apr 2009 16:24:22 -0700 (PDT) Message-ID: <49D3F7A5.6050708@gmail.com> Date: Wed, 01 Apr 2009 18:24:21 -0500 From: Adam Vandemore User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: FreeBSD Questions References: <3b47caa90904011600l1589900ck6ef9abc4a6c7a43d@mail.gmail.com> In-Reply-To: <3b47caa90904011600l1589900ck6ef9abc4a6c7a43d@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: DVD playback issue: FAILURE - non aligned DMA transfer attempted X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2009 23:24:25 -0000 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/cdrom cd9660 > ro,noauto 0 0' in /etc/fstab and the > following two lines in /etc/devfs.conf: > own /dev/cd0 root:operator > perm /dev/cd0 0660 > > 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-unsubscribe@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