Bug 7547
Summary: | (ata pktcddvd) libata reports error when ejecting CDs, lowers drive speed | ||
---|---|---|---|
Product: | IO/Storage | Reporter: | Vasilis Vasaitis (v.vasaitis) |
Component: | Serial ATA | Assignee: | Jeff Garzik (jgarzik) |
Status: | CLOSED OBSOLETE | ||
Severity: | normal | CC: | alan, axboe, bunk, protasnb |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.19-rc6 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
dmesg output that exhibits this problem
dmesg output of the problem, 2.6.22-rc7 |
Description
Vasilis Vasaitis
2006-11-18 07:12:56 UTC
Created attachment 9558 [details]
dmesg output that exhibits this problem
Is this issue still present with kernel 2.6.20? It's definitely still present with 2.6.20-rc3 that I'm using right now. But I can try out the final version too one of those days and get back on you on that. Indeed, it's still there even in the final version of 2.6.20. OK, same with bug #7805, this problem is actually triggered by the packet writing stuff (CONFIG_CDROM_PKTCDVD), i.e. only after my init scripts have run: pktsetup 0 /dev/scd0 which produces the following output on dmesg: pktcdvd: writer pktcdvd0 mapped to sr0 I've since disabled that, and everything is fine. So as with the other bug, I guess you can either reassign it to a more suitable person / subsystem, or even close it altogether, dunno. Pinging PKTCDVD maintainer. Also, can you please report the failing log with 2.6.22-rc6? Created attachment 11938 [details]
dmesg output of the problem, 2.6.22-rc7
Attaching a dmesg that demonstrates this with 2.6.22-rc7. The problem persists, but the error handling has changed. I.e. the kernel lowers the speed eventually to UDMA/25:PIO4, but then does not lower it any further (previous versions would go all the way to PIO0). I guess this is a good thing. :^)
Thanks for spending time on this Tejun.
Yeah, the speed down behavior has changed recently as going down to PIO buys nothing on SATA devices. It seems something is issuing START_STOP to the drive repeatedly and the drive just doesn't like it. I'll ask the PKTCDVD maintainer and cc Jens. Any updates on this bug please, has it been resolved? Thanks. |