From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-bk0-f51.google.com (mail-bk0-f51.google.com [209.85.214.51]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 4F1F3B6FB7 for ; Wed, 13 Jun 2012 05:40:43 +1000 (EST) Received: by bkcjg15 with SMTP id jg15so4646371bkc.38 for ; Tue, 12 Jun 2012 12:40:39 -0700 (PDT) Subject: Re: [PATCH v2] usb: fsl_udc: errata - postpone freeing current dTD From: Christoph Fritz To: Fabio Estevam In-Reply-To: References: <20120410021151.GB23044@lovely.krouter> <20120411073918.GA9180@lovely.krouter> <20120509000221.GA19525@lovely.krouter> <20120513225126.GA3683@lovely.krouter> <20120514042142.GD9750@kroah.com> <20120520231724.GA7941@mars> <1337583221.3394.21.camel@mars> <20120521065722.GA4363@mars> <20120521190450.GA27492@arwen.pp.htv.fi> <1338809424.3371.20.camel@mars> <1338809853.3371.31.camel@mars> Content-Type: text/plain; charset="us-ascii" Date: Tue, 12 Jun 2012 21:40:31 +0200 Message-ID: <1339530031.3454.16.camel@mars> Mime-Version: 1.0 Cc: Ben Dooks , Chen Peter-B29397 , Nicolas Ferre , "Hans J. Koch" , Kukjin Kim , Russell King , Thomas Dahlmann , Sascha Hauer , Christian Hemp , Haojian Zhuang , Daniel Mack , Neil Zhang , linux-arm-kernel , Oliver Neukum , Eric Miao , Li Yang-R58472 , Greg Kroah-Hartman , "linux-usb@vger.kernel.org" , Felipe Balbi , Ido Shayevitz , Estevam Fabio-R49496 , "linuxppc-dev@lists.ozlabs.org" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Fabio On Sun, 2012-06-10 at 15:41 -0300, Fabio Estevam wrote: > Hi Christoph, > > On Mon, Jun 4, 2012 at 8:37 AM, Christoph Fritz > wrote: > > > After that, I stumbled upon this dmesg: > > > > Freescale High-Speed USB SOC Device Controller driver (Apr 20, 2007) > > fsl-usb2-udc fsl-usb2-udc: clk_get("usb") failed > > fsl-usb2-udc: probe of fsl-usb2-udc failed with error -2 > > > > Sascha, could you give me a hint? > > Does the patch below fix your problem? Thanks for your patch. It does indeed load "Freescale High-Speed USB SOC Device Controller driver (Apr 20, 2007)" fine - but now when I want to use it: modprobe g_ether [ 17.099363] g_ether gadget: using random self ethernet address [ 17.105316] g_ether gadget: using random host ethernet address [ 17.111974] usb0: MAC 1a:c7:9e:76:cc:45 [ 17.115866] usb0: HOST MAC 66:a2:4a:0a:46:17 [ 17.120199] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008 [ 17.126861] g_ether gadget: g_ether ready these are "the last words": System hangs completely. Same behavior with g_serial (these two I've tested). Currently I can't investigate this further, not because of a bug - but a flu. Thanks, -- Christoph