From owner-freebsd-questions@FreeBSD.ORG Thu Nov 18 19:58:20 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C27416A4CE for ; Thu, 18 Nov 2004 19:58:20 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BCE843D2F for ; Thu, 18 Nov 2004 19:58:19 +0000 (GMT) (envelope-from dhrider@gmail.com) Received: by rproxy.gmail.com with SMTP id a36so1063214rnf for ; Thu, 18 Nov 2004 11:57:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=Mxbd9nIrlAlneePmONESyqV8Ozl+eKxticQnytZXQnCd09TYtKb6QsicfGaAM+ZduqWxF9AyvsvvD35a9n6Ixm4s2f/Lb5+2J8BqRbMkjcuSbUI6rtFnf6SXEnlNUmLAp+yrTjvlTpC11IlC1Uj993KdVPxc4B2TdATtYthy2Ms= Received: by 10.38.150.74 with SMTP id x74mr118927rnd; Thu, 18 Nov 2004 11:57:39 -0800 (PST) Received: by 10.39.2.61 with HTTP; Thu, 18 Nov 2004 11:57:39 -0800 (PST) Message-ID: <89ceee7041118115734abb783@mail.gmail.com> Date: Thu, 18 Nov 2004 11:57:39 -0800 From: Dan Finn To: f-questions Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: best way to to a direct copy of audio cd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dan Finn List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Nov 2004 19:58:20 -0000 I would like to be able to use dd to grab a full, single iso image of an audio cd and then use cdrecord to burn that. I know I can do this under linux but for some reason I can't get it to work under fbsd. I am trying to grab the entire audio cd image using the following: dd if=/dev/acd0 conv=swab bs=2352 of=audio_cd.iso I have an ide cd but I've also set it up so that I can access it as if it's a scsi cdrom using /dev/cd0. However when I run the above command with /dev/cd0 I get the following error: dd: /dev/cd0: Invalid argument So the above command using dd and /dev/acd0 seems to work, it grabs what seems like the entire image off the audio cd. I then attempt to burn it using the following command: cdrecord -v -data audio_cd.iso And I get the following errors from that command: Track 01: 718 of 740 MB written (fifo 100%) [buf 99%] 4.2x.cdrecord: Input/output error. write_g1: scsi sendcmd: retryable error CDB: 2A 00 00 05 9C E6 00 00 1F 00 status: 0x2 (CHECK CONDITION) Sense Bytes: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Sense Key: 0xFFFFFFFF [], Segment 0 Sense Code: 0x00 Qual 0x00 (no additional sense information) Fru 0x0 Sense flags: Blk 0 (not valid) cmd finished after 0.077s timeout 40s write track data: error after 753348608 bytes Sense Bytes: 70 00 00 00 00 00 00 0A 00 00 00 00 00 00 00 00 00 00 Writing time: 1249.053s Average write speed 4.1x. Min drive buffer fill was 99% Fixating... Fixating time: 61.978s cdrecord: fifo had 11930 puts and 11867 gets. cdrecord: fifo was 0 times empty and 11848 times full, min fill was 92%. and the following errors from my messages file: Nov 17 16:36:19 stewie kernel: acd0: FAILURE - READ_SUBCHANNEL status=51 sensekey=ILLEGAL REQUEST error=4 about one every couple of seconds. If I burn it with cdrecord as audio and use the -swab option it works and plays. But the problem I have with that is that it records it all as one song. Is there a way to do what I am trying to do under freebsd? Thanks Dan What am I doing wrong here? All I want