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

cdrecord again



Проблема с cdrecord не разрешена ведь :( Им может пользоваться только root
По порядку:

#ls -l /usr/bin/cdrecord
-rwsr-xr--  1 root cdrom 133 2005-01-09 19:55 /usr/bin/cdrecord

#ls -l /dev/hdd /dev/cdrw
lrwxrwxrwx  1 root cdrom      8 2006-02-08 20:39 /dev/cdrw -> /dev/hdd
brw-rw----  1 root cdrom 22, 64 2005-02-26 09:38 /dev/hdd

#grep cdrom /etc/group
cdrom:x:24:user


Далее залогинившись под user:
#cdrecord dev=ATAPI:0,1,0 --blank=fast
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004
Jörg 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.

cdrecord: Warning: Running on Linux-2.6.8-2-686
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: Warning: Linux-2.6.8 introduced incompatible interface changes.
cdrecord: Warning: SCSI transport does no longer work for suid root programs.
cdrecord: Warning: if cdrecord fails, try to run it from a root account.
scsidev: 'ATAPI:0,1,0'
devname: 'ATAPI'
scsibus: 0 target: 0 lun: 0
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'SONY    '
Identifikation : 'DVD RW DRU-530A '
Revision       : '1.0d'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
cdrecord: This version of cdrecord does not include DVD-R/DVD-RW support code.
cdrecord: See /usr/share/doc/cdrecord/README.DVD.Debian for details on
DVD support.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes:
cdrecord: Operation not permitted. prevent/allow medium removal: scsi
sendcmd: no error
CDB:  1E 00 00 00 01 00
status: 0x0 (GOOD STATUS)
cmd finished after 0.000s timeout 40s
cdrecord: Cannot init drive.
###############
Пока решил так - кому надо разрешено с помощью sudo.
P.s. Как нужно понимать
"Warning: There is absolutely NO DMA, operations thus are slow."
ведь
#hdparm /dev/hdc

/dev/hdc:
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 HDIO_GETGEO failed: Invalid argument

говорит что он вклчен.
###############
Спасибо.
--
С уважением
Александр Олегович Потапов
e-mail: Alexandr.Potapov@gmail.com
icq: 237361050
JabberID: Alexandr.Potapov@volgograd.ru

Reply to: