Problem Description: when loadable module support is disabled in the kernel's config, accessing /sys/module/*/parameters/* is not possible, files in there are neither read- nor writable. e.g. (as root): # cat /sys/module/dvb_core/parameters/dvbdev_debug cat: /sys/module/dvb_core/parameters/dvbdev_debug: Permission denied # echo 0 > /sys/module/dvb_core/parameters/dvbdev_debug -sh: cannot create /sys/module/dvb_core/parameters/dvbdev_debug: Permission denied # ls -lA /sys/module/dvb_core/parameters/dvbdev_debug -rw-r--r-- 1 root root 4096 Jan 1 00:03 /sys/module/dvb_core/parameters/dvbdev_debug (this is not particular to the smc91x driver, this works with no driver) after adding module support to the kernel (CONFIG_MODULE=y), everything works as expected: # cat /sys/module/dvb_core/parameters/dvbdev_debug 0 # echo 1 > /sys/module/dvb_core/parameters/dvbdev_debug # cat /sys/module/dvb_core/parameters/dvbdev_debug 1 Steps to reproduce: disable module support from kernel config
ups, replace smc91x by dvb_core in the text, of course (copy/paste error...) sorry!
This sounds like a bug that was fixed in 2.6.15. Can you confirm that it is fixed?
Yeah, this was fixed a while ago. If it's still a problem for you, please reopen.