LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-06-2003, 11:30 AM   #1
Kocil
Member
 
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209

Rep: Reputation: 31
Kernel compilation, what module did I missed ?


Dear all.

I compiled a new kernel,
but after that, insmod gave unresolved symbol errors.

Please give me clues what module is required ?

Thank you.

------------------------
Trying modprobe mki-adapter
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol init_tss
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol handle_mm_fault
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol mmu_cr4_features
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol gdt_table
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol do_exit
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol pte_alloc
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol search_exception_table
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol mhi_hooks
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol sys_ftruncate
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol sys_mprotect
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol mhi_void_hook
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol make_pages_present
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol sys_munmap
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol idt
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: insmod /lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o failed
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: insmod mki-adapter failed
Trying insmod on generic /lib/modules/mki-adapter.o
insmod: /lib/modules/mki-adapter.o: No such file or directory
module adapter version:

-------------------------
 
Old 08-06-2003, 03:34 PM   #2
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Did you specifically make clean, make mrproper, make modules_install and make install throughout the kernel compiling process?

Are you using an AX.25 KISS amateur radio connection? What's that module for?
 
Old 08-07-2003, 05:49 AM   #3
Kocil
Member
 
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209

Original Poster
Rep: Reputation: 31
Dear Proud.

This is the history:
I'm using slackware 9.0, stock kernel 2.4.20.

I want to use win4lin (www.netraverse.com).
So I patch the kernel with:
* Win4Lin patch
* MKI adapter patch

I clean build the kernel.
The kernel and win4lin was working fine.

Then I want to play with uml (user mode linux).
So I patch the same source again with:
* UML skas 3

I also remove a lot of modules (scsi, apm, radio, etc).
I clean compiled the kernel again.
Then that error happened.

I have been asking to netraverse, no clues so far.
Maybe I'll try to build it again from clean source.

Regard.
 
Old 08-07-2003, 01:59 PM   #4
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
I think the problem is in your building, especially with non-clean sources. How exactly are you doing it, which commands, and moving/editing which files?
 
Old 08-08-2003, 10:21 PM   #5
Kocil
Member
 
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209

Original Poster
Rep: Reputation: 31
All right. I start it from clean source again.

cd /usr/src/linux
cp /boot/config .config
patch -p1 < Win4Lin.version.patch
patch -p1 < mki-adapter.patch
make menuconfig
/* Turned on win4lin module, and removed a lot of unused modules */

make dep clean bzImage modules
/* install the arch/i386/boot/bzImage to /boot manually */
make modules_install

That's all.
Reboot the computer, but the same problem happened.

When I did not remove any modules from the kernel,
only turned on the win4lin, the problem was not happen.

So I guess, I unknowingly removed a required module.
The question is which module ?
Can you give me clues from the error message ?
Or at least tell me how to find init_tss, handle_mm_fault, etc in the source.

Thank you.

/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol init_tss
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol handle_mm_fault
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol mmu_cr4_features
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol gdt_table
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol do_exit
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol pte_alloc
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol search_exception_table
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol mhi_hooks
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol sys_ftruncate
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol sys_mprotect
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol mhi_void_hook
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol make_pages_present
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol sys_munmap
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol idt
 
Old 08-09-2003, 04:58 AM   #6
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
From my .config:
Quote:
...
# AX.25 network device drivers
#
CONFIG_MKISS=m
...
Try looking what you've changed about Amateur Radio support, and the AX.25 KISS amateur radio connection protocol.
 
Old 08-09-2003, 09:29 PM   #7
Kocil
Member
 
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209

Original Poster
Rep: Reputation: 31
Dear Proud.

Thanks but I solved my problem.
I'm not sure why this make the difference,
but all I did was just use the original .config from the kernel source. Not from the slacware /boot.

cd /usr/src/linux
cp .config config-save
make distclean
cp config.save .config
....

the rest were the same.


Thanks for your kindly help anyway.
 
Old 08-10-2003, 07:03 AM   #8
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Mkay, np, at least it's solved.
 
  


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
Kernel Module compilation and running imransadat Programming 3 03-04-2005 07:56 AM
Installing irda module - problem during kernel compilation hobz Linux - General 3 07-08-2004 02:34 PM
kernel module compilation zbrox Linux - Software 1 01-28-2004 04:31 PM
kernel 2.6.1 module compilation problems Zamolxis Linux - Software 3 01-16-2004 11:27 AM
module compilation aliyildiz Linux - General 0 12-08-2001 02:53 PM


All times are GMT -5. The time now is 06:41 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration