Re: [linux-usb-devel] 2.5.42-ac1, 2.5.42, 2.5.41 boot hang with CONFIG_USB_DEBUG=n

From: David Brownell (david-b@pacbell.net)
Date: Mon Oct 14 2002 - 11:53:19 EST


> Now it turns out I didn't do such a piss-poor of configuring my 2.5
> kernel, since the only option I could find that make a difference was
> CONFIG_USB_DEBUG. When I accept flooding my system logs with obscure usb
> incantations the system boots:(. ...
>
> Can an helpful soul help me bring my system some relief ? I'd
> really like not to boot in debug mode.

That's a new failure mode! Can you help narrow this down?

You're using the OHCI driver, so you can just tweak the lines at the
top of drivers/usb/host/ohci-hcd.c that can #define DEBUG. If you
comment out that #define, and leave CONFIG_USB_DEBUG on (and then
rebuild and re-init with the new OHCI driver), does that work or not?

If that works, it'd be time to see which OHCI printk()s morph init (?)
timing enough to matter to your K7 box. Looked to me like they were
all either before or after the timing-critical bits (chip init), so
disabling just the OHCI messages "should" not change your failure mode.

- Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:50 EST