Re: Memory mapping in X86

2011-11-18 Thread Sathishkumar Duraisamy
Hi Santhosh, I got this thing in dmesg: [10256.068664] driver_test:7114 map pfn RAM range req uncached-minus for 2f866000-2f867000, got write-back. I am writing some random numbers in mmapped memory. But I am not able to get it from the user space. Note: ( I have allocated memory via adc_dev.ad

Re: Is an IRQ line disabled on local CPU or globally?

2011-11-18 Thread santhosh kumars
hi Parmenides On Sat, Nov 19, 2011 at 4:27 AM, Parmenides wrote: > Hi, > >     It is said that an IRQ line is disabled when the same IRQ line is > in process. But, is the IRQ line disabled on the local CPU or all > CPUs? Another relevant question is that the disable_irq() funciton > will disable

Is an IRQ line disabled on local CPU or globally?

2011-11-18 Thread Parmenides
Hi, It is said that an IRQ line is disabled when the same IRQ line is in process. But, is the IRQ line disabled on the local CPU or all CPUs? Another relevant question is that the disable_irq() funciton will disable an IRQ line on local CPU or all CPUs. __

Re: Kernelnewbies Digest, Vol 12, Issue 25

2011-11-18 Thread Sazzad
> > mailto:surajkhuran...@gmail.com>> wrote: > > Hi all, > I am a newbie in linux world and want to learn linux device drivers. > I'm also new to Linux device driver world and am interested to learn. Besides learning and fun, I want to write a driver for Green Packet's

Re: Guidance on writing device drivers

2011-11-18 Thread Matthias Brugger
On 11/10/2011 05:26 AM, Prajosh Premdas wrote: > [...] > On Thu, Nov 10, 2011 at 10:08 AM, rohan puri > wrote: > On Wed, Nov 9, 2011 at 10:40 PM, suraj khurana > mailto:surajkhuran...@gmail.com>> wrote: > > Hi all, > I am a newbie in linux wor

Re: Filtering USB storage data in kernel module

2011-11-18 Thread Abhijit Pawar
On 11/18/2011 08:16 PM, Greg KH wrote: > On Fri, Nov 18, 2011 at 06:36:18PM +0530, Abhijit Pawar wrote: >> On 11/17/2011 08:19 PM, Greg KH wrote: >>> On Thu, Nov 17, 2011 at 02:15:35PM +0530, Abhijit Pawar wrote: Hi All, I need to filter the data written/read to and from the USB storage

Re: Filtering USB storage data in kernel module

2011-11-18 Thread Greg KH
On Fri, Nov 18, 2011 at 06:36:18PM +0530, Abhijit Pawar wrote: > On 11/17/2011 08:19 PM, Greg KH wrote: > >On Thu, Nov 17, 2011 at 02:15:35PM +0530, Abhijit Pawar wrote: > >>Hi All, > >>I need to filter the data written/read to and from the USB storage > >>disk. > >Why? > I want to build a secure

Re: User Mode Linux

2011-11-18 Thread Mulyadi Santosa
On Thu, Nov 17, 2011 at 19:04, Vishal Thanki wrote: > I have one more question in the same line (i.e. related to UML). I > tried loading an external module (build for ARCH=um type). I am able > to load that module only if i've booted UML with following command: > > ./linux ubda= > > If i pass the

Re: Registering for only Specific Packets from Net-Filter!!!!

2011-11-18 Thread Mulyadi Santosa
Hi :) On Fri, Nov 18, 2011 at 11:37, Kesava Srinivas wrote: > Thanks Mulyadi Santosa & Abhijit Pawar. > > My Target is not bring the Pkts to User Space which is costly. Trying to do > that by using LKM. Seems to be; it is possible through skbuffers whose > structure have the provision to identify

Re: Filtering USB storage data in kernel module

2011-11-18 Thread Abhijit Pawar
On 11/17/2011 08:19 PM, Greg KH wrote: > On Thu, Nov 17, 2011 at 02:15:35PM +0530, Abhijit Pawar wrote: >> Hi All, >> I need to filter the data written/read to and from the USB storage >> disk. > Why? I want to build a secure machine with data protection. I want to have a security around the mach

Can I get the information of bounce limit from sys?

2011-11-18 Thread loody
hi all: I saw sys can show some information such as max_sectors_kb , physical_block_size, hw_sector_size and max_segments. Where i can get bounce limit information, except digging through source code. -- Regards, ___ Kernelnewbies mailing list Kernel