Re: Syscall Creation Question - New Member

2007-09-28 Thread ANOOP
On 9/29/07, Greg KH <[EMAIL PROTECTED]> wrote: > > On Fri, Sep 28, 2007 at 11:15:04PM -0400, [EMAIL PROTECTED] wrote: > > > > Hi, > > > > Thank you for your reply. > > > > Part of the assignment is to make a system call and then the > second part is > > to make the module version so we can learn w

Re: Syscall Creation Question - New Member

2007-09-28 Thread WindHeavenNights
Hello, I'm not asking for people to do my assignment. If you read my initial email you would of known this. In my initial email, I explained a series of steps that I attempted to do and was not met with success. I also stated that this is indeed, for one of my classes I am taking. I have

Re: Syscall Creation Question - New Member

2007-09-28 Thread Greg KH
On Fri, Sep 28, 2007 at 11:15:04PM -0400, [EMAIL PROTECTED] wrote: > > Hi, > > Thank you for your reply. > > Part of the assignment is to make a system call and then the second part is > to make the module version so we can learn ways. Why are you asking others to do your homework for you

Re: Syscall Creation Question - New Member

2007-09-28 Thread dev
see tldp.org ... there is a FAQ on implementing a sys call. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [EMAIL PROTECTED] Please read the FAQ at http://kernelnewbies.org/FAQ

Re: Syscall Creation Question - New Member

2007-09-28 Thread WindHeavenNights
Hi, Thank you for your reply. Part of the assignment is to make a system call and then the second part is to make the module version so we can learn ways. I really don't know what I am doing to be honest. I haven't received very much direction so I have been trying to scour the interne

Re: Module stacking & warnings

2007-09-28 Thread Dinesh Bhat
How do you know MY_SYMBOL is exported correctly? Have you tried explicitly exporting (EXPORT_SYMBOL(MY_SYMBOL)) in your code to get rid of the warning during make? If you can get rid of the error during make, you will be able to insmod the module. Dinesh Benedict, Michael wrote: I am trying

Re: Upgrading datastructures between different filesystem versions

2007-09-28 Thread Theodore Tso
On Fri, Sep 28, 2007 at 02:31:46PM +0100, Christoph Hellwig wrote: > On Fri, Sep 28, 2007 at 03:11:00PM +0200, Erik Mouw wrote: > > There are however ways to confuse it: if you reformat an ext3 > > filesystem to reiserfs (version 3), mounting that filesystem without > > "-t reiserfs" will trick mou

Syscall Creation Question - New Member

2007-09-28 Thread WindHeavenNights
Hello all, I just joined this list and I look forward to learning a lot of introductory information about linux kernel programming. If my post does not follow proper posting form please inform me of the way things should be done. I was not able to locate anything on the website under maili

Re: preempt_disable() - disables preemption on all processors?

2007-09-28 Thread Ricardo Maraschini
And the get_cpu() ? Its not supposed to disable preemption in all cpus? from include/linux/smp.h: #define get_cpu() ({ preempt_disable(); smp_processor_id(); }) rjm; On 9/28/07, Mulyadi Santosa <[EMAIL PROTECTED]> wrote: > > HI... > > Does the preempt_disable() disable preemption o

Re: preempt_disable() - disables preemption on all processors?

2007-09-28 Thread Mulyadi Santosa
HI... > Does the preempt_disable() disable preemption on all the processors or just > the current processor? Fast check on schedule() code makes me believe it just disables the preemption on current processor which call preempt_disable(). regards, Mulyadi -- To unsubscribe from this list: send

Module stacking & warnings

2007-09-28 Thread Benedict, Michael
I am trying to implement module stacking for my embedded target. Everything seems to work fine with no errors, but there are disconcerting warnings in modpost and insmod. 1) Building a module that accesses exported symbols - I get an warning for every symbol like: WARNING: "" [.ko] undefined! I s

Re: Upgrading datastructures between different filesystem versions

2007-09-28 Thread Christoph Hellwig
On Fri, Sep 28, 2007 at 03:11:00PM +0200, Erik Mouw wrote: > There are however ways to confuse it: if you reformat an ext3 > filesystem to reiserfs (version 3), mounting that filesystem without > "-t reiserfs" will trick mount(8) into mounting it as an ext3 > filesystem (which will usually fail). T

Re: DMA b/w harddisk and vram

2007-09-28 Thread Robin Randhawa
On Wed, 2007-09-26 at 12:15 +0530, ashok wrote: > Thanks for your quick reply. Now i understand things better. Cool. > I have one more doubt about DMA : > Im working on libata driver of 2.6.14 kernel. > > With respect to write call, can you please tell me whether the address > from scatter-ga

Re: How to find "Back Ward Compatiblity for Binary files"

2007-09-28 Thread Erik Mouw
On Fri, Sep 28, 2007 at 10:37:24AM +0100, deena dayalan wrote: > I have written small application code in "C" language and it has > been compiled using "gcc" on RedHat 3.0 kernel 2.4.21 and Is it > possible for me to run RedHat 3.0 compiled binary on RedHat 4.0 > kernel 2.6.8? Yes, that sh

Re: Upgrading datastructures between different filesystem versions

2007-09-28 Thread Erik Mouw
On Wed, Sep 26, 2007 at 06:29:19PM -0500, Sachin Gaikwad wrote: > Is it not the case that VFS takes care of all filesystems available ? > VFS will see if a particular file belongs to ext3 or ext4 and call > that FS's drivers to access information ?? No, the VFS won't do that. The mount(8) command

preempt_disable() - disables preemption on all processors?

2007-09-28 Thread Rajat Jain
Hi list, Does the preempt_disable() disable preemption on all the processors or just the current processor? Thanks, Rajat -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [EMAIL PROTECTED] Please read the FAQ at http://kernelnewbies.org/FAQ

How to find "Back Ward Compatiblity for Binary files"

2007-09-28 Thread deena dayalan
Hello All, I have written small application code in "C" language and it has been compiled using "gcc" on RedHat 3.0 kernel 2.4.21 and Is it possible for me to run RedHat 3.0 compiled binary on RedHat 4.0 kernel 2.6.8? 1. How do i find "ABI" compatiblity between two kernel versions?