From owner-freebsd-questions Sun Oct 29 8:45:48 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dfw-smtpout3.email.verio.net (dfw-smtpout3.email.verio.net [129.250.36.43]) by hub.freebsd.org (Postfix) with ESMTP id 5328F37B479 for ; Sun, 29 Oct 2000 08:45:44 -0800 (PST) Received: from [129.250.38.64] (helo=dfw-mmp4.email.verio.net) by dfw-smtpout3.email.verio.net with esmtp (Exim 3.12 #7) id 13pvaZ-0003nU-00; Sun, 29 Oct 2000 16:45:43 +0000 Received: from [204.1.90.43] (helo=power) by dfw-mmp4.email.verio.net with smtp id 13pvaZ-0007J2-00; Sun, 29 Oct 2000 16:45:43 +0000 From: "Tony Johnson" To: "Ben" , Subject: RE: tosha and a scsi cdrom Date: Sun, 29 Oct 2000 10:45:42 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-reply-to: <20001029110820.A12437@one.net> Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG There are lots of CD rippers out there. This is why Mr. Napster is in trouble because too many people buy a cd and rip it to disk and then send it to him. So he takes the hit for everyone else'd piracy... But anyway, cd0 is the correct cdrom device for an aha2940. The cdrom appears to work. The command line arguments appear to be the problem and not the cdrom or tosha. -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Ben Sent: Sunday, October 29, 2000 10:08 AM To: freebsd-questions@FreeBSD.org Subject: tosha and a scsi cdrom To FreeBSD Guru Question Answerers: In order to get digital audio from my cdrom to my hard drive it has been recommended that I use the program tosha. Unfortunately it fails to work. Since the error seems like something someone I am writing this to might know how to address I am writing this. I have already exhausted a number of other resources quickly. The man page for tosha wasn't helpful, the domain of author of tosha's email address doesn't resolve and people in #freebsd on efnet were not helpful. I can use my cdrom drive to mount normal data cds without any problems. In fact tosha -i correctly displays the name of my cdrom and correctly lists the track information. Here is the relevant CDROM information, from Tosha: Device: /dev/cd0a -- "YAMAHA" "CDR400t" "1.0q" I have an Adaptec AHA2940 scsi controller. The only other scsi device is a hard drive. Here are the important lines from my kernel config file: # SCSI Controllers device ahc # AHA2940 and onboard AIC7xxx devices # SCSI peripherals device scbus # SCSI bus (required) device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) This is what tosha does when I run tosha -t n, where n is a valid track. zeus# tosha -t 1 Device: /dev/cd0a -- "YAMAHA" "CDR400t" "1.0q" track playing start end raw size mp3 size # of track number time sector sector in bytes 128 kbps frames type --------------------------------------------------------------------- 1 7:27'58 32 33614 78987216 7165208 17142 audio error sending CD-DA read command: Invalid argument zeus# It creates the file track0n.raw which contains what appears to be only a audio header. This seems to be something obvious. Maybe I just missing a config file or need to add a line to kernel config? When replying please CC me since I am not subscribed to the freebsd-questions list. Thank you, Ben. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message