[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: to modprobe from defconfig
> http://marc.theaimsgroup.com/?l=kernelnewbies&m=106098202513380
> List: kernelnewbies
> Date: 2003-08-15 21:11:55
> modprobe: QM_MODULES: Function not implemented
In person I just saw another lk 2.6 newbie carefully review
Documentation/Changes yet then still choke over failing to appreciate:
/sbin/depmod -V
of "depmod version 2.4.22" in fact does NOT exceed the minimum
"module-init-tools" "0.9.10" required. 2 is less than 0, in this
context.
> http://www.kernel.org/pub/linux/kernel/people/rusty/modules/
> .../module-init-tools-0.9.12.tar.bz2
Latest when today began (31 Oct) was 0.9.14, with 0.9.15-pre3 available
for test.
> the text docs contradict one another.
> I chose to favour the leftmost of:
> man depmod, May ./README, Feb ./FAQ, Nov ./INSTALL.
The ...-0.9.12.tar.bz2 file is gone now, so I can't know if the README
etc. has changed or not. Datestamps in module-init-tools-0.9.14/ tell
me [A-Z]* have not changed since 2 June, except for the mostly
irrelevant Makefile.am ChangeLog Makefile.in and docs/.
> not yet checked to see if my upgrade
> still allows me to build 2.4 kernels.
module-init-tools-0.9.14 does let me build both 2.6 and 2.4, except when
I boot lk 2.4 I have to say /sbin/modprobe.old rather than modprobe.
> # ... on RedHat, one time only ...
> ./configure --prefix=/
README etc. say configure this way only if your lsmod etc. appear in
/sbin/.
> make
> ./depmod -V
Works for me, I see: module-init-tools 0.9.14
> sudo make moveold
> sudo make install
> sudo ./generate-modprobe.conf /etc/modprobe.conf
Works for me.
> vi /etc/rc.d/rc.sysinit
I now prefer:
sudo vi /etc/rc.d/rc.sysinit +/USEMOD
There I found:
if ! LC_ALL=C grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/ksyms ]; then
USEMODULES=y
fi
So I added:
if ! LC_ALL=C grep -iq nomodules /proc/cmdline 2>/dev/null && [ -f /proc/modules ]; then
USEMODULES=y
fi
Pat LaVarre
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/