Hi, Building as built-in doesn't solve my problem. The difference is that when compiled as module the dump shows up when I load it, and when is built-in the dump shows up at boot time. Also when built-in the problem seems to ocurr when device is reseted (on ehci_omap_stop) and the first stack dump is followed by much more other dumps. At the end I can see something like: "Fixing recursive fault but reboot is needed!" Here is the module info: root@csi:~# modinfo ehci-hcd filename: /lib/modules/2.6.37+/kernel/drivers/usb/host/ehci-hcd.ko author: Felipe Balbi <felipe.balbi@xxxxxxxxx> author: Texas Instruments, Inc. alias: platform:omap-ehci license: GPL author: David Brownell description: USB 2.0 'Enhanced' Host Controller (EHCI) Driver srcversion: B282C11CACFB9E75921367C depends: vermagic: 2.6.37+ mod_unload modversions ARMv7 parm: log2_irq_thresh:log2 IRQ latency, 1-64 microframes (int) parm: park:park setting; 1-3 back-to-back async packets (uint) parm: ignore_oc:ignore bogus hardware overcurrent indications (bool) parm: hird:host initiated resume duration, +1 for each 75us (int) root@csi:~# Best regards, 2015-11-23 17:55 GMT-02:00 Michael Trimarchi <michael@xxxxxxxxxxxxxxxxxxxx>: > Hi > > On Mon, Nov 23, 2015 at 8:05 PM, Daniel. <danielhilst@xxxxxxxxx> wrote: >> Hi Michael, >> >> It's a plain linux. I'm considering upgrading kernel as last option. >> Variscite doesn't >> support another kernel for this SoM so this would be a really hard >> work. I'm looking >> for a solution on this kernel and mainly trying to understand why >> usbhost_48m_fck >> is not getting enabled. I'm contacting Variscite in parallel. >> > > Can you point me to te module description? I think that the module > is working if it's compiled in. Correct? > > Michael > > >> Thanks for your reply, best regards! >> >> 2015-11-23 16:57 GMT-02:00 Michael Trimarchi <michael@xxxxxxxxxxxxxxxxxxxx>: >>> Hi Daniel >>> >>> >>> On Mon, Nov 23, 2015 at 7:45 PM, Daniel. <danielhilst@xxxxxxxxx> wrote: >>>> Hi every body! >>>> >>>> I'm running a (2.6.37) kernel based on linux-omap tree >>>> (http://arago-project.org/git/projects/?p=linux-omap3.git;a=summary). >>>> The board is a SoM from Variscite (var-som-am3517). >>>> >>>> I've compiled the ehci-hcd as a module. When I enable it I got this dump: >>>> http://pastebin.com/5idXXBBi >>>> >>> >>> Do you have an android device? or it's just plain linux. >>> For option 2 I suggest to move on newest kernel >>> >>> Michael >>> >>>> Googling arroud I found that this can be triggered while trying to >>>> access uhh registers when usbhost_48m_fck is not enabled. This is what >>>> I think is happening since the message >>>> "Clock usbhost_48m_fck didn't enable in 100000 tries" is aways present >>>> before the crash, and since the crash happens at first read o uhh >>>> registers. I just can't figure out why usbhost_48m_fck is not getting >>>> enabled and how to check if is trully disabled. >>>> >>>> Any ideas? >>>> >>>> Thanks in advance! >>>> Regards, >>>> >>>> -- >>>> "Do or do not. There is no try" >>>> Yoda Master >>>> -- >>>> To unsubscribe from this list: send the line "unsubscribe linux-omap" in >>>> the body of a message to majordomo@xxxxxxxxxxxxxxx >>>> More majordomo info at http://vger.kernel.org/majordomo-info.html >>> >>> >>> >>> -- >>> | Michael Nazzareno Trimarchi Amarula Solutions BV | >>> | COO - Founder Cruquiuskade 47 | >>> | +31(0)851119172 Amsterdam 1018 AM NL | >>> | [`as] http://www.amarulasolutions.com | >> >> >> >> -- >> "Do or do not. There is no try" >> Yoda Master >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-omap" in >> the body of a message to majordomo@xxxxxxxxxxxxxxx >> More majordomo info at http://vger.kernel.org/majordomo-info.html > > > > -- > | Michael Nazzareno Trimarchi Amarula Solutions BV | > | COO - Founder Cruquiuskade 47 | > | +31(0)851119172 Amsterdam 1018 AM NL | > | [`as] http://www.amarulasolutions.com | -- "Do or do not. There is no try" Yoda Master -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html