November 25, 2024, 04:14:58 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: debugfs : Unknown symbol debugfs_create_dir  (Read 11665 times)

Offline DAVER

  • New Member
  • Posts: 1
debugfs : Unknown symbol debugfs_create_dir
« on: January 17, 2013, 08:12:33 AM »
Hi,
    I'm using Ubuntu 12.04 and i was trying to debug the kernel using debugs. I have compiled the kernel with required options like,

Code: [Select]
Kernel hacking[*] Magic SysRq key
Kernel hacking[*] Debug filesystem

I have written a module which include kernel linked list and kernel threads. The module works fine. Then i have added the debugfs code in the same module and i got the following error while inserting the module(i.e. during insmod command),
Code: [Select]
insmod: error inserting 'kll.ko': -1 Unknown symbol in module
I have checked dmesg and i found that the debufs calls like debugfs_create_dir are said to be unknown...

Now I'm stuck at this point.

Any pointers or help is welcome!!