LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-09-2007, 11:49 PM   #1
tferero
Member
 
Registered: Sep 2007
Location: Near the Canadian border
Distribution: kubuntu 8.04 Hardy Heron
Posts: 48

Rep: Reputation: 16
Question k3b - will not burn cd


Hi,

I just discovered that k3b (v. 1.0 - Adept does not seem to have any later version) will not burn CDs for me at all. I am at a loss as to where to start to troubleshoot this.

When I boot fresh, I can play music CDs, but once I try to run k3b to make a data CD, it tries to burn, then fails with error code 255. After that, k3b tells me it can't detect my drive. Sometimes, the drive becomes totally disabled and I cannot even eject the CD unless I do so manually.

I am running a dell latitude C610, with kubuntu feisty. As far as I know, the CD drive is OEM. This laptop was given to me, so I have no documentation. I have not taken the drive out to see what it is, but I can do that if there isn't an easier command-line method.

I would like to be able to burn basic data CDs, so this is frustrating.

Can anyone give me any guidance as to where to start the troubleshooting?

Thanks.
 
Old 11-10-2007, 01:54 AM   #2
ciden
Member
 
Registered: Dec 2006
Location: New Delhi, India
Distribution: PCLinuxOS 2010
Posts: 246
Blog Entries: 1

Rep: Reputation: 31
Maybe it is a permissions issue. First try burning a cd as root. If it burns, then it is a permissions issue.
Try it and post the results.
 
Old 11-10-2007, 09:40 AM   #3
tferero
Member
 
Registered: Sep 2007
Location: Near the Canadian border
Distribution: kubuntu 8.04 Hardy Heron
Posts: 48

Original Poster
Rep: Reputation: 16
Hi Ciden,

I ran k3b as root, and got this output in the console:

Code:
tferero@ubuntu:~$ sudo k3b
ERROR: Communication problem with k3b, it probably crashed.
kdecore (KAction): WARNING: KActionCollection::
KActionCollection( QObject *parent, const char *name, 
KInstance *instance )
tferero@ubuntu:~$ (K3bDevice::HalConnection) 
initializing HAL >= 0.5
Mapping udi /org/freedesktop/Hal/devices/storage_model_CD_RW_GCE_8080N to device /dev/scd0
/dev/scd0 resolved to /dev/scd0
/dev/scd0 is block device (0)
/dev/scd0 seems to be cdrom
bus: 1, id: 0, lun: 0
(K3bDevice::Device) /dev/scd0: init()
(K3bDevice::Device) /dev/scd0 feature: CD Mastering
(K3bDevice::Device) /dev/scd0 feature: CD Track At Once
(K3bDevice::Device) /dev/scd0: dataLen: 60
(K3bDevice::Device) /dev/scd0: checking for TAO
(K3bDevice::Device) /dev/scd0: checking for SAO
(K3bDevice::Device) /dev/scd0: checking for SAO_R96P
(K3bDevice::Device) /dev/scd0: checking for SAO_R96R
(K3bDevice::Device) /dev/scd0: checking for RAW_R16
(K3bDevice::Device) /dev/scd0: checking for RAW_R96P
(K3bDevice::Device) /dev/scd0: checking for RAW_R96R
(K3bDevice::DeviceManager) setting current write speed of device /dev/scd0 to 1411
/dev/scd0 resolved to /dev/scd0
(K3bDevice::DeviceManager) dev /dev/scd0 already found
(K3bDevice::DeviceManager) found config entry for devicetype: HL-DT-ST CD-RW GCE-8080N
DiskInfo:
Mediatype:       CD-R
Current Profile: CD-R
Disk state:      empty
Empty:           1
Rewritable:      0
Appendable:      0
Sessions:        0
Tracks:          0
Layers:          1
Capacity:        79:57:71 (LBA 359846) (736964608 Bytes)
Remaining size:  79:57:71 (LBA 359846) (736964608 Bytes)
Used Size:       00:00:00 (LBA 0) (0 Bytes)
(K3bDevice::Device) /dev/scd0:  Number of supported write speeds via 2A: 0
(K3bDevice::ScsiCommand) failed:
                           command:    GET PERFORMANCE (ac)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        20
                           ascq:       0
(K3bDevice::Device) /dev/scd0: GET PERFORMANCE length det failed.
(K3bDevice::ScsiCommand) failed:
                           command:    GET PERFORMANCE (ac)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        20
                           ascq:       0
