On Thu, 22 Nov 2012, Piergiorgio Sartor wrote: > OK, I got a log with working and then non working system, > so there should be a transition, > Problem is, the file is 1.2MB, bizp2 reduces it to 200K. > How do I pass it to you? You could post it on a web site, or put it on pastebin.com. Or you could attach it to a bug report on bugzilla.kernel.org. > Furthermore, this time it was quite hard to get the error. > The system was working several minutes before it happened. > > I noticed, maybe unrelated, that when working, the CPU > clock was at max (2.6GHz), just before stopping to work, > the CPU clock was at min (800MHz). It's hard to know whether that is connected with the problem. > Another, possibly related item, in this test run, the > transfer speed was always at max, monitoring the USB > was not slowing it down as seen before (same kernel). > > I might think that the clock at max speed was responsible. Okay, could be. > > Also, after the problem occurs, you should go into the > > /sys/kernel/debug/usb/ehci/ directory and find the subdirectory > > corresponding to the controller for bus 1. Let's see what the files in > > that subdirectory say. > > Of the 4 files I found there, 2 were empty, the others were > "periodic" and "registers", with following content: > > size = 512 > 1: qh256-0001/ffff88014a55a5a0 (h4 ep1in [1/0] q1 p1) > 257: qh256-0001/ffff88014a55a5a0 > > bus pci, device 0000:00:0b.1 > EHCI Host Controller > EHCI 1.00, rh state running > ownership 00000001 > SMI sts/enable 0xc0080000 > structural params 0x00101888 > capability params 0x0000a086 > status c008 Async Periodic FLR > command 0010015 (park)=0 ithresh=1 Periodic period=512 RUN > intrenable 37 IAA FATAL PCD ERR INT > uframe 0deb > port:1 status 003400 0 ACK POWER OWNER sig=k > port:2 status 003400 0 ACK POWER OWNER sig=k > port:3 status 001005 0 ACK POWER sig=se0 PE CONNECT > port:4 status 001000 0 ACK POWER sig=se0 > port:5 status 001000 0 ACK POWER sig=se0 > port:6 status 001000 0 ACK POWER sig=se0 > port:7 status 003400 0 ACK POWER OWNER sig=k > port:8 status 003400 0 ACK POWER OWNER sig=k > irq normal 523806 err 103 iaa 29127 (lost 0) > complete 1188957 unlink 51 > > There were both taken after the error and after disconnecting > the HUBs, I'm not sure if there're meaningful to you. I'm not sure either. > In case not, please let me know what should be the exact > procedure you need. It would be good to have another copy of all those files, this time taken during the test _before_ the problem occurs. For comparison. Also, it would be good to get a copy of /sys/kernel/debug/usb/devices also taken before the problem. Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html