Re: [Bugme-new] [Bug 13304] New: ehci_hcd module causing problems in using usb head phone

2009-06-29 Thread Geoff Levand
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


___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


Re: [Bugme-new] [Bug 13304] New: ehci_hcd module causing problems in using usb head phone

2009-06-26 Thread Alan Stern
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 0x
 capability params 0x
 status  Async Periodic Recl Halt IAA FATAL FLR PCD ERR INT
 command  park=3 ithresh=63 LReset IAAD Async Periodic period=?? Reset 
 R
 intrenable  IAA FATAL FLR PCD ERR INT
 uframe 
 port 1 status  POWER OWNER sig=? RESET SUSPEND RESUME OCC OC PEC PE 
 CSC
 port 2 status  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 0x.  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

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


Re: [Bugme-new] [Bug 13304] New: ehci_hcd module causing problems in using usb head phone

2009-06-26 Thread Geoff Levand
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 0x
 capability params 0x
 status  Async Periodic Recl Halt IAA FATAL FLR PCD ERR INT
 command  park=3 ithresh=63 LReset IAAD Async Periodic period=?? 
 Reset R
 intrenable  IAA FATAL FLR PCD ERR INT
 uframe 
 port 1 status  POWER OWNER sig=? RESET SUSPEND RESUME OCC OC PEC PE 
 CSC
 port 2 status  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 0x.  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

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


Re: [Bugme-new] [Bug 13304] New: ehci_hcd module causing problems in using usb head phone

2009-06-26 Thread Alan Stern
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

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


Re: [Bugme-new] [Bug 13304] New: ehci_hcd module causing problems in using usb head phone

2009-06-26 Thread Geoff Levand
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

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


Re: [Bugme-new] [Bug 13304] New: ehci_hcd module causing problems in using usb head phone

2009-06-26 Thread Alan Stern
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

___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev