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

cdrecord needs dev specified



When I burn a cd with cdrecord, I have to use the commandline option
dev=0,1,0 to burn. I edited /etc/default/cdrecord and set the
following options:
-----------Part of /etc/default/cdrecord------------------------
CDR_DEVICE=cdrw

# drive name    device  speed   fifosize driveropts
       cdrw=          0,1,0       -1        2m      burnfree
-----------------------------------------------------------------------
With this configuration, I still need the dev option in commandline. I
use scsi emulation with kernel 2.4.27-2-686. The important part of
/boot/grub/menu.lst is added below:
--------Part of  /boot/grub/menu.lst---------------------
title           Debian GNU/Linux, kernel 2.4.27-2-686
root            (hd0,0)
kernel          /boot/vmlinuz-2.4.27-2-686 root=/dev/hda1 ro
hdc=ide-scsi hdd=ide-scsi max_scsi_luns=1
initrd          /boot/initrd.img-2.4.27-2-686
savedefault
boot
----------------------------------------------------------------
The output of "cdrecord -scanbus" and "cdrecord -checkdrive dev=0,1,0"
is added below:
------------ "cdrecord -scanbus"-------------------------
hjem:/dev# cdrecord -scanbus
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004
Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
      and thus may have bugs that are not present in the original version.
      Please send bug reports and support requests to
<cdrtools@packages.debian.org>.
      The original author should not be bothered with problems of this version.

Linux sg driver version: 3.1.25
Using libscg version 'ubuntu-0.8ubuntu1'.
cdrecord: Warning: using inofficial version of libscg
(ubuntu-0.8ubuntu1 '@(#)scsitransp.c      1.91 04/06/17 Copyright
1988,1995,2000-2004 J. Schilling').
scsibus0:
cdrecord: Warning: controller returns wrong size for CD capabilities page.
        0,0,0     0) 'SONY    ' 'CDU5211         ' 'YYS2' Removable CD-ROM
        0,1,0     1) 'LITE-ON ' 'LTR-48126S      ' '2QS5' Removable CD-ROM
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
hjem:/dev#
---------------------------------------------------------------
------------"cdrecord -checkdrive dev=0,1,0"--------
hjem:/dev# cdrecord -checkdrive dev=0,1,0
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004
Joerg Schilling
NOTE: this version of cdrecord is an inofficial (modified) release of cdrecord
      and thus may have bugs that are not present in the original version.
      Please send bug reports and support requests to
<cdrtools@packages.debian.org>.
      The original author should not be bothered with problems of this version.

scsidev: '0,1,0'
scsibus: 0 target: 1 lun: 0
Linux sg driver version: 3.1.25
Using libscg version 'ubuntu-0.8ubuntu1'.
cdrecord: Warning: using inofficial version of libscg
(ubuntu-0.8ubuntu1 '@(#)scsitransp.c      1.91 04/06/17 Copyright
1988,1995,2000-2004 J. Schilling').
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'LITE-ON '
Identifikation : 'LTR-48126S      '
Revision       : '2QS5'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
hjem:/dev#
---------------------------------------------------------------

How do I make the dev option unescessary?
I'm using debian sarge, kernel 2.4.27-2-686. 

Thanks in advance, cheers Vegard!



Reply to: