Re: spin_lock and scheduler confusion

2011-01-07 Thread anish singh
On Fri, Jan 7, 2011 at 1:19 PM, nilesh nilesh.tay...@netscout.com wrote: On Fri, 2011-01-07 at 13:05 +0530, Rajat Sharma wrote: As I remember timer interrupt as well is an NMI so, it is possible (although not advised) to call schedule function while holding spinlock on same core.

Re: ARM Cross Compilation Toolchain on x86 machine

2011-01-07 Thread Alexandre Courbot
Thanks for the link. However, you are saying that it is a different toolchain based on GCC. I did not understand this sentence correctly. Actually, I want to compile the sources using arm-elf-gcc command. Is this supported by this codesourcery tool? If you have already used, please let me

Re: ARM Cross Compilation Toolchain on x86 machine

2011-01-07 Thread Madhavi Manchala
On Fri, Jan 7, 2011 at 6:44 AM, Manohar Vanga manohar.va...@gmail.com wrote: Hi, I would suggest using ELDK. I have had an easy time setting it up in the past. $ wget ftp://ftp.denx.de/pub/eldk/4.2/arm-linux-x86/iso/arm-2008-11-24.iso $ mount -o loop arm-2008-11-24.iso /mnt $ cd /mnt $ sudo

Re: spin_lock and scheduler confusion

2011-01-07 Thread nilesh
On Fri, 2011-01-07 at 13:33 +0530, anish singh wrote: On Fri, Jan 7, 2011 at 1:19 PM, nilesh nilesh.tay...@netscout.com wrote: On Fri, 2011-01-07 at 13:05 +0530, Rajat Sharma wrote: As I remember timer interrupt as well is an NMI so, it is possible

Nice Linux Reference Stuff

2011-01-07 Thread Ashok Babu
Hi Pals, For those who are new to linux kernel or need instant reference on various areas of linux, the following link would be a good start : http://www.makelinux.net/reference Thanks Regards Ashok ___ Kernelnewbies mailing list

Re: spin_lock and scheduler confusion

2011-01-07 Thread Rajat Sharma
As I remember timer interrupt as well is an NMI so, it is possible (although not advised) to call schedule function while holding spinlock on same core. spin_lock_irqsave(); schedule(); spin_lock_irqrestore(); sorry for confusion created by my last mail, looks like its only watchdog timer

Re: Questions about complete

2011-01-07 Thread loody
hi all: 2011/1/6 Rajat Sharma fs.ra...@gmail.com: Hi loody, calling complete will make the waiter process runnable but won't necessarily switch to waiter thread and make it run. Its upto scheduler to pick this process from run queue and execute based on its priority value. I think there is

Re: spin_lock and scheduler confusion

2011-01-07 Thread Dave Hylands
Hi Rajat, On Thu, Jan 6, 2011 at 11:35 PM, Rajat Sharma fs.ra...@gmail.com wrote: As I remember timer interrupt as well is an NMI so, it is possible (although not advised) to call schedule function while holding spinlock on same core. spin_lock_irqsave(); schedule(); spin_lock_irqrestore();

Re: spin_lock and scheduler confusion

2011-01-07 Thread Dave Hylands
Hi Nilesh. Using reply all this time... On Thu, Jan 6, 2011 at 10:27 PM, Tayade, Nilesh nilesh.tay...@netscout.com wrote: ...snip... You shouldn't be holding a spinlock for periods of time approaching the length of a timeslice. The timer interrupt is what determines the end of a timeslice.

How does the kernel setup the file system

2011-01-07 Thread Fu Kai
hi folks, I'm looking the source code about linux file system recently. I have scanned over ext2, and now I'm very curious about how does the kernel setup the ext2 up, but I couldn't locate the corresponding code. Could anybody give any advice for me? Thanks, owr

Re: ARM Cross Compilation Toolchain on x86 machine

2011-01-07 Thread Dave Hylands
Hi Madhavi, On Fri, Jan 7, 2011 at 1:30 AM, Madhavi Manchala madhavi.li...@gmail.com wrote: ...snip... Where can I get the list of supported CPU family types for ARM architecture like ARM5, ARM7, ARM926EJ etc. In case of Power Architecture (PPC) there is a list as shown in the below link at

Re: How does the kernel setup the file system

2011-01-07 Thread Greg Freemyer
On Fri, Jan 7, 2011 at 11:10 AM, Fu Kai kapenw...@gmail.com wrote: hi folks, I'm looking the source code about linux file system recently. I have scanned over ext2, and now I'm very curious about how does the kernel setup the ext2 up, but I couldn't locate the corresponding code. Could

RE: spin_lock and scheduler confusion

2011-01-07 Thread Viral Mehta
Hi, From: Dave Hylands [dhyla...@gmail.com] Subject: Re: spin_lock and scheduler confusion I guess timeslice expire case is not as same as preemption. Or may be I am terribly wrong. You shouldn't be holding a spinlock for periods of time approaching

enabling bridge support in 2.4.26 Debian kernel

2011-01-07 Thread Don Tucker
Hello, I recently rebuilt a 2.4.26 kernel, and selected [M] 802.1d Ethernet Bridging during the make menuconfig stage. When I attempt the make modules_install stage, I get errors at the end when depmod is run (because I am cross-compiling on a different platform (i386 for ARM), and running

Re: enabling bridge support in 2.4.26 Debian kernel

2011-01-07 Thread Greg KH
On Fri, Jan 07, 2011 at 11:56:05AM -0600, Don Tucker wrote: Hello, I recently rebuilt a 2.4.26 kernel, and selected Wow, you do realize just how old and unsupported that kernel version is, right? Why not try something more modern? thanks, greg k-h

Re: enabling bridge support in 2.4.26 Debian kernel

2011-01-07 Thread Don Tucker
Yeah, unfortunately, I'm constrained to use that kernel version by the hardware that I've got. A third party has configured the kernel to support their hardware and they do not support later kernel versions on it, alas. There have been attempts to run more recent kernels on their hardware,

Re: enabling bridge support in 2.4.26 Debian kernel

2011-01-07 Thread Greg KH
On Fri, Jan 07, 2011 at 01:34:58PM -0600, Don Tucker wrote: Yeah, unfortunately, I'm constrained to use that kernel version by the hardware that I've got. A third party has configured the kernel to support their hardware and they do not support later kernel versions on it, alas. There

Re: LDD3 examples updated

2011-01-07 Thread Javier Martinez Canillas
We can for example have three branches: 2.6.32, 2.6.35 and linux-next. -- Hello, I created two branches: v2.6.32 that will be in sync with git://git.kernel.org/pub/scm/linux/kernel/git/longterm/linux-2.6.32.y.git v2.6.35 that will be in sync with

Re: How does the kernel setup the file system

2011-01-07 Thread Rahul Deshmukh
Hello, I think you are looking for following: fs/ext2/super.c: init_ext2_fs()- register_filesystem(ext2_fs_type)- ext2_get_sb()-ext2_fill_super() For every file system in linux kernel, first it register itself with register_filesystem(). Here this call is called when ext2 module is loaded.

Re: How does the kernel setup the file system

2011-01-07 Thread Fu Kai
hi, thanks you all, Rahul's suggestion really helps me. On 1/8/11, Rahul Deshmukh rahul.deshm...@gmail.com wrote: Hello, I think you are looking for following: fs/ext2/super.c: init_ext2_fs()- register_filesystem(ext2_fs_type)- ext2_get_sb()-ext2_fill_super() For every file system in

Re: LDD3 examples updated

2011-01-07 Thread Hanumant Singh
On Fri, Jan 7, 2011 at 5:40 PM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: We can for example have three branches: 2.6.32, 2.6.35 and linux-next. -- Hello, I created two branches: v2.6.32 that will be in sync with

help with status of realtek wifi driver?

2011-01-07 Thread Dave Stevens
Hi, My Samsung N220 has a RTL8192E wifi chip. The windows 7 driver works fine, but I think the Linux driver is in staging. Does anyone know how to find out if there is work being done on this driver or who is doing it? Flaky in Ubuntu. lspci -nn shows: 05:00.0 Network controller [0280]:

Re: help with status of realtek wifi driver?

2011-01-07 Thread Mandeep Sandhu
My Samsung N220 has a RTL8192E wifi chip. The windows 7 driver works fine, but I think the Linux driver is in staging. Does anyone know how to find out if there is work being done on this driver or who is doing it? Flaky in Ubuntu. lspci -nn shows:  05:00.0 Network controller [0280]:

Re: help with status of realtek wifi driver?

2011-01-07 Thread Greg KH
On Fri, Jan 07, 2011 at 08:36:51PM -0800, Dave Stevens wrote: Hi, My Samsung N220 has a RTL8192E wifi chip. The windows 7 driver works fine, but I think the Linux driver is in staging. Does anyone know how to find out if there is work being done on this driver or who is doing it? Flaky