Discussion:
proc/bus/usb does not exist?
David
2003-01-27 08:40:23 UTC
Permalink
Please excuse the length of this:

I just finished LFS 4.0 by the book except that I used the 2.4.20
Kernel. I used the .config file from my RedHat 7.3 host for a first run
through, and only made minor changes, such as arch type, removing a
little bit of obviously uneeded clutter, and setting it up as needed to
prep for installation of the Nvidia drivers for my vid card.

It boots fine, except for the following error:

Mount: Mount point /proc/bus/usb does not exist. [FAILED]

Along with the customary "You should not be reading this..." mantra. I
checked my .config and I do in fact have USB support enabled, as well
as the usb devicefs stuff. Here's the relevant part of my .config:
#
# USB support
#
CONFIG_USB=m
# CONFIG_USB_DEBUG is not set
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
CONFIG_USB_LONG_TIMEOUT=y
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_UHCI=m
CONFIG_USB_UHCI_ALT=m
CONFIG_USB_OHCI=m
CONFIG_USB_AUDIO=m
CONFIG_USB_EMI26=m
CONFIG_USB_BLUETOOTH=m
# CONFIG_USB_MIDI is not set
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
CONFIG_USB_STORAGE_DPCM=y
CONFIG_USB_STORAGE_HP8200e=y
CONFIG_USB_STORAGE_SDDR09=y
# CONFIG_USB_STORAGE_SDDR55 is not set
CONFIG_USB_STORAGE_JUMPSHOT=y
CONFIG_USB_ACM=m
CONFIG_USB_PRINTER=m
CONFIG_USB_HID=m
# CONFIG_USB_HIDINPUT is not set
CONFIG_USB_HIDDEV=m
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
CONFIG_USB_AIPTEK=m
CONFIG_USB_WACOM=m
CONFIG_USB_DC2XX=m
CONFIG_USB_MDC800=m
CONFIG_USB_SCANNER=m
CONFIG_USB_MICROTEK=m
CONFIG_USB_HPUSBSCSI=m
CONFIG_USB_PEGASUS=m
# CONFIG_USB_RTL8150 is not set
CONFIG_USB_KAWETH=m
CONFIG_USB_CATC=m
CONFIG_USB_CDCETHER=m
CONFIG_USB_USBNET=m
CONFIG_USB_USS720=m

Hmm, been a while since I've done this, but looking at this I believe I
might have to recompile anyway to get my USB mouse working when the
time comes. Odd though, since this .config is from my RH 7.3 host as I
said, and my USB mouse works fine under it...

Anyway, here is my modules.conf:

alias parport_lowlevel parport_pc
alias eth0 eepro100
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S
alias usb-controller usb-uhci

And my fstab:

# Begin /etc/fstab

# filesystem mount-point fs-type options dump fsck-order

/dev/hda4 / ext2 defaults 1 1
/dev/hda3 swap swap pri=1 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0

# End /etc/fstab

The modules.conf I just copied from my host, while the fstab is a sort
of conglomeration between the books basic suggestions and my hosts'
file.

Can anyone suggest where I might have gone wrong or how to fix this?

By the way, this is the only error upon bootup. My NIC even works fine,
which is something I've had to fiddle with every other time I've tried
LFS (on other machines). I think my sound will even work....what's that
command to test it?

cat dev>urandom or something?

Thanks in advance all!
--
David Costa
--
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message
sp0de
2003-01-27 09:20:53 UTC
Permalink
Hello,

Although I can't be sure as I don't use USB, I doubt you'll get
a /proc/bus/usb at boot time unless both CONFIG_USB and
CONFIG_USB_DEVICEFS are set to yes. Try loading the modules by hand,
then see if /proc/bus/usb exists. If loading them by hand gets you a
/proc/bus/usb, then just compile them into the kernel and you'll have it
at boot time.

Sp0de
Post by David
I just finished LFS 4.0 by the book except that I used the 2.4.20
Kernel. I used the .config file from my RedHat 7.3 host for a first run
through, and only made minor changes, such as arch type, removing a
little bit of obviously uneeded clutter, and setting it up as needed to
prep for installation of the Nvidia drivers for my vid card.
Mount: Mount point /proc/bus/usb does not exist. [FAILED]
Along with the customary "You should not be reading this..." mantra. I
checked my .config and I do in fact have USB support enabled, as well
#
# USB support
#
CONFIG_USB=m
# CONFIG_USB_DEBUG is not set
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
CONFIG_USB_LONG_TIMEOUT=y
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_UHCI=m
CONFIG_USB_UHCI_ALT=m
CONFIG_USB_OHCI=m
CONFIG_USB_AUDIO=m
CONFIG_USB_EMI26=m
CONFIG_USB_BLUETOOTH=m
# CONFIG_USB_MIDI is not set
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
CONFIG_USB_STORAGE_DPCM=y
CONFIG_USB_STORAGE_HP8200e=y
CONFIG_USB_STORAGE_SDDR09=y
# CONFIG_USB_STORAGE_SDDR55 is not set
CONFIG_USB_STORAGE_JUMPSHOT=y
CONFIG_USB_ACM=m
CONFIG_USB_PRINTER=m
CONFIG_USB_HID=m
# CONFIG_USB_HIDINPUT is not set
CONFIG_USB_HIDDEV=m
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
CONFIG_USB_AIPTEK=m
CONFIG_USB_WACOM=m
CONFIG_USB_DC2XX=m
CONFIG_USB_MDC800=m
CONFIG_USB_SCANNER=m
CONFIG_USB_MICROTEK=m
CONFIG_USB_HPUSBSCSI=m
CONFIG_USB_PEGASUS=m
# CONFIG_USB_RTL8150 is not set
CONFIG_USB_KAWETH=m
CONFIG_USB_CATC=m
CONFIG_USB_CDCETHER=m
CONFIG_USB_USBNET=m
CONFIG_USB_USS720=m
Hmm, been a while since I've done this, but looking at this I believe I
might have to recompile anyway to get my USB mouse working when the
time comes. Odd though, since this .config is from my RH 7.3 host as I
said, and my USB mouse works fine under it...
alias parport_lowlevel parport_pc
alias eth0 eepro100
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S
alias usb-controller usb-uhci
# Begin /etc/fstab
# filesystem mount-point fs-type options dump fsck-order
/dev/hda4 / ext2 defaults 1 1
/dev/hda3 swap swap pri=1 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
# End /etc/fstab
The modules.conf I just copied from my host, while the fstab is a sort
of conglomeration between the books basic suggestions and my hosts'
file.
Can anyone suggest where I might have gone wrong or how to fix this?
By the way, this is the only error upon bootup. My NIC even works fine,
which is something I've had to fiddle with every other time I've tried
LFS (on other machines). I think my sound will even work....what's that
command to test it?
cat dev>urandom or something?
Thanks in advance all!
--
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message
Rui Ferreira
2003-01-27 10:42:29 UTC
Permalink
On Mon, 27 Jan 2003 08:40:49 +0000, David wrote:

#filesystem mount-point fs-type options dump fsck-order

none /proc/bus/usb usbdevfs defaults 0 0
^^^^^^
--
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message
sp0de
2003-01-27 11:47:23 UTC
Permalink
Post by Rui Ferreira
#filesystem mount-point fs-type options dump fsck-order
none /proc/bus/usb usbdevfs defaults 0 0
^^^^^^
Strange.. I just checked the kernel documentation it says to use none
there too, but the 4.0 book says to use usbdevfs. cvs has devfs in place
of usbdevfs, which is just the new naming. Should this be changed to
none in the book?

