Re: kernel modification questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



bunty wrote:
 i want some information 1) If i have to add any functions in kernel source where should i add its entry. can you tell me those file names?
well what is ur function and what does it do ?
2) and if i am using some variables in that function local to it does it require to add its entry and if yes where? and if variable is to be exported that is global then what?
if ur variable isn't declared as static it's exported by default i think. But u can export it by using the macro EXPORT_SYMBOL()
3) how to solve unresolved symbol error?
all the symbols u use has to be in the file /proc/ksyms. If they're not, try to export these symbols.
4)i want to ask when i compile a new kernel image from installed kernel source /usr/src/linux-2.4.20-8/ it create linux-2.4.20-8custom kernel version. why it takes that version number and not same linux-2.4.20-8?

try to find the string linux-2.4.20-8custom in the sources using grep
regards,
parag


hope i've helped u


-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux