On Fri, Mar 23, 2007 at 07:13:21PM +0000, Alan Cox wrote: > For reference this is what I am currently using with 2.6.21-rc4-mm1 and > it is working for all my test cases so far: Its basically Kyle's patch > with a libata switch to turn it on/off and some minor fixups from > the original patch as posted Fails for me on a Macbook Pro with: ata1: PATA max UDMA/133 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x000140b0 irq 14 ata2: PATA max UDMA/133 cmd 0x00010170 ctl 0x00010376 bmdma 0x000140b8 irq 15 scsi0: ata_piix ata1.00: ATAPI, max UDMA/66 ata1.00: configured for UDMA/66 scsi1 : ata_piix ATA: abornaml status 0x7f on port 0x00010177 scsi 0:0:0:0: CD-ROM MATSHITA DVD-R UJ-857D KCV9 PQ : 0 ANSI: 5 ata_piix 0000:00:1f.2: MAP [ P0 p" XX XX ] ata_piix 0000:00:1f.2: invalid MAP value 0 ata3: SATA max UDMA/133 cmd 0x000140c8 ctl 0x000140e6 bmdma 0x000140a0 irq 20 ata4: SATA max UDMA/133 cmd 0x000140c0 ctl 0x000140e2 bmdma 0x000140a8 irq 20 scsi2 : ata_piix ATA: abnormal status 0x7F on port 0x000140cf ATA: abnormal status 0x7F on port 0x000140cf ATA: abnormal status 0x7F on port 0x000140cf ata3.01: ata_hpa_resize 1: sectors = 234441648, hpa_sectors = 0 ata3.01: ATA-8: FUJITSU MHW2120BH, 00810013, max UDMA/100 ata3.01: 234441648 sectors, multi 16: LBA48 NCQ (depth 0/32) ata3.01: failed to set xfermode (err_mask=0x40) ata3: failed to recover some devices, retrying in 5 secs ATA: abnormal status 0x7F on port 0x000140cf ATA: abnormal status 0x7F on port 0x000140cf ATA: abnormal status 0x7F on port 0x000140cf ata3.01: ata_hpa_resize 1: sectors = 234441648, hpa_sectors = 0 ata3.01: failed to set xfermode (err_mask=0x40) ata3.01: limiting speed to UDMA/100:PIO3 ata3: failed to recover some devices, retrying in 5 secs ATA: abnormal status 0x7F on port 0x000140cf ATA: abnormal status 0x7F on port 0x000140cf ATA: abnormal status 0x7F on port 0x000140cf ata3.01: qc timeout (cmd 0x27) ata3.01: ata_hpa_resize 1: sectors = 234441648, hpa_sectors = 0 ata3.01: failed to set xfermode (err_mask=0x40) ata3.01: disabled scsi3: ata_piix ATA: abnormal status 0x7F on port 0x000140c7 and I end up with no root filesystem. Reverting the patch leaves things working. This is the ubuntu tree - I can try libata-dev if you think there's likely to be any relevant difference. -- Matthew Garrett | mjg59@xxxxxxxxxxxxx - 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