Re: For a bug in lib/vsprintf.c where should a patch be sent to ?
William Tambe writes: > On Sun, Jul 5, 2020 at 8:40 PM William Tambe wrote: >> >> For a bug in lib/vsprintf.c where should a patch be sent to ? > > The bug is in kernel/kallsyms.c instead. > > So for a bug in kernel/kallsyms.c, where should a patch be sent to ? > You can use the 'get_maintainer.pl' script in the kernel tree to identify the list and maintainers. ./scripts/get_maintainer.pl kernel/kallsyms.c But in general you can send it to linux-ker...@vger.kernel.org. Thanks, Santosh ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Kernel Compiling Issue
* Herb Garciawrote (on 2017-08-29 03:52:07 +): > I recently learned how to compile the kernel on my Debian PC. What I'm running > into is the default kernel runs well with no issues. With that said, when I > will run menu oldconfig. To keep the current settings. When Alall said and > done. When I reboot my PC. I get this error: failed to. Start load/save screen > backlight brightness Backlight driver is generally a module, not builtin. So modules should be installed too. Is that done? Thanks, Santosh > > Any suggestions appreciated > > ~H.P. Garcia > > ___ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Error message not relevant
* Nav Kamal navkama...@gmail.com wrote (on 2013-11-20 16:43:26 +): Am learning to write LKMs and wrote this program : #includelinux/init.h #includelinux/module.h static int module_entry(void){ printk(KERN_ALERT Hello World !!\n); return 0; } static void exit_module(void){ printk(KERN_ALERT Bye World \n); } module_init(module_entry); module_exit(exit_module); In this program if I change return value of function module_entry from 0 to something negative, the module fails to load. The error message is : What was the exact value? Must be you returned -1, as an example try to pass some other lower negative numbers. It converts to error string using err or perror. So you get that permission denied for the value you passed. insmod: ERROR: could not insert module test.ko: Operation not permitted Failing to load module with negative return value is understandable but I can't understand why it says Operation not permitted. Its not about user permissions, its about return value. Can somebody please guide me about this ? Santosh -- When you really want something (and take the first steps in that direction), the entire universe will conspire to fulfill your desire. -- P. Coelho ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies