View previous topic :: View next topic |
Author |
Message |
tonyl n00b
Joined: 27 Oct 2002 Posts: 4
|
Posted: Tue Oct 29, 2002 10:09 am Post subject: update-modules problem |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Oct 29, 2002 10:17 am Post subject: |
|
|
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 |
|
|
tonyl n00b
Joined: 27 Oct 2002 Posts: 4
|
Posted: Tue Oct 29, 2002 10:41 am Post subject: |
|
|
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 |
|
|
ahr n00b
Joined: 14 Jul 2002 Posts: 31 Location: Reykjavik, Iceland
|
Posted: Sun Nov 03, 2002 3:40 pm Post subject: |
|
|
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 |
|
|
tonyl n00b
Joined: 27 Oct 2002 Posts: 4
|
Posted: Sun Nov 03, 2002 4:08 pm Post subject: |
|
|
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 |
|
|
BackSeat Apprentice
Joined: 12 Apr 2002 Posts: 242 Location: Reading, UK
|
Posted: Sun Nov 03, 2002 4:54 pm Post subject: |
|
|
What processor do you have? What CFLAFS setting do you have in /etc/make.conf?
BS |
|
Back to top |
|
|
tonyl n00b
Joined: 27 Oct 2002 Posts: 4
|
Posted: Sun Nov 03, 2002 8:38 pm Post subject: |
|
|
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 |
|
|
masseya Bodhisattva
Joined: 17 Apr 2002 Posts: 2602 Location: Baltimore, MD
|
Posted: Sun Nov 03, 2002 9:22 pm Post subject: |
|
|
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 |
|
|
|