Re: [linux-usb-devel] Re: USB 2.0 ehci failure with large amount of RAM (4GB) on x86_64

2006-05-16 Thread Nathan Becker

Thanks for the patch.  However, did you not get my very last message?
Checking back through my mail logs, I think it might not have been
delivered.

After claiming that the dma mask fixed the problem, I quickly
discovered that the dma was not what did it.  Thus the patch you sent
does not work.

But, here is what does: If I rmmod ehci_hcd and then modprobe
ehci_hcd, it works, and I get full USB 2.0 speed.  There must be
something happening in the clean-up code of the the ehci_hcd  that
fixes whatever conflict I'm having.  When I originally made that patch
and then reloaded the ehci_hcd module to test it, I mistakenly thought
that it was the patch that was fixing the problem.  I should have
tested more thoroughly before sending the e-mail, but I got very
excited.  Sorry about that.  After several days of using the
rmmod/modprobe workaround, I do feel confident that it is a legitimate
fix.


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642
___
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


[linux-usb-devel] Re: USB 2.0 ehci failure with large amount of RAM (4GB) on x86_64

2006-05-09 Thread Nathan Becker

Like I said in my previous message, I am not a kernel developer.  I am
a programmer though, so I thought I'd give your suggestions a try.

I added 1 line to drivers/usb/host/ehci-pci.c which sets the DMA mask,
and now it seems to work with ehci loaded and with 4 GB of RAM.
Unfortunately, I don't really understand what I did.  Perhaps you have
a better idea what this is doing and if it is correct.

case PCI_VENDOR_ID_NVIDIA:
/* NVidia reports that certain chips don't handle
 * QH, ITD, or SITD addresses above 2GB.  (But TD,
 * data buffer, and periodic schedule are normal.)
 */

dma_set_mask(hcd-self.controller, DMA_31BIT_MASK); /* I added 
this line */

switch (pdev-device) {
case 0x003c:/* MCP04 */
case 0x005b:/* CK804 */
case 0x00d8:/* CK8 */
case 0x00e8:/* CK8S */
if (pci_set_consistent_dma_mask(pdev,
DMA_31BIT_MASK)  0)
ehci_warn(ehci, can't enable NVidia 
workaround for 2GB RAM\n);
break;
}
break;
}


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642
___
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


[linux-usb-devel] Re: USB 2.0 ehci failure with large amount of RAM (4GB) on x86_64

2006-05-06 Thread Nathan Becker
Thanks for all suggestions.  I tried passing mem=2048m to the kernel. 
This is with 2.6.16.13.  This did fix the USB ehci problem.  Of course

the kernel only sees half of my RAM, so this is not a satisfactory
long-term workaround.

As for your other suggestions, I'm not sure how to implement those. 
I'm not a kernel developer.  If you can give me more specific
instructions or send me a patch I would be happy to try those out. 
Otherwise, if you feel that this is unrelated to the other entries in

bugzilla with similar symptoms, I would be happy to submit a bug
report.


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642
___
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


[linux-usb-devel] Re: USB 2.0 ehci failure with large amount of RAM (4GB) on x86_64

2006-05-04 Thread Nathan Becker

I tried 2.6.17-rc3 and the problem persists.  I don't see any messages
about EHCI BIOS handoffs.


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642
___
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel


[linux-usb-devel] Re: USB 2.0 ehci failure with large amount of RAM (4GB) on x86_64

2006-05-04 Thread Nathan Becker

Yes, GART_IOMMU is already turned on.  Do you want me to send more
detailed debugging messages?


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



---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642
___
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel