Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Module Dependency on Boot-up
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
nayan
n00b
n00b


Joined: 23 Oct 2002
Posts: 14
Location: Watford, U.K.

PostPosted: Sat Nov 02, 2002 10:35 pm    Post subject: Module Dependency on Boot-up Reply with quote

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
View user's profile Send private message
nayan
n00b
n00b


Joined: 23 Oct 2002
Posts: 14
Location: Watford, U.K.

PostPosted: Sun Nov 03, 2002 1:25 am    Post subject: make modules Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Nov 03, 2002 6:47 am    Post subject: Reply with quote

What is returned by:
Code:
# update-modules

_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
nempo
Guru
Guru


Joined: 16 Apr 2002
Posts: 360
Location: Linkoping, Sweden

PostPosted: Sun Nov 03, 2002 8:56 am    Post subject: Reply with quote

I had this, turns out, all I had to do was to update all the '._*' files in /etc/
Back to top
View user's profile Send private message
vers_iq
Apprentice
Apprentice


Joined: 18 May 2002
Posts: 264

PostPosted: Sun Nov 03, 2002 2:01 pm    Post subject: Reply with quote

i guess u need to run etc-update, the reason is update-modules has been moved from /usr/bin to /sbin.
Back to top
View user's profile Send private message
nayan
n00b
n00b


Joined: 23 Oct 2002
Posts: 14
Location: Watford, U.K.

PostPosted: Sun Nov 03, 2002 10:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
nayan
n00b
n00b


Joined: 23 Oct 2002
Posts: 14
Location: Watford, U.K.

PostPosted: Sun Nov 03, 2002 10:55 pm    Post subject: Thanks Everyone: I found the solution! Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum