[Suzaku-en:00069] Re: kernel modules

Ford Sleeman email@hidden
Mon Oct 24 23:27:36 JST 2005


I posted some samples on my website: 
http://ramsites.net/~wcsleeman/suzaku/. The shell scripts have not been 
tested on the Suzaku system, only on my x86 desktop. I will probably 
post more stuff as I develop more complicated modules.

Ford

Michael Beukman wrote:

>Hi Ford,
>
>I've also experienced the problem you mentioned in the previous email.
>printk and iomap and iounmap was unresolved.
>
>I turned off module versioning in the kernel, this made module insertion 
>possible, but the printk would not work.
>
>Could you please help me out with a sample Makefile, and perhaps the method
>of determining a major and minor number so that i can make a char /dev to 
>that module?
>
>Any help would be greatly appreciated.
>
>Kind Regards,
>Michael Beukman
>
>-----Original Message-----
>From: email@hidden
>[mailto:email@hidden]On Behalf Of Ford
>Sleeman
>Sent: Monday, October 24, 2005 3:25 PM
>To: Yasushi SHOJI
>Cc: SUZAKU
>Subject: [Suzaku-en:00068] Re: kernel modules
>
>
>Actually I fixed my problem. I don't remember exactly what I did that 
>fixed that specific problem but to successfully load modules on the 
>Suzaku I need to use a different kind of Makefile and turn of module 
>versioning in the kernel.
>
>Ford Sleeman
>
>Yasushi SHOJI wrote:
>
>  
>
>>At Sat, 22 Oct 2005 01:07:20 -0400,
>>Ford Sleeman wrote:
>> 
>>
>>    
>>
>>>I am trying write a kernel module for the Suzaku-V board to access FPGA 
>>>registers. When I load my module I get this error:
>>>
>>>Using hello.o
>>>insmod: unresolved symbol printk
>>>
>>>This occurs whenever I have <linux/kernel.h> included for the printk 
>>>function. Any ideas what I need to change?
>>>   
>>>
>>>      
>>>
>>hmmm how did you get that?  can you post your code?  printk is
>>exported to not only gpl'ed code but to all.  so it's pretty tough to
>>get that ;-)
>>
>>--
>>         yashi
>>
>>
>>ps. till by the end of this month i'm tooo busy doing some stuff, so
>>response will be dealed badly.  I'll get back to all message in
>>November.
>> 
>>
>>    
>>
>
>
>  
>


-- 
Ford Sleeman
email@hidden
VCU School of Engineering




More information about the suzaku-en mailing list