USB audio CDs?

2008-07-21 Thread Omar Siddique
I have a USB DVD-RW drive that I'd like to use to rip music under 
6.3-RELEASE, but I don't have a /dev/acd0 (and can't get grip to work 
from /dev/cd0).  /dev/cd0 shows up fine, but audio CDs log errors and 
grip (from ports) can't do much with /dev/cd0.  grip is able to see the 
disc table of contents for the CD, but attempting to rip only generates 
errors:

006: Could not read any data from drive
(repeats per track)

Repeatable for different CDs.  I was able to mount a cd9660 disc from this 
drive without a problem.


I've previously done this (using grip) with ATA/SATA optical drives of 
various sorts, as well as used various USB mass-storage devices without 
any problems, but this is my first shot under *BSD at getting audio off a 
USB optical drive.


I read through the USB related man pages, FB handbook, and googled without 
finding any answers...  Would appreciate any advice!


I have all of these in my running kernel:
device  uhci# UHCI PCI-USB interface
device  ohci# OHCI PCI-USB interface
device  ehci# EHCI PCI-USB interface (USB 2.0)
device  usb # USB Bus (required)
device  ugen# Generic
device  umass   # Disks/Mass storage - Requires scbus and da
device  scbus   # SCSI bus (required for SCSI)
device  da  # Direct Access (disks)
device  pass# Passthrough device (direct SCSI access)
device  cd  # scsi cd for cd-r/burner on USB
device  atapicam

I tried it both w/ and w/o atapicam.

Attaching device with audio CD loaded logs the following:
Jul 20 01:28:20 mine kernel: umass0: Sony DRX-500UL, rev 2.00/1.04, addr 2
Jul 20 01:28:30 mine kernel: cd0 at umass-sim0 bus 0 target 0 lun 0
Jul 20 01:28:30 mine kernel: cd0: SONY DVD RW DRU-500A 2.0h Removable CD-ROM 
SCSI-0 device
Jul 20 01:28:30 mine kernel: cd0: 40.000MB/s transfers
Jul 20 01:28:30 mine kernel: cd0: cd present [198012 x 2048 byte records]
Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 0 0 
0 0 0 2 0
Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status 
Error
Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): SCSI Status: Check 
Condition
Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:64,0
Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): Illegal mode for this track
Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): Unretryable error
Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): cddone: got error 0x6 back
Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): READ(10). CDB: 28 0 0 3 5 
7b 0 0 1 0
Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): CAM Status: SCSI Status 
Error
Jul 20 01:28:30 mine kernel: (cd0:umass-sim0:0:0:0): SCSI Status: Check 
Condition
(etc...)

Thanks!
-omar
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Shuffling GEOM mirror components

2008-03-16 Thread Omar Siddique

Hi folks,

I've been using GEOM mirror, and plan to expand my usage.  I was wondering 
how easy it is to deal with physical moves of the component drives of a 
mirror.


Eg, I have this GEOM mirror, and I migrate the hardware.  What's now ad6
becomes ad4 and ad7 becomes ad6.  What's the recommended way to do this, 
or does it just work when GEOM discovers the providers in their new 
locations?



gmirror status

NameStatus  Components
mirror/odata  COMPLETE  ad6
ad7

I checked manpages and handbook but didn't see any info there.

(running on FreeBSD 6.3-RELEASE)

thanks,
-omar
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]