congestion_wait

2010-06-28 Thread Ram Sharma
With respect to congestion_wait function in mm/backing-dev.c, does congestion mean a situation where a process have to wait (to write more) in D state because dirty page flushing to disk is in progress? During congestion, do every process have to wait? Regards, Ram -- To unsubscribe from this

Re: Find PTE for a virtual address?

2010-06-28 Thread sam shepperd
On Mon, Jun 28, 2010 at 12:47 AM, Venkatram Tummala venkatram...@gmail.com wrote: On Sun, Jun 27, 2010 at 10:05 PM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: On Mon, Jun 28, 2010 at 09:54, sam shepperd samshepp...@gmail.com wrote: Kindly thanks - that helps.  However the virtual

Re: Find PTE for a virtual address?

2010-06-28 Thread sam shepperd
On Mon, Jun 28, 2010 at 12:05 AM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: On Mon, Jun 28, 2010 at 09:54, sam shepperd samshepp...@gmail.com wrote: Kindly thanks - that helps.  However the virtual address of the kernel symbol I am looking up in memory is not within current-mm. Are you

recommendations for cheap PCI/PCIe card with OSS drivers?

2010-06-28 Thread Robert P. J. Day
a friend asks me for a cheap pci/pcie card with OSS drivers? Uart/parallel port with something hanging off it (null modem or arduino or LEDs). suggestions? rday -- Robert P. J. Day

Re: file system performance in linux

2010-06-28 Thread Mulyadi Santosa
Hi Umesh I hope you don't mind if I cc: my reply to kernelnewbies mailing list as well On Mon, Jun 28, 2010 at 20:17, Umesh kanodia umesh.kano...@gmail.com wrote: Hello Mulyadi, I just started working UDF file system.I would like to know if test suites avialiable  to test functionality

Re: Accessing kernel memory from multiple modules

2010-06-28 Thread Usman S. Ansari
--- On Sun, 6/27/10, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: Obviously memory is allocated in both cases. OK, that was something I was unaware. So, in module A which originally holds the struct, you already put a value in buf[0]? And you absolutely sure it's allocated there,

Re: congestion_wait

2010-06-28 Thread Mulyadi Santosa
On Mon, Jun 28, 2010 at 18:20, Ram Sharma ram99.sha...@gmail.com wrote: With respect to congestion_wait function in mm/backing-dev.c, does congestion mean a situation where a process have to wait (to write more) in D state because dirty page flushing to disk is in progress? During congestion,

Re: Getting undefined reference , how to link during module building ?

2010-06-28 Thread Mulyadi Santosa
On Mon, Jun 28, 2010 at 13:14, Ramesh Rajagopal shm...@gmail.com wrote: Hi Guys,    I am trying to do the following but I am getting undefined reference error ? I have two modules lets say Module A Module B. Module B defines a function called module_b_func() which got exported also. Then I

Re: How to port linux drivers ftom devfs to udev.

2010-06-28 Thread StephanT
Your Subject is very generic. Well, my subject says I am looking for a migration/port guide. If you have such document I will be very grateful to get a pointer on it. Thanks, Stephan. -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org

Re: How to port linux drivers ftom devfs to udev.

2010-06-28 Thread Greg KH
On Mon, Jun 28, 2010 at 10:40:33AM -0700, StephanT wrote: Your Subject is very generic. Well, my subject says I am looking for a migration/port guide. If you have such document I will be very grateful to get a pointer on it. Again, it all depends on the code. Some interfaces have

Re: Find PTE for a virtual address?

2010-06-28 Thread Venkatram Tummala
On Mon, Jun 28, 2010 at 6:34 AM, sam shepperd samshepp...@gmail.com wrote: On Mon, Jun 28, 2010 at 12:47 AM, Venkatram Tummala venkatram...@gmail.com wrote: On Sun, Jun 27, 2010 at 10:05 PM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: On Mon, Jun 28, 2010 at 09:54, sam shepperd

Re: building 64 bit kernel (2.6.34) on RHEL5.4

2010-06-28 Thread ridgetwo
Using the command make bzImage V=1 and looks like it defaults to x86 instead of x86_64 (output is below) gcc -Wp,-MD,scripts/kconfig/.zconf.tab.o.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -I/usr/include/ncurses -DCURSES_LOC=ncurses.h -DLOCALE

Re: recommendations for cheap PCI/PCIe card with OSS drivers?

2010-06-28 Thread StephanT
a friend asks me for a cheap pci/pcie card with OSS drivers? Uart/parallel port with something hanging off it (null modem orarduino or LEDs). A good place to start: 1. http://microcontrollershop.com/ 2. http://www.embeddedarm.com/index.php Good luck, /Stephan -- To unsubscribe from

Re: How to port linux drivers ftom devfs to udev.

2010-06-28 Thread StephanT
Again, it all depends on the code. Some interfaces have changed radically from the past 8 years, while others, not much at all. Care to post it? Negotiation becomes tougher and tougher ... :-) Joking a bit - this reminds me a nice statement I heard in some TV show discussing

Re: doubt regarding partition table and bootloader

2010-06-28 Thread raja roy
thank you luca, arshad, adam for participating in the discussion and correcting my concepts. thanks a lot!!.. :) I have one more doubt, as the primary boot loader transfers control to the 1.5 staged boot loader located just after the end of MBR, which (1.5) loads the secondary boot loader. My

function from userspace

2010-06-28 Thread Rahul Kumar
Hi, What will happen when getchar () (or some other operation) is called from userspace. I would like to know all the trace until you receive the character from kernel to userspace. My rough understanding is: getchar calls library function which calls system call...etc. I need some proper

Allocating struct sock from kernel module

2010-06-28 Thread Jim Sansing
I am trying to send a Raw packet from my kernel module. I found what I hoped was a good example, but it came with the warning that allocating the 'struct sock' was the tricky part, which is where I am now. I want to use sk_alloc, which is defined as: struct sock *sk_alloc(struct net *net,

Re: BUG: soft lockup - CPU#0 stuck for 61s!

2010-06-28 Thread sanjeev sharma
*This seems an issue with softlock ups in kernel.According to the kernel sources (kernel/softlockup.c) the error soft lockup detected means a CPU in kernel code didn't reschedule for 10 seconds or more (watchdog timeout). It may be caused by driver code that processes hardware interrupts for more