Aug. 16, 2013
12:53 p.m.
On Fri, 16 Aug 2013 13:43:19 +0800, Woody Wu said:
I was trying to set a module parameter for vt.c, I set it in command line as "global_cursor_default=0". After that, I debug the kernel by printing and check the /sys/modules/vt/parameters/global_cursor_default, all found the parameter did not take effect. The corresponding static variable is still keep its default value of -1.
What's wrong with my operations?
Module parameters have to be specified as modulename.parametername=foo. Try this instead: vt.global_cursor_default=0