Re: USB 2.0 ehci failure with large amount of RAM (4GB) on x86_64

From: David Brownell
Date: Thu May 04 2006 - 22:22:32 EST


> On Wed, May 03, 2006 at 09:52:11PM -0700, Nathan Becker wrote:
> > Hi,
> >
> > I recently added two more memory modules to my Gigabyte K8NXP-SLI
> > motherboard, bringing the total up to 4GB. I had 2GB previously and
> > things were running well with kernel 2.6.16.9 x86_64. The CPU is an
> > AMD 4800+ X2.
> >
> > After the upgrade, USB 2.0 stopped working...

There's an erratum in NF4 parts affecting certain EHCI accesses to
memory addresses over the 2GB mark, and you might be seeing this.

Presumably you're running with the GART IOMMU? If not, then turn
that on. Maybe even turn on IOMMU_DEBUG.

Another experiment might be taking the PCI_VENDOR_ID_NVIDIA case
in drivers/usb/host/ehci-pci.c and adding a call to dma_set_mask()
in addition to the existing call.

- Dave

-
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/