Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

depmod pointing to wrong path

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
pharm
n00b
n00b
Posts: 8
Joined: Mon May 12, 2003 6:33 am
Location: columbus, in, usa

depmod pointing to wrong path

  • Quote

Post by pharm » Mon Oct 06, 2003 2:00 am

Okay i thought i was just messing things up trying to do a kernal upgrade. so i did a fresh install. and I am still getting the same errors!

I did a complete 1stage build and the only kernel i merged was 2.4.20-gentoo-r7

no others! my depmod is still trying to load modules.dep from 2.4.20-gentoo-r6!

like i said no other kernal has been on the system and i did a "text book" install. !! any modules i try to load give me dependancies errors and its because the depmod is looking at 2.4.20-gentoo-r6 directory which is not even existent. all my modules are cp'd to the gentoo-r7 folder and stuff they just won't load! where is the path settings for the depfile="location" var so i can edit it manually.
Top
GentooOpus
n00b
n00b
User avatar
Posts: 25
Joined: Mon Mar 31, 2003 2:30 am
Location: Asheboro, NC

Similar Problem with non-gentoo kernel

  • Quote

Post by GentooOpus » Thu Oct 16, 2003 2:26 am

I'm having a similar problem.

I've built a new kernel but none of the modules will load during a normal boot. the errors that I get are unresolved symbols or no such devices.

if I use depmod -ae 2.4.22cd for the new kernel, it access the correct lib modules dir and modules dep but reports bad symbols.

if I use and explicit depmod

depmod -a -F /usr/src/linux/System.map -C /etc/modules.conf 2.4.22cd

the modules and depmod are updated without error.

The odd thing is my system boots the old kernel without error, yet I can't even run a depmod -a on it.

If anyone has any idea, as to what's happening here. I'm certainly all ears.


G
Top
IvoryTiger
Tux's lil' helper
Tux's lil' helper
Posts: 132
Joined: Thu Jun 27, 2002 4:35 am

Re: depmod pointing to wrong path

  • Quote

Post by IvoryTiger » Thu Oct 16, 2003 3:45 am

pharm wrote:Okay i thought i was just messing things up trying to do a kernal upgrade. so i did a fresh install. and I am still getting the same errors!

I did a complete 1stage build and the only kernel i merged was 2.4.20-gentoo-r7

no others! my depmod is still trying to load modules.dep from 2.4.20-gentoo-r6!

like i said no other kernal has been on the system and i did a "text book" install. !! any modules i try to load give me dependancies errors and its because the depmod is looking at 2.4.20-gentoo-r6 directory which is not even existent. all my modules are cp'd to the gentoo-r7 folder and stuff they just won't load! where is the path settings for the depfile="location" var so i can edit it manually.
Two things, did you try a modules-update and where is your /usr/src/linux link pointing to?
--
For those about to compile...we salute you!
Top
GentooOpus
n00b
n00b
User avatar
Posts: 25
Joined: Mon Mar 31, 2003 2:30 am
Location: Asheboro, NC

  • Quote

Post by GentooOpus » Thu Oct 16, 2003 11:34 pm

modules-update produces that same series of unresolved symbol errors


I've re-emerge/updated modutils module-init-tools binutils also

I actually have two links in my /usr/src path one for "linux", the other "linux-2.4" to matche what's in modules.autoload.d

both are pointing to my /usr/src/linux-2.4.22cd build directory path

What I find odd is that even on a kernel that boots correctly,

I still get depmod errors.

G
Top
GentooOpus
n00b
n00b
User avatar
Posts: 25
Joined: Mon Mar 31, 2003 2:30 am
Location: Asheboro, NC

Its always the little things....

  • Quote

Post by GentooOpus » Sat Oct 18, 2003 12:06 am

Well, I think I fixed my problem....

Some how the user and group settings for both of my linux kernel build directors had been set to something other than root. Both were set to user and group 573 which is non existent on my system.

How, when or what agent caused this, I have no idea. All I know is that I never set such a screwy parameter.

Anyhow check your permissions on the linux build directory.

save your .config file to another area and then run make mrproper to fully recent the kernel build environment

then recopy your .config file back to the kernel dir and run

menuconfig and save. This will allow you to dep all the modules

then

make dep clean bzImage modules modules_install

mount your boot partition and

make install

This has finally...... fixed my system kernel build problems.

G
Top
Post Reply

5 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic