1 Dec 2008 04:41
OHCI bad entry problem
Hi, I have a custom board with an Altera FPGA running uClinux (2.6.27 kernel) on a Nios2 soft core processor, a ISP1564 USB controller and a Zydas based Wi-Fi USB stick. I'm trying to get the wi-fi stick working using the zd1211rw driver and the ohci driver. It works fine for a short while - I am usually able to do a iwlist scanning and sometimes it even manages to run a dhcp client to obtain an IP address, but then I get a bad entry error. After this e.g. iwlist scanning only returns "wlan0 Interface doesn't support scanning" or "wlan0 Failed to read scan data : Resource temporarily unavailable". I have also tried the vendor based driver and gotten the same results (although the first time I tried it, I seemed to get a lot further before the bad entry problem showed up). I added some debug statements to the ohci driver, and to me it seems to get an errounous TD from the host controller. I am hoping somebody can provide me with additional pointers on what goes wrong (and even better, how to fix it) based on the debug output and usbmon output found below. Thanks, - Endre ============================================== Debug output from ohci (Free and alloc statment are from td_free and td_alloc, good entry is in dl_reverse_done_list just below the if where bad entry is printed (added a timestamp to both to find the relevant entries in usbmon). ============================================== ohci_hcd 0000:00:02.0: 852167452: good entry be67080 (8be67080) ohci_hcd 0000:00:02.0: 852167452: good entry be67440 (8be67440)(Continue reading)
RSS Feed