Gaston, Jason D wrote:
Hello, I am seeing the follow messages in dmesg, when running in AHCI mode with a SATA ATAPI device connected, on an Intel Tolapai SoC. If I just use HD's, I don't see this problem. If I swith it to SATA IDE mode, everything seems to work fine. I also noticed that while in AHCI mode, that booting hangs out on Starting udev for several minutes. I don't see this in IDE mode. This was using the 2.6.25 kernel. Any ideas what may be going on or how to fix it? Please let me know what I can try and what other information will help. ata1.00: limiting speed to PIO4 ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout) ata1.00: status: { DRDY } ata1: soft resetting link ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) ata1.00: configured for PIO4 ata1: EH complete ata1.00: limiting speed to PIO3 ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout) ata1.00: status: { DRDY } ata1: soft resetting link ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) ata1.00: configured for PIO3 ata1: EH complete ata1.00: limiting speed to PIO0 ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 res 40/00:03:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
Hmm.. these look like media presence polling commands from haldaemon. I have no idea why it's failing on ahci tho. All polling failures I've seen till now was device dependent, not controller. You can disable media presence polling using hal-disable-polling /dev/sr0. If you disabling polling, does the device work correctly? ie. can you read and record using it?
-- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html