Re: PATCH: IDE - sensible probing for PCI systems

From: Maciej W. Rozycki
Date: Tue Jun 21 2005 - 08:51:47 EST

On Tue, 21 Jun 2005, Alan Cox wrote:

> Old ISA/VESA systems sometimes put tertiary IDE controllers at addresses
> 0x1e8, 0x168, 0x1e0 or 0x160. Linux thus probes these addresses on x86
> systems. Unfortunately some PCI systems now use these addresses for
> other purposes which leads to users seeing minute plus hangs during boot
> or even crashes.

Are these addresses visible in BARs?

> The following patch (again has been in Fedora for a while) only probes
> the obscure legacy ISA ports on machinea that are pre-PCI. This seems to
> keep everyone happy and if there is someone with that utterly weird
> corner case the ide= command line still provides a get out of jail card.
> Unsurprisingly we've not found anyone so affected.

FYI, for MIPS for machines with a PCI bus we only probe for ISA IDE ports
on if there's a PCI-ISA or PCI-EISA bridge somewhere there. This might be
a good idea for the i386 and probably any platform using PCI as well.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at