Re: can we execute c shell cmd in c function?

2010-08-03 Thread Anoop
On Tue, Aug 3, 2010 at 12:39 PM, loody wrote: > Dear all: > Can I execute c shell in my c function call? Not really a kernel question. Anyway you can use 'system' call. See 'man system' for more details. Thanks, Anoop > suppose I want to mount some device before I

Re: what is asmlinkage ?

2010-07-21 Thread Anoop
t; help is greatly appreciated > > Thanks and Regards >  Smital Desai Googling asmlinkage gave this[1] as the first result and I think you would like to read second[2] as well. All in all, you will find lot of information on kernel newbies itself. Hope you are doing great :) -

Re: Unhandled kernel unaligned access

2010-03-06 Thread Anoop
On Sat, Mar 6, 2010 at 5:04 PM, Xiangfu wrote: > Hi > > Sorry, what you mean about 3G card. Huawei E169 USB Modem. Thanks, Anoop > > Anoop wrote: > >>Hi List, >> >>I am working on a target with MIPS architecture to support a USB 3G >>card. This car

Unhandled kernel unaligned access

2010-03-06 Thread Anoop
am using Kernel '2.6.21'. Any help in this regard will be highly appreciated. Thanks, Anoop Here is the dump: [...] Unhandled kernel unaligned access[#1]: Cpu 0 $ 0 : 8058f960 $ 4 : 8012581c dc420040

Re: USB detection

2010-02-13 Thread Anoop
Hi Greg, Thanks for reply. On Sat, Feb 13, 2010 at 10:02 PM, Greg KH wrote: > On Wed, Feb 10, 2010 at 09:46:42PM +0530, Anoop wrote: >> Hi List, >> >> My system has two USB ports. And I want to know, what is the way to >> find, to which USB port the device is plu

USB detection

2010-02-10 Thread Anoop
Hi List, My system has two USB ports. And I want to know, what is the way to find, to which USB port the device is plugged in. Moreover what type of device is it. Can I figure this out from kspace? Thank you very much, Regards, Anoop -- To unsubscribe from this list: send an email with

Re: Loading modules on every boot

2009-07-15 Thread Anoop
>> >> This is for automatic insertion of the module. But for automatic device node >> creation 'udev' is needed; am I right here? > > Yes, you're right. Just curious to know, Can't we do something in module_init() to create a device node automatically, w

Re: ddd installation

2009-02-06 Thread Anoop
On Fri, Feb 6, 2009 at 7:25 PM, Shyam Burkule wrote: > > > On Fri, Feb 6, 2009 at 8:52 AM, Anoop wrote: >> >> On Fri, Feb 6, 2009 at 7:21 PM, Shyam Burkule >> wrote: >> > I am using Fedora. >> Do a >> >> # yum install ddd > > I tried

Re: ddd installation

2009-02-06 Thread Anoop
On Fri, Feb 6, 2009 at 7:21 PM, Shyam Burkule wrote: > I am using Fedora. Do a # yum install ddd -Anoop > > On Fri, Feb 6, 2009 at 7:19 PM, Anoop wrote: >> >> >> > I am using ddd 3.3.11 distro. >> >> I mean linux distribution (on PC), not ddd distr

Re: ddd installation

2009-02-06 Thread Anoop
>> > I am using ddd 3.3.11 distro. >> I mean linux distribution (on PC), not ddd distribution :) > > Ohh sorry. I am using linux 2.6.18 distribution. He is asking whether you use Fedora, Ubuntu, Suse etc. -Anoop -- To unsubscribe from this list: send an email with "uns

Re: Where is the mkinitrd command ?

2008-12-30 Thread Anoop
edora 10) > > I wish to know which parameters are passed to this call and where it is > located. You can use it like: # mkinitrd see 'man mkinitrd' for more details Thanks, Anoop > > Any ideas? > Thanks, > Mark Ryden > > -- > To unsubscribe from this lis

Re: how to add my own module in menconfig

2008-04-08 Thread ANOOP
n add your entries in similar way. Thanks, Anoop > > thx. > -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [EMAIL PROTECTED] Please read the FAQ at http://kernelnewbies.org/FAQ

Re: Hi all......

2008-03-11 Thread ANOOP
tart reading Linux Device Drivers <http://lwn.net/Kernel/LDD3/>. Thanks, Anoop > > Regards, > vasant

Re: Kernel panic on Linux boot up

2008-02-20 Thread ANOOP
> i2c /dev entries driver > AT91 MMC: 4 wire bus mode not supported by this driver - using 1 wire > TCP cubic registered > NET: Registered protocol family 1 > NET: Registered protocol family 17 > VFS: Mounted root (jffs2 filesystem).name-/dev/root fs-jffs2 flags32768 > Freeing init

Re: my first driver !

2008-02-03 Thread ANOOP
nsidering that I am a newbie , is it impossible or very > tough to do so . This depends on your skills :) Please guide me with some links and pointers as to > how I should go about it. This is the first one: http://lwn.net/Kernel/LDD3/ Thanks, Anoop Sabya. > > -- > To unsubscrib

pblm getting size of files during fetching to page cache

2007-12-17 Thread Anoop Joe Cyriac
ile size from the field i_size... So my question is ..is there any way to get file size of any file during kernel bootingand also if possible can any one explain the above behaviour??? -- Regards anoop. Happiness is when what you think, what you say, and what you do are in harmony --MG. --- Begi

pblm getting size of files during fetching to page cache

2007-11-24 Thread Anoop Joe Cyriac
hi everyone For past few days i have been working in the kernel page cache datastructures just for some optimizationsand while using them i came across a necessity to have have the size of those files which are put into cache. i thought it would be easy, for from 'address_space' datastructure

Re: How to bring up a board.

2007-11-21 Thread ANOOP
On Nov 21, 2007 4:27 PM, Rajat Jain <[EMAIL PROTECTED]> wrote: > > > Dare all, > > > > Thanking you in advance > > > > > > How to bring up the Hynix board. > > Using escalator? > > :-) Its simple... Power it on... > > > -- > To unsubscribe from this list: send an email with > "unsubscribe kerne

Re: Syscall Creation Question - New Member

2007-09-28 Thread ANOOP
t is > > to make the module version so we can learn ways. > > Why are you asking others to do your homework for you? > > confused, He was saying that he don't want others to do his homework :) -anoop greg k-h > > -- > To unsubscribe from this list: send an email wi

Re: gnome mailer for sending patches ?

2007-08-23 Thread Anoop Chargotra
You can use Thunderbird. -anoop On 8/24/07, Ramagudi Naziir <[EMAIL PROTECTED]> wrote: > > hello all.. > > can you please recommend me a good gnome mailer i can use > to send patches ? > I used KMAIL with fedora, which was great, but now i switched > to Ubuntu which

Re: Interface statistics

2007-08-23 Thread Anoop Chargotra
Hi Erik, I think you interpreted me wrongly... I want to show these counters in my application. Actually I want to know from where I can read them. Is there any file etc. ? Thanks, Anoop On 8/23/07, Erik Mouw <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE

Interface statistics

2007-08-22 Thread Anoop Chargotra
Hi All, Can any one tell from from where I can read 'Receive Broadcast packets' and 'Receive Pause Frames' for an interface. I am new to this stuff. Any help in this regard will be greatly appreciated. Thanks, Anoop

Glowing LED on POST failure

2007-08-16 Thread Anoop Chargotra
Hi All, I want to glow some LEDs on a ARM machine if POST fails. Can anyone tell me where should I put the LED glowing code ? Is it in init/main.c or somewhere else ? Any help in this regard will be greatly appreciated. Thanks, Anoop

Re: how do YOU do kernel hacking ?

2007-08-11 Thread Anoop Chargotra
Use 'ctags' and 'cscope' in ether 'gvim' or 'emacs'. I think that will be better. Thanks, Anoop On 8/11/07, Jesper Juhl <[EMAIL PROTECTED]> wrote: > > On 11/08/07, Ramagudi Naziir <[EMAIL PROTECTED]> wrote: > > hi all > &

irq28: nobody cared

2007-08-10 Thread Anoop Chargotra
; and card uses a serial driver. Any help in this regard is greatly appreciated... Regards, Anoop [...] Aug 11 05:59:24 [W1100] [kernel] irq28: nobody cared Aug 11 05:59:24 [W1100] [kernel] Pid: 2545, comm: cgi Aug 11 05:59:24 [W1100] [kernel] CPU: 0 Aug 11 05:59:24 [W1100] [kernel