LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-21-2004, 01:29 AM   #1
bc8o8
Member
 
Registered: Jun 2003
Location: Boston, MA
Distribution: Debian
Posts: 57

Rep: Reputation: 15
No module /bin/true found for kernel 2.6.4


I've been working on trying to get 2.6.4 installed on my RedHat 9 (Athlon XP) system for a while now, and have had NO luck. DrOzz's tutorial helped out a LOT, but I'm still having one problem (at least, I think it's only one)

All the modules seem to compile fine, everything seems to work perfectly, until I try mkinitrd. I always come up with the same error.

code:
[root@beecee boot]# /sbin/mkinitrd /boot/initrd-2.6.4.img 2.6.4
No module /bin/true found for kernel 2.6.4



I can't seem to figure out how to include /bin/true, there doesn't seem to be an option in the configuration tool (I'm using xconfig).

Any ideas??
 
Old 05-01-2004, 10:58 PM   #2
DarkBeethoven
LQ Newbie
 
Registered: Jan 2002
Distribution: customized
Posts: 22

Rep: Reputation: 15
Did you ever solve this problem? I have the same problem with the 2.6.5 kernel.

Thanks a lot.
 
Old 05-16-2004, 06:50 PM   #3
bc8o8
Member
 
Registered: Jun 2003
Location: Boston, MA
Distribution: Debian
Posts: 57

Original Poster
Rep: Reputation: 15
Unfortunately no.... I ended up breaking down and reformatting and installing Debian unstable. NO problems with Debian! :-) I highly recommend it!

If anyone finds a solution to this - please still let me know.
 
Old 05-27-2004, 07:27 PM   #4
Pontius
LQ Newbie
 
Registered: Apr 2004
Posts: 21

Rep: Reputation: 15
I am getting the same thing on RH9 when trying to upgrade to kernel 2.6.5.

this is pissing me off!

my workaround was to use the 2.4 initrd that comes with RH9, but use the 2.6.5 bzImage that I compiled. When I boot, the screen takes a dump. but once X starts up, all is well. it's a half baked solution, but is all i've got for now.

does anyone know how to solve this problem? i've seen nobody anywhere on the net that has offered an answer
 
Old 05-27-2004, 07:36 PM   #5
DarkBeethoven
LQ Newbie
 
Registered: Jan 2002
Distribution: customized
Posts: 22

Rep: Reputation: 15

What I suggest (which is what I did) was create a script with all the "insmod" or "modprobe" statements necessary to load the modules for your system when it boots and then completely remove the modules with "/bin/true" statements from modprobe.conf.

I then took that script and put it in a script called rc.modules, I believe..........or you can put it directly into the init scripts that already exist in /etc

Last edited by DarkBeethoven; 05-28-2004 at 10:42 AM.
 
Old 05-27-2004, 08:50 PM   #6
jspenguin
Member
 
Registered: Feb 2003
Location: Wichita, KS
Distribution: Heavily modified Redhat
Posts: 194

Rep: Reputation: 30
It sounds like mkinitrd is having problems parsing your modprobe.conf file. There are several lines that look like this:

install radeon /sbin/modprobe via-agp; /sbin/modprobe --ignore-install radeon; /bin/true

The /bin/true is there so it will never fail. It looks like mkinitrd is seeing this as a module to load.
 
Old 05-27-2004, 09:28 PM   #7
Pontius
LQ Newbie
 
Registered: Apr 2004
Posts: 21

Rep: Reputation: 15
ok, i looked in /etc and there is no "modprobe.conf" file. is there any way to restore it?


PS - i've successfully installed module-init-tools 3.0 following the instructions in the README file:

tar -xzf module-init-tools-3.0.tar.gz
cd module-init-tools-3.0
./configure --prefix=/
make moveold
make
make install
/generate-modprobe.conf /etc/modprobe.conf
 
Old 05-28-2004, 10:41 AM   #8
DarkBeethoven
LQ Newbie
 
Registered: Jan 2002
Distribution: customized
Posts: 22

Rep: Reputation: 15
but you just said you successfully installed the new mod utils............why is there no modprobe.conf then?
 
Old 05-28-2004, 01:05 PM   #9
Pontius
LQ Newbie
 
Registered: Apr 2004
Posts: 21

Rep: Reputation: 15
ok, thanks. i went to modules.conf and got rid of all the /bin/true statements and mkinitrd worked after that. i can successfully boot into the 2.6.5 kernel now. thanks
 
Old 05-28-2004, 01:54 PM   #10
DarkBeethoven
LQ Newbie
 
Registered: Jan 2002
Distribution: customized
Posts: 22

Rep: Reputation: 15
Be sure to load those modules by hand (in a script if necessary) if they are necessary.

The ones I had with the /bin/true statements were not vital modules, so I just stuck em in a script.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No module mptbase found for kernel 2.6.1 kcox920 Linux - General 2 05-29-2008 07:38 PM
No Module BusLogic Found for Kernel 2.6.2 benjaminrtz Linux - General 2 09-08-2006 12:22 PM
Purpose of /bin/true XaViaR SUSE / openSUSE 3 05-09-2005 12:07 PM
Message with kernel No module aic7xxx found for kernel 2.4.28 abefroman Red Hat 1 01-31-2005 06:41 AM
No module for mptbase found for kernel 2.6.0 Steve1445 Red Hat 1 11-02-2004 11:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:30 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