LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   where to get FC1 & RH9 kernel rpms (https://www.linuxquestions.org/questions/linux-software-2/where-to-get-fc1-and-rh9-kernel-rpms-263044/)

b123coder 12-05-2004 09:05 PM

where to get FC1 & RH9 kernel rpms
 
I have FC1 installed at mt Desktop. I come to know that it does not support statement EXPORT_SYMBOL(sys_call_table). It will available in newer kernels so can you please tell me
1) what is vanilla kernel?
2) diff between FC1 kernel and vanilla kernel.
3) downloads links in form of source rpms of kernel for vanilla kernel only meant for FC1

foo_bar_foo 12-05-2004 11:25 PM

Hi -- real kernels come from
http://kernel.org/

redhat started backporting the removal of EXPORT_SYMBOL(sys_call_table) to 2.4 version kernels i believe
where EXPORT_SYMBOL(sys_call_table) is still a part of 2.4 series kernel from kernel.org

as far as i can tell or know EXPORT_SYMBOL(sys_call_table) is not a part of current 2.6 version kernels
nor i think will it be in the future
important to note here i have seen many different types of solutions to this trouble so check and see if the driver vendor has a kernel patch developed specifically for their driver or has developed a new way to implement the driver compatable with 2.6 kernel series
if it's an old driver however this might help
in terms of difference i believe only this code would have to be added to 2.6 kernels at the bottom of
/arch/i386/kernel/i386_ksyms.c in order to make sys_call_table available but this may be a terrible oversimplification depending on what the driver does i guess.
Code:

extern void *sys_call_table[];
EXPORT_SYMBOL(sys_call_table);

in 2.4 kernels these lines are in
/kernel/ksyms.c
Code:

extern void *sys_call_table;
is line 63
and
Code:

#ifndef __mips__
EXPORT_SYMBOL(sys_call_table);
#endif

is line 497

i am not sure exactly how or with what patch redhat has used to remove this in 2.4 kernels


All times are GMT -5. The time now is 11:07 AM.