Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
update-modules problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
tonyl
n00b
n00b


Joined: 27 Oct 2002
Posts: 4

PostPosted: Tue Oct 29, 2002 10:09 am    Post subject: update-modules problem Reply with quote

Hi,

I have just installed gentoo after running mandrake for the last 3 years.
Aftere the basic install I emerged kde and am now trying to set up alsa.

After following the alsa guide and run update-modules I get the following error:

<snip>
depmod: cannot read ELF header from /lib/modules/2.4.19-gentoo-r9/2
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r9/kernel/drivers/block/DAC960.o
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r9/kernel/drivers/block/loop.o
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r9/kernel/drivers/block/nbd.o
</snip>

There are about 100 of the depmod errors.

The first line is worrying there is no such directory as read ELF header /lib/modules/2.4.19-gentoo-r9/2, and I don't understand the bit about cant read ELF headers.

Can anyone offer any advice.

Many thanks
tony
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Oct 29, 2002 10:17 am    Post subject: Reply with quote

First off, can you try
Code:
# rm -rf /lib/modules/2.4.19-gentoo-r9
# cd /usr/src/linux
# make modules_install
...to see if that cleans up your modules directory?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
tonyl
n00b
n00b


Joined: 27 Oct 2002
Posts: 4

PostPosted: Tue Oct 29, 2002 10:41 am    Post subject: Reply with quote

I have tried that and it didn't work but on further investigation something seems to have gome horribly wrong somewhere :(

Here's what I did while trying to install alsa:

# cd /usr/src/linux
# cp .config ~
# make mrproper
# cp ~/.config .
# make menuconfig

(build sound support as a module dissable all soundcard modules)
# make dep clean
# make modules modules_install


I then tried, as suggested deleting the modules directory and running make modules_install again.

just for good measure I rebooted and now I cant even install my nic driver so I have lost networking as well.

I'm a little stuck now. Unless anyone can offer a better solution I guess a complete kernel rebuild may be good right now.

Tony
Back to top
View user's profile Send private message
ahr
n00b
n00b


Joined: 14 Jul 2002
Posts: 31
Location: Reykjavik, Iceland

PostPosted: Sun Nov 03, 2002 3:40 pm    Post subject: Reply with quote

That's exacly what I did and I get the same depmod errors you do.

And I don't know what to do, I've tryed rebuilding the entire kernel but I still get receive the errors :\
Back to top
View user's profile Send private message
tonyl
n00b
n00b


Joined: 27 Oct 2002
Posts: 4

PostPosted: Sun Nov 03, 2002 4:08 pm    Post subject: Reply with quote

I reinstalled the whole system took another 2 days :(

Still had the same errors and couldn't fix it so I've re-installed mandrake. Shame, while it did work it was real fast.

Tony
Back to top
View user's profile Send private message
BackSeat
Apprentice
Apprentice


Joined: 12 Apr 2002
Posts: 242
Location: Reading, UK

PostPosted: Sun Nov 03, 2002 4:54 pm    Post subject: Reply with quote

What processor do you have? What CFLAFS setting do you have in /etc/make.conf?

BS
Back to top
View user's profile Send private message
tonyl
n00b
n00b


Joined: 27 Oct 2002
Posts: 4

PostPosted: Sun Nov 03, 2002 8:38 pm    Post subject: Reply with quote

the processor is a celeron, I can't remember exactly what the flags were (it's no longer on my system) but I just uncommented the first line in there which I think was pentium/athlon.

could this be the problem? I have just realised this is a celeron as all my other machines are athlons.

Tony
Back to top
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Sun Nov 03, 2002 9:22 pm    Post subject: Reply with quote

I don't think the values of the CFLAGS in your make.conf will affect your kernel compilation. This is done because the kernel's on settings for gcc flags are already quite optimized. I don't really know what the source of your problems are, but I don't think that's it.
_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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