Re: Getting address of a symbol from kernel's symbol table.

2012-12-03 Thread Mulyadi Santosa
On Mon, Dec 3, 2012 at 7:50 PM, Arif Hossain  wrote:
> Thanks for the pointer. I'm testing what can be done.

you welcome you can share back what you have found in the kernelnewbies :)


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


What is modpost ?

2012-12-03 Thread Pritam Bankar
Hi guys,
I want to confirm my understanding regarding modpost and Module.Symvers files.
>From my understanding
 a. modpost is used to add versioning information to module.
 b. modpost is also used to create mod.c and
Module.Symvers files per module
 c. then we compile all *.mod.c files and link it to .ko

Is my understanding correct ? For what else purpose modpost is useful
? What is specific data in mod.c file ?

Thanks,
Pritam

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Getting address of a symbol from kernel's symbol table.

2012-12-03 Thread Arif Hossain
On 12/02/2012 09:49 PM, Mulyadi Santosa wrote:
> Hi...
>
> On Sun, Dec 2, 2012 at 5:43 PM, arif  wrote:
>> To be able to do that i need the address of the function.
>>
>> I've seen that from user space i can read /proc/kallsyms to get an
>> address of a symbol. Is their any similar mechanism exist where i can
>> read the symbol table to extract a symbol's address from kernel space?
>
> check http://lxr.linux.no/#linux+v3.6.8/include/linux/kallsyms.h
>
> I have a good guess, what you need is  kallsyms_on_each_symbol()
>

Thanks for the pointer. I'm testing what can be done.

-- 
Cheers
arif

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Qemu - Writing Plugins

2012-12-03 Thread Rishi Agrawal
Hi All,

This may not be the right forum for this question but I am giving it a try.

I am looking for a small "hello world" to writing qemu plugins. i am still
googling it.

Any kind of help is appreciated.

-- 
Regards,
Rishi Agrawal
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


topic about old linux kernel version 0.11

2012-12-03 Thread horse_rivers
hi,

   I use bochs to boot linux 0.11 kernel .I put kernel image to floppy , when 
it run to mount root-file system , it prints 

  "reset floppy called" 


  hoe to continue with this issure?


thanks!

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re:Re: how to use kgtp in kernel debuging ?

2012-12-03 Thread horse_rivers
At 2012-11-28 22:54:01,"Mulyadi Santosa"  wrote:
>On Wed, Nov 28, 2012 at 8:03 AM, horse_rivers  wrote:
>> hi:
>>
>> I want to trace kernel of linux 1.0 version ,and now I have compile sucessfully a 1.0 kernel with source code .
>>
>>but how to use kgtp tools to trace kernel ?
>
>kgtp? or kgdb?
   
it is kgtp,kernel debug trace 

Thanks!
BestRegards!
>


>-- 
>regards,
>
>Mulyadi Santosa
>Freelance Linux trainer and consultant
>
>blog: the-hydra.blogspot.com
>training: mulyaditraining.blogspot.com
>
>___
>Kernelnewbies mailing list
>Kernelnewbies@kernelnewbies.org
>http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies