LINUX.ORG.RU

CD-RW не жжот!


0

0

HELP!


System
-----------------------
K3b Version: 0.12.10

KDE Version: 3.5.1
QT Version:  3.3.5
Kernel:      2.6.14.2
Devices
-----------------------
SONY CD-RW  CRX230ED 4YS1 (/dev/ide/host0/bus1/target1/lun0/cd, ) at /media/rw [CD-R; CD-RW; CD-ROM] [CD-ROM; CD-R; CD-RW] [SAO; TAO; RAW; SAO/R96P; SAO/R96R; RAW/R16; RAW/R96P; RAW/R96R]

K3b
-----------------------
Size of filesystem calculated: 22628

Used versions
-----------------------
cdrecord: 2.1.1a03

cdrecord
-----------------------
/usr/bin/cdrecord: Warning: Running on Linux-2.6.14.2
/usr/bin/cdrecord: There are unsettled issues with Linux-2.5 and newer.
/usr/bin/cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
/usr/bin/cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
/usr/bin/cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
/usr/bin/cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/ide/host0/bus1/target1/lun0/cd'
devname: '/dev/ide/host0/bus1/target1/lun0/cd'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Error: Cannot gain SYS_RAWIO capability.Is cdrecord installed SUID root?
: Operation not permitted
/usr/bin/cdrecord: Warning: using inofficial version of libscg (debian-0.8debian2 '@(#)scsitransp.c 1.91 04/06/17 Copyright 1988,1995,2000-2004 J. Schilling').
SCSI buffer size: 64512
Cdrecord-Clone 2.01.01a03 (i686-pc-linux-gnu) Copyright (C) 1995-2005 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.
TOC Type: 1 = CD-ROM
Using libscg version 'debian-0.8debian2'.
Driveropts: 'burnfree'
atapi: 1
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   : 
Vendor_info    : 'SONY    '
Identifikation : 'CD-RW  CRX230ED '
Revision       : '4YS1'
Device seems to be: Generic mmc CD-RW.
Current: 0x000A
Profile: 0x000A (current)
Profile: 0x0009 
Profile: 0x0008 
Profile: 0x0002 
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
Drive buf size : 1419264 = 1386 KB
FIFO size      : 4194304 = 4096 KB
/usr/bin/cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl
Track 01: data    44 MB        
Total size:       50 MB (05:01.70) = 22628 sectors
Lout start:       51 MB (05:03/53) = 22628 sectors

cdrecord command:
-----------------------
/usr/bin/cdrecord.mmap -v gracetime=2 dev=/dev/ide/host0/bus1/target1/lun0/cd speed=52 -dao driveropts=burnfree -data -tsize=22628s - 

mkisofs
-----------------------
22628
INFO: UTF-8 character encoding detected by locale settings.
 Assuming UTF-8 encoded filenames on source filesystem,
 use -input-charset to override.
/usr/bin/mkisofs: Connection reset by peer. cannot fwrite 32768*1

mkisofs command:
-----------------------
/usr/bin/mkisofs -gui -graft-points -volid K3b data project -volset  -appid K3B THE CD KREATOR (C) 1998-2005 SEBASTIAN TRUEG AND THE K3B TEAM -publisher  -preparer  -sysid LINUX -volset-size 1 -volset-seqno 1 -sort /tmp/kde-maker/k3bDoY9la.tmp -rational-rock -hide-list /tmp/kde-maker/k3b2roKba.tmp -joliet -hide-joliet-list /tmp/kde-user/k3b8aWtwa.tmp -full-iso9660-filenames -iso-level 2 -path-list /tmp/kde-user/k3bZhRNqc.tmp 

anonymous
Ответ на: комментарий от suser

>Хотя у меня всё работает без SUID...

У меня на 2.4 тоже работало без СУИД, Я думаю не в этом дело, а в этом:

/usr/bin/cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl

/var/log/messages

Feb 25 10:21:52 comp kernel: scsi: unknown opcode 0x01

anonymous
()
Ответ на: комментарий от anonymous

В ядре видимо надо покапаться. Где то что то не проставил. Не помню, что, но очень давно проблему такую решал пересборкой ядрышка.

one117 ★★★★★
()
Ответ на: комментарий от anonymous

>У меня на 2.4 тоже работало без СУИД,

У меня на 2.6.13 (SUSE 10.0) тоже. Может патчи какие-то. Но SUID ты попробуй поставить (желательно разрешить исполнение только группе, куда входит только твой юзер).

suser
()

а в 2.6 диски жгут через ATA или SCSI?

anonymous
()

нужно ли включать в ядре SCSI emulation support (BLK_DEV_IDESCSI)?


WARNING: ide-scsi is no longer needed for cd writing applications!
The 2.6 kernel supports direct writing to ide-cd, which eliminates
the need for ide-scsi + the entire scsi stack just for writing a
cd. The new method is more efficient in every way.

anonymous
()
Ответ на: комментарий от anonymous

ФСЁ!!!
K3B жжот!!! :)
И жжот через ATAPI!

k3b->F10

Programs->User Parameters
В cdrecord добавил dev=ATAPI:0,1,0

и

chmod u+s `which cdrecord`

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.