From owner-freebsd-questions Sun Oct 29 13:13:50 2000 Delivered-To: freebsd-questions@freebsd.org Received: from zeus.apt (ip-216-23-54-3.adsl.one.net [216.23.54.3]) by hub.freebsd.org (Postfix) with SMTP id C03B437B479 for ; Sun, 29 Oct 2000 13:13:46 -0800 (PST) Received: (qmail 13649 invoked by uid 1001); 29 Oct 2000 21:12:00 -0000 Date: Sun, 29 Oct 2000 16:12:00 -0500 From: Ben To: Tony Johnson , freebsd-questions@freebsd.org Subject: Re: tosha and a scsi cdrom Message-ID: <20001029161200.A13577@one.net> Reply-To: Ben References: <20001029110820.A12437@one.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from gjohnson@gs.verio.net on Sun, Oct 29, 2000 at 11:47:22AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, Oct 29, 2000 at 11:47:22AM -0500, Tony Johnson wrote: > 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... This is not relevant or helpful. If I wanted a conceited view on music piracy I would have asked for one. > 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. Could you suggest a different combination of command line arguments? Thank you, Ben. > -----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