Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Have an LFS 4.0 system. Downloaded VMWare from their website... installed fine. However when it tries to build its kernel modules the build is successful, but when loaded into the kernel it fails due to unresolved symbols.
Am I missing something? Does something need to be built into my kernel that isn't perhaps? Is anyone familiar with what the VMWare modules depend upon? I emailed the folks who sell vmware but they haven't emailed me back yet. its been a week the bastards.
I'm still on old-school vmware 3.something so what I have to say may not be entirely accurate for the 4.x version.
First of all, when vmware's installation asks you to compile a kernel module, it will get the kernel headers from /lib/modules/<version>/build/
Then make sure /boot/System.map is up-to-date as well. It must be the same file that was generate during your last compile. So make sure that /lib/modules/<version>/build/System.map and /boot/System.map are identical. If not, cp the file from build/ to /boot.
It can also be caused when you compile a kernel but never installed it (ie: copied from arch/i386/boot/bzImage to /boot and then reboot the computer to load that new kernel).
So, make sure the running kernel matches the files in /lib/modules/<version>/build/ and likewise with System.map.
I think those unresolved symbols are generated by the depmod program. I think vmware's install program might be running depmod after it copies the kernel module to /lib/modules/<version>/ but I'm not entirely sure.
Either way, when you run depmod you should not get unresolved symbols at all, so you can use depmod to test to make sure your setup is working properly.
lfslinux: the kernel source matches that running (I just rebuilt it the other night to include acpi support). The only thing that didn't match up was the system.map... so I copied that over and reran the vmware-confg.pl.
it still finds unresolved symbols in the vmmon module. the unresolved symbols are as follows:
I cd to vmware-distrib/lib/modules/source and untar the vmmon.tar. I cd to vmmon-only and type make. the build goes fine and I'm left with a module vmmon-up-2.4.21-rc1 in a driver-2.4.21-rc1 directory. I cp the new module over to /lib/2.4.21-rc1/kernel/drivers and type 'depmod'. I'm told that the new module has unresolved symbols. I type 'modprobe vmmon-up-2.4.21-rc1' and I am told that kunmap_high, highmem_start_page, and kmap_high are all unresolved symbols.