LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-03-2003, 03:17 AM   #1
LUB997
Member
 
Registered: Jul 2003
Distribution: openSUSE Linux, Apple Darwin UNIX
Posts: 66

Rep: Reputation: 15
Kernel 2.4.21 from kernel.org


I downloaded the file linux-2.4.21.tar.bz2 from kernel.org, and burned a cd and copied it to my laptop where I am trying to compile it. I did a symlink from linux-2.4.21 to linux in the /usr/src directory. Then I cd'd to /usr/src/linux and did {{make mrproper && make menuconfig}} and loaded a config file I had previously made. Then I did {{make dep}}, and that seemed to go fine, but then when I do {{make bzImage}}, I'm getting an error which is:

ide-probe.c:640:warning: `hwif_check_regions' defined but not used
ide-probe.c:666:warning: `hwif_register' defined but not used
make[3]: *** [ide-probe.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.21/drivers/ide'
make[2]: *** [first_rule] Error 2
make[2]: etc...... you get the point; ide-probe.c is having issues.

Anybody know what the problem is or how I can fix it? I tried applying both patches patch-2.4.21.bz2 and patch-2.4.21-rc8-final.bz2, but I got a message that they were already applied and it said something about a reversal or something which I didn't understand, and recommended that I choose "no" about applying the patches, so I did choose "no". Anybody know what the problem is?
 
Old 07-03-2003, 01:49 PM   #2
camelrider
Member
 
Registered: Apr 2003
Location: Juneau, Alaska
Posts: 251

Rep: Reputation: 32
As you have imported a config file, you might try "make oldconfig" instead of "make menuconfig". Near the end of the process oldconfig will let you deal with new features in the new kernel source.
--Just a thought--
 
Old 07-03-2003, 03:28 PM   #3
LUB997
Member
 
Registered: Jul 2003
Distribution: openSUSE Linux, Apple Darwin UNIX
Posts: 66

Original Poster
Rep: Reputation: 15
I did try {{make oldconfig}} just a little while ago, but after doing so was unable to even get through {{make dep}} without errors. Because of that I decided to throw out the old config file and make a new one with {{make menuconfig}}, and then {{made dep}} worked fine again, but I still got the exact same error with {{make bzImage}}. I've been doing a lot of googling about how to compile kernels and a lot of sites say that it shouldn't be compiled in the /usr/src/linux directory. Even the README file within the kernel source itself says that, and recommends compiling the kernel source in your home directory. Unfortuanately, I do not have a home directory, as I have not created any users yet since this is a brand new installation. I have a /home directory obviously, but there is nothing in it. I tried making a user LUB997, and that worked, but when I went to make a password for LUB997 I got a message saying that a password couldn't be made because I was missing a library, so I tried just creating a directory in /home called LUB997 for the user I created and extracting and compiling the kernel source there (as root of course), but when I tried that even {{make mrproper}} had errors, so I think I'm best off just using the /usr/src/linux directory unless there is some particular reason not to that I am unaware of. Any thoughts on that? In /usr/src/linux the only problem I have is the one I started this thread about, and no problems before {{make bzImage}}. {{make bzImage}} is still giving me the exact same error though.
 
Old 07-03-2003, 03:32 PM   #4
LUB997
Member
 
Registered: Jul 2003
Distribution: openSUSE Linux, Apple Darwin UNIX
Posts: 66

Original Poster
Rep: Reputation: 15
By the way, if it helps at all, the distribution I am using is Core Linux. It is just as the name would imply; the core of linux and nothing else.
 
Old 07-03-2003, 08:18 PM   #5
LUB997
Member
 
Registered: Jul 2003
Distribution: openSUSE Linux, Apple Darwin UNIX
Posts: 66

Original Poster
Rep: Reputation: 15
Seems that if I disable IDE support in the kernel configuration altogether, {{make bzImage}} goes smoothly. Unfortunately, without IDE support, my laptop won't boot. I also noticed a flaw in the kernel configuration program. If I hit enter on the submenu under .../IDE/.../... in the config menu, the configuration program crashes altogether. Any suggestions?
 
  


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 (from Suse or from kernel.org) fredgt SUSE / openSUSE 4 11-17-2004 03:20 AM
Taking Kernel from Kernel.org to vmlinuz hobbes567 Linux - Newbie 2 06-17-2004 04:47 PM
LQ.org Kernel Astro LQ Suggestions & Feedback 3 04-26-2004 10:14 PM
Kernel.org Joey.Dale General 3 12-22-2003 12:51 PM
Where's kernel.org aaa General 6 12-21-2003 07:57 PM

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

All times are GMT -5. The time now is 07:29 PM.

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