LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-18-2003, 01:23 AM   #1
Taris_Kah
LQ Newbie
 
Registered: May 2003
Location: Utah, USA
Distribution: SuSE8.2
Posts: 19

Rep: Reputation: 0
Unhappy Kernel problems


When I try and do the make install portion of building the kernel it gives me this error.

+ /etc/lilo/install
./install.sh: line 40: /etc/lilo/install: No such file or directory
make[1]: *** [install] Error 127
make[1]: Leaving directory `/usr/src/linux-2.4.20.SuSE/arch/i386/boot'
make: *** [install] Error 2

I don't even have lilo installed nor do I even use it... Anyway to disable this? I use GRUB. These are the steps I followed to compile the kernel.

#cd /usr/src/linux
#make clean
#make mrproper
#patch -p1 < /root/usb-visor-2.4.20-pre11.patch
#make xconfig
#make dep
(Then I edited the EXTRAVERSION line in the Makefile.)
#make
#make bzImage
#make modules
#make install
#make modules_install


When I do the make modules_install it gives me this error

depmod: *** Unresolved symbols in /lib/modules/2.4.20-2.4.20-RemsKernel-2003.05.17/kernel/fs/reiserfs/reiserfs.o
depmod: reiserfs_permission_locked


I have no clue what to do to fix this one either. I did get the kernel to compile once, but I put my patch in there before the make clean and make mrproper. Does that matter at all? It did give me that same reisorfs error the first time I compiled it and it worked, but it also gave me a different error at times.
 
Old 05-18-2003, 01:31 AM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
You can skip the 'make install' bit and put your new kernel in your /boot partition manually. It will be in the ./arch/i386/boot/ directory of the kernel source, and it's called bzImage.

just use the good old 'cp' command. Be sure to rename it so it doesn't overwrite your current kernel.

If you need help setting up grub to boot your new kernel let me know....
 
Old 05-18-2003, 05:49 AM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
you can do a make -i install
i for ignore errors and continue.
 
Old 05-18-2003, 11:12 AM   #4
Taris_Kah
LQ Newbie
 
Registered: May 2003
Location: Utah, USA
Distribution: SuSE8.2
Posts: 19

Original Poster
Rep: Reputation: 0
Alright, I think that's fine, I do however still have the problem with the reiserfs thing when doing make modules_install It's the

mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.20-2.4.20-RemsKernel-2003.05.17; fi
depmod: *** Unresolved symbols in /lib/modules/2.4.20-2.4.20-RemsKernel-2003.05.17/kernel/fs/reiserfs/reiserfs.o
depmod: reiserfs_permission_locked

In the howto I am going off of on www.linux.org it says that Unresolved symbols usually means that the module didn't build or something and to do make modules, but I already did make modules . It sounds like it's not letting me do it almost because my drives are using reiserfs right now or something? I don't think I can ignore this error, as I do get a kernel panic when trying to run the kernel, and the error comes up when it's trying to initiate reiserfs. I tried to go back and set the reiserfs to yes, instead of module it gives me the same error while doing make bzImage.

Thanks for explaining the other stuff though.

Last edited by Taris_Kah; 05-18-2003 at 11:25 AM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel compilation problems, distorted video and kernel panic shamrock_uk Linux - Laptop and Netbook 5 08-12-2005 10:53 PM
problems occured after upgrading kernel and kernel-utils parv Fedora 0 05-02-2005 06:21 PM
kernel 2.4 -> kernel 2.6 problems with Maxtor SATA Bultot Linux - Hardware 2 01-19-2005 01:58 AM
Problems building a simple kernel module for kernel 2.6.7 atticman Linux - Software 2 12-13-2004 03:35 PM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 06:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:01 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration