Re: [linux-usb-devel] Re: isp1161 HCD v0.8 hub problem

2001-10-04 Thread Roman Weissgaerber
Li Yi wrote: > > Sorry, Ben, > > The LR register store the instruction which will be executed later, so > it's memcpy cause the Oops. But you already check the hp->units_left, > so it should not be ATL buffer overflow. Have you changed something in the hc_add_trans function (e.g the len calcula

Re: [linux-usb-devel] Re: isp1161 HCD v0.8 hub problem

2001-10-04 Thread Li Yi
Sorry, Ben, The LR register store the instruction which will be executed later, so it's memcpy cause the Oops. But you already check the hp->units_left, so it should not be ATL buffer overflow. If I do not plug any devices into the hub, what I captured from usb bus is all NAK for the Interrupt PI

Re: [linux-usb-devel] Re: isp1161 HCD v0.8 hub problem

2001-10-03 Thread Li Yi
Hi, Ben, The Oops(LR= C00C4F38)is due to lwz r9,40(r31) the last two line in the hc_add_trans function: memcpy (ptd + 8, data, len); hp->tlp += ((len + 8 +3) & ~03); bl 2C290 is the address of memcpy function and  lwz r9,40(r31) is mapping to get hp->tlp value. I do not understand why here got th

Re: [linux-usb-devel] Re: isp1161 HCD v0.8 hub problem

2001-10-03 Thread Benjamin Herrenschmidt
> >I have problems with hub function of isp1161 V0.8, it Oops whenever I plug >in any USB devices like keyboard or mouse through a Belkin F5U100 Hub. But >if I plug the keyboard into the roothub OR if nothing on the hub, >everything is fine. Can you repeat it? Could you get some backtrace symbols

[linux-usb-devel] Re: isp1161 HCD v0.8 hub problem

2001-10-03 Thread Li Yi
Hi, Roman and Benjamin, I have problems with hub function of isp1161 V0.8, it Oops whenever I plug in any USB devices like keyboard or mouse through a Belkin F5U100 Hub. But if I plug the keyboard into the roothub OR if nothing on the hub, everything is fine. Can you repeat it? Li Yi usb.c: reg