RE: What is a Software Interrupt?

2007-10-26 Thread Thippeswamy, Aravind
Thanks. That explained a lot. Regards,, Aravind. Dovie'andi se tovya sagain -Mat Cauthon (WoT). -Original Message- From: Peter Teoh [mailto:[EMAIL PROTECTED] Sent: Friday, October 26, 2007 6:54 AM To: Thippeswamy, Aravind Cc: kernelnewbies@nl.linux.org Subject: Re: What is a Software

get_user_pages returns fewer pages than requested

2007-10-26 Thread Tuytschaever, Tom
Dear Subscribers, After browsing the web for several hours I turn to you to get an answer. As stated in LDD3 p.436 the function get_user_pages can return fewer pages than requested (have already seen this during testing). Though I have not been able to find an explanation why it would do it,

Re: get_user_pages returns fewer pages than requested

2007-10-26 Thread Mulyadi Santosa
Hi... Allow me to share my thought here.. As stated in LDD3 p.436 the function get_user_pages can return fewer pages than requested (have already seen this during testing). Though I have not been able to find an explanation why it would do it, and how to act when it does. After checking the

high load on 2.4.24-rc1

2007-10-26 Thread Greg Donald
I've been testing 2.4.24-rc1 the past few days and I think I may have found an issue. The load on my machine is hovering steadily at 1 but it's not running anything to cause it, not anything I can see anyway: w 12:32:40 up 4:56, 1 user, load average: 1.00, 1.00, 0.93 USER TTY FROM

Re: free a slab object

2007-10-26 Thread Mulyadi Santosa
Hi... there are codes like the following which I can not understand: unsigned int objnr = obj_to_index(cachep, slabp, objp); slab_bufctl(slabp)[objnr] = slabp-free; slabp-free = objnr; slabp-inuse--; and slab_bufctl(slabp) is (kmem_bufctl_t *)(slabp + 1). Since

Re: Kernel Module Woes

2007-10-26 Thread Mulyadi Santosa
Hi... Ok. So I've successfully compiled a kernel without any errors into .rpm format. When I install the kernel I have no errors. However, when I type mkinitrd I get the following: Cannot determine dependencies of module adpahci. Is modules.dep up to date? I ensured that the module was in the

Re: high load on 2.4.24-rc1

2007-10-26 Thread Mulyadi Santosa
Hi... I've been testing 2.4.24-rc1 the past few days and I think I may have found an issue. The load on my machine is hovering steadily at 1 but it's not running anything to cause it, not anything I can see anyway: I suspect one of two possible things below: 1. Bug in the new CFS (Complete

Re: System-global flag on an x86

2007-10-26 Thread Mulyadi Santosa
Hi... I'd like to know if there's a way to set a system-global flag in user mode that can be read in kernel mode. Specifically, I'd like to know if a NAPI poll function is being executed during a system call that I wrote, so the idea is to set the flag before the system call is invoked, clear

Re: Kernel Module Woes

2007-10-26 Thread Mulyadi Santosa
Hi... I don't do any special commands just: depmod mkinitrd Is that my problem? yes, I believe so. Please read the manual more carefully. Hint for mkinitrd: mkinitrd image you want to build kernel version that you build the initrd against Hint for depmod: depmod kernel version that

Recommendation for a dev system

2007-10-26 Thread Pavan Kandepet
Hello, I'm pretty new to kernel development and would like to setup a ideal dev system for playing around. I've read most of the documents posted on kernelnewbies and I specifically would like to compile many kernels and play around with them. I'd like to know what an

Re: System-global flag on an x86

2007-10-26 Thread Elad Lahav
No, because that would only turn the flag on inside the kernel. I need it on before the system call starts executing. My quick'n'dirty hack is to user the FPU control word. It is accessible from user mode, very cheap to read and write, globally enforced, and doesn't seem to be causing any

Re: TCP checksum fails

2007-10-26 Thread Elad Lahav
TCP checksum may actually be computed in hardware, so that the value you see in the packet may not be the final checksum value. Which NIC are you using? You can use ethtool to check whether it has TCP offload capabilities. Elad Gaurav Aggarwal wrote: Hi All, I wrote a program where I am

Re: high load on 2.4.24-rc1

2007-10-26 Thread Greg Donald
On 10/26/07, Nish Aravamudan [EMAIL PROTECTED] wrote: What other two schedulers? Maybe you're confusing CFS (*the* process scheduler) with CFQ (*a* IO scheduler, along with deadline, noop and anticipatory). I sure was. -- Greg Donald http://destiney.com/ -- To unsubscribe from this list: