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

I'm using kernel 2.6.19 with libata, so my PATA drives are accesible via
/dev/s*.

wodim -scanbus:
scsibus0:
        0,0,0     0) 'ATA     ' 'ST9120821A      ' '3.04' Disk
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
scsibus1:
        1,0,0   100) 'HL-DT-ST' 'DVD+RW GCA-4040N' '1.15' Removable CD-ROM
        1,1,0   101) *
        1,2,0   102) *
        1,3,0   103) *
        1,4,0   104) *
        1,5,0   105) *
        1,6,0   106) *
        1,7,0   107) *

ls -la /dev/sg*
crw-rw---- 1 root root  21, 0 2006-10-08 13:23 /dev/sg0
crw-rw---- 1 root cdrom 21, 1 2006-10-08 13:23 /dev/sg1
ls -la /dev/scd*
brw-rw---- 1 root cdrom 11, 0 2006-10-08 13:23 /dev/scd0

If I now want to erase a CD (I used k3b for that) I get the attached error log.

Seems, wodim is wrongly picking /dev/sg0 as device for dev=1,0,0 or at least it 
tries to access /dev/sg0 for no apparent reason and fails because it has no 
access 
rights (run from an unpriviledged account, which is in group cdrom).


Cheers,
Michael



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (300, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.19-rc1
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages wodim depends on:
ii  libc6                        2.3.6.ds1-5 GNU C Library: Shared libraries
ii  libcap1                      1:1.10-14   support for getting/setting POSIX.

Versions of packages wodim recommends:
ii  mkisofs                   5:1.0~pre4-1.1 Creates ISO-9660 CD-ROM filesystem

-- no debconf information
System
-----------------------
K3b Version: 0.12.17

KDE Version: 3.5.5
QT Version:  3.3.6
Kernel:      2.6.19-rc1
Devices
-----------------------
HL-DT-ST DVD+RW GCA-4040N 1.15 (/dev/scd0, /dev/sg1) at  [CD-R; CD-RW; CD-ROM; 
DVD-ROM; DVD+R; DVD+RW] [DVD-ROM; DVD+RW; DVD+R; CD-ROM; CD-R; CD-RW] [SAO; 
TAO; RAW; SAO/R96P; SAO/R96R; RAW/R16; RAW/R96P; RAW/R96R]

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

cdrecord command:
-----------------------
/usr/bin/X11/wodim -v gracetime=2 dev=1,0,0 speed=10 -tao driveropts=burnfree 
-eject blank=fast -force 

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: '1,0,0'
scsibus: 1 target: 0 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.
/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 .
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.

Reply via email to