Package: wodim
Version: 5:1.0~pre4-1.1

Writing a CD fails on my system. It looks like another problem caused
by cdrecord trying to open devices that it doesn't need to; see also
my bug report #370603, which covers the "-scanbus" case.

I haven't looked at the code, but it would seem to me that if I have
specified a device for writing, then wodim shouldn't need to even try
to open the other devices. That's the difference between this bug
report and #370603.

Also, IMHO, wodim should simply skip/ignore any device where open()
fails with EPERM.

For now I can likely work around this problem by making wodim setuid
root, but obviously that is not preferable.

The relevant portion of K3B's debug output is attached below.

-- graham



System
-----------------------
K3b Version: 0.12.17
KDE Version: 3.5.4
QT Version:  3.3.6
Kernel:      2.6.16-ws2

Devices
-----------------------
YAMAHA CRW3200S 1.0d (/dev/scd1, /dev/sg2) at /cdrw [CD-R; CD-RW;
CD-ROM] [CD-ROM; CD-R; CD-RW] [SAO; TAO; RAW; SAO/R96P; SAO/R96R;
RAW/R96R]

PIONEER DVD-ROM DVD-303R 2.00 (/dev/scd0, /dev/sg1) at /cdrom [CD-ROM;
DVD-ROM] [Error] [None]

K3b
-----------------------
Size of filesystem calculated: 316592

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

cdrecord
-----------------------
This is wodim, not cdrecord. Don't expect it to behave like cdrecord in any
way, don't refer to it as "cdrecord". Send problem reports to
[EMAIL PROTECTED], don't bother Joerg Schilling with any
problems caused by this application.
Copyright (C) 2006 cdrkit maintainers, (C) 1994-2006 Joerg Schilling
scsidev: '0,6,0'
scsibus: 0 target: 6 lun: 0
Error trying to open /dev/sg0 exclusively (Permission denied)...
retrying in 1 second.
Error trying to open /dev/sg0 exclusively (Permission denied)...
retrying in 1 second.
Error trying to open /dev/sg0 exclusively (Permission denied)...
retrying in 1 second.
Error trying to open /dev/sg0 exclusively (Permission denied)...
retrying in 1 second.
Error trying to open /dev/sg0 exclusively (Permission denied)...
retrying in 1 second.
Error trying to open /dev/sg0 exclusively (Permission denied)...
retrying in 1 second.
Error trying to open /dev/sg0 exclusively (Permission denied)...
retrying in 1 second.
Error trying to open /dev/sg0 exclusively (Permission denied)...
retrying in 1 second.
Error trying to open /dev/sg0 exclusively (Permission denied)...
retrying in 1 second.
Error trying to open /dev/sg0 exclusively (Permission denied)...
retrying in 1 second.
TOC Type: 1 = CD-ROM
Warning: This version of libscg has not been configured via the standard
autoconfiguration method of the Schily makefile system. There is a high risk
that the code is not configured correctly and for this reason will not behave
as expected.
/usr/bin/X11/wodim: Permission denied. Cannot open '/dev/sg0'. Cannot
open SCSI driver.
/usr/bin/X11/wodim: For possible targets try 'wodim -scanbus'. Make
sure you are root.
/usr/bin/X11/wodim: For possible transport specifiers try 'wodim dev=help'.
/usr/bin/X11/wodim:
/usr/bin/X11/wodim: For more information, install the cdrkit-doc
/usr/bin/X11/wodim: package and read /usr/share/doc/wodim/README.ATAPI.setup .

cdrecord command:
-----------------------
/usr/bin/X11/wodim -v gracetime=2 dev=0,6,0 speed=8 -dao
driveropts=burnfree -eject -overburn -data -tsize=316592s -


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to