linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: [Bugme-new] [Bug 13304] New: ehci_hcd module causing problems in using usb head phone
       [not found] <4A44CB89.8040802@tataelxsi.co.in>
@ 2009-06-26 15:54 ` Alan Stern
  2009-06-26 17:14   ` Geoff Levand
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Stern @ 2009-06-26 15:54 UTC (permalink / raw)
  To: abhishekkumar; +Cc: linuxppc-dev, USB list, bugme-daemon

On Fri, 26 Jun 2009, abhishekkumar wrote:

> PFA I am attaching dmesg file taken from /var/log/ and also the lines 
> which I got from dmesg command in different file named dmesgafter.txt.

I still don't see any lines about the headphone device in the log.  
Was the headphone plugged in during boot, or did you plug it in later?

> Then , periodic and registers files and also the usbmon log.

Here's what your "registers" file says:

> bus ps3_system_bus, device sb_05 (driver 10 Dec 2004)
> PS3 EHCI Host Controller
> EHCI ff.ff, hcd state 1
> structural params 0xffffffff
> capability params 0xffffffff
> status ffffffff Async Periodic Recl Halt IAA FATAL FLR PCD ERR INT
> command ffffffff park=3 ithresh=63 LReset IAAD Async Periodic period=?? Reset R
> intrenable ffffffff IAA FATAL FLR PCD ERR INT
> uframe ffffffff
> port 1 status ffffffff POWER OWNER sig=? RESET SUSPEND RESUME OCC OC PEC PE CSC
> port 2 status ffffffff POWER OWNER sig=? RESET SUSPEND RESUME OCC OC PEC PE CSC
> irq normal 30832 err 30 reclaim 84 (lost 1)
> complete 31221 unlink 10

This is very bad.  It indicates that the CPU was unable to communicate
with the EHCI controller at all!  All the memory-mapped I/O reads
returned 0xffffffff.  No wonder the keyboard and mouse stopped working.

I have no idea what could have caused this to happen.  Even if the 
controller had suffered a fatal error, you wouldn't see this.  It looks 
like the bus's connection to the controller was turned off.

I'm CC-ing the PS3 maintainer and mailing list.  Maybe people there can 
help.

> I am even not able to kill the application because it's not showing when 
> I use top command.
> 
> I addition to that I get some messages during boot up . they are
> Unable to  accept address for port 1 (error -62)
> usb cable may be bad
> Unable to  accept address for port 2 (error -62)

Those are normal.  They occur because your system loads ohci-hcd before 
ehci-hcd.  It should load ehci-hcd first.

Alan Stern

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bugme-new] [Bug 13304] New: ehci_hcd module causing problems in using usb head phone
  2009-06-26 15:54 ` [Bugme-new] [Bug 13304] New: ehci_hcd module causing problems in using usb head phone Alan Stern
@ 2009-06-26 17:14   ` Geoff Levand
  2009-06-26 20:42     ` Alan Stern
  0 siblings, 1 reply; 6+ messages in thread
From: Geoff Levand @ 2009-06-26 17:14 UTC (permalink / raw)
  To: Alan Stern; +Cc: linuxppc-dev, USB list, abhishekkumar, bugme-daemon

Hi,

On 06/26/2009 08:54 AM, Alan Stern wrote:
> On Fri, 26 Jun 2009, abhishekkumar wrote:
>>
>> bus ps3_system_bus, device sb_05 (driver 10 Dec 2004)
>> PS3 EHCI Host Controller
>> EHCI ff.ff, hcd state 1
>> structural params 0xffffffff
>> capability params 0xffffffff
>> status ffffffff Async Periodic Recl Halt IAA FATAL FLR PCD ERR INT
>> command ffffffff park=3 ithresh=63 LReset IAAD Async Periodic period=?? Reset R
>> intrenable ffffffff IAA FATAL FLR PCD ERR INT
>> uframe ffffffff
>> port 1 status ffffffff POWER OWNER sig=? RESET SUSPEND RESUME OCC OC PEC PE CSC
>> port 2 status ffffffff POWER OWNER sig=? RESET SUSPEND RESUME OCC OC PEC PE CSC
>> irq normal 30832 err 30 reclaim 84 (lost 1)
>> complete 31221 unlink 10
> 
> This is very bad.  It indicates that the CPU was unable to communicate
> with the EHCI controller at all!  All the memory-mapped I/O reads
> returned 0xffffffff.  No wonder the keyboard and mouse stopped working.
> 
> I have no idea what could have caused this to happen.  Even if the 
> controller had suffered a fatal error, you wouldn't see this.  It looks 
> like the bus's connection to the controller was turned off.
> 
> I'm CC-ing the PS3 maintainer and mailing list.  Maybe people there can 
> help.
> 
> Alan Stern


There is a known but yet unfixed bug for the PS3's EHCI Async Periodic
(typically audio recording) device handling.  There are a few related
hardware errata that I have not yet implemented driver fixes for that
I think are causing it.  

I guess it is the same problem as reported by Abhishek since Andrew's
dmesg (http://www.osl.iu.edu/~afriedle/dmesg.txt) shows similar 
results.

More info is here:

  http://ozlabs.org/pipermail/cbe-oss-dev/2009-February/006365.html

I have bought a ART Tube USB device but have not had time to fix
this bug.  It is on my todo list.  Please feel free to make an
attempt.

Alan, thanks for your effort on this so far, sorry you didn't know
about the previous report.

-Geoff

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bugme-new] [Bug 13304] New: ehci_hcd module causing problems in using usb head phone
  2009-06-26 17:14   ` Geoff Levand
@ 2009-06-26 20:42     ` Alan Stern
  2009-06-26 22:05       ` Geoff Levand
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Stern @ 2009-06-26 20:42 UTC (permalink / raw)
  To: Geoff Levand; +Cc: linuxppc-dev, USB list, abhishekkumar, bugme-daemon

On Fri, 26 Jun 2009, Geoff Levand wrote:

> There is a known but yet unfixed bug for the PS3's EHCI Async Periodic
> (typically audio recording) device handling.  There are a few related
> hardware errata that I have not yet implemented driver fixes for that
> I think are causing it.  
> 
> I guess it is the same problem as reported by Abhishek since Andrew's
> dmesg (http://www.osl.iu.edu/~afriedle/dmesg.txt) shows similar 
> results.

Yes, it definitely looks the same.

> More info is here:
> 
>   http://ozlabs.org/pipermail/cbe-oss-dev/2009-February/006365.html
> 
> I have bought a ART Tube USB device but have not had time to fix
> this bug.  It is on my todo list.  Please feel free to make an
> attempt.

Where is the information about the hardware errata you mentioned?

Alan Stern

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bugme-new] [Bug 13304] New: ehci_hcd module causing problems in using usb head phone
  2009-06-26 20:42     ` Alan Stern
@ 2009-06-26 22:05       ` Geoff Levand
  2009-06-27  1:33         ` Alan Stern
  0 siblings, 1 reply; 6+ messages in thread
From: Geoff Levand @ 2009-06-26 22:05 UTC (permalink / raw)
  To: Alan Stern; +Cc: linuxppc-dev, USB list, abhishekkumar, bugme-daemon

On 06/26/2009 01:42 PM, Alan Stern wrote:
> On Fri, 26 Jun 2009, Geoff Levand wrote:
> 
>> There is a known but yet unfixed bug for the PS3's EHCI Async Periodic
>> (typically audio recording) device handling.  There are a few related
>> hardware errata that I have not yet implemented driver fixes for that
>> I think are causing it.  
>> 
>> I guess it is the same problem as reported by Abhishek since Andrew's
>> dmesg (http://www.osl.iu.edu/~afriedle/dmesg.txt) shows similar 
>> results.
> 
> Yes, it definitely looks the same.
> 
>> More info is here:
>> 
>>   http://ozlabs.org/pipermail/cbe-oss-dev/2009-February/006365.html
>> 
>> I have bought a ART Tube USB device but have not had time to fix
>> this bug.  It is on my todo list.  Please feel free to make an
>> attempt.
> 
> Where is the information about the hardware errata you mentioned?

Sorry, I should have mentioned it.  Unfortunately, that info is not
in the public as far as I know.  I think only someone with access
to those will be able to work on this fix.

-Geoff

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bugme-new] [Bug 13304] New: ehci_hcd module causing problems in using usb head phone
  2009-06-26 22:05       ` Geoff Levand
@ 2009-06-27  1:33         ` Alan Stern
  2009-06-29 16:07           ` Geoff Levand
  0 siblings, 1 reply; 6+ messages in thread
From: Alan Stern @ 2009-06-27  1:33 UTC (permalink / raw)
  To: Geoff Levand; +Cc: linuxppc-dev, USB list, abhishekkumar, bugme-daemon

On Fri, 26 Jun 2009, Geoff Levand wrote:

> > Where is the information about the hardware errata you mentioned?
> 
> Sorry, I should have mentioned it.  Unfortunately, that info is not
> in the public as far as I know.  I think only someone with access
> to those will be able to work on this fix.

Okay, then I guess there's nothing more I can do regarding Bug #13304.  
Can you take it over?

Alan Stern

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Bugme-new] [Bug 13304] New: ehci_hcd module causing problems in using usb head phone
  2009-06-27  1:33         ` Alan Stern
@ 2009-06-29 16:07           ` Geoff Levand
  0 siblings, 0 replies; 6+ messages in thread
From: Geoff Levand @ 2009-06-29 16:07 UTC (permalink / raw)
  To: Alan Stern; +Cc: linuxppc-dev, USB list, abhishekkumar, bugme-daemon

On 06/26/2009 06:33 PM, Alan Stern wrote:
> On Fri, 26 Jun 2009, Geoff Levand wrote:
> 
>> > Where is the information about the hardware errata you mentioned?
>> 
>> Sorry, I should have mentioned it.  Unfortunately, that info is not
>> in the public as far as I know.  I think only someone with access
>> to those will be able to work on this fix.
> 
> Okay, then I guess there's nothing more I can do regarding Bug #13304.  
> Can you take it over?

Yes, as I mentioned, it is on my to-do list.  I'll bump up the priority
now that there are two users reporting the problem.

-Geoff

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-06-29 16:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <4A44CB89.8040802@tataelxsi.co.in>
2009-06-26 15:54 ` [Bugme-new] [Bug 13304] New: ehci_hcd module causing problems in using usb head phone Alan Stern
2009-06-26 17:14   ` Geoff Levand
2009-06-26 20:42     ` Alan Stern
2009-06-26 22:05       ` Geoff Levand
2009-06-27  1:33         ` Alan Stern
2009-06-29 16:07           ` Geoff Levand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).