Re: Filesystem / Partition type support in kernel

2009-10-16 Thread Ole Loots
Hello, i did what you told me but as expected make outputs the following: scripts/kconfig/conf -s arch/x86/Kconfig .config:150:warning: symbol value 'm' invalid for ATARI_PARTITION ...but I grep'ped /proc/kallsyms and it seems that ATARI_PARTITION type is already registered. however, dmesg tel

Filesystem / Partition type support in kernel

2009-10-16 Thread Ole
orks well the way it is ;) Why there is no way to load partition table definitions as module? If it would work, i wouldn't have to recompile the whole kernel just because of 180 lines of code... Is there any way to load the Partition table support as module? Greets, Ole -- To unsubscrib

Re: software for x86 instruction set

2009-08-30 Thread Ole Loots
.chm viewers for linux, but you have to install the masm package (http://www.masm32.com/masmdl.htm) first under windows - than look at the installed content and look for the help file. Ole -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linux.

Re: making a system call from module?

2009-06-19 Thread Ole Loots
Hi, krushnaal pai schrieb: how to make a system call from module? Someone told me that you shouldn't do that because it's to dangerous... Also how can we include the c library headers in our modules,so as to use the open,read functions of c library? the lib that offers these user-space funct

Re: how to call function in one module frm another?

2009-06-15 Thread Ole Loots
Just to be complete: the compiler will complain about unresolved symbols if you compile a module..., but the symbols will be resolved at runtime. SandeepKsinha schrieb: try EXPORT_SYMBOL( ) for the function you wish to use in any later module. On Mon, Jun 15, 2009 at 9:49 AM, krushnaal pai wr

Re: Porting float and double variable in linux kernel

2009-05-28 Thread Ole Loots
Hello Jitendra Pradhan, My main objective is how to convert the line” dLsw = (double)strTv.tv_usec / 100 * 65536 * 65536” , so that I will get the accurate NTPTime. I will appreciate if I get help on this regard. Please provide some info on it. I know that floating point is not suppor

Re: Question regarding spinlock

2009-05-19 Thread Ole Loots
think what I need to avoid a possible error is something like this: while(spinlock_is_locked(...)){wait(...)} Because I'm developing for a custom platform, I don't care about several processors that much... Regards, Ole

Question regarding spinlock

2009-05-18 Thread Ole Loots
I need is something like: while(interrupt_working){ sleep(); } How to do right? Kind regards, Ole -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: Kernel internals.

2009-05-08 Thread Ole Loots
Hello venkatram ajmeera venkatram ajmeera schrieb: Hai I am interested in learing linux kernel internal thouroughly How the interrupt is handled by linux Kernel. That's hardware dependant. Not only the Hardware is involved, also the kind of interrupt is involved. I don't know the differe

Re: Choosing Driver Model

2009-04-01 Thread Ole Loots
txt platform.txt devres.txtbinding.txt > bus.txt class.txt driver.txt interface.txt overview.txt porting.txt > > On Wed, Apr 1, 2009 at 3:51 AM, xin yuepeng wrote: >> Hi, >> I met this situation as you. I chose the platform_driver... It >> seems

Choosing Driver Model

2009-03-31 Thread Ole Loots
Hello there, I'm writing a Driver that uses an not-so-well-known Bus System. I'm developing for the at91 Processor, the processor has an "Extension Bus Interface" ... it's good enough to make CF Cards, IDE disks, etc. work. I'm developing a driver for an Hardware device that is connected to the B

Re: SOC Board development

2009-03-09 Thread Ole Loots
can't handle. I assume it can't handle some noise on the bus lines, but I really don't have a clue - that's just my "feeling". Ole On Mon, 09 Mar 2009 21:00:22 +0100, Thomas Rega wrote: > hi > > did you check your initial console? > > what do you get

SOC Board development

2009-03-09 Thread Ole Loots
ernel hangs? Greets and regards, Ole -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: Getting kernel symbols in kernel module (dynamically)

2009-02-25 Thread Ole Loots
But I wan't to call a function that is not part of my module... i want to call sys_clock_gettime - which is a function of the kernel. - Original Message - From: "Guo Hongruan" To: "Ole Loots" Sent: Wednesday, February 25, 2009 12:47 PM Subject: Re: Getting

Re: Getting kernel symbols in kernel module (dynamically)

2009-02-25 Thread Ole Loots
he symbols dynamically. greets, Ole On Wed, 25 Feb 2009 18:20:21 +0800, "Guo Hongruan" wrote: > Too dangrous!! > > In kernel space or userspace? If in userspace, you can only call > clock_gettime. > > 在 Wed, 25 Feb 2009 18:08:55 +0800,Ole Loots 写道: > >>

Getting kernel symbols in kernel module (dynamically)

2009-02-25 Thread Ole Loots
) = 0xc004373c; That works fine for my system, but I know thats not the way to do it. How is it done properly? Regards, Ole -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

Re: ARM Linux at91: installing Timer Controller Interrupt

2009-02-24 Thread Ole Loots
define AT91_TC5 0x80 static void __exit ad_irq_cleanup(void); static volatile unsigned long ad_irq_count = 0; #ifdef MODULE_AUTHOR MODULE_AUTHOR("Ole"); MODULE_DESCRIPTION("AD Kernel interrupt module for DNP/9200"); MODULE_LICENSE("GPL"); #endif /* unload

Requesting shared IRQ?

2009-02-17 Thread Ole Loots
et ) { printk(KERN_ERR "IRQ %d already claimed :(\n", AT91_ID_SYS); return ret; } that gives me just the message that the IRQ is already claimed. Can somebody tell me that this is the right way to use shared IRQ's, or am I totally wrong? Hello to the whole list and greets and than