Re: what's the value of MODULE_STACKSIZE?

2008-06-03 Thread Wenhua Zhao
Hi, i was trying this with the hello world module -8--- /* * hello-1.c - The simplest kernel module. */ #include linux/module.h /* Needed by all modules */ #include linux/kernel.h /* Needed for KERN_INFO */ int init_module(void) { printk(KERN_INFO Hello world 1.\n);

Re: what's the value of MODULE_STACKSIZE?

2008-06-03 Thread Adil Mujeeb
On 6/3/08, Wenhua Zhao [EMAIL PROTECTED] wrote: Hi, i was trying this with the hello world module -8--- /* * hello-1.c - The simplest kernel module. */ #include linux/module.h /* Needed by all modules */ #include linux/kernel.h /* Needed for KERN_INFO */ int

Re: debugging kernel OOPS

2008-06-03 Thread Mulyadi Santosa
HI On Tue, Jun 3, 2008 at 7:17 PM, Manish Katiyar [EMAIL PROTECTED] wrote: Hi, I am reading the following article http://kerneltrap.org/Linux/Further_Oops_Insights and the below snippet is from there. My question is what are the values in first two columns.

Re: what's the value of MODULE_STACKSIZE?

2008-06-03 Thread Rene Herman
On 03-06-08 07:07, Adil Mujeeb wrote: But when i try to get modinfo, its fail to find the module:- localhost:/home/adil/module/sample # insmod hello-1.ko localhost:/home/adil/module/sample # modinfo hello-1 modinfo: could not find module hello-1 localhost:/home/adil/module/sample # lsmod |

Re: what's the value of MODULE_STACKSIZE?

2008-06-03 Thread Adil Mujeeb
On 6/3/08, Rene Herman [EMAIL PROTECTED] wrote: On 03-06-08 07:07, Adil Mujeeb wrote: But when i try to get modinfo, its fail to find the module:- localhost:/home/adil/module/sample # insmod hello-1.ko localhost:/home/adil/module/sample # modinfo hello-1 modinfo: could not find module

Re: debugging kernel OOPS

2008-06-03 Thread Manish Katiyar
On Wed, Jun 4, 2008 at 6:46 AM, Rajat Jain [EMAIL PROTECTED] wrote: Hi, The first column is the offset of the code from the begining of the function. The second column is the actual binary instruction present. It is followed by corresponding assembly instructions. Thanks a lot guys

Debugging Support for ARM

2008-06-03 Thread Vivek Kumar Gupta
Hi I am just looking for debugging via gdb or kdb or kgdb on ARM, I checked most of them are just out dated and are not suitable on ARM??? If any one can help me, in understanding and enabling any debugging tool that will be great. I am doing platform driver development for USB on Linux