* built-in USB /proc bug
@ 2001-11-20 17:50 Daniel I. Applebaum
2001-11-20 18:37 ` Johannes Erdfelt
0 siblings, 1 reply; 2+ messages in thread
From: Daniel I. Applebaum @ 2001-11-20 17:50 UTC (permalink / raw)
To: linux-kernel
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: built-in USB /proc bug
2001-11-20 17:50 built-in USB /proc bug Daniel I. Applebaum
@ 2001-11-20 18:37 ` Johannes Erdfelt
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Erdfelt @ 2001-11-20 18:37 UTC (permalink / raw)
To: Daniel I. Applebaum; +Cc: linux-kernel
On Tue, Nov 20, 2001, Daniel I. Applebaum <danapple@danapple.com> wrote:
>
> 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.
The problem is likely that it's a filesystem and you need to mount it
after loading the module.
Try running:
mount /proc/bus/usb
JE
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-11-20 18:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-20 17:50 built-in USB /proc bug Daniel I. Applebaum
2001-11-20 18:37 ` Johannes Erdfelt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox