LBA48 and ALI15X3 rev 0xC1

From: Michael Heyse
Date: Mon Dec 08 2003 - 19:24:19 EST


As I understand from skimming through last year's kernel archive,

"ALi IDE controllers up to revision C4h don't support LBA48 in DMA mode,
later revisions can do both PIO and DMA with LBA48 addressing."

Now I'm running 2.6.0-test10-mm1 (and have also tried 2.6.0-test11) on an Asus P5A-B board (ALI15X3 revision 0xC1), so I can't use LBA48 and DMA, the driver truncates the size of any bigger disk to 137 GB. So far, so good. But shouldn't I be able to access the entire disk in PIO mode? Even if I compile the kernel without CONFIG_IDEDMA_PCI_AUTO, dmesg tells me

hdc: SAMSUNG SP1604N, ATA DISK drive
hdc: max request size: 128KiB
hdc: cannot use LBA48 - full capacity 312581808 sectors (160041 MB)
hdc: 268435456 sectors (137438 MB) w/2048KiB Cache, CHS=16709/255/63

Am I missing something or is LBA48 completely disabled for revisions <= 0xC4?

(PS: when booting with a gentoo boot-cd (kernel 2.4.21-gss), I was able to access the whole disk, although I couldn't try if access was totally error-free.)

Thanks,

Michael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/