Re: sys_call_table [again]

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

 



John,

"Maybe I should have bought something else": There's a thought :-) Do you know of any (internal / PCI) ADSL modems that work with RedHat 8 without this problem ?

"EXPORT_SYMBOL(sys_call_table);": I think I've tried that in the past and every command I executed after that caused a kernel failure. But... I'm recompiling the kernel with your suggestion as we speak. I'll let you know.

Thanks for your help.

Leon


At 22:29 25/03/03 +0000, John Levon wrote:
On Tue, Mar 25, 2003 at 08:09:04PM +0000, Leon de Beer wrote:

> - We bought a number of PCI Conexant ADSL modems which "should" work under
> Linux

Maybe you should have bought something else :)

> My question to this group is about the code that Tony Bassas posted in his
> posting:
>
> http://mail.nl.linux.org/kernelnewbies/2002-12/msg00266.html
>
> My problem is that I am not sure how to use it. I'm not familiar with the

Do not do that. Get the Red Hat kernel source, and you should be able to
revert the patch that removes sys_call_table, and rebuild the kernel.

Red Hat hid the change inside the patch called
"linux-2.4.1-compilefailure" for some bizarre reason. Basically you need
to re-add

EXPORT_SYMBOL(sys_call_table);

to kernel/ksyms.c

You might also need to add before that :

extern void *sys_call_table[];

Then rebuild your kernel, reboot, and you should be good to go.

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

-- 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