Bug 149226 - Hangs the System by irritating DVD-Readers (IDE-DMA/IRQ Storm)
Summary: Hangs the System by irritating DVD-Readers (IDE-DMA/IRQ Storm)
Status: RESOLVED UNMAINTAINED
Alias: None
Product: k3b
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Sebastian Trueg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-26 12:50 UTC by Francois Marier
Modified: 2010-03-16 16:03 UTC (History)
0 users

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 Francois Marier 2007-08-26 12:50:46 UTC
Version:           1.0.3 (using KDE KDE 3.5.7)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Tom Schorpp <t.schorpp@gmx.de> reported the following bug on the Debian bug tracker (http://bugs.debian.org/439264):

On media insertion or already media inserted on startup k3b irritates
at least this DVD reader drive:

Blockdevice:    /dev/hdc
Generic device:
Vendor:         TOSHIBA
Description:    ODD-DVD SD-M1802
Version:        1051

Aug 23 19:36:29 tom1 kernel: hdc: irq timeout: status=0xd0 { Busy }
Aug 23 19:36:29 tom1 kernel: ide: failed opcode was: unknown
Aug 23 19:36:36 tom1 kernel: hdc: irq timeout: status=0xd0 { Busy }
Aug 23 19:36:36 tom1 kernel: ide: failed opcode was: unknown
Aug 23 19:36:43 tom1 kernel: hdc: irq timeout: status=0xd0 { Busy }
Aug 23 19:36:43 tom1 kernel: ide: failed opcode was: unknown
...period until media removal...

System stalls in 7 second intervalls until media removal, kernel disables DMA,
drive mechanics with hyperactive recalibration activity, seems to try to read
the TOC on every media report cmd attempt and signals BUSY for more than 7 sec,
k3b hangs. On media removal k3b prints:

(K3bDevice::ScsiCommand) failed:
                           command:    READ (10) (28)
                           errorcode:  70
                           sense key:  NOT READY (2)
                           asc:        3a
                           ascq:       0
(K3bDevice::Device) /dev/hdc: READ 10 failed!
...~ 5 period...

The DVD-Writer Drive seems not to be affected, every drive on own IDE
channel here. 5 different media tried. IDE controller is VIA 8237.
Tried several firmwares on the affected drive.
Problem was not with < ver. 1.0 k3b.
hal + dbus not invoked (killed before second test).

Are MMC cmds used which are not implemented in older (> 2years) drives?
Comment 1 Francois Marier 2007-08-27 22:28:17 UTC
Sebastian,

This may not be a K3b problem after all, but I do remember that you fixed some DMA-related problems recently and so I thought it best to check with you.  Thmomas now says:

"just tested on laptop, does *not* affect > 2 years old hitachi dvd reader
drive:
Model=HITACHI DVD-ROM GD-S250, FwRev=0012 with debian stable kernel.

estimate max. affected dvd reader drives < 25% so far, i assume it is a
firmware bug in my toshiba dvd reader drive or kernel 2.6.22.x x86_64 bug."
Comment 2 markuss 2010-03-16 16:03:21 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.