LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (http://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   system not display /sys/ folder....in kernel compile how to enable sys in menuconfig (http://www.linuxquestions.org/questions/linux-kernel-70/system-not-display-sys-folder-in-kernel-compile-how-to-enable-sys-in-menuconfig-891667/)

dashang.trivedi 07-14-2011 04:57 AM

system not display /sys/ folder....in kernel compile how to enable sys in menuconfig
 
my objective is to configure RPS and RFS ..i upgrade latest kernel ...now i want to edit entry in /sys/class/net/eth0/queues/rx-0/rps_cpus

BUT my system is not display /sys/ folder.
in /proc/ folder sys is available but its not contain class,queues folder.

please provide me the solution...urgent

dashang.trivedi 07-14-2011 05:00 AM

i have rh 7 ...current now i have 2.6.18 kernel ...
now what i have done take one ubuntu machine and compile kernel 2.6.39.2 ..its successfully done ...and also upgrade in my rh 7 machin ...that also done successfully.
when i type uname -a its display 2.6.39.2 kernel in rh ...
but when i try to do RFS and RPS configuration than its not showing /sys/ folder..


i have check in file .config file
only blow entry is done for pseudo filesystem

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y
# CONFIG_CONFIGFS_FS is not set


sir please give me solution how i enable rps for this ...and the shocking thing is this its show the RFS configuration in /proc/sys/net/core/rps_sock_flow_entries but its not display RPS configuration which is in /sys/class/net/eth0/queues/rx-0/rps_cpus....their is no folder like class , queues ,rx-0 and file rps_cpus
please help me

Thank you.


All times are GMT -5. The time now is 04:34 PM.