LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 09-01-2014, 10:23 AM   #1
ayyasprings
Member
 
Registered: Aug 2014
Posts: 118

Rep: Reputation: Disabled
Doubt in the output when modules dependency builded using busybox script depmod.pl


Hi,
While i executed the depmod.pl script which was extracted from busybox for building dependency for modules, for a cross compiled kernel image like this in terminal:

ayyappan@ayyappan-desktop:/media/540a136f-51dc-4d56-966b-332e7b45ea1c_/B/Practice_project/images$ ./depmod.pl -k ./media/540a136f-51dc-4d56-966b-332e7b45ea1c_/B/Practice_project/images/vmlinux -b /media/540a136f-51dc-4d56-966b-332e7b45ea1c_/B/Practice_project/images/modules_2.6.32.2/lib/modules > /media/540a136f-51dc-4d56-966b-332e7b45ea1c_/B/Practice_project/images/modules_2.6.32.2/lib/modules/2.6.32.2-FriendlyARM/modules.dep

(the command pasted above gets new line automatically here due to edit space constraints in this window but it is consecutive in the terminal and it is correct when i gave in the terminal).I get output warnings in the console starting like this:

Guessed module directory as /media/540a136f-51dc-4d56-966b-332e7b45ea1c_/B/Practice_project/images/modules_2.6.32.2/lib/modules/2.6.32.2-FriendlyARM

nm: './media/540a136f-51dc-4d56-966b-332e7b45ea1c_/B/Practice_project/images/vmlinux': No such file

unresolved symbol printk in file /lib/modules/2.6.32.2-FriendlyARM/kernel/drivers/net/wireless/ath/ar9170/ar9170usb.ko

unresolved symbol __aeabi_idiv in file /lib/modules/2.6.32.2-FriendlyARM/kernel/drivers/net/wireless/ath/ar9170/ar9170usb.ko


but the command executed and exited.

Is this the indication that while in runtime these unresolved symbols cause termination while the modules was attempted to load if these unresolved symbols was needed and causes loading failure of the modules? If it so how to correct and what would be the problem? I have attached the complete console output pasted in the word document. If needed i can attach the modules.dep later that was created as a result of this command.
Attached Files
File Type: pdf Output message.pdf (169.2 KB, 9 views)

Last edited by ayyasprings; 09-01-2014 at 10:28 AM. Reason: unexpected realignment of the command i pasted in the window
 
Old 09-02-2014, 07:54 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
What you pasted is incorrect.
Code:
./depmod.pl -k ./media/...
The extra '.' on the front of the path makes the path relative to your current directory instead of an absolute path from the root directory. That's one reason it did not find your vmlinux file.
 
Old 09-04-2014, 02:58 AM   #3
ayyasprings
Member
 
Registered: Aug 2014
Posts: 118

Original Poster
Rep: Reputation: Disabled
Hi smallpond I tried like you said and no warning messages came in the console output except this:

Guessed module directory as /media/540a136f-51dc-4d56-966b-332e7b45ea1c_/B/Practice_project/images/modules_2.6.32.2/lib/modules/2.6.32.2-FriendlyARM

but the contents of modules.dep is not differing from the previous one, but the modification time was updated to the command executed time. How is this possible when vmlinux file not recognized with it's correct path is producing the same result as when vmlinux file recognized? Is there anything missing like that it doesnot considering vmlinux file? If you need i can attach the modules.dep file.
 
  


Reply



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
missing depmod and modules.conf aslong Linux - Networking 1 08-22-2005 07:49 AM
Please help with depmod and modules.conf! Carlosbrandado Debian 2 03-05-2005 08:55 PM
how does depmod find dependency saajii Linux - General 2 09-19-2004 09:34 PM
What does this mean: depmod: *** Unresolved symbols in /lib/modules... ? atheist Linux - Software 4 07-20-2004 02:30 PM
Installing Modules - Depmod problem cardboard Linux - Newbie 7 06-10-2001 03:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 06:14 AM.

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