k3b / DVD drive error - unusable

Below is the console output of two sessions with k3b: in the first attempting to burn a couple of files to a DVD-RW fails, then on second launch of k3b it says it can’t find my DVD drive. On Windows the drive works fine.

I have already added my user to the cdrom and disk group and upped the permissions on /dev/sr0 but to no avail (running k3b as root makes no difference).

opensuse 11.1 64-bit, k3b 1.0.5


RJW@linux-0zcm:~> k3b &
[1] 5591               
RJW@linux-0zcm:~> kbuildsycoca running...
(K3bDevice::HalConnection) initializing HAL >= 0.5
Mapping udi /org/freedesktop/Hal/devices/storage_model_CDDVDW_TS_L632N to device /dev/sr0
/dev/sr0 resolved to /dev/sr0                                                            
/dev/sr0 is block device (0)                                                             
/dev/sr0 seems to be cdrom                                                               
bus: 1, 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 = 24                               
(K3bDevice::Device) /dev/sr0: GET PERFORMANCE successful with reported length: 20        
(K3bDevice::Device) /dev/sr0:  Number of supported write speeds via GET PERFORMANCE: 1   
(K3bDevice::Device) /dev/sr0 : 11080 KB/s                                                
(K3bDevice::DeviceManager) setting current write speed of device /dev/sr0 to 11080       
/dev/sr0 resolved to /dev/sr0                                                            
(K3bDevice::DeviceManager) dev /dev/sr0 already found                                    
(K3bDevice::DeviceManager) found config entry for devicetype: TSSTcorp CDDVDW TS-L632N   
Devices:                                                                                 
------------------------------                                                           
Blockdevice:    /dev/sr0                                                                 
Generic device:                                                                          
Vendor:         TSSTcorp                                                                 
Description:    CDDVDW TS-L632N                                                          
Version:        SC02                                                                     
Write speed:    11080                                                                    
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 Jump, DVD-RW, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW, DVD+R, 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 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                                                                                           
------------------------------                                                                                     
First sec data area: 43:41:33 (LBA 196608) (402653184                                                              
Last sec data area: 00:00:00 (LBA 0) (0 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: 00:00:00 (LBA 0) (0 Bytes)                                                                         
DiskInfo:                                                                                                          
Mediatype:       DVD-RW Sequential                                                                                 
Current Profile: DVD-RW Sequential                                                                                 
Disk state:      empty                                                                                             
Empty:           1                                                                                                 
Rewritable:      1                                                                                                 
Appendable:      0                                                                                                 
Sessions:        0                                                                                                 
Tracks:          0                                                                                                 
Layers:          1                                                                                                 
Capacity:        510:38:38 (LBA 2297888) (4706074624 Bytes)                                                        
Remaining size:  510:38:38 (LBA 2297888) (4706074624 Bytes)                                                        
Used Size:       00:00:00 (LBA 0) (0 Bytes)                                                                        
(K3bDevice::Device) /dev/sr0: GET PERFORMANCE dataLen = 24                                                         
(K3bDevice::Device) /dev/sr0: GET PERFORMANCE successful with reported length: 20                                  
(K3bDevice::Device) /dev/sr0:  Number of supported write speeds via GET PERFORMANCE: 1                             
(K3bDevice::Device) /dev/sr0 : 2770 KB/s                                                                           
adding udi   /org/freedesktop/Hal/devices/volume_empty_dvd_rw                                                      
(K3bDevice::Device) /dev/sr0: GET CONFIGURATION length det failed.                                                 
(K3bDevice::Device) /dev/sr0: GET CONFIGURATION length det failed.                                                 
First sec data area: 43:41:33 (LBA 196608) (402653184                                                              
Last sec data area: 00:00:00 (LBA 0) (0 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: 00:00:00 (LBA 0) (0 Bytes)                                                                         
(K3bDevice::Device) /dev/sr0: GET CONFIGURATION length det failed.                                                 
(K3bDevice::Device) /dev/sr0: GET PERFORMANCE dataLen = 24                                                         
(K3bDevice::Device) /dev/sr0: GET PERFORMANCE successful with reported length: 20                                  
(K3bDevice::Device) /dev/sr0:  Number of supported write speeds via GET PERFORMANCE: 1                             
(K3bDevice::Device) /dev/sr0 : 2770 KB/s                                                                           

and the rest of the output:



(K3bDevice::HalConnection) lock queued for /org/freedesktop/Hal/devices/storage_model_CDDVDW_TS_L632N              
(K3bDevice::HalConnection) unlock queued for /org/freedesktop/Hal/devices/storage_model_CDDVDW_TS_L632N            
(K3bDevice::ScsiCommand) failed:                                                                                   
                           command:    PREVENT ALLOW MEDIUM REMOVAL (1e)                                           
                           errorcode:  0                                                                           
                           sense key:  NO SENSE (2)                                                                
                           asc:        0                                                                           
                           ascq:       0                                                                           
(K3bDevice::ScsiCommand) failed:                                                                                   
                           command:    START STOP UNIT (1b)                                                        
                           errorcode:  0                                                                           
                           sense key:  NO SENSE (2)                                                                
                           asc:        0                                                                           
                           ascq:       0                                                                           
(K3bDevice::ScsiCommand) failed:                                                                                   
                           command:    START STOP UNIT (1b)                                                        
                           errorcode:  0                                                                           
                           sense key:  NO SENSE (2)                                                                
                           asc:        0                                                                           
                           ascq:       0                                                                           
removing udi /org/freedesktop/Hal/devices/volume_empty_dvd_rw                                                      
ICE default IO error handler doing an exit(), pid = 5791, errno = 11                                               
k3b &                                                                                                              
[2] 5829                                                                                                           
[1]   Done                    k3b                                                                                  
RJW@linux-0zcm:~> kbuildsycoca running...                                                                          
(K3bDevice::HalConnection) initializing HAL >= 0.5                                                                 
Mapping udi /org/freedesktop/Hal/devices/storage_model_CDDVDW_TS_L632N to device /dev/sr0                          
/dev/sr0 resolved to /dev/sr0                                                                                      
/dev/sr0 is block device (0)                                                                                       
(K3bDevice::ScsiCommand) failed:                                                                                   
                           command:    INQUIRY (12)                                                                
                           errorcode:  0                                                                           
                           sense key:  NO SENSE (2)                                                                
                           asc:        0                                                                           
                           ascq:       0                                                                           
(K3bDevice::Device) Unable to do inquiry. /dev/sr0 is not a cdrom device                                           
/dev/sr0 resolved to /dev/sr0                                                                                      
/dev/sr0 is block device (0)                                                                                       
(K3bDevice::ScsiCommand) failed:                                                                                   
                           command:    INQUIRY (12)                                                                
                           errorcode:  0                                                                           
                           sense key:  NO SENSE (2)                                                                
                           asc:        0                                                                           
                           ascq:       0                                                                           
(K3bDevice::Device) Unable to do inquiry. /dev/sr0 is not a cdrom device                                           
Devices:                                                                                                           
------------------------------     

Hmm, having said that the drive works without errors on Windows, it now doesn’t. CD-RW burns fine and all DVDs can be read on suse and Windows, but neither will now burn a DVD-RW (though same disc burns fine on another suse machine).

The error above seems to be the linux handling of a DVD burner with some problems.

How old is the drive? I get a lot of failed optical drives in my e-waste stream from refurbishing older computers.

Hello,
there are bits a pieces of this problem all over the forums. I too was experiencing it.

There is a bug here in Policy kit. I have tried the proposed patch. It works, but most users will likely want to wait for the fix to be published via Update.

I thought you said the drive didn’t burn either in Windows. I don’t see how a policykit bug can affect another OS?

Not sure if it is relevant, but I experienced on 2 of my 3 openSUSE-11.1 PCs a hiccup where k3b did not recognize my DVD burner as a regular user, but did as user root.

I ended (as a work around) adding my regular user to be a member of group cdrom and group disk, restarted, and that worked around the problem. I saw a post somewhere purportedly identifying this as a hal problem.

I note this problem did not exist in openSUSE-11.1 beta5 (nor I believe in RC1) and hence I think it was introduced during a last minute change between RC1 and GM (speculation on my part). I know there were some last minute changes made after RC1 to add external USB NTFS hotplug read-write functionality (which does work for the first time) and I’m wondering if it was in those sorts of last minute changes (perhaps not that but others) that this k3b hiccup was introduced.

Yes, after some further investigation I believe that the problem I have is with my DVD drive (or perhaps an incompatibility between my DVD-RW media and my DVD drive) since I do have some problems with it on Windows as well. I have successfully burned a CD-RW on both opensuse 11.1 and Windows and can read the same DVD-RW on both systems. At some point I will try burning a DVD-R to see whether that works.