Re: Regarding Page Swap out

2008-06-12 Thread Guo Hongruan
Hi sahlot arvind, sahlot arvind 写道: Guys, 1. If I allocate a page of memory through kmalloc () inside my driver then are there chances in future that this page might get swapped out? I mean as in kernel pages never get swapped out so I am bit confused if kmalloc'd pages are candidate for

Re: Regarding Page Swap out

2008-06-12 Thread Johannes Weiner
Hi, sahlot arvind [EMAIL PROTECTED] writes: Guys, 1. If I allocate a page of memory through kmalloc () inside my driver then are there chances in future that this page might get swapped out? I mean as in kernel pages never get swapped out so I am bit confused if kmalloc'd pages are

Deciphering Call Trace details

2008-06-12 Thread jasjit singh
Hi all whenever kernel gets panicked, it gives some messages like - NMI Watchdog detected LOCKUP, CPU=0, registers: CPU 0 Modules linked in: ccp(U) md5 ipv6 parport_pc lp parport autofs4 i2c_dev i2c_core nfs lockd

Linux kernel booting code flow.

2008-06-12 Thread Mohamed Thalib .H
Hi all where can i get the detail about the code flow of linux, what i mean is which the first file that is executed when linux bootsup and the next .. till it reaches the console login. - Best Regards, Mohamed Thalib .H -- To unsubscribe from this list: send an email with

Re: Deciphering Call Trace details

2008-06-12 Thread Johannes Weiner
Hi, jasjit singh [EMAIL PROTECTED] writes: Hi all whenever kernel gets panicked, it gives some messages like - NMI Watchdog detected LOCKUP, CPU=0, registers: CPU 0 Modules linked in: ccp(U) md5 ipv6

Re: Deciphering Call Trace details

2008-06-12 Thread Mulyadi Santosa
Hi... On Thu, Jun 12, 2008 at 7:23 PM, jasjit singh [EMAIL PROTECTED] wrote: My question is how I can decipher the constant values that are added to (perhaps) function pointers. e.g 412 in {chrdev_open+412}. that's...IIRC the offset from the beginning of function. Can these figures be

Re: Linux kernel booting code flow.

2008-06-12 Thread Mulyadi Santosa
On Thu, Jun 12, 2008 at 7:33 PM, Mohamed Thalib .H [EMAIL PROTECTED] wrote: Hi all where can i get the detail about the code flow of linux, what i mean is which the first file that is executed when linux bootsup and the next .. till it reaches the console login. better get a copy

Re: Regarding Page Swap out

2008-06-12 Thread sahlot arvind
Thanks guys! On Thu, Jun 12, 2008 at 12:15 PM, Johannes Weiner [EMAIL PROTECTED] wrote: Hi, sahlot arvind [EMAIL PROTECTED] writes: Guys, 1. If I allocate a page of memory through kmalloc () inside my driver then are there chances in future that this page might get swapped out? I

Re: Deciphering Call Trace details

2008-06-12 Thread Wenhua Zhao
Hi, Mulyadi Santosa [EMAIL PROTECTED] writes: On Thu, Jun 12, 2008 at 7:23 PM, jasjit singh [EMAIL PROTECTED] wrote: My question is how I can decipher the constant values that are added to (perhaps) function pointers. e.g 412 in {chrdev_open+412}. that's...IIRC the offset from the

Re: Deciphering Call Trace details

2008-06-12 Thread Bernd Schubert
Hello Jasjit, jasjit singh wrote: Hi all whenever kernel gets panicked, it gives some messages like - NMI Watchdog detected LOCKUP, CPU=0, registers: CPU 0 Modules linked in: ccp(U) md5 ipv6 parport_pc lp

iface in promiscuous mode

2008-06-12 Thread guildivernos guildivernos
Hi list, I am not sure if this is the right place to ask this question, sorry if this is off toppic. I need to check if my iface is in promiscuous mode. I can check this with ioctl, but this only works if I set the iface in promisc with ifconfig (no with tcpdump). I saw that tcpdump uses

Re: iface in promiscuous mode

2008-06-12 Thread Mauricio Mauad Menegaz Filho
2008/6/12 guildivernos guildivernos [EMAIL PROTECTED]: Hi list, Hi! I need to check if my iface is in promiscuous mode. I can check this with ioctl, but this only works if I set the iface in promisc with ifconfig (no with tcpdump). I saw that tcpdump uses setsockopt to put the iface in

Re: Linux kernel booting code flow.

2008-06-12 Thread Mohamed Thalib .H
Thanks Mulyadi. - Best Regards, Mohamed Thalib .H GDA Technologies LT InfoTech Park, Chennai , India. Ext : 6509 On Thu, 2008-06-12 at 20:36 +0700, Mulyadi Santosa wrote: On Thu, Jun 12, 2008 at 7:33 PM, Mohamed Thalib .H [EMAIL PROTECTED] wrote: Hi all where can i get the

what is the use of --- try_module_get module_put

2008-06-12 Thread Mohamed Thalib .H
Hi ,, can any one please help me in understanding the folowing function. try_module_get(THIS_MODULE) module_put(THIS_MODULE) - Best Regards, Mohamed Thalib .H -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to [EMAIL PROTECTED] Please read the FAQ at

Re: Linux kernel booting code flow.

2008-06-12 Thread sahlot arvind
It is head.S. Depending on the arch which you have built your kernel for, head.S for that corresponding arch is the starting place. - A On 6/13/08, Mohamed Thalib .H [EMAIL PROTECTED] wrote: Thanks Mulyadi. - Best Regards, Mohamed Thalib .H GDA Technologies LT InfoTech Park, Chennai ,

Re: what is the use of --- try_module_get module_put

2008-06-12 Thread Daniel Baluta
On Fri, Jun 13, 2008 at 7:19 AM, Mohamed Thalib .H [EMAIL PROTECTED] wrote: Hi ,, can any one please help me in understanding the folowing function. try_module_get(THIS_MODULE) module_put(THIS_MODULE) - Best Regards, Mohamed Thalib .H -- To unsubscribe from this list: send an email