Bug 179654 - with all k3b versions later than 0.12 dvd+rw drive is constantly polled and medias not found
Summary: with all k3b versions later than 0.12 dvd+rw drive is constantly polled and m...
Status: RESOLVED FIXED
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-04 23:01 UTC by Volker Hemmann
Modified: 2009-05-28 11:04 UTC (History)
1 user (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 Volker Hemmann 2009-01-04 23:01:55 UTC
Version:           all versions >0.12 (using Devel)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Compiled sources

I have the same problem with ALL k3b versions greater than 0.12.17:
the drive is constantly polled. One second k3b 'sees' the empty media, the next one it is gone.
I can enable, disable hal flag. I can remove the drive from the hal polling or add it, no changes.
See also this bug:
http://bugs.gentoo.org/show_bug.cgi?id=235941
k3b is completly unusable. 

If I downgrade to 0.12.17 it 'magically' starts to work again. 
The drive is an ide nec burner in an external usb enclosure.

dmesg shows this:
94411.325142] scsi 7:0:0:0: CD-ROM            _NEC     DVD_RW ND-3500AG 2.19 PQ: 0 ANSI: 0
[94411.334249] sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
[94411.334339] sr 7:0:0:0: Attached scsi CD-ROM sr0
[94411.334407] sr 7:0:0:0: Attached scsi generic sg2 type 5
[94458.970649] cdrom: This disc doesn't have any tracks I recognize!
[94468.443910] usb 1-2: reset high speed USB device using ehci_hcd and address 5
[94481.941285] cdrom: This disc doesn't have any tracks I recognize!
[94490.444742] usb 1-2: reset high speed USB device using ehci_hcd and address 5
[94504.006239] cdrom: This disc doesn't have any tracks I recognize!
[94511.444744] usb 1-2: reset high speed USB device using ehci_hcd and address 5
[94524.934416] cdrom: This disc doesn't have any tracks I recognize!
[94532.444747] usb 1-2: reset high speed USB device using ehci_hcd and address 5
[94545.943080] cdrom: This disc doesn't have any tracks I recognize!
[94554.434738] usb 1-2: reset high speed USB device using ehci_hcd and address 5
[94567.956644] cdrom: This disc doesn't have any tracks I recognize!
[94576.434726] usb 1-2: reset high speed USB device using ehci_hcd and address 5
[94589.940236] cdrom: This disc doesn't have any tracks I recognize!
[94598.434737] usb 1-2: reset high speed USB device using ehci_hcd and address 5
[94611.945429] cdrom: This disc doesn't have any tracks I recognize!
[95557.444637] usb 1-2: reset high speed USB device using ehci_hcd and address 5
[95570.943714] cdrom: This disc doesn't have any tracks I recognize!
[95579.444637] usb 1-2: reset high speed USB device using ehci_hcd and address 5

nothing on konsole.
Comment 1 Gabriel Indurskis 2009-02-08 22:24:21 UTC
I can confirm this problem on my laptop: OpenSUSE 11.1, k3b 1.0.5 on KDE 3.5.10, the dvd writer is an internal SATA drive:

kernel: scsi 0:0:0:0: CD-ROM            MATSHITA DVD-RAM UJ-832S  1.01 PQ: 0 ANSI: 5
kernel: sr1: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
kernel: sr 0:0:0:0: Attached scsi CD-ROM sr1
kernel: sr 0:0:0:0: Attached scsi generic sg0 type 5

When k3b is running and an empty dvd is inserted, the system log shows lots of these messages:

kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
kernel: ata1.00: cmd a0/00:00:00:08:00/00:00:00:00:00/a0 tag 0 pio 16392 in
kernel:          cdb ac 00 00 00 00 00 00 00  00 01 03 00 00 00 00 00
kernel:          res 40/00:03:00:0c:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
kernel: ata1.00: status: { DRDY }
kernel: ata1: hard resetting link
kernel: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
kernel: ata1.00: configured for UDMA/25
kernel: ata1: EH complete

During this, k3b keeps recognizing the empty medium, and then loses it again.

In contrast, when k3b is NOT running, inserting the empty disc shows the following once:

kernel: end_request: I/O error, dev sr0, sector 0
kernel: Buffer I/O error on device sr0, logical block 0
kernel: end_request: I/O error, dev sr0, sector 0
kernel: Buffer I/O error on device sr0, logical block 0
kernel: cdrom: This disc doesn't have any tracks I recognize!

Burning with braserio or other tools then works without any problems, so this seems indeed to be a problem with k3b.
Comment 2 Volker Hemmann 2009-05-28 09:53:31 UTC
Hi,

I installed kde svn on tuesday and k3b svn today and good news:
it just worked. No constant polling, nothing. Just clean burning.

Hal version is 0.5.12_rc1-r4
Comment 3 Sebastian Trueg 2009-05-28 10:40:41 UTC
so I can mark this as fixed now. :)
Comment 4 Volker Hemmann 2009-05-28 11:04:05 UTC
I still have to try kde 3.5.XY but I am not very enthusiastic about it ;)