built-in USB /proc bug

From: Daniel I. Applebaum (danapple@danapple.com)
Date: Tue Nov 20 2001 - 12:50:34 EST


I tried building a 2.4.13 kernel with USB support as built-in, instead
of modules. The system worked, and USB devices worked, but there were
no entries in /proc/bus/usb Yes, I had enabled both /proc filesystem
and USB /proc filesystem support. When the same kernel was built but
with USB support as modules, the /proc/bus/usb entries appear.

Although no expert in these matters, I suspect that when the USB
subsystem is built-in, it is initialized before /proc is mounted, and
the USB /proc filesystem support either turns itself off or puts the
"files" elsewhere.

A viable solution might be to have make menuconfig warn against this
combination.

Dan.

-
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 : Fri Nov 23 2001 - 21:00:23 EST