LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-09-2001, 03:10 PM   #1
cardboard
LQ Newbie
 
Registered: Feb 2001
Location: Rhode Island
Posts: 5

Rep: Reputation: 0
Unhappy


Hello,


I am running Corel Linux 1.2, and configuring,making ect the 2.4.0 kernal went without a hitch, my computer rebooted just fine. However, during make modules_install, it could not run depmod for modprobe because of the following error:

find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.0; fi
/sbin/depmod: invalid option -- F
Usage: depmod [-e -s -v ] -a [FORCED_KERNEL_VER]
depmod [-e -s -v ] MODULE_1.o MODULE_2.o ...
Create module-dependency information for modprobe.

-a, --all visit all modules
-d, --debug run in debug mode
-e output unresolved symbols
-s, --system-log use the system log for error reporting
--help display this help and exit
-v, --verbose run in verbose mode
-V, --version output version information and exit
make: *** [_modinst_post] Error 1


Now I have tried depmod syntax every which way and have read through the man's throughly, I just /cannot/ get depmod working on my system. Any additional info needed I will gladly post. PLEASE HELP!

Thanks,

Anthony Inzero
 
Old 02-10-2001, 08:34 AM   #2
devnull
Member
 
Registered: Feb 2001
Posts: 84

Rep: Reputation: 15
Is it kernel 2.4.0-test1 ??? There were some problems concerning depmode and this kernel-version.

A solution might be, to edit your modules.dep by adding the path and dependency of each module you need into it.
 
Old 02-10-2001, 10:29 AM   #3
cardboard
LQ Newbie
 
Registered: Feb 2001
Location: Rhode Island
Posts: 5

Original Poster
Rep: Reputation: 0
Well, I got it off kernel.org, I'm not 100% sure if its test 1, I'm not sure how to tell.
 
Old 02-10-2001, 12:00 PM   #4
devnull
Member
 
Registered: Feb 2001
Posts: 84

Rep: Reputation: 15
So, you want to make a kernel-upgrade?
From 2.2.xx to 2.4.0?
You didn't wrote that here.

But if it is a change from 2.2.xx to 2.4.0 you have to get some newer packages as recommended in the kernel-readme file!

I have changed the following packages on my redhat 7.0 testserver:
1. the latest gcc version
2. util-linux 2.10o (www.kernel.org)
3. modutils-2.4.0 (www.kernel.org)
4. 2fsprogs-1.19-0.i386.rpm
5. mkinitrd-2.9-1.i386.rpm

After having done that i recompiled the kernel etc.
Works fine now :-)

Maybe this will help you.
 
Old 02-12-2001, 06:57 AM   #5
cardboard
LQ Newbie
 
Registered: Feb 2001
Location: Rhode Island
Posts: 5

Original Poster
Rep: Reputation: 0
Whoopsies,

I'll grab those packages ASAP as soon as I get home from school (where I am writing this from) and I'll let ya know how it goes.


Thank yee


Anthony
 
Old 04-27-2001, 02:15 AM   #6
BinbinAngel
LQ Newbie
 
Registered: Apr 2001
Posts: 1

Rep: Reputation: 0
Exclamation Please help me...

Hello, could you tell me how to get the file "mkinitrd-2.9-1.i386.rpm"?
Please send the file to me if possible.

 
Old 05-28-2001, 11:13 PM   #7
protean19
LQ Newbie
 
Registered: May 2001
Posts: 1

Rep: Reputation: 0
Question help needed

Hi Anthony,
Have you found a solution to the error in depmod that you had posted below ?
Thanks,
Protean
 
Old 06-10-2001, 03:33 AM   #8
yongdori
LQ Newbie
 
Registered: Jun 2001
Posts: 1

Rep: Reputation: 0
Where can I get those files?

I can't find '2fsprogs-1.19-0.i386.rpm' and 'mkinitrd-2.9-1.i386.rpm' . Where can I get those files?

Quote:
Originally posted by devnull
So, you want to make a kernel-upgrade?
From 2.2.xx to 2.4.0?
You didn't wrote that here.

But if it is a change from 2.2.xx to 2.4.0 you have to get some newer packages as recommended in the kernel-readme file!

I have changed the following packages on my redhat 7.0 testserver:
1. the latest gcc version
2. util-linux 2.10o (www.kernel.org)
3. modutils-2.4.0 (www.kernel.org)
4. 2fsprogs-1.19-0.i386.rpm
5. mkinitrd-2.9-1.i386.rpm

After having done that i recompiled the kernel etc.
Works fine now :-)

Maybe this will help you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
missing depmod and modules.conf aslong Linux - Networking 1 08-22-2005 07:49 AM
Please help with depmod and modules.conf! Carlosbrandado Debian 2 03-05-2005 08:55 PM
Depmod -a generating bad modules.dep? Carlosbrandado Linux - Newbie 1 03-04-2005 01:04 PM
What does this mean: depmod: *** Unresolved symbols in /lib/modules... ? atheist Linux - Software 4 07-20-2004 02:30 PM
compiling a kernel: module-init-tools conflict, depmod problem, modules sterrenkijker Debian 3 03-08-2004 10:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration