Bug 172729 - Attempting to verify written data doesn't work
Summary: Attempting to verify written data doesn't work
Status: RESOLVED UNMAINTAINED
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: 1.0.5
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-13 16:53 UTC by Keith Lee
Modified: 2010-03-16 16:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Lee 2008-10-13 16:53:44 UTC
Version:           1.0.5 (using 3.5.10, compiled sources)
Compiler:          Target: i586-manbo-linux-gnu
OS:                Linux (i686) release 2.6.27-desktop-0.rc7.1.1mnb

Attempting to verify the date written to a DVD doesn't work.  The Liteon DVD burner tray does eject properly at the end of the data burn and before the verification process. However, the Liteon DVD burner tray doesn't go back thereby disallowing the k3b application to continue. K3b is frozen and the user has to cancel it in order to stop it.
Comment 1 Giorgos Pallas 2009-08-18 12:58:41 UTC
exactly the same with me. After writing, I send the DVD back in and k3b freezes, until I kill it...
Comment 2 Robin Laing 2009-10-17 07:48:46 UTC
This sounds like bug 154023 and could be a newer version.

I am having the same issue, most of the time.

Fedora 11 - 64 bit.

Latest updates.

k3b-1.0.5-9.fc11.x86_64

I burn a DVD or CD.  If the media doesn't eject at the 50% mark, then the media will be verified.  If the media ejects, then the media won't be verified and k3b hangs.  It gets stuck in a loop as the drive is reloaded and the Device Notifier pops up to say a new disk has been inserted.

Program ejects the DVD and reloads only to have k3b freeze.

k3b won't redraw the screen as it is now just blank windows.

This is what was shown in the terminal window when I ran k3b




[robin@eagle1 ~]$ (K3bDevice::HalConnection) initializing HAL >= 0.5            
Mapping udi /org/freedesktop/Hal/devices/storage_model_DVD_RAM_GSA_H54N to
device /dev/sr0
/dev/sr0 resolved to /dev/sr0                                                   
/dev/sr0 is block device (0)                                                    
/dev/sr0 seems to be cdrom                                                      
bus: 6, id: 0, lun: 0                                                           
(K3bDevice::Device) /dev/sr0: init()                                            
(K3bDevice::Device) /dev/sr0 feature: CD Mastering                              
(K3bDevice::Device) /dev/sr0 feature: CD Track At Once                          
(K3bDevice::Device) /dev/sr0 feature: DVD Read (MMC5)                           
(K3bDevice::Device) /dev/sr0 feature: DVD+R                                     
(K3bDevice::Device) /dev/sr0 feature: DVD+RW                                    
(K3bDevice::Device) /dev/sr0 feature: DVD+R Double Layer                        
(K3bDevice::Device) /dev/sr0 feature: DVD-R/-RW Write                           
(K3bDevice::Device) /dev/sr0 feature: Rigid Restricted Overwrite                
(K3bDevice::Device) /dev/sr0 feature: Layer Jump Recording                      
(K3bDevice::Device) /dev/sr0 unknown profile: 2                                 
(K3bDevice::Device) /dev/sr0: dataLen: 60                                       
(K3bDevice::Device) /dev/sr0: checking for TAO                                  
(K3bDevice::Device) /dev/sr0: checking for SAO                                  
(K3bDevice::Device) /dev/sr0: checking for SAO_R96P                             
(K3bDevice::Device) /dev/sr0: checking for SAO_R96R                             
(K3bDevice::Device) /dev/sr0: checking for RAW_R16                              
(K3bDevice::Device) /dev/sr0: checking for RAW_R96P                             
(K3bDevice::Device) /dev/sr0: checking for RAW_R96R                             
(K3bDevice::Device) /dev/sr0: GET PERFORMANCE dataLen = 72                      
(K3bDevice::Device) /dev/sr0: GET PERFORMANCE successful with reported length:
68         
(K3bDevice::Device) /dev/sr0:  Number of supported write speeds via GET
PERFORMANCE: 4    
(K3bDevice::Device) /dev/sr0 : 22160 KB/s                                       
(K3bDevice::Device) /dev/sr0 : 16620 KB/s                                       
(K3bDevice::Device) /dev/sr0 : 11080 KB/s                                       
(K3bDevice::Device) /dev/sr0 : 5540 KB/s                                        
(K3bDevice::DeviceManager) setting current write speed of device /dev/sr0 to
22160        
Could not resolve /dev/hdd                                                      
/dev/hdd resolved to /dev/hdd                                                   
(K3bDevice::Device) could not open device /dev/hdd for reading                  
                    (No such file or directory)                                 
could not open device /dev/hdd (No such file or directory)                      
Could not resolve /dev/hdc                                                      
/dev/hdc resolved to /dev/hdc                                                   
(K3bDevice::Device) could not open device /dev/hdc for reading                  
                    (No such file or directory)                                 
could not open device /dev/hdc (No such file or directory)                      
/dev/scd0 resolved to /dev/sr0                                                  
(K3bDevice::DeviceManager) dev /dev/sr0 already found                           
/dev/sr0 resolved to /dev/sr0                                                   
(K3bDevice::DeviceManager) dev /dev/sr0 already found                           
(K3bDevice::DeviceManager) found config entry for devicetype: HL-DT-ST DVD-RAM
GSA-H54N   
First sec data area: 43:41:33 (LBA 196608) (402653184                           
Last sec data area: 553:42:61 (LBA 2491711) (5103024128 Bytes)                  
Last sec layer 1: 00:00:00 (LBA 0) (0 Bytes)                                    
Layer 1 length: 00:00:01 (LBA 1) (2048 Bytes)                                   
Layer 2 length: 553:42:61 (LBA 2491711) (5103024128 Bytes)                      
DiskInfo:                                                                       
Mediatype:       DVD+R                                                          
Current Profile: DVD+R                                                          
Disk state:      empty                                                          
Empty:           1                                                              
Rewritable:      0                                                              
Appendable:      0                                                              
Sessions:        0                                                              
Tracks:          0                                                              
Layers:          1                                                              
Capacity:        510:01:29 (LBA 2295104) (4700372992 Bytes)                     
Remaining size:  510:01:29 (LBA 2295104) (4700372992 Bytes)                     
Used Size:       00:00:00 (LBA 0) (0 Bytes)                                     
(K3bDevice::Device) /dev/sr0: GET PERFORMANCE dataLen = 72                      
(K3bDevice::Device) /dev/sr0: GET PERFORMANCE successful with reported length:
68         
(K3bDevice::Device) /dev/sr0:  Number of supported write speeds via GET
PERFORMANCE: 4    
(K3bDevice::Device) /dev/sr0 : 22160 KB/s                                       
(K3bDevice::Device) /dev/sr0 : 16620 KB/s                                       
(K3bDevice::Device) /dev/sr0 : 11080 KB/s                                       
(K3bDevice::Device) /dev/sr0 : 5540 KB/s                                        
Devices:                                                                        
------------------------------                                                  
Blockdevice:    /dev/sr0                                                        
Generic device:                                                                 
Vendor:         HL-DT-ST                                                        
Description:    DVD-RAM GSA-H54N                                                
Version:        1.00                                                            
Write speed:    3324                                                            
Profiles:       DVD-ROM, DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R
Dual Layer Jump, DVD-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential,
DVD+RW, DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW                            
Read Cap:       DVD-ROM, DVD-R, DVD-R Sequential, DVD-R Dual Layer, DVD-R Dual
Layer Sequential, DVD-R Dual Layer Jump, DVD-RW, DVD-RW Restricted Overwrite,
DVD-RW Sequential, DVD+RW, DVD+R, DVD+RW Dual Layer, DVD+R Dual Layer, CD-ROM,
CD-R, CD-RW                                         
Write Cap:      DVD-R, DVD-R Sequential, DVD-R Dual Layer, DVD-R Dual Layer
Sequential, DVD-R Dual Layer Jump, DVD-RW, DVD-RW Restricted Overwrite, DVD-RW
Sequential, DVD+RW, DVD+R, DVD+R Dual Layer, CD-R, CD-RW                        
Writing modes:  SAO, TAO, RAW, SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R,
Restricted Overwrite, Layer Jump                                                
Reader aliases: /dev/sr0, /dev/scd0                                             
------------------------------                                                  
adding udi   /org/freedesktop/Hal/devices/volume_empty_dvd_plus_r               
First sec data area: 43:41:33 (LBA 196608) (402653184                           
Last sec data area: 553:42:61 (LBA 2491711) (5103024128 Bytes)                  
Last sec layer 1: 00:00:00 (LBA 0) (0 Bytes)                                    
Layer 1 length: 00:00:01 (LBA 1) (2048 Bytes)                                   
Layer 2 length: 553:42:61 (LBA 2491711) (5103024128 Bytes)                      
(K3bDevice::Device) /dev/sr0: GET PERFORMANCE dataLen = 72                      
(K3bDevice::Device) /dev/sr0: GET PERFORMANCE successful with reported length:
68               
(K3bDevice::Device) /dev/sr0:  Number of supported write speeds via GET
PERFORMANCE: 4          
(K3bDevice::Device) /dev/sr0 : 22160 KB/s                                       
(K3bDevice::Device) /dev/sr0 : 16620 KB/s                                       
(K3bDevice::Device) /dev/sr0 : 11080 KB/s                                       
(K3bDevice::Device) /dev/sr0 : 5540 KB/s                                        
(K3bDevice::HalConnection) lock queued for
/org/freedesktop/Hal/devices/storage_model_DVD_RAM_GSA_H54N                     
(K3bDevice::HalConnection) unlock queued for
/org/freedesktop/Hal/devices/storage_model_DVD_RAM_GSA_H54N                     
First sec data area: 43:41:33 (LBA 196608) (402653184                           
Last sec data area: 553:42:61 (LBA 2491711) (5103024128 Bytes)                  
Last sec layer 1: 00:00:00 (LBA 0) (0 Bytes)                                    
Layer 1 length: 00:00:01 (LBA 1) (2048 Bytes)                                   
Layer 2 length: 553:42:61 (LBA 2491711) (5103024128 Bytes)                      
DiskInfo:                                                                       
Mediatype:       DVD+R                                                          
Current Profile: DVD+R                                                          
Disk state:      incomplete                                                     
Empty:           0                                                              
Rewritable:      0                                                              
Appendable:      1                                                              
Sessions:        1                                                              
Tracks:          1                                                              
Layers:          1                                                              
Capacity:        510:01:29 (LBA 2295104) (4700372992 Bytes)                     
Remaining size:  47:00:36 (LBA 211536) (433225728 Bytes)                        
Used Size:       463:00:68 (LBA 2083568) (4267147264 Bytes)                     
(K3bDevice::Device) /dev/sr0 current profile 0. Checking current profile list
instead.          
(K3bDevice::Device) /dev/sr0: GET CONFIGURATION length det failed.              
(K3bDevice::Device) /dev/sr0: GET PERFORMANCE dataLen = 8                       
(K3bDevice::Device) /dev/sr0: GET PERFORMANCE reports bogus dataLen: 8          
(K3bDevice::Device) /dev/sr0:  Number of supported write speeds via 2A: 4       
(K3bDevice::Device) /dev/sr0 : 8468 KB/s                                        
(K3bDevice::Device) /dev/sr0 : 7056 KB/s                                        
(K3bDevice::Device) /dev/sr0 : 4234 KB/s                                        
(K3bDevice::Device) /dev/sr0 : 2824 KB/s                                        
removing udi /org/freedesktop/Hal/devices/volume_empty_dvd_plus_r               
(K3bDevice::Device) /dev/sr0 current profile 0. Checking current profile list
instead.          
(K3bDevice::Device) /dev/sr0: GET CONFIGURATION length det failed.              
ASSERT: "i <= nodes" in /usr/lib64/qt-3.3/include/qvaluelist.h (376)            
First sec data area: 43:41:33 (LBA 196608) (402653184
Last sec data area: 553:42:61 (LBA 2491711) (5103024128 Bytes)
Last sec layer 1: 00:00:00 (LBA 0) (0 Bytes)
Layer 1 length: 00:00:01 (LBA 1) (2048 Bytes)
Layer 2 length: 553:42:61 (LBA 2491711) (5103024128 Bytes)
DiskInfo:
Mediatype:       DVD+R
Current Profile: DVD+R
Disk state:      incomplete
Empty:           0
Rewritable:      0
Appendable:      1
Sessions:        1
Tracks:          1
Layers:          1
Capacity:        510:01:29 (LBA 2295104) (4700372992 Bytes)
Remaining size:  47:00:36 (LBA 211536) (433225728 Bytes)
Used Size:       463:00:68 (LBA 2083568) (4267147264 Bytes)
(K3bDevice::Device) /dev/sr0: GET PERFORMANCE dataLen = 72
(K3bDevice::Device) /dev/sr0: GET PERFORMANCE successful with reported length:
68
(K3bDevice::Device) /dev/sr0:  Number of supported write speeds via GET
PERFORMANCE: 4
(K3bDevice::Device) /dev/sr0 : 22160 KB/s
(K3bDevice::Device) /dev/sr0 : 16620 KB/s
(K3bDevice::Device) /dev/sr0 : 11080 KB/s
(K3bDevice::Device) /dev/sr0 : 5540 KB/s




This is an strace of k3b after it reloads the disk.  This is a thread that is
created from k3b.  It is not under the PID for k3b.  I had to use strace -ff
-p{pid} -o{file_name} to get anything.

This just repeats over and over.



futex(0x7f8437d33fc0, FUTEX_WAKE_PRIVATE, 1) = 0                                
uname({sys="Linux", node="eagle1.tardis.localdomain", ...}) = 0                 
open("/dev/sr0", O_RDONLY|O_NONBLOCK)   = 16                                    
ioctl(16, SG_IO, {'S', SG_DXFER_NONE, cmd[6]=[00, 00, 00, 00, 00, 00],
mx_sb_len=64, iovec_count=0, dxfer_len=0, timeout=5000, flags=0x3, status=00,
masked_status=00, sb[0]=[], host_status=0, driver_status=0, resid=0,
duration=0, info=0}) = 0                                              
close(16)                               = 0                                     
futex(0x7f8437d33f94, FUTEX_WAIT_PRIVATE, 1, {1, 999997206}) = -1 ETIMEDOUT
(Connection timed out)



I had to killed k3b with killall k3b.  

KDE recognizes the DVD and prompts for what to do with the DVD.

Hope it gets fixed.

Again, as long as the DVD doesn't eject, it will be verified.
Comment 3 markuss 2010-03-16 16:11:33 UTC
In an attempt to clean up old bugs that are not valid for K3b 2.0 (=KDE SC 4.x port) anymore, this is now being marked as UNMAINTAINED.
If this bug is still valid for 2.0, please reopen it.