Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Post kernel compile module issues
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jahgu
n00b
n00b


Joined: 20 Jun 2002
Posts: 61
Location: Southborough, MA

PostPosted: Sun Jun 23, 2002 11:33 pm    Post subject: Post kernel compile module issues Reply with quote

hopefully this will be simple for someone who knows what they're doing:

1. At the end of "make modules_install" it spits out:
depmod: ***Unresolved symbols in /lib/module/2.4.19-gentoo-r5/kernel/fs/binfmt_elf.o
depmod: smp_num_siblings
depmod: task_nice
make: *** [_modinst_post] Error 1

2. Then on boot up amongst everything else I notice:
Calculate module dependencies:
Failed to calculate dependencies:

3. When executing "update-modules" I get:
depmod: *unresolved symbols in /lib/modules/2.4.19-gentoo-r5/kernel/drivers/ide/ide-probe-mod.o
depmod: *unresolved symbols in /lib/modules/2.4.19-gentoo-r5/kernel/fs/binfmt_elf.o

It starts up fine, but I am sort of the type to want a healthy machine (and it's clearly not). What could I do to fix these?

thanks,
Jahgu

Also, on bootup and shutdown i get a ton of /sbin/runscript.sh: command not found
? any ideas here, too ? :?:
Back to top
View user's profile Send private message
jahgu
n00b
n00b


Joined: 20 Jun 2002
Posts: 61
Location: Southborough, MA

PostPosted: Mon Jun 24, 2002 2:24 am    Post subject: honestly, though Reply with quote

honestly, though...everything is running well. so maybe i shouldn't complain.
Back to top
View user's profile Send private message
Miles
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jun 2002
Posts: 97
Location: London, UK

PostPosted: Mon Jun 24, 2002 2:39 am    Post subject: Reply with quote

Generally that type of error message means you left out an option in your kernel that module depends on.

binfmt_elf.o sounds like the code to interpret ELF binaries (standard). I don't know if it's a good idea to load it as a module. Try recompiling it with it built into the kernel.

I don't know what option ide-probe-mod.o corresponds to but it's likely you've just left out some IDE functionality, maybe your specific motherboard chipset, but I really don't know.

/sbin/runscript.sh is the interpreter for all the scripts found in /etc/init.d. If it can't be located then none of the services on your machine can be started up. I reckon it's related to your binfmt_elf.o problem because your machine probably can't read the bash binary. So try recompiling your kernel with it built in and see what happens.
Back to top
View user's profile Send private message
butters
Guru
Guru


Joined: 13 May 2002
Posts: 427
Location: Poughkeepsie, NY

PostPosted: Tue Jun 25, 2002 8:56 pm    Post subject: Reply with quote

The problem you are having involving unresolved symbols is because you need to fully clean the kernel source tree before you compile with new options, especially dealing with SMP, ACPI, and kernel preempt. In /usr/src/linux, copy your .config file to your home directory or wherever you want. Then make mrproper. Then copy your .config file back to /usr/src/linux and make menuconfig. Select your options, then compile as normal: make dep && make clean bzImage modules modules_install. This process prevents further problems with unresolved symbols. Hope this helps.
_________________
If tugboats were bigger, they'd be the ones getting tugged.
Back to top
View user's profile Send private message
jahgu
n00b
n00b


Joined: 20 Jun 2002
Posts: 61
Location: Southborough, MA

PostPosted: Wed Jun 26, 2002 12:51 am    Post subject: Reply with quote

i have been doing that process (using make mrproper, then using a previous backup of the config file.) I think I'll just try recompiling again...i've gotten pretty used to it :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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