Hello
With a 2.4.21-rmk-pxa kernel I've got problems with PCI / CardBus, which
I want to investigate on the USB example.
Setup: PXA255 + IT8152 (PCI) + PCI4520 (CardBus) + CardBus USB2.0 card.
Symptom:
kernel BUG at host/usb-ohci.h:466!
which is
/* Recover a TD/ED using its collision chain */
static inline void *
dma_to_ed_td (struct hash_list_t * entry, dma_addr_t dma)
{
struct hash_t * scan = entry->head;
while (scan && scan->dma != dma)
scan = scan->next;
if (!scan)
BUG();
return scan->virt;
}
Hence the main question - what could this BUG mean?
Details: Mostly PCI works. E.g. with the IT8152 internal OHCI USB
bluetooth and mass-storage work. With the USB CardBus card I can connect a
USB keyboard - works. I can connect a bluetooth module and do
hciconfig hci0 up
hcitool scan
these 2 work too. But, when I do, e.g., l2ping, I get the error above.
With the internal USB it works too. iomem, ioports, lspci -vxxx look fine,
as far as I can see (available on request).
Assumption: USB OHCI always (for all endpoints?) uses DMA / PCI
bus-mastering, so, the keyboard / hcitool scan would also use it, so, in
principle it works. Is this right? If so, looks like it works sometimes
and doesn't work on other occasions. Can it be related to cache
coherency / writeback / through? I tried with nowb - same. Are there any
know issues with 2.4.21 ohci, that could cause this kind of behaviour?
PCMCIA 16bit work too, although, I presume, they don't use DMA? Actually,
also not all 16-bit cards, that I tested work.
I also have stability problems with a Xircom CardBus ethernet card. Both
these cards work fine in a Linux (2.6.5) laptop.
Any hints would be highly appreciated.
Thanks
Guennadi
---------------------------------
Guennadi Liakhovetski, Ph.D.
DSA Daten- und Systemtechnik GmbH
Pascalstr. 28
D-52076 Aachen
Germany
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel