David,
Here is some more info in no particular order.
- Roman's driver has never worked with the Lucent chips.
- Greg Smith's driver did work fine.
- Looking at the USB with a CATC bus analyzer, here is what
happens when the hub is plugged.
Reset
Suspend 594.026 ms
Reset 10.613 ms
SOF
SOF
.
.
.
There is never a Setup packet on the bus so it dies very
early.
I will ask the Lucent applications engineers what may be causing
the UnrecoverableError interrupt bit to set on their chip.
Bob
David Brownell wrote:
>
> I knew it wouldn't just be NEC chips seeing UE failures with
> this particular OHCI driver!
>
> For reference, here's what the OHCI spec says about UE:
>
> The Host Controller sets the UnrecoverableError bit
> when it detects a system error not related to USB or
> an error that cannot be reported in any other way.
>
> HC should not proceed with any processing nor signaling
> before the system error has been corrected. HCD clears
> this bit after HC has been reset.
>
> There's also a comment about "if the controller checks offsets"
> it'll report UE in some cases ... which gives another hint in
> the direction of some TD queue problems causing this.
>
> Resetting (once) could be a good experiment to try, but I'd not
> expect much ... after all, the controller _was_ just reset.
>
> Anyone with hints to share on what might cause such a UE, please
> do so ... they've evidently been happening for a long time.
>
> - Dave
>
> Bob Cutler wrote:
> >
> > Randy,
> >
> > That patch did nothing to fix the system hangs I see with the
> > Lucent OHCI controllers. However, I just tried the pre3-6 patch
> > and the most resent OHCI driver changes do address this problem.
> > Instead of a hang, I now get the following when plugging a TI
> > 7 port hub into a Lucent USS-312 eval card:
> >
> > hub.c: port 1 connection change
> > hub.c: portstatus 101, change 1, High Speed
> > hub.c: portstatus 103, change 10, High Speed
> > usb.c: USB new device connect, assigned device number 2
> > usb-ohci.c: OHCI Unrecoverable Error, controller disabled
> > usb_control/bulk_msg: timeout
> > usb-ohci.c: unlink URB timeout!
> > usb.c: USB device not responding, giving up (error=-108)
> > hub.c: hub: disabling port 1
> >
> > This is a definate improvement! Now to find out how to recover
> > from the "OHCI Unrecoverable Error".
> >
> > Also, do you know why the Linux USB mail archive page has not
> > received any new posts in the last day and a half?
> >
> > Thanks,
> > Bob
> >
> > "Dunlap, Randy" wrote:
> > >
> > > Hi,
> > >
> > > Alan's OHCI disable_irq/enable_irq patch was rejected
> > > by Linus. My understanding is that power management code
> > > will be modified to do a "disable all interrupts at the
> > > interrupt controller" on suspend and then "enable all
> > > interrupts on the int. controller (that were previously enabled)"
> > > on resume.
> > >
> > > ~Randy
> > >
> > > -----Original Message-----
> > > From: Bob Cutler [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, March 20, 2000 3:08 PM
> > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> > > Subject: [linux-usb] OHCI crash
> > >
> > > > This was with pre3-2 applied to linux-2.3.99-pre2. It also
> > > > includes the patch from Alan Cox.
> > >
> > > Bob
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]