On Tuesday 11 November 2008, Tejun Heo wrote: > Andrey Borzenkov wrote: > > Every now and then I give pata_ali CD-ROM DMA a test. This time I got > > someting new - not only usual timeouts but also WARN_ON. There was a > > whole bunch of subsequent WARN_ON's, but they are likely to be just > > followup errors. > > > > Also, in the past ejecting media from drive would abort processing and > > all commands waiting for completion would return to prompt. Now they > > seem to hang forever. > > The next -rc should fix this. Thanks. > rc5 is the first release ever that correctly falls back to PIO from DMA on ATAPI connected to pata_ali. Wow! Thank you! [ 5882.999971] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen [ 5883.000023] ata2.00: cmd a0/01:00:00:00:08/00:00:00:00:00/a0 tag 0 dma 2048 in [ 5883.000027] cdb 28 00 00 00 00 1a 00 00 01 00 00 00 00 00 00 00 [ 5883.000032] res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout) [ 5883.000046] ata2.00: status: { DRDY } [ 5883.000162] ata2: soft resetting link [ 5883.160062] ata2.00: configured for UDMA/33 [ 5883.160391] ata2: EH complete [ 5913.999844] ata2.00: limiting speed to UDMA/25:PIO4 [ 5913.999885] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen [ 5913.999917] ata2.00: cmd a0/01:00:00:00:08/00:00:00:00:00/a0 tag 0 dma 2048 in [ 5913.999922] cdb 28 00 00 00 00 1a 00 00 01 00 00 00 00 00 00 00 [ 5913.999927] res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout) [ 5913.999941] ata2.00: status: { DRDY } [ 5914.000064] ata2: soft resetting link [ 5914.160239] ata2.00: configured for UDMA/25 [ 5914.160601] ata2: EH complete [ 5944.999646] ata2.00: limiting speed to PIO4 [ 5944.999682] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen [ 5944.999715] ata2.00: cmd a0/01:00:00:00:08/00:00:00:00:00/a0 tag 0 dma 2048 in [ 5944.999719] cdb 28 00 00 00 00 1a 00 00 01 00 00 00 00 00 00 00 [ 5944.999724] res 40/00:02:00:08:00/00:00:00:00:00/a0 Emask 0x4 (timeout) [ 5944.999738] ata2.00: status: { DRDY } [ 5944.999852] ata2: soft resetting link [ 5945.154330] ata2.00: configured for PIO4 [ 5945.154693] ata2: EH complete
Attachment:
signature.asc
Description: This is a digitally signed message part.