LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-16-2006, 06:13 AM   #1
bigtl
Member
 
Registered: Aug 2001
Location: Worksop England
Distribution: debian, fedora core
Posts: 35

Rep: Reputation: 15
unresolved symbols


Hi,

I am tracking debian testing on my laptop, it has been installed for ages and i do apt-get upgrade from time to time to keep up to date.

after rebooting yesterday my wireless network card no longer works (hasn't been rebooted for months)

the kernel module orinoco that used to be loaded now does not load at boot and i think that is the source of my problem. when i try to do modprobe orinoco i get the message that there is an unresolved symbol (ALIGN)

I have plugged the machine into a wired lan and again done an upgrade to see if that fixes the problem but it didn't. I am guessing that at somepoint in the past when i have been installing software a requied library has been uninstalled.

how can i find where the ALIGN symbol is exported from to hopefully allow me to fix the problem.

Maybe I am looking at this wrong and there is another way to fix this problem?

any help greatly appreciated.

tony
 
Old 01-16-2006, 10:00 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
All the symbols of the kernel are in System.map. At boot time, the file /proc/kallsyms is created with these entries.

Then when a module is registered, its symbols are added in /proc/kallsyms.

So I guess if you grep in /proc/kallsyms for the unresolved symbol, you should not find your symbol. I know it helps you a lot

What you could do is to list all the symbols of the modules:
Code:
cd /lib/modules/`uname -r`
find . -name *.ko -exec echo "##{}##" \; -exec nm {} \;
in fact no need for two -exec:
Code:
cd /lib/modules/`uname -r`
find . -name *.ko -exec -exec nm -a {} \;
But if the module is not compiled or the feature is not linked in the kernel, you are lost!

Maybe it is due to
->a mismatch of version (gcc compiler is not the same as the one of the kernel)
->modules-init-tool not installed
->you have not ran depmod -a

Maybe someone has a better solution, that was my

Last edited by nx5000; 01-17-2006 at 07:09 AM.
 
Old 01-16-2006, 01:23 PM   #3
bigtl
Member
 
Registered: Aug 2001
Location: Worksop England
Distribution: debian, fedora core
Posts: 35

Original Poster
Rep: Reputation: 15
thanks for your reply,

i couldn't get to the bottom of the problem so a kernal updrade and new modules has solved the issue.

i learned a little from your reply also (never used nm before).

regards
tony
 
Old 02-19-2006, 10:32 AM   #4
djuhl30
Member
 
Registered: Dec 2005
Location: IRAQ (BACK @ FT HOOD NOW)
Distribution: GENTOO now
Posts: 98

Rep: Reputation: 16
ext3: Unknown symbol journal_revoke
ext3: Unknown symbol journal_lock_updates
ext3: Unknown symbol journal_start_commit
ext3: Unknown symbol journal_flush
ext3: Unknown symbol journal_load
ext3: Unknown symbol journal_try_to_free_buffers
ext3: Unknown symbol journal_update_format
ext3: Unknown symbol journal_get_write_access
ext3: Unknown symbol journal_get_undo_access
ext3: Unknown symbol journal_get_create_access
ext3: Unknown symbol journal_destroy
ext3: Unknown symbol journal_clear_err
ext3: Unknown symbol journal_stop
ext3: Unknown symbol journal_init_inode
ext3: Unknown symbol journal_start
ext3: Unknown symbol log_wait_commit
ext3: Unknown symbol journal_release_buffer
ext3: Unknown symbol journal_check_available_features
ext3: Unknown symbol journal_abort
ext3: Unknown symbol journal_restart

And what does all that stuff above mean? I can access ext3 partitions, but would like to learn how to fix that... Learn... looks like a bunch of gibberish.....

Thanks for whatever aid you can give

Dave
 
  


Reply


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
unresolved symbols? CletusJones Debian 3 08-16-2005 01:45 PM
Unresolved symbols Chris McGee Slackware 3 12-28-2004 08:22 AM
Unresolved symbols dimi Linux - Laptop and Netbook 6 12-14-2003 07:00 PM
Unresolved symbols dimi Linux - General 3 12-08-2003 03:34 PM
unresolved symbols acid_kewpie Linux - General 7 04-19-2002 05:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:08 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