From owner-freebsd-questions@FreeBSD.ORG Thu Nov 1 04:53:55 2007 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 49D2E16A469 for ; Thu, 1 Nov 2007 04:53:55 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mail0.rawbw.com (mail0.rawbw.com [198.144.192.41]) by mx1.freebsd.org (Postfix) with ESMTP id 3753913C4A6 for ; Thu, 1 Nov 2007 04:53:55 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mail0.rawbw.com (localhost [127.0.0.1]) by mail0.rawbw.com (8.13.8/8.13.8) with ESMTP id lA132Und044410; Wed, 31 Oct 2007 20:02:30 -0700 (PDT) Received: (from www@localhost) by mail0.rawbw.com (8.13.8/8.13.8/Submit) id lA132UAc044406; Wed, 31 Oct 2007 20:02:30 -0700 (PDT) X-Authentication-Warning: mail0.rawbw.com: www set sender to yuri@rawbw.com using -f Received: from ip224.carlyle.sfo.ygnition.net (ip224.carlyle.sfo.ygnition.net [24.219.144.224]) by webmail.rawbw.com (IMP) with HTTP for ; Wed, 31 Oct 2007 20:02:30 -0700 Message-ID: <1193886150.472941c62f0e7@webmail.rawbw.com> Date: Wed, 31 Oct 2007 20:02:30 -0700 From: Yuri To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 24.219.144.224 Cc: yuri@tsoft.com Subject: "Error cracking CSS key" error while running dvdbackup on video DVD disk 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: Thu, 01 Nov 2007 04:53:55 -0000 I know that similar question was already asked in numerous groups/mail-lists but I couldn't find the definitive answer. Sometimes when I run dvdbackup (port sysutils/dvdbackup) I get the following error: libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_01_0.VOB (0x00003ae0) and many other ones similarly looking. After some debugging I found that error originates in libdvdcss, in file 'ioctl.c': ... struct dvd_authinfo auth_info; memset( &auth_info, 0, sizeof( auth_info ) ); auth_info.format = DVD_REPORT_TITLE_KEY; auth_info.agid = *pi_agid; auth_info.lba = i_pos; i_ret = ioctl( i_fd, DVDIOCREPORTKEY, &auth_info ); ... here lba = 15072 and agid=0 (in one of the cases). Simultaneously dmesg reports another error line: acd0: FAILURE - REPORT_KEY ILLEGAL REQUEST asc=0x6f ascq=0x04 And stderr message is being printed: libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_01_0.VOB (0x00003ae0) So is this likely a bug in libdvdcss, libdvdread or ATAPI driver? Yuri