FS#12433 - Burning/Erasing CDs fails
Attached to Project:
Arch Linux
Opened by userlander (userlander) - Friday, 12 December 2008, 23:07 GMT
Last edited by Allan McRae (Allan) - Saturday, 18 April 2009, 13:29 GMT
Opened by userlander (userlander) - Friday, 12 December 2008, 23:07 GMT
Last edited by Allan McRae (Allan) - Saturday, 18 April 2009, 13:29 GMT
|
Details
Edit: Changed title to reflect all CD burning is failing.
Description: Brasero fails when trying to burn or erase a CD. Tried multiple discs. cdrecord (wodim) blanks the CD, nerolinux blanks and writes CD. Additional info: # brasero --version GNOME brasero 0.8.3 * config and/or log files etc. terminal: --------- $ brasero ** (brasero:6576): WARNING **: Failed to inhibit the system from suspending: The name org.freedesktop.PowerManagement was not provided by any .service files (brasero:6576): GLib-GIO-CRITICAL **: g_volume_can_eject: assertion `G_IS_VOLUME (volume)' failed (brasero:6576): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed ** (brasero:6576): WARNING **: Failed to restore the system power manager: The name org.freedesktop.PowerManagement was not provided by any .service files brasero log: ------------ Checking session consistency (brasero_burn_check_session_consistency burn.c:1858) BraseroBurnURI called brasero_job_get_action BraseroBurnURI called brasero_job_get_action BraseroBurnURI called brasero_job_set_output_size_for_current_track BraseroBurnURI stopping BraseroBurnURI called brasero_job_get_action BraseroBurnURI called brasero_job_get_action BraseroBurnURI called brasero_job_get_current_track BraseroBurnURI called brasero_job_get_input_type BraseroBurnURI no burn:// URI found BraseroBurnURI stopping BraseroLocalTrack called brasero_job_get_action BraseroLocalTrack called brasero_job_get_action BraseroLocalTrack called brasero_job_set_output_size_for_current_track BraseroLocalTrack stopping BraseroLocalTrack called brasero_job_get_action BraseroLocalTrack called brasero_job_get_action BraseroLocalTrack called brasero_job_get_current_track BraseroLocalTrack called brasero_job_get_input_type BraseroLocalTrack no remote URIs BraseroLocalTrack stopping BraseroWodim called brasero_job_get_action BraseroWodim creating input BraseroWodim getting varg BraseroWodim called brasero_job_get_action BraseroWodim got varg: BraseroWodim deactivating BraseroGenisoimage called brasero_job_get_action BraseroGenisoimage getting varg BraseroGenisoimage called brasero_job_get_action BraseroGenisoimage called brasero_job_get_current_track BraseroGenisoimage called brasero_job_get_tmp_dir BraseroGenisoimage called brasero_job_get_data_label BraseroGenisoimage called brasero_job_get_flags BraseroGenisoimage called brasero_job_get_action BraseroGenisoimage called brasero_job_set_current_action BraseroGenisoimage got varg: /usr/bin/genisoimage -input-charset utf8 -r -J -graft-points -path-list /tmp/brasero_tmp_HCZYLU -exclude-list /tmp/brasero_tmp_89YYLU -V Data disc (12 Dec 08) -A Brasero-0.8.3 -sysid LINUX -quiet -print-size BraseroGenisoimage launching command BraseroGenisoimage called brasero_job_get_fd_out BraseroGenisoimage stderr: HUP BraseroGenisoimage stdout: 358465 BraseroGenisoimage called brasero_job_get_action BraseroGenisoimage called brasero_job_set_output_size_for_current_track BraseroGenisoimage stdout: HUP BraseroGenisoimage process finished with status 0 BraseroGenisoimage called brasero_job_get_fd_out BraseroGenisoimage called brasero_job_get_action BraseroGenisoimage finished track successfully BraseroGenisoimage got killed BraseroGenisoimage stopping BraseroWodim called brasero_job_get_action BraseroWodim creating input BraseroWodim getting varg BraseroWodim called brasero_job_get_action BraseroWodim called brasero_job_get_device BraseroWodim called brasero_job_get_flags BraseroWodim called brasero_job_get_speed BraseroWodim called brasero_job_get_flags BraseroWodim called brasero_job_get_input_type BraseroWodim called brasero_job_get_fd_in BraseroWodim called brasero_job_get_input_type BraseroWodim called brasero_job_get_session_output_size BraseroWodim called brasero_job_set_current_action BraseroWodim got varg: wodim -v dev=/dev/sr0 gracetime=0 speed=39 driveropts=burnfree -dao fs=32m tsize=358465s -data -nopad - BraseroWodim launching command BraseroWodim called brasero_job_get_fd_out BraseroGenisoimage called brasero_job_get_action BraseroGenisoimage linked to BraseroWodim BraseroGenisoimage getting varg BraseroGenisoimage called brasero_job_get_action BraseroGenisoimage called brasero_job_get_current_track BraseroGenisoimage called brasero_job_get_tmp_dir BraseroGenisoimage called brasero_job_get_data_label BraseroGenisoimage called brasero_job_get_flags BraseroGenisoimage called brasero_job_get_action BraseroGenisoimage called brasero_job_get_fd_out BraseroGenisoimage called brasero_job_set_current_action BraseroGenisoimage got varg: /usr/bin/genisoimage -input-charset utf8 -r -J -graft-points -path-list /tmp/brasero_tmp_TSWBMU -exclude-list /tmp/brasero_tmp_CGXBMU -V Data disc (12 Dec 08) -A Brasero-0.8.3 -sysid LINUX BraseroGenisoimage launching command BraseroGenisoimage called brasero_job_get_fd_out BraseroGenisoimage called brasero_job_get_fd_in BraseroGenisoiChecking session consistency (brasero_burn_check_session_consistency burn.c:1858) BraseroBurnURI called brasero_job_get_action BraseroBurnURI called brasero_job_get_action BraseroBurnURI called brasero_job_set_output_size_for_current_track BraseroBurnURI stopping BraseroBurnURI called brasero_job_get_action BraseroBurnURI called brasero_job_get_action BraseroBurnURI called brasero_job_get_current_track BraseroBurnURI called brasero_job_get_input_type BraseroBurnURI no burn:// URI found BraseroBurnURI stopping BraseroLocalTrack called brasero_job_get_action BraseroLocalTrack called brasero_job_get_action BraseroLocalTrack called brasero_job_set_output_size_for_current_track BraseroLocalTrack stopping BraseroLocalTrack called brasero_job_get_action BraseroLocalTrack called brasero_job_get_action BraseroLocalTrack called brasero_job_get_current_track BraseroLocalTrack called brasero_job_get_input_type BraseroLocalTrack no remote URIs BraseroLocalTrack stopping BraseroWodim called brasero_job_get_action BraseroWodim creating input BraseroWodim getting varg BraseroWodim called brasero_job_get_action BraseroWodim got varg: BraseroWodim deactivating BraseroGenisoimage called brasero_job_get_action BraseroGenisoimage getting varg BraseroGenisoimage called brasero_job_get_action BraseroGenisoimage called brasero_job_get_current_track BraseroGenisoimage called brasero_job_get_tmp_dir BraseroGenisoimage called brasero_job_get_data_label BraseroGenisoimage called brasero_job_get_flags BraseroGenisoimage called brasero_job_get_action BraseroGenisoimage called brasero_job_set_current_action BraseroGenisoimage got varg: /usr/bin/genisoimage -input-charset utf8 -r -J -graft-points -path-list /tmp/brasero_tmp_HCZYLU -exclude-list /tmp/brasero_tmp_89YYLU -V Data disc (12 Dec 08) -A Brasero-0.8.3 -sysid LINUX -quiet -print-size BraseroGenisoimage launching command BraseroGenisoimage called brasero_job_get_fd_out BraseroGenisoimage stderr: HUP BraseroGenisoimage stdout: 358465 BraseroGenisoimage called brasero_job_get_action BraseroGenisoimage called brasero_job_set_output_size_for_current_track BraseroGenisoimage stdout: HUP BraseroGenisoimage process finished with status 0 BraseroGenisoimage called brasero_job_get_fd_out BraseroGenisoimage called brasero_job_get_action BraseroGenisoimage finished track successfully BraseroGenisoimage got killed BraseroGenisoimage stopping BraseroWodim called brasero_job_get_action BraseroWodim creating input BraseroWodim getting varg BraseroWodim called brasero_job_get_action BraseroWodim called brasero_job_get_device BraseroWodim called brasero_job_get_flags BraseroWodim called brasero_job_get_speed BraseroWodim called brasero_job_get_flags BraseroWodim called brasero_job_get_input_type BraseroWodim called brasero_job_get_fd_in BraseroWodim called brasero_job_get_input_type BraseroWodim called brasero_job_get_session_output_size BraseroWodim called brasero_job_set_current_action BraseroWodim got varg: wodim -v dev=/dev/sr0 gracetime=0 speed=39 driveropts=burnfree -dao fs=32m tsize=358465s -data -nopad - BraseroWodim launching command BraseroWodim called brasero_job_get_fd_out BraseroGenisoimage called brasero_job_get_action BraseroGenisoimage linked to BraseroWodim BraseroGenisoimage getting varg BraseroGenisoimage called brasero_job_get_action BraseroGenisoimage called brasero_job_get_current_track BraseroGenisoimage called brasero_job_get_tmp_dir BraseroGenisoimage called brasero_job_get_data_label BraseroGenisoimage called brasero_job_get_flags BraseroGenisoimage called brasero_job_get_action BraseroGenisoimage called brasero_job_get_fd_out BraseroGenisoimage called brasero_job_set_current_action BraseroGenisoimage got varg: /usr/bin/genisoimage -input-charset utf8 -r -J -graft-points -path-list /tmp/brasero_tmp_TSWBMU -exclude-list /tmp/brasero_tmp_CGXBMU -V Data disc (12 Dec 08) -A Brasero-0.8.3 -sysid LINUX BraseroGenisoimage launching command BraseroGenisoimage called brasero_job_get_fd_out BraseroWodim stderr: wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.scsidev: '/dev/sr0' BraseroWodim called brasero_job_get_flags BraseroWodim stderr: devname: '/dev/sr0' BraseroWodim called brasero_job_get_flags BraseroWodim stderr: scsibus: -2 target: -2 lun: -2 BraseroWodim called brasero_job_get_flags BraseroWodim stderr: Linux sg driver version: 3.5.27 BraseroWodim called brasero_job_get_flags BraseroWodim stderr: Wodim version: 1.1.9 BraseroWodim called brasero_job_get_flags BraseroWodim stderr: SCSI buffer size: 64512 BraseroWodim called brasero_job_get_flags BraseroWodim stderr: Beginning DMA speed test. Set CDR_NODMATEST environment variable if device BraseroWodim called brasero_job_get_flags BraseroWodim stderr: communication breaks or freezes immediately after that. BraseroWodim called brasero_job_get_flags BraseroWodim stdout: TOC Type: 1 = CD-ROM BraseroWodim stdout: Driveropts: 'burnfree' BraseroWodim stdout: Device type : Removable CD-ROM BraseroWodim stdout: Version : 5 BraseroWodim stdout: Response Format: 2 BraseroWodim stdout: Capabilities : BraseroWodim stdout: Vendor_info : 'LITE-ON ' BraseroWodim stdout: Identification : 'LTR-40125S ' BraseroWodim stdout: Revision : 'ZS0J' BraseroWodim stdout: Device seems to be: Generic mmc CD-RW. BraseroWodim stdout: Current: 0x000A (CD-RW) BraseroWodim stdout: Profile: 0x000A (CD-RW) (current) BraseroWodim stdout: Profile: 0x0009 (CD-R) BraseroWodim stdout: Profile: 0x0008 (CD-ROM) BraseroWodim stdout: Profile: 0x0002 (Removable disk) (current) BraseroWodim stdout: Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr). BraseroWodim stdout: Driver flags : MMC-3 SWABAUDIO BURNFREE FORCESPEED BraseroWodim stdout: Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R BraseroWodim stdout: Drive buf size : 1422080 = 1388 KB BraseroWodim stdout: FIFO size : 33554432 = 32768 KB BraseroGenisoimage stderr: 1.40% done, estimate finish Fri Dec 12 17:51:17 2008 BraseroWodim stderr: Speed set to 1760 KB/s BraseroWodim called brasero_job_get_flags BraseroWodim stdout: Track 01: data 700 MB BraseroWodim stdout: Total size: 804 MB (79:39.53) = 358465 sectors BraseroWodim stdout: Lout start: 804 MB (79:41/40) = 358465 sectors BraseroWodim stdout: Current Secsize: 2048 BraseroWodim stdout: ATIP info from disk: BraseroWodim stdout: Indicated writing power: 3 BraseroWodim stdout: Reference speed: 6 BraseroWodim stdout: Is not unrestricted BraseroWodim stdout: Is erasable BraseroWodim stdout: Disk sub type: High speed Rewritable (CAV) media (1) BraseroWodim stdout: ATIP start of lead in: -11745 (97:25/30) BraseroWodim stdout: ATIP start of lead out: 359848 (79:59/73) BraseroWodim stdout: 1T speed low: 4 1T speed high: 10 BraseroWodim stdout: 2T speed low: 4 2T speed high: 0 (reserved val 6) BraseroWodim stdout: power mult factor: 1 5 BraseroWodim stdout: recommended erase/write power: 5 BraseroWodim stdout: A1 values: 24 1A D8 BraseroWodim stdout: A2 values: 26 B2 4A BraseroWodim stdout: Disk type: Phase change BraseroWodim stdout: Manuf. index: 40 BraseroWodim stdout: Manufacturer: INFODISC Technology Co., Ltd. BraseroWodim stdout: Blocks total: 359848 Blocks current: 359848 Blocks remaining: 1383 BraseroWodim stdout: Forcespeed is OFF. BraseroWodim stdout: Starting to write CD/DVD at speed 10.0 in real SAO mode for single session. BraseroWodim stdout: Last chance to quit, starting real write in 0 seconds. Operation starts. BraseroWodim called brasero_job_set_dangerous BraseroGenisoimage stderr: 2.79% done, estimate finish Fri Dec 12 17:48:54 2008 BraseroGenisoimage stderr: 4.19% done, estimate finish Fri Dec 12 17:48:06 2008 BraseroWodim stdout: Waiting for reader process to fill input buffer ... input buffer ready. BraseroWodim stdout: Performing OPC... BraseroWodim stdout: Sending CUE sheet... BraseroWodim called brasero_job_get_input_type BraseroWodim called brasero_job_set_current_action BraseroWodim stdout: Writing pregap for track 1 at -150 BraseroWodim stdout: Starting new track at sector: 0 BraseroWodim stdout: BraseroWodim stdout: Track 01: 0 of 700 MB written. BraseroWodim stdout: Track 01: 1 of 700 MB written (fifo 100%) [buf 99%] 0.4x. BraseroWodim called brasero_job_set_current_action BraseroWodim stdout: Track 01: 2 of 700 MB written (fifo 100%) [buf 99%] 10.3x. BraseroWodim called brasero_job_set_current_action BraseroWodim stderr: Errno: 5 (Input/output error), write_g1 scsi sendcmd: no error BraseroWodim called brasero_job_get_flags BraseroWodim stderr: CDB: 2A 00 00 00 07 FE 00 00 1F 00 BraseroWodim called brasero_job_get_flags BraseroWodim stderr: status: 0x2 (CHECK CONDITION) BraseroWodim called brasero_job_get_flags BraseroWodim stderr: Sense Bytes: 72 0B 00 00 00 00 00 0E 09 0C 00 00 00 03 00 00 BraseroWodim called brasero_job_get_flags BraseroWodim stderr: Sense Key: 0x0 No Additional Sense, Segment 11 BraseroWodim called brasero_job_get_flags BraseroWodim stderr: Sense Code: 0x00 Qual 0x03 (setmark detected) Fru 0x0 BraseroWodim called brasero_job_get_flags BraseroWodim stderr: Sense flags: Blk 0 (not valid) BraseroWodim called brasero_job_get_flags BraseroWodim stderr: cmd finished after 225.431s timeout 200s BraseroWodim called brasero_job_get_flags BraseroWodim stderr: wodim: A write error occured. BraseroWodim called brasero_job_get_flags BraseroWodim called brasero_job_error BraseroWodim finished with an error BraseroWodim asked to stop because of an error error = 1 message = "a write error occured which was likely due to overburning the disc" BraseroGenisoimage stopping BraseroGenisoimage got killed BraseroGenisoimage disconnecting BraseroGenisoimage from BraseroWodim BraseroWodim stopping BraseroWodim got killed BraseroWodim stderr: wodim: Please properly read the error message above. BraseroWodim called brasero_job_get_flags BraseroWodim closing connection for BraseroWodim Session error : a write error occured which was likely due to overburning the disc (brasero_burn_record burn.c:2542) Steps to reproduce: open brasero, erase or burn cd/cd-rw. |
This task depends upon
wodim -v dev=/dev/cdrw image.iso (as user) burns the image fine, brasero cannot burn the same image, fails as above:
"Error while burning: a write error occured which was likely due to overburning the disc," with same log as above.
K3b fails, too. "cdrecord has no permission to open the device." huh? User is in optical and storage group. Directory with the file is owned by user, 755, file is owned by user, 644.
# ll /dev/ |grep sr
lrwxrwxrwx 1 root root 17 2008-12-13 10:47 cdrom -> /dev/cd/cdrom-sr0
lrwxrwxrwx 1 root root 17 2008-12-13 10:47 cdrom0 -> /dev/cd/cdrom-sr0
lrwxrwxrwx 1 root root 16 2008-12-13 10:47 cdrw -> /dev/cd/cdrw-sr0
lrwxrwxrwx 1 root root 16 2008-12-13 10:47 cdrw0 -> /dev/cd/cdrw-sr0
srw-rw-rw- 1 root root 0 2008-12-13 10:47 log=
lrwxrwxrwx 1 root root 3 2008-12-13 10:47 scd0 -> sr0
brw-rw---- 1 root optical 11, 0 2008-12-13 10:47 sr0
Is this some "policykit" thing?
Whether there is also a hal problem, or perhaps *only* a hal problem that is screwing up something with the newer kernels I don't know yet.
Tried burning the same files on arch on the same CD-RW on my laptop, they burned fine the first try.
Everything seems to be pointing to hardware failure, *except* the files burned fine in PCLinuxOS on the same hardware without a hitch. Confusing. New drive on the way, will see what happens then.
I guess this is not a brasero-specific bug, but a general arch bug somewhere causing a misconfiguration. I don't recall doing anything differently than I've ever done, and CD burning has been working for years. Why it would suddenly fail like this I don't know, unless the arch hal packages or policykit or something like that is screwing up my system. I keep looking for what I have configured wrong, and all the basics seem to be right. maybe someone here can tell me what else to check for, no one on the forum is answering multiple posts. This is really getting annoying, as I need to have media burning functionality. If I can't fix this, I'm going to have to change distros. I really don't want to have to do that, as I really like Arch, but I need to be able to burn CDs!
After downgrading hal and hal-info again, erasing and burning works in K3B, nerolinux, ImgBurn (wine) using kernel 2.6.27-10, but brasero can't even detect the disc to blank or eject it. Downgrading hal/hal-info didn't work with earlier kernel (I think it was 2.6.27-8).
[2008-12-27 22:39] upgraded hal (0.5.11-7 -> 0.5.11-1)
[2008-12-27 22:39] upgraded hal-info (0.20081219-1 -> 0.20080508-1)
Best guess right now therefore is that problem appears to be manyfold: one set of problems with hal/hal-info, another possible problem with earlier kernels, and a problem with brasero itself, all perhaps only affecting certain hardware.
Should this report be closed, and another one specifying hal and hal-info be opened? I want to make sure the fixes make it into the next versions. I tried the hal & hal-info in testing but the hal daemon wouldn't start on my system. Had to go back to the versions mentioned in the message above to get media burning to work. thankx
Should this report be closed, and another one specifying hal and hal-info be opened? I want to make sure the fixes make it into the next versions. I tried the hal & hal-info in testing but the hal daemon wouldn't start on my system. Had to go back to the versions mentioned in the message above to get media burning to work. thankx
But yes, I can now say with assurance that it's definitely hal/hal-info. It was a little hard to pinpoint because brasero also has a bug, apparently not related to hal, and that is confusing the issue because brasero fails no matter what.
But optical media is burning and erasing fine with the downgraded hal/hal-info in all other apps except brasero (which can't even recognize any media in the drive). But as soon as I upgrade to current hal & hal-info, all burning/erasing begins to fail in all tested apps (nerolinux, ImgBurn, K3B). So unless anyone has another idea, it seems to be hal/hal-info.
Optiarc DVD RW AD-7590A, 1.62
ipcop-1.4.20-install-cd.i386.iso md5sum: 2032842766045da0feb7fbb4fe9d5956
nerolinux 3.5.1.0-3
k3b 1.0.5-2
hal 0.5.11-7
hal-info 0.20081219-1
kernel26 2.6.28.7-2
All other packages are up to date (I'm not using [Testing]).
I can burn the image and do a quick erase with both nero and k3b. I only noticed a problem when trying to quick erase with k3b before unmounting the cd (which k3b should unmount before trying to erase).
Are you sure your drive and/or cd are in good shape/health and that your drive and cd (cd brand + cd model) play along well?