Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57462 - cdrtools-2.01_alpha33 borken for SCSI cd-rws
Summary: cdrtools-2.01_alpha33 borken for SCSI cd-rws
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Lars Weiler (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-18 02:18 UTC by Peter Colijn
Modified: 2004-08-16 16:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Colijn 2004-07-18 02:18:26 UTC
Went from 2.01_alpha28-r1 to 33 the other day. I have a real SCSI burner (as in it's actually on an Adaptec SCSI card using the aic7xxx kernel module). With this new version of cdrtools (specifically cdrecord) I can't burn ISO images as a normal user or as root. I could do both before upgrading.

Reproducible: Always
Steps to Reproduce:
1. Get a system with a SCSI cd-rw.
2. Install cdrtools-2.01_alpha33
3. Try to burn an ISO image (either using command-line or nautilus-cd-burner)

Actual Results:  
Here's a transcript:

[ caffeine@Socrates downloads ]$ cdrecord -vv -dummy speed=6 dev='0,3,0' image.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-Clone 2.01a33 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J�rg Schilling
TOC Type: 1 = CD-ROM
cdrecord: Operation not permitted. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
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: '0,3,0'
scsibus: 0 target: 3 lun: 0
Linux sg driver version: 3.5.31
Using libscg version 'schily-0.8'.
Using libscg transport code version 'schily-scsi-linux-sg.c-1.83'
SCSI buffer size: 64512
atapi: 0
Device type    : Removable CD-ROM
Version        : 2
Response Format: 2
Capabilities   : SYNC
Vendor_info    : 'YAMAHA  '
Identifikation : 'CRW8424S        '
Revision       : '1.0f'
Device seems to be: Generic mmc CD-RW.
Drive current speed: 8
Drive default speed: 8
Drive max speed    : 8
Selected speed     : 6
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC SWABAUDIO
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R
Drive buf size : 3172848 = 3098 KB
FIFO size      : 4194304 = 4096 KB
Track 01: data   185 MB
track: 1 start: 0 pregap: 150
Total size:      213 MB (21:08.29) = 95122 sectors
Lout start:      213 MB (21:10/22) = 95122 sectors
 41 00 00 14 00 00 00 00
 41 01 00 10 00 00 00 00
 41 01 01 10 00 00 02 00
 41 AA 01 14 00 15 0A 16
Track 1 start 0
Track 2 start 95122
 41 00 A0 00 00 00 00 01 00 00 00 00
 41 00 A1 00 00 00 00 01 00 00 00 00
 41 00 A2 00 00 00 00 21 10 22 00 00
 41 00 01 00 00 00 00 00 02 00 00 00
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 5
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type A, low Beta category (A-) (2)
  ATIP start of lead in:  -11634 (97:26/66)
  ATIP start of lead out: 359849 (79:59/74)
Disk type:    Short strategy type (Phthalocyanine or similar)
Manuf. index: 3
Manufacturer: CMC Magnetics Corporation
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 264727
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.
cdrecord: DMA speed too slow. Cannot write at speed 6.
cdrecord: Max DMA data speed is 0.
cdrecord: Try to use 'driveropts=burnfree'.
cdrecord: fifo had 64 puts and 0 gets.
cdrecord: fifo was 0 times empty and 1 times full, min fill was 0%.

The ISO image is fine (I can burn it fine with an earlier version of cdrecord).

Expected Results:  
The ISO image should have been burned to the CD without errors.

Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.7)
=================================================================
System uname: 2.6.7 i686 AMD Athlon(tm) MP 2600+
Gentoo Base System version 1.5.1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm avi berkdb bonobo cdr crypt cups dvd encode esd
foomaticdb freetype gdbm gif gnome gpm gtk gtk2 gtkhtml guile imap imlib java
jpeg ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls
oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl
slang smooth spell ssl svga tcltk tcpd tetex truetype x86 xft2 xml2 xmms xv zlib"
Comment 1 Jonathan Heaney 2004-07-28 04:37:13 UTC
alpha34 is out which fixes the problem here with my scsi burner, and also appears to fix the problem with others' ide burners.
Comment 2 Lars Weiler (RETIRED) gentoo-dev 2004-08-16 16:15:44 UTC
Sorry for the long delay.  I just commited alpha36 which still should resolve your problem.