-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/18/13 20:58, Felipe Balbi wrote: > Hi, > > On Sun, Dec 02, 2012 at 05:33:36PM +0200, Dmitry Lifshitz wrote: >> Hi, >> >> We are running kernel v3.5.7 on am3517 based hardware (CM-T3517 module). >> Recently we faced with the following issue: am35x MUSB module fails >> when trying to reinsert it. >> It fails with the message "musb-hdrc.0: failed to claim resource 1", >> see the console clip below: >> >> root@cm-debian:~# modprobe am35x >> musb-hdrc: version 6.0, ?dma?, otg (peripheral+host) >> 6Waiting for PHY clock good... >> musb-hdrc: ConfigData=0x1e (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, >> SoftConn) >> musb-hdrc: MHDRC RTL version 1.900 >> musb-hdrc: setup fifo_mode 4 >> musb-hdrc: 28/31 max ep, 16384/16384 memory >> root@cm-debian:~# >> root@cm-debian:~# >> root@cm-debian:~# >> root@cm-debian:~# >> root@cm-debian:~# >> root@cm-debian:~# modprobe -r am35x >> udc musb-hdrc.0: releasing 'musb-hdrc.0' >> root@cm-debian:~# >> root@cm-debian:~# >> root@cm-debian:~# >> root@cm-debian:~# >> root@cm-debian:~# >> root@cm-debian:~# modprobe am35x >> musb-hdrc: version 6.0, ?dma?, otg (peripheral+host) >> musb-hdrc.0: failed to claim resource 1 >> musb-am35x musb-am35x: failed to register musb device >> musb-am35x: probe of musb-am35x failed with error -16 >> root@cm-debian:~# >> >> The issue still exists even in the resent kernel v3.7.0-rc7. >> While searching for the resolution I found the similar issue with the >> davinci MUSB module: >> >> http://comments.gmane.org/gmane.linux.davinci/23781 >> >> It was found almost a year ago. Does anybody know how it can be >> properly resolved? > > Can you try to figure which resource is getting a conflict ? Yep: # modprobe am35x musb-hdrc: version 6.0, ?dma?, otg (peripheral+host) - -------->>> ALLOCATED RESOURCES = 2 RESOURCE #0 of TYPE = 1024 NAME = mc RESOURCE #1 of TYPE = 512 NAME = musb-am35x musb-hdrc: failed to claim resource 1 musb-am35x musb-am35x: failed to register musb device musb-am35x: probe of musb-am35x failed with error -16 - -- Regards, Igor. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJQ+9SqAAoJEBDE8YO64EfaBkIP/2RBZblkosGLyIhsycKN6SQK PzgiOmVUIVItE1neTHrBfNo987uPTQJhkinEZ1zIBIA/kHZlKRTvjSbWRmi0XOeV TiY07EuPt6QVJWKyZobneQ/M0lcAITMfgNA1bjvk08LoEqFvzStjTcuu6bw0la4K cEv+xQgFE9UhpFQ3cT62es6Dnl5aP2Xktsbc3HwYfYc40Fr9qflzF06oaXQzq/SA qdkNPh4S0882bdbbp/LcgifrmauF3ru9SpfyGmpC9Zp2GoHhHIAM+u9k46uCMZVm L8FpBlWYckt2vs95dPr7vjkkf9bQ4mqhJ5xV6Sbzrz1HvkaWYMsBOloaLxL1o3zD vieSd+VQqGdK2zVBDYoj7xl4Eo+4p8FWRBCtZUErEAUqQD7aLAuAjoF2Mjf0Is2e mA4OPTVFLnDVA40ttg7Kr3Wfz2ijuzIQO8FtObQYE4PmVkPnvWQCc6BoP/y7oDle f4l7HxEAH6/LaZCOBCcQmnKTtclwJLlrRpMuj0/0d0ZjsxD9lx6b1rgYDFpOocFu 67kYrabEa6TrrvGiH/V04/REOiBnPwOsxrO+cwOx53mQFW9+Rw9ct53+eKJsX5Ql 0IJDuhTFd83hgBY1uCMGsIEPEwr7Ty3uYLt8USkU9RPnPJHtLopSQdQma3eCSJv5 75DJe7De3TlTGvfEznIb =QD4R -----END PGP SIGNATURE----- -- 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