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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-06-2003, 10:30 AM
|
#1
|
Member
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209
Rep:
|
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:
-------------------------
|
|
|
08-06-2003, 02:34 PM
|
#2
|
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794
Rep: 
|
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?
|
|
|
08-07-2003, 04:49 AM
|
#3
|
Member
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209
Original Poster
Rep:
|
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.
|
|
|
08-07-2003, 12:59 PM
|
#4
|
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794
Rep: 
|
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?
|
|
|
08-08-2003, 09:21 PM
|
#5
|
Member
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209
Original Poster
Rep:
|
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
|
|
|
08-09-2003, 03:58 AM
|
#6
|
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794
Rep: 
|
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.
|
|
|
08-09-2003, 08:29 PM
|
#7
|
Member
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209
Original Poster
Rep:
|
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.
|
|
|
08-10-2003, 06:03 AM
|
#8
|
Senior Member
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794
Rep: 
|
Mkay, np, at least it's solved. 
|
|
|
All times are GMT -5. The time now is 01:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|