cdrecord

Kenneth D. Merry ken at kdm.org
Thu Jul 1 12:29:18 PDT 2004


[ please wrap your lines at 80 columns ]

On Thu, Jul 01, 2004 at 15:16:07 -0400, Darryl wrote:
> Ok, I'm not sure where to go with this one so if anyone can point  me in the right direction for this i'd be thankfull.
>    The problem is cdrecord will not see the the writer when -scanbus switch is used, but the drive does work as a CDrom.  After FreeBSD was installed, I used "make install" for the cdrtools-2.0.3_2 package (Previous to freeBSD 4.10 installed was Windows 2000.  No hardware has changed since I was able to burn CDs using EZ cd creator)  Here is some information:
> 
> 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Wed Jun 23 15:08:47
> 
> ahc0: <Adaptec 2940 SCSI adapter> port 0xb800-0xb8ff mem 0xd6800000-0xd6800fff irq 10 at device 9.0 on pci0
> aic7870: Wide Channel A, SCSI Id=7, 16/253 SCBs
> 
> cd0 at ahc0 bus 0 target 6 lun 0
> cd0: <RICOH MP6200S 2.40> Removable CD-ROM SCSI-2 device
> cd0: 3.300MB/s transfers
> cd0: cd present [1 x 2048 byte records]
> 
> prompt# camcontrol devlist
> <COMPAQPC FIREBALL1080S 1Q09>      at scbus0 target 0 lun 0 (pass0,da0)
> <QUANTUM LIGHTNING 540S 241E>      at scbus0 target 1 lun 0 (pass1,da1)
> <IBM DCAS-34330    !# S65A>        at scbus0 target 2 lun 0 (pass2,da2)
> <IBM DCAS-34330    !# S69D>        at scbus0 target 3 lun 0 (pass3,da3)
> <RICOH MP6200S 2.40>               at scbus0 target 6 lun 0 (pass4,cd0)
> 
> 
> 
> prompt# cdrecord -scanbus
> cdrecord: warning: low file descriptor limit (93)
> Cdrecord 2.00.3 (i386-unknown-freebsd4.10) Copyright (C) 1995-2002 J?rg Schilling
> Using libscg version 'schily-0.7'
> scsibus0:
>         0,0,0     0) 'COMPAQPC' 'FIREBALL1080S   ' '1Q09' Disk
>         0,1,0     1) 'QUANTUM ' 'LIGHTNING 540S  ' '241E' Disk
>         0,2,0     2) 'IBM     ' 'DCAS-34330    !#' 'S65A' Disk
>         0,3,0     3) 'IBM     ' 'DCAS-34330    !#' 'S69D' Disk
>         0,4,0     4) *
>         0,5,0     5) *
>         0,6,0     6) *
>         0,7,0     7) *
> 
> 
> The whole kernel config can be found here:  http://www.mnsi.net/~dts/kernel/kernel.txt
> 
> 
> At this point i'm not sure why the system can find the Ricoh RW drive and cdrecord can't.  I don't know much about configuring the kernel for such a scsi device, and I don't know much about camcontrol.  But I do think these have something to do with why cdrecord doesn't see it.  Any information at all would help me greatly.

You need to make sure you have a /dev/pass4 device in order for cdrecord to
talk to it.

Easy ways to check:

camcontrol tur cd0 -v

ls -la /dev/pass4

If you don't have it, you can make it like this:

cd /dev
sh MAKEDEV pass5

The '5' is the number of pass devices to make.

Hopefully that'll fix your problem.

Ken
-- 
Kenneth Merry
ken at kdm.org


More information about the freebsd-scsi mailing list