Bug#374685: nautilus-cd-burner: fails to call cdrecord properly
Anand Kumria
wildfire at progsoc.org
Tue Jun 20 16:26:56 UTC 2006
Package: nautilus-cd-burner
Version: 2.14.2-1
Severity: grave
Justification: renders package unusable
Hi,
nautilus-cd-burner fails to call cdrecord correctly; and thus fails to
burn an ISO image.
(( an aside; discovering the '--source-iso' option was pure dumb luck;
something in README.Debian to indicate that using that option from the
command line can be useful for debugging would be good ))
eve:[~]% strace -ff -efork,execve -s1500 nautilus-cd-burner --source-iso=/home/anand/Desktop/data.iso
execve("/usr/bin/nautilus-cd-burner", ["nautilus-cd-burner", "--source-iso=/home/anand/Desktop/data.iso"], [/* 40 vars */]) = 0
GTK Accessibility Module initialized
Bonobo accessibility support initialized
Process 16803 attached
Process 16796 suspended
Process 16804 attached
Process 16796 resumed
Process 16803 detached
[pid 16796] --- SIGCHLD (Child exited) @ 0 (0) ---
[pid 16804] execve("/usr/bin/cdrecord", ["cdrecord", "fs=16m", "dev=/dev/hdc", "-dao", "driveropts=burnfree", "-v", "-data", "-nopad", "/home/anand/Desktop/data.iso"], [/* 40 vars */]) = 0
Process 16805 attached
[pid 16805] execve("/bin/uname", ["uname", "-r"], [/* 39 vars */]) = 0
Process 16804 suspended
Process 16804 resumed
Process 16805 detached
[pid 16804] --- SIGCHLD (Child exited) @ 0 (0) ---
[pid 16804] execve("/usr/bin/cdrecord.mmap", ["cdrecord.mmap", "fs=16m", "dev=/dev/hdc", "-dao", "driveropts=burnfree", "-v", "-data", "-nopad", "/home/anand/Desktop/data.iso"], [/* 38 vars */]) = 0
Process 16804 detached
(nautilus-cd-burner:16796): GLib-CRITICAL **: g_error_free: assertion
`error != NULL' failed
Process 16796 detached
So, the underlying command should be:
/usr/bin/cdrecord.mmap fs=16m dev=/dev/hdc -dao driveropts=burnfree -v -data -nopad /home/anand/Desktop/data.iso
BUT what I see in the process list is:
/usr/bin/cdrecord mmap fs=16m dev=/dev/hdc -dao driveropts=burnfree -v -data -nopad /home/anand/Desktop/data.iso
eve:[~]% cdrecord mmap fs=16m dev=/dev/hdc -dao driveropts=burnfree -v -data -nopad /home/anand/Desktop/data.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent
defaults.
cdrecord: Continuing in 5 seconds...
cdrecord: Badly placed option. Global options must be before any track.
eve:[~]%
The GUI interface crashes and burns (heh) without anything useful
If I correct this and put use 'cdrecord.mmap', I get:
eve:[~]% cdrecord.mmap fs=16m dev=/dev/hdc -dao driveropts=burnfree -v -data -nopad /home/anand/Desktop/data.iso
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 at packages.debian.org>.
The original author should not be bothered with problems of this
version.
cdrecord: Warning: Running on Linux-2.6.15-1-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.
TOC Type: 1 = CD-ROM
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using
setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '/dev/hdc'
devname: '/dev/hdc'
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
Using libscg version 'debian-0.8debian2'.
cdrecord: Warning: using inofficial version of libscg (debian-0.8debian2
'@(#)scsitransp.c 1.91 04/06/17 Copyright 1988,1995,2000-2004 J.
Schilling').
Driveropts: 'burnfree'
SCSI buffer size: 64512
atapi: 1
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : '_NEC '
Identifikation : 'DVD+-RW ND-6500A'
Revision : '202C'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x0009
Profile: 0x002B
Profile: 0x001B
Profile: 0x001A
Profile: 0x0014
Profile: 0x0013
Profile: 0x0011
Profile: 0x0010
Profile: 0x000A
Profile: 0x0009 (current)
Profile: 0x0008 (current)
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: TAO PACKET SAO SAO/R96R RAW/R96R
Drive buf size : 1343488 = 1312 KB
FIFO size : 16777216 = 16384 KB
Track 01: data 492 MB
Total size: 565 MB (56:02.74) = 252206 sectors
Lout start: 566 MB (56:04/56) = 252206 sectors
cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl
Run this command via sudo and it succeeds, even though I think I have
the permissions setup correctly:
eve:[~]% ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 2006-06-16 20:24 /dev/cdrom -> hdc
eve:[~]% ls -l /dev/hdc
brw-rw---- 1 root cdrom 22, 0 2006-06-16 20:23 /dev/hdc
eve:[~]% groups
anand dialout cdrom floppy audio video plugdev camera
Thanks,
Anand
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Versions of packages nautilus-cd-burner depends on:
ii cdrdao 1:1.2.1-6 records CDs in Disk-At-Once (DAO)
ii cdrecord 4:2.01+01a03-5 command line CD writing tool
ii gconf2 2.14.0-1 GNOME configuration database syste
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libatk1.0-0 1.11.4-2 The ATK accessibility toolkit
ii libbonobo2-0 2.14.0-1 Bonobo CORBA interfaces library
ii libbonoboui2-0 2.14.0-2 The Bonobo UI library
ii libc6 2.3.6-13 GNU C Library: Shared libraries
ii libcairo2 1.0.4-2 The Cairo 2D vector graphics libra
ii libeel2-2 2.14.1-2 Eazel Extensions Library (for GNOM
ii libfontconfig1 2.3.2-5.1 generic font configuration library
ii libgail-common 1.8.11-2 GNOME Accessibility Implementation
ii libgail17 1.8.11-2 GNOME Accessibility Implementation
ii libgconf2-4 2.14.0-1 GNOME configuration database syste
ii libglade2-0 1:2.5.1-2 library to load .glade files at ru
ii libglib2.0-0 2.10.2-1 The GLib library of C routines
ii libgnome-keyring0 0.4.9-1 GNOME keyring services library
ii libgnome2-0 2.14.1-2 The GNOME 2 library - runtime file
ii libgnomecanvas2-0 2.14.0-2 A powerful object-oriented display
ii libgnomeui-0 2.14.1-1 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 2.14.2-1 GNOME virtual file-system (runtime
ii libgtk2.0-0 2.8.18-1 The GTK+ graphical user interface
ii libice6 1:1.0.0-3 X11 Inter-Client Exchange library
ii libnautilus-burn3 2.14.2-1 Nautilus Burn Library - runtime ve
ii libnautilus-extension1 2.14.1-4 libraries for nautilus components
ii liborbit2 1:2.14.0-1.1 libraries for ORBit2 - a CORBA ORB
ii libpango1.0-0 1.12.3-1 Layout and rendering of internatio
ii libpopt0 1.10-2 lib for parsing cmdline parameters
ii libsm6 1:1.0.0-4 X11 Session Management library
ii libx11-6 2:1.0.0-6 X11 client-side library
ii libxcursor1 1.1.5.2-5 X cursor management library
ii libxext6 1:1.0.0-4 X11 miscellaneous extension librar
ii libxfixes3 1:3.0.1.2-4 X11 miscellaneous 'fixes' extensio
ii libxi6 1:1.0.0-5 X11 Input extension library
ii libxinerama1 1:1.0.1-4 X11 Xinerama extension library
ii libxml2 2.6.26.dfsg-1 GNOME XML library
ii libxrandr2 2:1.1.0.2-4 X11 RandR extension library
ii libxrender1 1:0.9.0.2-4 X Rendering Extension client libra
ii mkisofs 4:2.01+01a03-5 Creates ISO-9660 CD-ROM filesystem
ii nautilus 2.14.1-4 file manager and graphical shell f
ii zlib1g 1:1.2.3-11 compression library - runtime
Versions of packages nautilus-cd-burner recommends:
ii dvd+rw-tools 6.1-2 DVD+-RW/R tools
-- no debconf information
More information about the Pkg-gnome-maintainers
mailing list