Re: Pegasos2 hangs during usb_discover()

Michael <[email protected]> Wed, 15 Dec 2010 17:39:19 -0500
Newsgroups gmane.os.netbsd.ports.powerpc,gmane.os.netbsd.ports.ofppc
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Dec 15, 2010, at 5:25 PM, Frank Wille wrote:

> Some more information on this problem. Maybe somebody has an idea:
>
> The Pegasos enters an infinite loop in usb_allocmem() due to a  
> corrupted
> usb_frag_freelist entry, which was just allocated in the previous  
> call.
>
> Probably caused by a USB DMA transfer, the block, offs and next  
> fields of
> the head usb_frag_dma node are trashed. This is an uhci controller.
>
> Is it possible to do USB transfers without DMA for testing? I see  
> not many
> possibilities to debug it further.
>
> USB worked some months ago. No other PPC port seems to be affected.  
> Are
> other ofppc (non-Pegasos) machines affected? Any information is  
> welcome.

This may be because all PowerMacs with onboard USB use OHCIs. Most USB  
cards sold these days seem to be OHCIs as well, in fact I have only  
one UHCI card which did have some trouble with sparc64.
So, any chance to see if you have the same problem with an ohci card?

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBTQlDl8pnzkX8Yg2nAQIdOAgAmPfW+FS/BVHoasm5dkhIS/rrIcBCMMj1
4rN8RrBItDBDZHJItRJOXdVXGvYO5k9HUDaGjFlbyRNLDQccbDU1Mmba/LWqs5Rp
K1A1OKaUfkDPhcSBqkhPjtf5j7blwWn1c2J0Bv6ZYehp2biu1GRlT2PIjobxcneB
J6ijB3IooEaw6Ap0lgKFWBMltD7KvEZWhkDbBtEpIfYULiuE8KCleyVwf2kZQMQy
7WDfbrEYLrG8Nieonj5ZGkfL+vm44DRvt1kY3dXKWmxPo9EWQLy644Zx57tzXzse
P5XMYGwUzNTy9Ad61Covpfi0Y2lfBgPkzUKQlo8S1RiryHtlBXOXRQ==
=+lRP
-----END PGP SIGNATURE-----