[ATrpms-users] Re: [Ipw2100-devel] Re: Fedora Core 2 kernels do not export sys_*

A. G. antonio.giordano562 at virgilio.it
Tue Aug 24 14:26:43 CEST 2004


Martin Grotzke ha scritto:

>On Tue, 2004-08-24 at 10:39, Axel Thimm wrote:
>  
>
>>On Tue, Aug 24, 2004 at 10:22:41AM +0200, Martin Grotzke wrote:
>>    
>>
>>>On Tue, 2004-08-24 at 02:39, Axel Thimm wrote:
>>>      
>>>
>>>>On Tue, Aug 24, 2004 at 01:08:19AM +0200, Martin Grotzke wrote:
>>>>        
>>>>
>>>>>On Sun, 2004-08-22 at 13:41, Axel Thimm wrote:
>>>>>          
>>>>>
>>>>>>On Sun, Aug 22, 2004 at 01:24:30PM +0200, Martin Grotzke wrote:
>>>>>>            
>>>>>>
>>>>>>>trying to modprobe ipw2100 fails, dmesg shows the following:
>>>>>>>
>>>>>>>ipw2100: Unknown symbol sys_close
>>>>>>>ipw2100: Unknown symbol sys_lseek
>>>>>>>ipw2100: Unknown symbol sys_read
>>>>>>>ipw2100: Unknown symbol sys_open
>>>>>>>ipw2100: Unknown symbol sys_close
>>>>>>>...
>>>>>>>
>>>>>>>what is the problem here?
>>>>>>>              
>>>>>>>
>>>>>>Red Hat decided to drop these exports:
>>>>>>
>>>>>>https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=115843#c8
>>>>>>            
>>>>>>
>>>>>so each call to sys_* has to be changed to * for new red hat kernels?
>>>>>          
>>>>>
>>>>I think those are also not exported anymore.
>>>>
>>>>No, Red Hat wants to educate us to use request_firmware() and the like.
>>>>        
>>>>
>>>> 
>>>> The patch here addressed the issue.
>>>> http://article.gmane.org/gmane.linux.drivers.ipw2100.devel/1516
>>>>        
>>>>
>>>yi, thank you for this link!
>>>      
>>>
>>Thanks, indeed!
>>
>>    
>>
>>>axel, would it be possible to include this patch in fedora core 2
>>>/ red-hat-with-patched-kernel builds?
>>>      
>>>
>>Of course, builds are already underway!
>>    
>>
>whow, how fast - really great!!  :)
>
>thanx,
>martin
>
>
>-- 
>  
>
I have patched my linux-2.6.8-1.521-customized :

--- linux-2.6.8-1.521/fs/read_write.c	2004-08-16 14:58:48.000000000 +0200
+++ my-linux-2.6.8-1.521-customized/fs/read_write.c	2004-08-23 11:02:54.000000000 +0200
@@ -145,6 +145,7 @@
 bad:
 	return retval;
 }
+EXPORT_SYMBOL_GPL(sys_lseek);
 
 #ifdef __ARCH_WANT_SYS_LLSEEK
 asmlinkage long sys_llseek(unsigned int fd, unsigned long offset_high,
@@ -295,6 +296,7 @@
 
 	return ret;
 }
+EXPORT_SYMBOL_GPL(sys_read);
 
 asmlinkage ssize_t sys_write(unsigned int fd, const char __user * buf, size_t count)
 {

------------------------------------------------------------------------

--- linux-2.6.8-1.521/fs/open.c	2004-08-16 14:58:48.000000000 +0200
+++ my-linux-2.6.8-1.521-customized/fs/open.c	2004-08-23 10:59:48.000000000 +0200
@@ -967,6 +967,7 @@
 	fd = error;
 	goto out;
 }
+EXPORT_SYMBOL_GPL(sys_open);
 
 #ifndef __alpha__
 
@@ -1040,6 +1041,7 @@
 	return -EBADF;
 }
 
+EXPORT_SYMBOL(sys_close);
 
 /*
  * This routine simulates a hangup on the tty, to arrange that users

I have added a patch of ipw2100-0.53, i have recompiled all, and all 
working wery well,

Ciao !
Antonio Giordano


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
ipw2100-devel mailing list
ipw2100-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipw2100-devel



More information about the atrpms-users mailing list