Skip to contentSkip to conversation

New: ehci_hcd module causing problems in using usb head phone

Bugme-new Alan Stern 2 participants 6 messages Jun 26, 2009 – Jun 29, 2009 1 message not in the archive

lore
Share & tools
lore

Alan Stern

author
#1 lore raw
In reply to a message not in the archive
Quoted 2 lines · abhishekkumar

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?

Quoted 1 line

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

Here's what your "registers" file says:

Quoted 5 lines

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

Quoted 8 lines

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.

Quoted 7 lines

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

#2 lore raw

Hi,

Quoted 20 lines · Alan Stern
Quoted 14 lines · abhishekkumar

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.

Quoted 8 lines

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

author
#3 lore raw
Quoted 8 lines · Geoff Levand

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.

Quoted 7 lines

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

#4 lore raw
Quoted 15 lines · Alan Stern
Quoted 8 lines · Geoff Levand

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.

Quoted 2 lines

More info is here:

Quoted 7 lines
Quoted 5 lines

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

author
#5 lore raw
Quoted 5 lines · Geoff Levand
Quoted 1 line

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

#6 lore raw
Quoted 10 lines · Alan Stern
Quoted 5 lines · Geoff Levand
Quoted 1 line

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