memmap in bootargs

2009-04-02 Thread Vishal Thanki
Hello, Can anyone tell me what does memmap parameter means in boot arguments of kernel? I am working on an embedded device which is running linux, and it has the following parameter passed as boot argument : mem=128M memmap=...@128m I don't know what it means. Can anyone explain?? Thanks,

Re: memmap in bootargs

2009-04-02 Thread Daniel Baluta
On Thu, Apr 2, 2009 at 9:25 AM, Vishal Thanki vishaltha...@gmail.com wrote: Hello, Can anyone tell me what does memmap parameter means in boot arguments of kernel? I am working on an embedded device which is running linux, and it has the following parameter passed as boot argument :

Re: memmap in bootargs

2009-04-02 Thread Vishal Thanki
Got it.. Thanks!!! Daniel Baluta wrote: On Thu, Apr 2, 2009 at 9:25 AM, Vishal Thanki vishaltha...@gmail.com wrote: Hello, Can anyone tell me what does memmap parameter means in boot arguments of kernel? I am working on an embedded device which is running linux, and it has the following

Re: memmap in bootargs

2009-04-02 Thread Rizvan
On Thu, Apr 2, 2009 at 11:55 AM, Vishal Thanki vishaltha...@gmail.com wrote: Hello, Can anyone tell me what does memmap parameter means in boot arguments of kernel? I am working on an embedded device which is running linux, and it has the following parameter passed as boot argument :

RE: Usage of Semaphore with a workqueue

2009-04-02 Thread Microbit_P43000
I think it's a bit hard to tell. What are the reasons a semaphore acquisition might fail ? Is there more than one task operating on the work queue ? This should be a straight forward producer-consumer implementation, but it depends on how many consumers there are. Best Regards, Kris

timer function

2009-04-02 Thread nidhi mittal
i have set up a timer to execute after i sec using struct timer_list . and and it executes after 1 sec okay but that's all only one time... i wanted to know does timer itself mean to execute only one time in future OR periodically after every one sec in future -- Thanks Regards Nidhi

Re: timer function

2009-04-02 Thread Belisko Marek
Hi, On Thu, Apr 2, 2009 at 9:43 AM, nidhi mittal nidhimitta...@gmail.com wrote: i have set up a timer to execute after i sec   using struct timer_list . and and it executes after 1 sec okay but that's all only one time... i wanted to know does timer itself mean to execute only one

Re: Usage of Semaphore with a workqueue

2009-04-02 Thread Devesh Sharma
Hello Michael thanks for replying, My comments are inline below On Wed, Apr 1, 2009 at 10:11 PM, Michael Blizek mic...@michaelblizek.twilightparadox.com wrote: Hi! On 20:42 Wed 01 Apr , Devesh Sharma wrote: Hello list, Consider a case where I have a workqueue, a work is submitted to a

Re: Differences between SLUB/SLAB/SLOB/SLQB

2009-04-02 Thread Peter Teoh
Thank you Mulyadi, I have read another article (with graphical display): http://lwn.net/Articles/311502/?format=printable Quite readable article. Thanks for the sharing On Thu, Apr 2, 2009 at 12:37 AM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: On Wed, Apr 1, 2009 at 10:08 AM,

Re: timer function

2009-04-02 Thread nidhi mittal
thanks ..i also realized it now. but is thr any other timer interrupt sort of which by itself executes lets say function x after every 1 second Nidhi On Thu, Apr 2, 2009 at 1:25 PM, Belisko Marek marek.beli...@gmail.comwrote: Hi, On Thu, Apr 2, 2009 at 9:43 AM, nidhi mittal

Re: timer function

2009-04-02 Thread Matthias Kaehlcke
El Thu, Apr 02, 2009 at 01:13:41PM +0530 nidhi mittal ha dit: i have set up a timer to execute after i sec using struct timer_list . and and it executes after 1 sec okay but that's all only one time... i wanted to know does timer itself mean to execute only one

Re: Usage of Semaphore with a workqueue

2009-04-02 Thread Devesh Sharma
On Thu, Apr 2, 2009 at 5:36 AM, Peter Teoh htmldevelo...@gmail.com wrote: i think u are right, looking at drivers/char/rocket.c as an example (read the comment): Yes, with drivers write entry point this is fine..but what about using it with workqueue context? /* * Exception handler -

Re: timer function

2009-04-02 Thread nidhi mittal
yes i solved it i timer function i set it again for another 1 sec and it works fine .. thanks On Thu, Apr 2, 2009 at 1:34 PM, Matthias Kaehlcke matth...@kaehlcke.netwrote: El Thu, Apr 02, 2009 at 01:13:41PM +0530 nidhi mittal ha dit: i have set up a timer to execute after i sec using

Embedded Linux Vs WinCE

2009-04-02 Thread Vivek Kumar Gupta
My manager asked to check difference between WinCE vs Embedded Linux. I am googling.but did not a satisfactory result. I just want comparison in 1. Foot print 2. Wireless mainly RF , WiFi, zigbee, Bluetooth etc support 2. Market survey of 2008, to check which is popular. From

Re: Embedded Linux Vs WinCE

2009-04-02 Thread Henrik Austad
On Thursday 02 April 2009 11:07:03 Vivek Kumar Gupta wrote: My manager asked to check difference between WinCE vs Embedded Linux. Please do not hicjack other threads. Instead, start a new thread (do not hit reply-to and change the subject). I am googling.but did not a satisfactory result.

Re: asynchronous request procesisng in ram based block dev driver

2009-04-02 Thread Lal
On Tue, Mar 31, 2009 at 2:03 PM, nidhi mittal nidhimitta...@gmail.com wrote: hi i have written a very simple ram based block device driver processing request asynchronously wherein in request function -- dequeue the req from req queue and add it to the linked list then in the function

Re: understanding the linux code

2009-04-02 Thread Rohit Sharma
If you have better understanding of C language, preprocessor directives usage then you will understand the things more clearly. And as debian developer suggested, if you can provide us with the code snippet may be we can help. ;), also develop a habit of using csope or linux cross reference. On

Fwd: [ANNOUNCE] Filesystem test tools open-sourced by SGI

2009-04-02 Thread Peter Teoh
FYI only. -- Forwarded message -- From: Greg Banks g...@sgi.com Date: Thu, Apr 2, 2009 at 10:28 AM Subject: [ANNOUNCE] Filesystem test tools open-sourced by SGI To: NFS list linux-...@vger.kernel.org, Linux Filesystem list linux-fsde...@vger.kernel.org, XFS OSS list

Re: Accesing GPIO of ICH10

2009-04-02 Thread Peter Teoh
On Wed, Apr 1, 2009 at 8:09 PM, Lakshmana Reddy rvlreddy.t...@gmail.com wrote: Hi, I was trying toggle one of the GPIO pins on ICH10 chipset (Intel southbridge), but couldn't find the relevant GPIO source in linux 2.6.23. Can somebody shed some light on relevant sources in linux to access the

Re: asynchronous request procesisng in ram based block dev driver

2009-04-02 Thread Peter Teoh
On Thu, Apr 2, 2009 at 8:46 AM, Lal learner.ker...@gmail.com wrote: On Tue, Mar 31, 2009 at 2:03 PM, nidhi mittal nidhimitta...@gmail.com wrote: hi i have written a very simple ram based block device driver processing request asynchronously wherein in request function -- dequeue the req

Re: Accesing GPIO of ICH10

2009-04-02 Thread Lakshmana Reddy
Thanks Peter! The patch is to support ICH10 in kernel versions. Actually, I need a help to find out how to access a GPIO reg in ICH family (say 8/9 in existing 2.6.23 version) under linux. it would be great if any pointers to the sources in the kernel currently doing it. Thanks in advance !!

Re: Accesing GPIO of ICH10

2009-04-02 Thread Peter Teoh
On Thu, Apr 2, 2009 at 4:47 PM, Lakshmana Reddy rvlreddy.t...@gmail.com wrote: Thanks Peter! The patch is to support ICH10 in kernel versions. Actually, I need a help to find out how to access a GPIO reg in ICH family (say 8/9 in existing 2.6.23 version) under linux. it would be great if

Re: Usage of Semaphore with a workqueue

2009-04-02 Thread Peter Teoh
Hi Michael, Nice to discuss with you. On Thu, Apr 2, 2009 at 1:55 PM, Michael Blizek mic...@michaelblizek.twilightparadox.com wrote: Hi! On 08:06 Thu 02 Apr     , Peter Teoh wrote: i think u are right, looking at drivers/char/rocket.c as an example (read the comment): /*  *  Exception

regarding st_rdev..

2009-04-02 Thread roy basavaraju
Hi, is it possible to get st_rdev value from Major Minor number combination. i am working on one application, which extracts a char/block device major minor number. now i have to get st_rdev device id from these major/minor values.. is it possible? Thanks in advance, -Ram