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

  • From: swamytk@xxxxxxxxxxxxx (T.KaruppuSwamy (T & B))
  • Date: Sun Aug 22 11:32:30 2004

Dear Chandrashekat,

Thanks for explaining the difference between proc and sysfs. I will 
compile with proc support and revert back

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: