View previous topic :: View next topic |
Author |
Message |
nayan n00b
Joined: 23 Oct 2002 Posts: 14 Location: Watford, U.K.
|
Posted: Sat Nov 02, 2002 10:35 pm Post subject: Module Dependency on Boot-up |
|
|
Everything on my machine seems to be working OK -- Samba, kde, gcc, etc. -- but there's an error message on boot-up that keeps bugging me. It's when the kernel checks for module dependency, and comes up with an error! Do I need to rebuild the kernel?
It's odd since the problem appeared just today, it wasn't there before. And in the meantime, the only thing I have done is to re-emerge xfree (version 4.2.0) together with kde and kdebase, and install samba, edit the inetd.conf file and run the command:
rc-update add inetd default
And I start samba manually (at the moment) by running the commands:
smbd
nmbd
Somehow, I don't see how it can be samba, though, as it runs OK. And I doubt whether kde or xfree has anything to do with the kernel modules w.r.t. dependency.
Can anyone shed some light on this please?
Regards,
Nayan.
[/b] |
|
Back to top |
|
|
nayan n00b
Joined: 23 Oct 2002 Posts: 14 Location: Watford, U.K.
|
Posted: Sun Nov 03, 2002 1:25 am Post subject: make modules |
|
|
Looking at a previous thread on the Gentoo Forums, I did a fresh modules install:
a) backed up /lib/modules/<mod dir>
b) cd /usr/src/linux
c) make modules modules_install
d) rebooted the machine
Still, same old problem. Any clues? _________________ Regards,
Nayan. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sun Nov 03, 2002 6:47 am Post subject: |
|
|
What is returned by: _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
nempo Guru
Joined: 16 Apr 2002 Posts: 360 Location: Linkoping, Sweden
|
Posted: Sun Nov 03, 2002 8:56 am Post subject: |
|
|
I had this, turns out, all I had to do was to update all the '._*' files in /etc/ |
|
Back to top |
|
|
vers_iq Apprentice
Joined: 18 May 2002 Posts: 264
|
Posted: Sun Nov 03, 2002 2:01 pm Post subject: |
|
|
i guess u need to run etc-update, the reason is update-modules has been moved from /usr/bin to /sbin. |
|
Back to top |
|
|
nayan n00b
Joined: 23 Oct 2002 Posts: 14 Location: Watford, U.K.
|
Posted: Sun Nov 03, 2002 10:26 pm Post subject: |
|
|
I did the following, as root:
a) update-modules
Result: none -- just shows root prompt after executing.
b) find /etc -iname '._c*'
Result: no files found
c) etc-update
Result:
Scanning Configuration files...
Exiting: No files to work on!
d) I thought I'd rebuild the kernel:
make mrproper
make menuconfig
make dep
make clean bzImage modules modules_install
mount /dev/hda7 /boot
cp /usr/src/linux/arch/i386/boot/bzImage /boot
reboot after running lilo, etc.
Result: same old story! still get those dependency errors on boot
ran the command:
lsmod
Result:
Module Size Used by Not tainted
usbcore 41120 0 (unused)
When I rebuilt the kernel, I specified SMB to be built-in instead of as a module.
What gives? _________________ Regards,
Nayan. |
|
Back to top |
|
|
nayan n00b
Joined: 23 Oct 2002 Posts: 14 Location: Watford, U.K.
|
Posted: Sun Nov 03, 2002 10:55 pm Post subject: Thanks Everyone: I found the solution! |
|
|
Came across the following bug report:
https://bugs.gentoo.org/show_bug.cgi?id=9932
I have created a soft-link between /usr/sbin/update-modules and /sbin/update-modules, and it works OK now. All those hours of pulling my hair out and rebuilding, and rebuilding, and rebuilding the kernel.... <tch tch>
Thanks for pointing me in the right direction, rac, nempo and vers_iq!
Warm regards from rainy Watford,
Nayan. |
|
Back to top |
|
|
|