From owner-freebsd-current@FreeBSD.ORG Sat Apr 22 07:42:30 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 41F9F16A401 for ; Sat, 22 Apr 2006 07:42:30 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF1C143D46 for ; Sat, 22 Apr 2006 07:42:28 +0000 (GMT) (envelope-from uspoerlein@gmail.com) Received: by nz-out-0102.google.com with SMTP id 9so498366nzo for ; Sat, 22 Apr 2006 00:42:28 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:mail-followup-to:mime-version:content-type:content-disposition; b=rqevXmVKzk4cGIx8oKiXzf3r2VEwEOAXYIvm4Y/F6j5r5aKOg1SD5ZjGoe6tReaWxVa4bjf8ckBuz39QGsbg2UtP84ly8SpSh7L2mT/stluLOe04KtMW/nzhymOaL8252GTALGy8vwo97qNvKL6KuhlPmF9M2cywZTleIZdqQTY= Received: by 10.65.251.9 with SMTP id d9mr885813qbs; Sat, 22 Apr 2006 00:42:28 -0700 (PDT) Received: from roadrunner.q.local ( [217.185.114.109]) by mx.gmail.com with ESMTP id q13sm403176qbq.2006.04.22.00.42.25; Sat, 22 Apr 2006 00:42:27 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.6/8.13.6) with ESMTP id k3M7gFLf001065; Sat, 22 Apr 2006 09:42:16 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.13.6/8.13.6/Submit) id k3LI6QXL034758; Fri, 21 Apr 2006 20:06:26 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Fri, 21 Apr 2006 20:06:26 +0200 From: Ulrich Spoerlein To: current@freebsd.org Message-ID: <20060421180626.GA28049@roadrunner.buck.local> Mail-Followup-To: current@freebsd.org, sos@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NzB8fVQJ5HfG6fxh" Content-Disposition: inline Cc: sos@freebsd.org Subject: acd(4) and maximum read block size X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Apr 2006 07:42:30 -0000 --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable S=F8ren, group, I'm working on some improvements for recoverdisk[1] to handle optical media better. I found it an invaluable tool for recovering old CD-Rs. It also helps with newer DVDs, when your drive sucks wrt. error recovery. recoverdisk tries to read in 1MB, 64kB and SECTORSIZE chunks. This has the obvious drawback, that it can't really handle audio CDs or mode 2 CDs with a sectorsize of 2352. While this is easily fixed, the acd(4) driver seems to allow no reads greater than 128kB *for audio CDs*. While this is also not terrible, it results in roughly 700 error messages per CD, as all the 1MB (1046640 bytes, more precisely) chunks will fail. A side note: Accessing audio CDs via atapicam and dd(1) is completely impossible. Is the SCSI subsystem limited to multiple-of-512-blocksizes? [1] /usr/src/tools/tools/recoverdisk Ulrich Spoerlein --=20 PGP Key ID: 20FEE9DD Encrypted mail welcome! Fingerprint: AEC9 AF5E 01AC 4EE1 8F70 6CBD E76E 2227 20FE E9DD Which is worse: ignorance or apathy? Don't know. Don't care. --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFESR8h524iJyD+6d0RAnoIAJ0fznHDGf8IS3hQKplfD21wcmTkhQCgs+b6 sBp2PvhNGD4pVq3IsbiBwcM= =NYGQ -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh--