Chris Staub wrote:
>On 04/28/2010 12:42 PM, Elmar Fahrendorff wrote:
>> Hi,
>>
>> I try to set up an LFS-System (Book Version 6.5). The System starts 
>> and the login messages is displayed. But at boot time the systems 
>> shows errors that some modules can't be loaded:
>>
>> Usbcore: disagrees about version of symbol module_layout
>> Processor: disagrees about version of symbol module_layout
>> Button: disagrees about version of symbol module_layout ...
>>
>> I used the kernel 2.6.30.2 like it is written in the LFS book.
>>
>>
>>
>> What can I do to solve this problem?
>>
>> Elmar Fahrendorff
>>
>>
>> elmar.fahrendo...@miltenyibiotec.de
>>

>I believe this usually means that the module was compiled against a
different kernel than the one you are trying to run. How exactly did you
build and
>install the kernel and modules?

Hi Chris,

I build und installed the kernel and modules in chroot environment:

chroot "$LFS" /usr/bin/env -i \
HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
PATH=/bin:/usr/bin:/sbin:/usr/sbin \
/bin/bash --login


The kernel sources are located then at /usr/src/linux

There I compile and install the kernel and modules with:

make mrproper

make menuconfig

make -j5

make modules_install

cp -v arch/x86/boot/bzImage /boot/lfskernel-2.6.30.2

cp -v System.map /boot/System.map-2.6.30.2

cp -v .config /boot/config-2.6.30.2

install -d /usr/share/doc/linux-2.6.30.2

cp -r Documentation/* /usr/share/doc/linux-2.6.30.2

Thanks for your help.

Regards

Elmar Fahrendorff
elmar.fahrendo...@miltenyibiotec.de

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to