Re: [PATCH RFC] USB: Add HCD fastboot

Rene Herman
2008-08-08T14:30:41Z

On 08-08-08 13:29, Simon Arlott wrote:

> I suggest adding initcall_debug=1, it'll show how long the usb and other
> initcalls take to run. You should see the first usb device driver initcall
> take a second or two to run (without the patch). Maybe I'm just badly
> affected by having HCDs with 10 ports (of which only 4 are physically
> usable...).
>
> dmesg|grep initcall\
> |sed -e 's/.*initcall \([^ ]\+\( \(\[[^]]\+\]\)\)\?\) returned [^ ]\+ after \([^ ]\+\) secs/\4 \1/'\
> |sort -n

Thanks, but that specific expression doesn't work work me,since there's
not a single one that takes ' secs', only ' msecs'.

Here's the USB related ones here:

> [ 1.198751] initcall ehci_hcd_init+0x0/0x11 returned 0 after 123 msecs
> [ 1.818688] initcall ohci_hcd_mod_init+0x0/0x31 returned 0 after 591 msecs
> [ 2.537756] initcall usb_stor_init+0x0/0x32 returned 0 after 685 msecs

[ ... ]

> [ 2.619477] initcall hid_init+0x0/0x3 returned 0 after 0 msecs
> [ 2.629667] initcall hid_init+0x0/0x3e returned 0 after 9 msecs

685 isn't nice but better then 2000...

Rene.