[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cdrecord problem



On Thu, Dec 13, 2001 at 07:45:54PM -0600, shock wrote:
> I just did apt-get install cdrecord.  I have an all-SCSI system, so my
> SCSI driver is compiled into the kernel.  Following is the problem I'm
> experiencing:
> 
> root@frank:/etc# cdrecord -scanbus
> Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 J?rg Schilling
> cdrecord: No such file or directory. Cannot open SCSI driver.
> cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you
> are root.
[ snip ]
> root@frank:/etc# dmesg | grep CD
> Vendor: PLEXTOR   Model: CD-R   PX-W124TS  Rev: 1.05
> Type:   CD-ROM                             ANSI SCSI revision: 02
> Attached scsi CD-ROM sr0 at scsi0, channel 0, id 4, lun 0
> Uniform CD-ROM driver Revision: 3.12
> 
> /dev/sr0 is a symbolic link to /dev/scd0.  /dev/scd0 appears as follows:
> 
> root@frank:/etc# ls -al /dev/scd0
> crw-r--r--    1 root     root      21,   0 Dec 13 19:54 /dev/scd0
> 
> Any thoughts or ideas would be appreciated.  Thanks!

Ok, you've got SCSI CD-ROM support ... do you have SCSI generic
support?  "cat /proc/devices" should contain the line "21 sg" in the
character devices section.

The SCSI generic device files are /dev/sg0, /dev/sg1 ... but their
existence doesn't mean much if you aren't running devfs (I guess you
aren't based on what you quote in your post).

cdrecord needs the generic device driver to send commands to the
writer.  This used to be more clearly documented in the manpage.

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Ltd.                 | than a perfect plan tomorrow.
mailto:nnorman@micromuse.com   |   -- Patton

Attachment: pgp6z8fhDKZjw.pgp
Description: PGP signature


Reply to: