LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   kernel panic LFS 6.0 (https://www.linuxquestions.org/questions/linux-from-scratch-13/kernel-panic-lfs-6-0-a-312758/)

vmlinuz101 04-13-2005 08:10 AM

kernel panic LFS 6.0
 
Hi there. I'd been trying to het through the early stages (pre-X) of BLFS by using
chroot. I knew that the minor versions of the host and lfs kernels were
different. I got as far as autofs and i had to recompile the kernel here
for SBM and NFS filesystem support. I booted into LFS and did this using
the following

make menuconfig

ticked off all the boxes pertaining to NFS, automounting and SMB

make install_modules

cp arch/i386/boot/bzImage /boot/lfskernel-2.6.8.1
cp System.map /boot/System.map-2.6.8.1
cp .config /boot/config-2.6.8.1

and i reboot into SuSE to see how things were goin (??) When I tried to
compile and make autofs, I got errors, which I reckoned had something to
do with the different kernel versions. I reboot back into LFS and I get
this...

make: warning: Clock skew detected. Your build may be incomplete.
root@linux:/sources/linux-2.6.8.1# chroot "$LFS" /usr/bin/env -i \
root@linux:/sources/linux-2.6.8.1# make menuconfig
make: Warning: File `.vmlinux.cmd' has modification time 2.7e+02 s in
the future
scripts/kconfig/mconf arch/i386/Kconfig
#
# using defaults found in .config
#


Your kernel configuration changes were NOT saved.

make: warning: Clock skew detected. Your build may be incomplete.

make: warning: Clock skew detected. Your build may be incomplete.


I went back into chroot recompiled (this time with the make mrproper and the sed command (chapter 8), etc., and included NFS, SMB and automount support) when i do make, and make install and copy the three file like in the book, everything seems fine. However when I booted back into LFS, I get the same "kernel panic" problems again. Any ideas, or will I have to rebuild the whole lot again?? Thanks in advance

Donal

Yerp 04-15-2005 09:17 AM

Quote:

make: warning: Clock skew detected. Your build may be incomplete.
is a result of the file you uncrompressed or copied from another system. its date/time is ahead of your systems (ie: you system is on 04/22/2004, and the file is on 02/01/2005)

Another possibility is that the installation process was stopped at a certain point, then rebooted. If the time changed (say, to update to the correct year) then returning to the install process, again this would happen.

Also, did you run
Code:

make mrproper
before all of the other make commands?

And how is your grub/lilo configured? Many problems happen from kernel panic when grub/lilo is not configured correctly to reflect your system.


All times are GMT -5. The time now is 08:59 AM.