Sp0de
--
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message
Richard Lightman
2003-01-27 13:09:56 UTC
Permalink
Post by sp0de
Strange.. I just checked the kernel documentation it says to use none
there too, but the 4.0 book says to use usbdevfs. cvs has devfs in place
of usbdevfs, which is just the new naming. Should this be changed to
none in the book?
The proc file system is not associated with a special device, and
when mounting it, an arbitrary keyword, such as proc can be used
instead of a device specification. (The customary choice none is
less fortunate: the error message `none busy' from umount can be
confusing.)

The same applies to usbfs (the new name for usbdevfs), devfs and any
tmpfs.

Also the mount point /proc/bus/usb/ only appears after you load one
of the usb modules (I have forgotten which) (if you use modules).
This means you may need the mount option noauto, and a separate
mount command (or boot script) to mount it.

Richard
--
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message
sp0de
2003-01-27 13:48:02 UTC
Permalink
Well that explains it... I should have just looked at the manpage.
Thanks for clearing that up.

Sp0de
Post by Richard Lightman
The proc file system is not associated with a special device, and
when mounting it, an arbitrary keyword, such as proc can be used
instead of a device specification. (The customary choice none is
less fortunate: the error message `none busy' from umount can be
confusing.)
The same applies to usbfs (the new name for usbdevfs), devfs and any
tmpfs.
Also the mount point /proc/bus/usb/ only appears after you load one
of the usb modules (I have forgotten which) (if you use modules).
This means you may need the mount option noauto, and a separate
mount command (or boot script) to mount it.
Richard
--
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message
David
2003-01-28 01:54:28 UTC
Permalink
Post by David
I just finished LFS 4.0 by the book except that I used the 2.4.20
Kernel. I used the .config file from my RedHat 7.3 host for a first
run through, and only made minor changes, such as arch type, removing
a little bit of obviously uneeded clutter, and setting it up as
needed to prep for installation of the Nvidia drivers for my vid
card.
Mount: Mount point /proc/bus/usb does not exist. [FAILED]
Along with the customary "You should not be reading this..." mantra.
I checked my .config and I do in fact have USB support enabled, as
well as the usb devicefs stuff. Here's the relevant part of my
.config: #
# USB support
#
CONFIG_USB=m
# CONFIG_USB_DEBUG is not set
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
CONFIG_USB_LONG_TIMEOUT=y
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_UHCI=m
CONFIG_USB_UHCI_ALT=m
CONFIG_USB_OHCI=m
<snip>
Post by David
alias parport_lowlevel parport_pc
alias eth0 eepro100
alias sound-slot-0 i810_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S
alias usb-controller usb-uhci
# Begin /etc/fstab
# filesystem mount-point fs-type options dump fsck-order
/dev/hda4 / ext2 defaults 1 1
/dev/hda3 swap swap pri=1 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
# End /etc/fstab
The modules.conf I just copied from my host, while the fstab is a
sort of conglomeration between the books basic suggestions and my
hosts' file.
Can anyone suggest where I might have gone wrong or how to fix this?
By the way, this is the only error upon bootup. My NIC even works
fine, which is something I've had to fiddle with every other time
I've tried LFS (on other machines). I think my sound will even
work....what's that command to test it?
cat dev>urandom or something?
Thanks in advance all!
My apologies everyone, but shortly after writing this, I changed the
domain name on the server hosting this mail account, thus I didn't get
any replies, doh!

Since then I've had Gerard remove the old subscriptions, and have
resubscribed under my new domain.

I looked in the mailinglist archives to see if anyone had responded to
this post, but couldn't even find my original post in the archive at
all.

So I'm reposting it here and asking that anyone who can or already did
answer please do so. I would really appreciate it, and am very sorry
for this issue.

I'm holding off doing anything from BLFS until I get plain LFS working
correctly, so getting this USB thing fixed is all that's in my way.

Thanks again,
--
David Costa
--
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message
Richard Lightman
2003-01-29 13:53:27 UTC
Permalink
Post by David
I looked in the mailinglist archives to see if anyone had responded to
this post, but couldn't even find my original post in the archive at
all.
http://archive.linuxfromscratch.org/mail-archives/lfs-support/2003/01/1153.html

Richard
--
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message
David
2003-01-29 16:50:17 UTC
Permalink
Post by Richard Lightman
Post by David
I looked in the mailinglist archives to see if anyone had responded
to this post, but couldn't even find my original post in the
archive at all.
http://archive.linuxfromscratch.org/mail-archives/lfs-support/2003/01
/1153.html
Richard
I knew it still had to be there, I'll be damnded if I could find it
though. The search engine wouldn't work at all, so I had to search
manually. I found threads that I knew were posted at about the same
time as mine though...

Odd...guess I'm going blind. :o|
--
David Costa
--
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message
Loading...