(K3bDevice::Device) /dev/scd0: GET PERFORMANCE with real length 2048 failed.
Devices:
------------------------------
Blockdevice:    /dev/scd0
Generic device:
Vendor:         HL-DT-ST
Description:    CD-RW GCE-8080N
Version:        2.06
Write speed:    700
Profiles:       CD-ROM, CD-R, CD-RW
Read Cap:       CD-ROM, CD-R, CD-RW
Write Cap:      CD-R, CD-RW
Writing modes:  SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R
Reader aliases: /dev/scd0
------------------------------
kdecore (KAction): WARNING: KActionCollection::operator+=(): function is severely deprecated.
kdeinit: Shutting down running client.
---------------------------------
It looks like dcopserver is already running. If you are sure
that it is not already running, remove /root/.DCOPserver_ubuntu__0
and start dcopserver again.
---------------------------------

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

kded: cannot connect to X server :0.0
DCOP aborting call from 'anonymous-5869' to 'kded'
kded: ERROR: Communication problem with kded, it probably crashed.
removing udi /org/freedesktop/Hal/devices/volume_empty_cd_r
DiskInfo:
Mediatype:       CD-R
Current Profile: CD-R
Disk state:      empty
Empty:           1
Rewritable:      0
Appendable:      0
Sessions:        0
Tracks:          0
Layers:          1
Capacity:        79:57:71 (LBA 359846) (736964608 Bytes)
Remaining size:  79:57:71 (LBA 359846) (736964608 Bytes)
Used Size:       00:00:00 (LBA 0) (0 Bytes)
(K3bDevice::Device) /dev/scd0:  Number of supported write speeds via 2A: 0
(K3bDevice::ScsiCommand) failed:
                           command:    GET PERFORMANCE (ac)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        20
                           ascq:       0
(K3bDevice::Device) /dev/scd0: GET PERFORMANCE length det failed.
(K3bDevice::ScsiCommand) failed:
                           command:    GET PERFORMANCE (ac)
                           errorcode:  70
                           sense key:  ILLEGAL REQUEST (5)
                           asc:        20
                           ascq:       0
(K3bDevice::Device) /dev/scd0: GET PERFORMANCE with real length 2048 failed.
adding udi   /org/freedesktop/Hal/devices/volume_empty_cd_r
(K3bDevice::DeviceManager) request for empty device!
(K3bDevice::DeviceManager) request for empty device!
(K3bDevice::DeviceManager) request for empty device!
(K3bDevice::HalConnection) lock queued for /org/freedesktop/Hal/devices/storage_model_CD_RW_GCE_8080N
(K3bDevice::HalConnection) unlock queued for /org/freedesktop/Hal/devices/storage_model_CD_RW_GCE_8080N
removing udi /org/freedesktop/Hal/devices/volume_empty_cd_r
K3b loaded, but the burn still failed. Within k3b, I got this debugging error report:
Code:
System
-----------------------
K3b Version: 1.0

KDE Version: 3.5.6
QT Version:  3.3.7
Kernel:      2.6.20-16-386
Devices
-----------------------
HL-DT-ST CD-RW GCE-8080N 2.06 (/dev/scd0, ) 
[CD-R, CD-RW, CD-ROM] [CD-ROM, CD-R, CD-RW] 
[SAO, TAO, RAW, SAO/R96P, SAO/R96R, 
RAW/R16, RAW/R96P, RAW/R96R]

K3bIsoImager
-----------------------
mkisofs print size result: 81709 (167340032 bytes)
Pipe throughput: 98304 bytes read, 97280 bytes written.

Used versions
-----------------------
mkisofs: 1.1.2
cdrecord: 1.1.2

cdrecord
-----------------------
scsidev: '/dev/scd0'
devname: '/dev/scd0'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.2
SCSI buffer size: 64512
Beginning DMA speed test. 
Set CDR_NODMATEST environment variable if device
communication breaks or freezes 
immediately after that.
TOC Type: 3 = CD-ROM XA mode 2
Driveropts: 'burnfree'
atapi: 1
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   : 
Vendor_info    : 'HL-DT-ST'
Identification : 'CD-RW GCE-8080N '
Revision       : '2.06'
Device seems to be: Generic mmc CD-RW.
Current: 0x0009 (CD-R)
Profile: 0x000A (CD-RW) 
Profile: 0x0009 (CD-R) (current)
Profile: 0x0008 (CD-ROM) 
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-2 SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO SAO/R96P 
SAO/R96R RAW/R16 RAW/R96P RAW/R96R
Drive buf size : 1007616 = 984 KB
FIFO size      : 12582912 = 12288 KB
/usr/bin/wodim: Cannot load media.
Track 01: data   159 MB        
Total size:      183 MB (18:09.48) = 81711 sectors
Lout start:      183 MB (18:11/36) = 81711 sectors

cdrecord command:
-----------------------
/usr/bin/wodim -v gracetime=2 
dev=/dev/scd0 speed=8 -tao driveropts=burnfree 
-overburn -multi -xa -tsize=81709s - 

mkisofs
-----------------------
81709
I: -input-charset not specified, 
using utf-8 (detected in locale settings)
Using IMG_0639B000.JPG;1 for  
Pictures/Niagara Falls, 
August, 25  2007/IMG_0639B.jpg (IMG_0639B.JPG)

mkisofs calculate size command:
-----------------------
/usr/bin/genisoimage -gui -graft-points 
-print-size -quiet 
-volid Ebooks -volset  -appid K3B 
THE CD KREATOR (C) 1998-2006 SEBASTIAN TRUEG AND THE K3B TEAM -publisher  
-preparer  -sysid LINUX 
-volset-size 1 -volset-seqno 1 
-sort /tmp/kde-root/k3bgH2TNa.tmp 
-rational-rock -hide-list /tmp/kde-root/k3bKSVEra.tmp 
-joliet -joliet-long -hide-joliet-list 
/tmp/kde-root/k3bIVGBQa.tmp -no-cache-inodes 
-full-iso9660-filenames -iso-level 2 -path-list /tmp/kde-root/k3bnAMYob.tmp 

mkisofs command:
-----------------------
/usr/bin/genisoimage -gui -graft-points -volid 
Ebooks -volset  -appid K3B THE CD KREATOR (C) 
1998-2006 SEBASTIAN TRUEG AND THE K3B TEAM -publisher  -preparer  -sysid LINUX 
-volset-size 1 -volset-seqno 1 -sort /tmp/kde-root/k3b0JPKpc.tmp -rational-rock 
-hide-list /tmp/kde-root/k3b5DzpDb.tmp -joliet 
-joliet-long -hide-joliet-list /tmp/kde-root/k3bK3xFAa.tmp 
-no-cache-inodes -full-iso9660-filenames -iso-level 2 -path-list /tmp/kde-root/k3beuHDWa.tmp
Maybe I should try installing a later version from the website? Or reinstalling this application? I have done 2 version upgrades to Feisty, so maybe something happened along the way. I never tried to burn a cd before this, so I don't know if it ever worked.

Thanks.
 
Old 11-11-2007, 12:56 AM   #4
ciden
Member
 
Registered: Dec 2006
Location: New Delhi, India
Distribution: PCLinuxOS 2010
Posts: 246
Blog Entries: 1

Rep: Reputation: 31
Well seems u should upgrade your K3B. As for the output, i m no expert, but I did get an error due to permission issues, which I thought could have been ur problem.
 
Old 11-11-2007, 10:25 AM   #5
tferero
Member
 
Registered: Sep 2007
Location: Near the Canadian border
Distribution: kubuntu 8.04 Hardy Heron
Posts: 48

Original Poster
Rep: Reputation: 16
Just for comparison, I downloaded a trial version of Nero Linux 3. This program burned with no problems, so I know at least it is not a problem with my hardware.

I am trying to figure out the whole cdrom thing here - I have a folder: /media/cdrom, which I originally thought was the right thing to choose for backing up to cd in another program, Keep. Instead Keep just dumped the backup files in this folder. I know from the Kubuntu configuration menus that my writer drive is listed as /dev/scd0. But in Keep, I couldn't find a way to point to this.

Since I seem to have issues with my cdrom in both K3b and Keep, I suspect that I am missing some vital understanding of how linux handles these devices. Maybe if I understood that better, I could troubleshoot K3b. With Keep, I think I just don't know how to tell it to burn to cdrom. I am researching that now - probably will find out it is easy...

Much to learn - any comments welcome.
 
Old 11-11-2007, 11:37 AM   #6
ciden
Member
 
Registered: Dec 2006
Location: New Delhi, India
Distribution: PCLinuxOS 2010
Posts: 246
Blog Entries: 1

Rep: Reputation: 31
Well, I have read somewhere on this site that Dell boxes sometimes have unusual hardware. Even though the 2.6 linux kernel is a major breakthrough in hardware issues, this may be something unresolved. Since I presume that your hardware is old and out of production, i also suspect that linux may be dropping support for older hardware.
BTW I am on a 4 year old Compaq presario laptop. But I dont have any issues.
If your Nero trial version is working, just be happy about it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
K3b will not burn anything EvilBill SUSE / openSUSE 8 09-03-2006 07:53 PM
k3b won't burn CD-R's but does burn DVDs. Livino Linux - Newbie 6 03-18-2006 06:51 PM
under 0.5x burn in k3b BluetoeN Linux - Newbie 1 01-04-2005 05:41 AM
pb to burn with k3b HyDroChrOnIK Linux - Software 0 10-04-2004 06:54 AM
k3b error with audio cd burn (no prob with iso burn) bluem Linux - Newbie 1 04-16-2004 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration