Package: k3b
Version: 0.12.10-2
Severity: important
When trying to write a cd using a sata drive, k3b fails. A log is
included in the message.
The failed command is:
/usr/bin/cdrecord.mmap -v gracetime=2 dev=1,0,0 speed=4 -dao
driveropts=burnfree -eject -data just.an.iso
This problem has the following sideeffects:
1) It requires that module 'sg' is loaded for /dev/sgX to be present
2) It requires that all /dev/sgX devices are readable from cdrecord. In
my case, /dev/sg0 is for /dev/sda and /dev/sg1 is for /dev/scd0:
crw-rw---- 1 root root 21, 0 Feb 23 15:06 /dev/sg0
crw-rw---- 1 root cdrom 21, 1 Feb 23 15:06 /dev/sg1
brw-rw---- 1 root disk 8, 0 Feb 23 14:20 /dev/sda
brw-rw---- 1 root cdrom 11, 0 Feb 23 14:21 /dev/scd0
Of course, there should be no need for cdrecord to be able to read
/dev/sg0. This is probably a bug of cdrecord.
3) It doesn't allow me to write anyt cdrom.
Now, if i use the following command from command line:
/usr/bin/cdrecord.mmap -v gracetime=2 dev=/dev/scd0 speed=4 -dao
driveropts=burnfree -eject -data just.an.iso
it simply works. The only difference is that dev=1,0,0 is replaced by
/dev/scd0. If I remember correctly k3b uses the device name instead of
the device id for atapi drivers. I believe that this should happen for
for sata drives too.
This also solves the /dev/sgX problem because cdrecord will not look it
up.
Tested using k3b from stable and testing/unstable/experimental (same
version) too.
The failed log:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
System
-----------------------
K3b Version: 0.12.10
KDE Version: 3.5.1
QT Version: 3.3.5
Kernel: 2.6.15-1-686-smp
Devices
-----------------------
HL-DT-ST DVDRAM GSA-4163B A103 (/dev/scd0, /dev/sg1) at [CD-R; CD-RW; CD-ROM;
DVD-ROM; DVD-RAM; DVD-R; DVD-RW; DVD+R; DVD+RW; DVD+R DL] [DVD-ROM; DVD-R
Sequential; DVD-RAM; DVD-RW Restricted Overwrite; DVD-RW Sequential; DVD+RW;
DVD+R; DVD+R Double Layer; CD-ROM; CD-R; CD-RW] [SAO; TAO; RAW; SAO/R96P;
SAO/R96R; RAW/R16; RAW/R96P; RAW/R96R; Restricted Overwrite]
Used versions
-----------------------
cdrecord: 2.1.1a03
cdrecord
-----------------------
/usr/bin/cdrecord: Warning: Running on Linux-2.6.15-1-686-smp
/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.
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.5.33
SCSI buffer size: 64512
/usr/bin/cdrecord: This version of cdrecord does not include DVD-R/DVD-RW
support code.
/usr/bin/cdrecord: See /usr/share/doc/cdrecord/README.DVD.Debian for details on
DVD support.
Cdrecord-Clone 2.01.01a01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 J?rg
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 <[EMAIL PROTECTED]>.
The original author should not be bothered with problems of this version.
TOC Type: 1 = CD-ROM
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
atapi: 1
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'HL-DT-ST'
Identifikation : 'DVDRAM GSA-4163B'
Revision : 'A103'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x000A
Profile: 0x0012
Profile: 0x0011
Profile: 0x0014
Profile: 0x0013
Profile: 0x001A
Profile: 0x001B
Profile: 0x002B
Profile: 0x0010
Profile: 0x0009
Profile: 0x000A (current)
Profile: 0x0008
Profile: 0x0002
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1053696 = 1029 KB
Drive DMA Speed: 13843 kB/s 78x CD 9x DVD
FIFO size : 4194304 = 4096 KB
Track 01: data 496 MB
Total size: 570 MB (56:29.81) = 254236 sectors
Lout start: 570 MB (56:31/61) = 254236 sectors
Current Secsize: 2048
ATIP info from disk:
Indicated writing power: 6
Reference speed: 2
Is not unrestricted
Is erasable
ATIP start of lead in: -11680 (97:26/20)
ATIP start of lead out: 337348 (74:59/73)
1T speed low: 0 (reserved val 0) 1T speed high: 4
2T speed low: 0 (reserved val 5) 2T speed high: 0 (reserved val 12)
power mult factor: 4 5
recommended erase/write power: 3
A1 values: 02 4A B0
A2 values: 5C D8 26
Disk type: Phase change
Manuf. index: 23
Manufacturer: SKC Co., Ltd.
Blocks total: 337348 Blocks current: 337348 Blocks remaining: 83112
Starting to write CD/DVD at speed 4 in real SAO mode for single session.
Last chance to quit, starting real write in 2 seconds.
1 seconds.
0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is OFF.
Turning BURN-Free on
Performing OPC...
Sending CUE sheet...
/usr/bin/cdrecord: WARNING: Drive returns wrong startsec (0) using -150
/usr/bin/cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB: 2A 00 FF FF FF 6A 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 10 2A 00 00 90 30 05 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x30 Qual 0x05 (cannot write medium - incompatible format) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.013s timeout 200s
Writing pregap for track 1 at -150
write track pad data: error after 0 bytes
BFree: 1029 K BSize: 1029 K
Starting new track at sector: 0
Track 01: 0 of 496 MB written.
/usr/bin/cdrecord: Input/output error. write_g1: scsi sendcmd: no error
CDB: 2A 00 00 00 00 00 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 10 2A 00 00 90 30 05 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x30 Qual 0x05 (cannot write medium - incompatible format) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.014s timeout 200s
/usr/bin/cdrecord: A write error occured.
/usr/bin/cdrecord: Please properly read the error message above.
write track data: error after 0 bytes
Writing time: 71.597s
Average write speed 47.4x.
Fixating...
Fixating time: 0.004s
/usr/bin/cdrecord: fifo had 64 puts and 1 gets.
/usr/bin/cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
cdrecord command:
-----------------------
/usr/bin/cdrecord.mmap -v gracetime=2 dev=1,0,0 speed=4 -dao
driveropts=burnfree -eject -data /home/studin/knoppix-std-0.1.iso
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages k3b depends on:
ii cdparanoia 3a9.8-11 An audio extraction tool for sampl
ii cdrecord 4:2.01+01a01-2 command line CD writing tool
ii kcontrol 4:3.5.1-1 control center for KDE
ii kdebase-bin 4:3.5.1-1 core binaries for the KDE base mod
ii kdelibs-data 4:3.5.1-2 core shared data for all KDE appli
ii kdelibs4c2a 4:3.5.1-2 core libraries for all KDE applica
ii libacl1 2.2.34-1 Access control list shared library
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi
ii libattr1 2.4.25-1 Extended attribute shared library
ii libaudio2 1.7-3 The Network Audio System (NAS). (s
ii libc6 2.3.5-13 GNU C Library: Shared libraries an
ii libdbus-1-2 0.60-5 simple interprocess messaging syst
ii libdbus-qt-1-1c2 0.60-5 simple interprocess messaging syst
ii libexpat1 1.95.8-3 XML parsing C library - runtime li
ii libfam0 2.7.0-9 Client library to control the FAM
ii libfontconfig1 2.3.2-1.1 generic font configuration library
ii libfreetype6 2.1.10-1 FreeType 2 font engine, shared lib
ii libgcc1 1:4.0.2-8 GCC support library
ii libhal1 0.5.6-4 Hardware Abstraction Layer - share
ii libice6 6.9.0.dfsg.1-4 Inter-Client Exchange library
ii libidn11 0.5.18-1 GNU libidn library, implementation
ii libjpeg62 6b-11 The Independent JPEG Group's JPEG
ii libk3b2 0.12.10-2 The KDE cd burning application lib
ii libmusicbrainz4c2a 2.1.2-2 Second generation incarnation of t
ii libpng12-0 1.2.8rel-5 PNG library - runtime
ii libqt3-mt 3:3.3.5-3 Qt GUI Library (Threaded runtime v
ii libresmgr1 1.0-3 resource manager library
ii libsm6 6.9.0.dfsg.1-4 X Window System Session Management
ii libstdc++6 4.0.2-8 The GNU Standard C++ Library v3
ii libx11-6 6.9.0.dfsg.1-4 X Window System protocol client li
ii libxcursor1 1.1.3-1 X cursor management library
ii libxext6 6.9.0.dfsg.1-4 X Window System miscellaneous exte
ii libxft2 2.1.8.2-3 FreeType-based font drawing librar
ii libxi6 6.9.0.dfsg.1-4 X Window System Input extension li
ii libxinerama1 6.9.0.dfsg.1-4 X Window System multi-head display
ii libxrandr2 6.9.0.dfsg.1-4 X Window System Resize, Rotate and
ii libxrender1 1:0.9.0.2-1 X Rendering Extension client libra
ii libxt6 6.9.0.dfsg.1-4 X Toolkit Intrinsics
ii mkisofs 4:2.01+01a03-5 Creates ISO-9660 CD-ROM filesystem
ii zlib1g 1:1.2.3-9 compression library - runtime
Versions of packages k3b recommends:
ii cdrdao 1:1.2.1-4 records CDs in Disk-At-Once (DAO)
ii dvd+rw-tools 6.1-1 DVD+-RW/R tools
ii kdebase-kio-plugins 4:3.5.1-1 core I/O slaves for KDE
ii vcdimager 0.7.23-1 A VideoCD (VCD) image mastering an
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]