[Ilugc] Kernel upgrade problem 2.4.18-14 to latest 2.6.8.1 kernel

  • From: swamytk@xxxxxxxxxxxxx (T.KaruppuSwamy (T & B))
  • Date: Mon Aug 23 09:39:06 2004

Dear Linuxians,

I have recompiled with /proc support and set right /etc/rc.sysinit and 
/etc/fstab as you said... ( as a newbie i am amazing with the .config 
file... it is really helpful to customize our own kernel.. what i have 
understood is right?)

At the stage of "make install" i am getting the following error message:
"No module /bin/true found for kernel 2.6.8.1"
and make install failured! As per my understanding /bin/true is a binary 
executable file which returns true while executed... it is not a 
module... then how come this message?

For your kind info: In the process of debugging this problem, i lost my 
/etc/modules.conf file. How to get it back or generate? :( :(

Please help me to track down the issue?

Regards
T.KaruppuSwamy


Chandrashekar B. wrote:

T.KaruppuSwamy (T & B) wrote:

 Since in 2.6.8.1 kernel proc filesystem ( /proc ) has been replaced 
with sysfs (/sys), 


No. sysfs and procfs are two different things altogether. sysfs is a 
virtual filesystem like procfs, but it provides information only about 
hardware/devices of your system. procfs consists of various stuff 
exported by the kernel to the userland programs (which include process 
information, mount-points, memory-maps, module specific exported data 
, hardware information, networking subsystem, and so on).

it is facing issues in finding the /sys/mount file and other files in 
/sys. Script is not able to run the fsck on mounted file system. I 
replaced all the reference to /proc file system in rc.sysinit with  
/sys file system.


You must enable procfs support in your kernel configuration and 
recompile it. No changes to sysinit scripts are necessary. 
Additionaly, to mount sysfs during boot time, you must add the 
following line into your /etc/fstab:
    none   /sys   sysfs   defaults   0   0

Also, make sure that the procfs entry remains in your /etc/fstab.

Cheers,
Chandrashekar Babu.



Other related posts: