LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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.

Notices

Reply
 
Search this Thread
Old 04-13-2005, 08:10 AM   #1
vmlinuz101
Member
 
Registered: Mar 2005
Location: Ireland
Distribution: LFS, SuSE, Debian, gentoo
Posts: 93

Rep: Reputation: 15
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
 
Old 04-15-2005, 09:17 AM   #2
Yerp
Member
 
Registered: Jun 2004
Distribution: Turtle Kevux 0.8.8
Posts: 129

Rep: Reputation: 15
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.
 
  


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 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 04:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 03:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 12:31 AM


All times are GMT -5. The time now is 10:49 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration