Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 01-17-2013, 01:29 AM   #1
LQ Newbie
Registered: Jan 2013
Posts: 2

Rep: Reputation: Disabled
debugfs : Unknown symbol debugfs_create_dir

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,
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),

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!!
Old 01-20-2013, 08:58 AM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,650

Rep: Reputation: 210Reputation: 210Reputation: 210
Is your module GPLed?
Old 01-20-2013, 11:53 PM   #3
LQ Newbie
Registered: Jan 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Originally Posted by Mara View Post
Is your module GPLed?
Yup, it is already GPLed and the code,i.e. EXPORT_SYMBOL_GPL(debugfs_create_dir), exists in fs/debugfs/inode.c


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
module Unknown symbol jackandking Linux - Kernel 3 02-12-2018 06:00 PM
[SOLVED] Unknown Symbol! Mohammad Abdelhadi Programming 1 07-20-2010 11:07 AM
Unknown symbol video_devdata etc....please help Parth Pathak Linux - Hardware 1 06-09-2007 12:15 PM
Unknown symbol __bad_spinlock_type sochatte Linux - Kernel 0 01-24-2007 11:20 PM
sbp2: Unknown symbol chichibabin Mandriva 0 02-17-2004 07:21 AM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 02:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration