multiple apps hang on dvd read
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-source-2.6.20 (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned | ||
linux-source-2.6.22 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: k9copy
When starting k9copy with a DVD inserted the program hangs for an incredibly long time while trying to read the disc. Afterward the program will also take an incredibly long time to analyze the disc. If the program is started without a DVD inserted it starts fine. If I then insert the disc it will open (analyze) the contents perfectly but will then hang while trying to copy.
It seems to be that all operations perform as they should if I can beat the hald daemon to the device, but this could be a red herring. Once the program hangs it cannot be killed with either SIGTERM or SIGKILL.
Here is what dmesg reports while the operation is in progress:
[ 129.243351] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
[ 129.243364] ata2.00: cmd a0/01:00:
ata 8 in
[ 129.243368] res 40/00:03:
ut)
[ 136.227006] ata2: port is slow to respond, please be patient (Status 0xd0)
[ 159.176100] ata2: port failed to respond (30 secs, Status 0xd0)
[ 159.176108] ata2: soft resetting port
[ 161.134580] ata2.00: configured for UDMA/66
[ 191.047242] ata2.01: qc timeout (cmd 0xef)
[ 191.047251] ata2.01: failed to set xfermode (err_mask=0x4)
[ 191.047258] ata2: failed to recover some devices, retrying in 5 secs
[ 196.036705] ata2: soft resetting port
[ 196.854482] ata2.00: configured for UDMA/66
[ 197.018008] ata2.01: configured for UDMA/33
[ 197.018030] ata2: EH complete
[ 261.793084] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
[ 261.793096] ata2.00: cmd a0/01:00:
ata 8 in
[ 261.793100] res 40/00:03:
ut)
[ 268.776743] ata2: port is slow to respond, please be patient (Status 0xd0)
[ 291.725833] ata2: port failed to respond (30 secs, Status 0xd0)
[ 291.725842] ata2: soft resetting port
[ 292.543658] ata2.00: configured for UDMA/66
[ 292.707165] ata2.01: configured for UDMA/33
[ 292.707191] ata2: EH complete
[ 352.624394] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
[ 352.624407] ata2.00: cmd a0/01:00:
ata 8 in
[ 352.624409] res 40/00:03:
ut)
[ 359.608046] ata2: port is slow to respond, please be patient (Status 0xd0)
[ 382.557135] ata2: port failed to respond (30 secs, Status 0xd0)
[ 382.557144] ata2: soft resetting port
[ 383.374941] ata2.00: configured for UDMA/66
[ 413.287602] ata2.01: qc timeout (cmd 0xef)
[ 413.287612] ata2.01: failed to set xfermode (err_mask=0x4)
[ 413.287619] ata2: failed to recover some devices, retrying in 5 secs
[ 418.277064] ata2: soft resetting port
[ 419.094891] ata2.00: configured for UDMA/66
[ 449.007506] ata2.01: qc timeout (cmd 0xef)
[ 449.007516] ata2.01: failed to set xfermode (err_mask=0x4)
[ 449.007524] ata2.01: limiting speed to UDMA/33:PIO3
[ 449.007527] ata2: failed to recover some devices, retrying in 5 secs
[ 453.996972] ata2: soft resetting port
[ 454.814752] ata2.00: configured for UDMA/66
[ 484.727413] ata2.01: qc timeout (cmd 0xef)
[ 484.727423] ata2.01: failed to set xfermode (err_mask=0x4)
[ 484.727430] ata2.01: disabled
[ 484.727434] ata2: failed to recover some devices, retrying in 5 secs
[ 489.716875] ata2.00: failed to set xfermode (err_mask=0x40)
[ 489.716883] ata2: failed to recover some devices, retrying in 5 secs
[ 494.706337] ata2: soft resetting port
[ 495.360603] ata2.00: configured for UDMA/66
[ 495.360636] ata2: EH complete
[ 555.329677] ata2.00: limiting speed to UDMA/44:PIO4
[ 555.329685] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
[ 555.329694] ata2.00: cmd a0/01:00:
ata 8 in
[ 555.329699] res 40/00:03:
ut)
[ 562.313330] ata2: port is slow to respond, please be patient (Status 0xd0)
[ 585.262419] ata2: port failed to respond (30 secs, Status 0xd0)
[ 585.262428] ata2: soft resetting port
[ 585.916699] ata2.00: configured for UDMA/44
[ 585.916721] ata2: EH complete
[ 645.829943] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
[ 645.829955] ata2.00: cmd a0/01:00:
ata 8 in
[ 645.829957] res 40/00:03:
ut)
[ 652.813595] ata2: port is slow to respond, please be patient (Status 0xd0)
[ 675.762689] ata2: port failed to respond (30 secs, Status 0xd0)
[ 675.762698] ata2: soft resetting port
[ 676.416964] ata2.00: configured for UDMA/44
[ 676.416992] ata2: EH complete
[ 736.326220] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
[ 736.326232] ata2.00: cmd a0/01:00:
ata 8 in
[ 736.326236] res 40/00:03:
ut)
[ 743.309875] ata2: port is slow to respond, please be patient (Status 0xd0)
[ 766.258969] ata2: port failed to respond (30 secs, Status 0xd0)
[ 766.258978] ata2: soft resetting port
[ 766.909257] ata2.00: configured for UDMA/44
[ 766.909285] ata2: EH complete
[ 826.854404] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
[ 826.854416] ata2.00: cmd a0/01:00:
[ 826.854421] res 40/00:03:
[ 833.834084] ata2: port is slow to respond, please be patient (Status 0xd0)
[ 856.783169] ata2: port failed to respond (30 secs, Status 0xd0)
[ 856.783179] ata2: soft resetting port
[ 857.433455] ata2.00: configured for UDMA/44
[ 857.433476] ata2: EH complete
[ 921.929343] ata2.00: limiting speed to UDMA/33:PIO4
[ 921.929350] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
[ 921.929362] ata2.00: cmd a0/01:00:
[ 921.929364] res 40/00:03:
[ 928.909009] ata2: port is slow to respond, please be patient (Status 0xd0)
[ 951.870067] ata2: port failed to respond (30 secs, Status 0xd0)
[ 951.870075] ata2: soft resetting port
[ 953.848489] ata2.00: configured for UDMA/33
[ 953.848515] ata2: EH complete
Here is a snippet of where strace hangs *full trace is available but has been omitted for brevity ;)
open("/dev/scd0", O_RDWR|O_NONBLOCK) = 11
ioctl(11, SG_IO, 0x81db228) = 0
uname({sys="Linux", node="eve", ...}) = 0
ioctl(11, SG_IO, 0x81db228) = 0
uname({sys="Linux", node="eve", ...}) = 0
ioctl(11, SG_IO, 0x81db228) = 0
uname({sys="Linux", node="eve", ...}) = 0
ioctl(11, SG_IO, 0x81db228) = 0
uname({sys="Linux", node="eve", ...}) = 0
ioctl(11, SG_IO, 0x81db228) = 0
uname({sys="Linux", node="eve", ...}) = 0
ioctl(11, SG_IO, 0x81db228) = 0
uname({sys="Linux", node="eve", ...}) = 0
ioctl(11, SG_IO, 0x81db228) = 0
uname({sys="Linux", node="eve", ...}) = 0
close(11) = 0
open("/dev/scd0", O_RDONLY|
ioctl(11, SG_IO, 0x81db228) = 0
ioctl(11, SG_IO, 0x81db228) = 0
uname({sys="Linux", node="eve", ...}) = 0
ioctl(11, SG_IO, 0x81db698) = 0
uname({sys="Linux", node="eve", ...}) = 0
ioctl(11, SG_IO, 0x81db698) = 0
ioctl(11, SG_IO, 0x81db698) = 0
uname({sys="Linux", node="eve", ...}) = 0
ioctl(11, SG_IO, 0x81db698) = 0
ioctl(11, SG_IO
Changed in linux-source-2.6.20: | |
assignee: | brian-murray → ubuntu-kernel-team |
importance: | Undecided → Medium |
status: | Needs Info → Confirmed |
Also note, this is reported as a k9copy error as kaffiene does not seem to have a problem with DVD's.