View previous topic :: View next topic |
Author |
Message |
CarlUman Apprentice
Joined: 07 Jul 2004 Posts: 158 Location: SE Iowa
|
Posted: Sat Apr 23, 2005 3:00 pm Post subject: modprobe and lsmod both give "command not found" |
|
|
Not sure what happened but after doing a system update (emerge -uDv world) I can no longer run modprobe or lsmod. I'm trying to get nvidia setup so I get back into kde but no dice yet. Any ideas?
I'm
Thanks much
Carl |
|
Back to top |
|
|
mens Guru
Joined: 27 Aug 2003 Posts: 392 Location: Belgium
|
Posted: Sat Apr 23, 2005 3:18 pm Post subject: |
|
|
Could it be that /sbin is no longer in your $PATH ? try running /sbin/modprobe or /sbin/lsmod |
|
Back to top |
|
|
Spiregrain n00b
Joined: 17 Mar 2003 Posts: 5 Location: London
|
Posted: Sat Apr 23, 2005 3:20 pm Post subject: |
|
|
Have you tried:
Logging in as root, since those commands might only be available to the root user?
Re-emerging the sys-apps/modutils package?
Looking for the executable files? Mine are in /sbin/? |
|
Back to top |
|
|
grannyknot n00b
Joined: 16 Feb 2004 Posts: 3 Location: Toronto, Canada
|
Posted: Sat Apr 23, 2005 3:21 pm Post subject: |
|
|
Or you could look at the output of:
or
to see which locations are in your path. |
|
Back to top |
|
|
mens Guru
Joined: 27 Aug 2003 Posts: 392 Location: Belgium
|
Posted: Sat Apr 23, 2005 3:39 pm Post subject: |
|
|
Spiregrain wrote: |
Re-emerging the sys-apps/modutils package?
|
For 2.6 kernels this may also be module-init-tools. |
|
Back to top |
|
|
CarlUman Apprentice
Joined: 07 Jul 2004 Posts: 158 Location: SE Iowa
|
Posted: Sat Apr 23, 2005 4:38 pm Post subject: |
|
|
I should have mentioned that they were missing from sbin as well.
mens wrote: | Spiregrain wrote: |
Re-emerging the sys-apps/modutils package?
|
For 2.6 kernels this may also be module-init-tools. |
Seems to right. I did an emerge modutils and now they are both there.
You mentioned module-init-tools. Since I'm using the 2.6 kernel should I have using them instead?
Thanks again. |
|
Back to top |
|
|
mens Guru
Joined: 27 Aug 2003 Posts: 392 Location: Belgium
|
Posted: Sat Apr 23, 2005 5:19 pm Post subject: |
|
|
module-init-tools is a replacement for modutils. It was created to support the new features from 2.[56] like force unloading. I'm not sure if the latest version of modutils already supports all these new features. Switching to modules-init-tools can't hurt as it's backwards compatible with 2.4 kernels as well. |
|
Back to top |
|
|
CarlUman Apprentice
Joined: 07 Jul 2004 Posts: 158 Location: SE Iowa
|
Posted: Sun Apr 24, 2005 11:48 am Post subject: |
|
|
Thanks. Now modprobe nvidia worked too
... wasn't working with modutils for some reason. |
|
Back to top |
|
|
|