Subject: cdparanoia under NetBSD?
To: None <netbsd-users@netbsd.org>
From: Malcolm Herbert <mjch@mail.com>
List: netbsd-users
Date: 01/01/2002 22:17:34
I'm using 1.5.2 and am wanting to use cdparanoia. It says I need to
specify the generic SCSI device for my CDROM using the -g option ...
my problem is I don't know what that is ...
Here's the relevant info from the kernel:
|mamers[~] 23>: dmesg | grep cd
|cd0 at atapibus0 drive 1: <LEOPTICS INC. 32X CDROM, , 0.03> type 5 cdrom removable
|cd0: 32-bit data port
|cd0: drive supports PIO mode 4, DMA mode 2
|cd0(pciide0:1:1): using PIO mode 4, DMA mode 2 (using DMA data transfers)
|cd1 at scsibus0 target 6 lun 0: <MATSHITA, CD-R CW-7503, 1.09> SCSI2 5/cdrom removable
|mamers[~] 24>: ls -al /dev/cd*
|brw-rw---- 1 root operator 6, 0 Dec 30 10:35 /dev/cd0a
|brw-rw---- 1 root operator 6, 3 Dec 30 10:35 /dev/cd0d
|brw-rw---- 1 root operator 6, 8 Dec 30 10:35 /dev/cd1a
|brw-rw---- 1 root operator 6, 11 Dec 30 10:35 /dev/cd1d
I'm wanting to use the SCSI drive to read disks, as I have had good results
with it and cdparanoia under Linux in another box, so there should not be
any problems with hardware that I'm aware of ...
I have made myself part of the operator group, so I have access to these
devices, and I know the device works under NetBSD as I have been able to
mount and read ISO9660 CDs from either CDROM drive ... however I get
the following when trying to use cdparanoia:
|mamers[~] 32>: cdparanoia -Q
|cdparanoia III release 9.7 (December 13, 1999)
|(C) 1999 Monty <monty@xiph.org> and Xiphophorus
|
|Report bugs to paranoia@xiph.org
|http://www.xiph.org/paranoia/
|
|cdparanoia: -g option is currently required by NetBSD version
|mamers[~] 33>: cdparanoia -v -Q -g /dev/cd1a
|cdparanoia III release 9.7 (December 13, 1999)
|(C) 1999 Monty <monty@xiph.org> and Xiphophorus
|
|Report bugs to paranoia@xiph.org
|http://www.xiph.org/paranoia/
|
| Testing /dev/cd1a for SCSI interface
| generic device: /dev/cd1a
| ioctl device: /dev/cd1a
| Could not open SCSI cdrom device /dev/cd1a (continuing): Input/output error
| Could not open generic SCSI device /dev/cd1a: Input/output error
|mamers[~] 34>: cdparanoia -v -Q -g /dev/cd1d
|cdparanoia III release 9.7 (December 13, 1999)
|(C) 1999 Monty <monty@xiph.org> and Xiphophorus
|
|Report bugs to paranoia@xiph.org
|http://www.xiph.org/paranoia/
|
| Testing /dev/cd1d for SCSI interface
| generic device: /dev/cd1d
| ioctl device: /dev/cd1d
| Could not open SCSI cdrom device /dev/cd1d (continuing): Input/output error
| Could not open generic SCSI device /dev/cd1d: Input/output error
I suspect I don't have the correct generic device for it to use, however
I don't know what that should be (obviously not Linux's /dev/sg0 ... :)
/dev/MAKEDEV doesn't seem to list any SCSI devices apart from
the usual disk, tape and CDROM ones, although the 'Unknown Device'
/dev/uk[01] looked interesting for a while (however nothing in the kernel
appears to have used them ... )
So I'm stuck ... does anyone know what I should be doing to fix this problem?
--
Malcolm Herbert This brain intentionally
mjch@mail.com left blank