LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-03-2003, 01:18 AM   #1
muzicman82
Member
 
Registered: Nov 2003
Posts: 79

Rep: Reputation: 15
New Kernel - What am I doing wrong?


Ok, I JUST installed Slackware 9.1. I am trying to install Kernel 2.6.0-test11. This is the first thing I tried after getting Slackware installed. Here's the exact procedure I followed.

1. Extracted the source to /usr/src
2. Ran make xconfig, configured all needed components (and probably extras)
3. Ran make bzImage
4. Copied bzImage to /boot and configured lilo.config
5. Ran lilo
6. Ran make modules
7. Ran make modules_install

Upon reboot, it begins to load fine, but gives me tons of messages such as "Cannot find module agppart" .

When I login and type startx (using KDE) I get a screen and X cursor, but it doesn't load. When I hit CTRL+ALT+Backspace to kill X Server, there's a ton of errors.

What do I need to do?? I have YET to get ANY version of a kernel compiled properly... and its getting really frustrating.. I've followed at least 30 sets of instructions...
 
Old 12-03-2003, 02:16 AM   #2
Nikon01
Member
 
Registered: Jul 2003
Distribution: Slackware 10.0
Posts: 196

Rep: Reputation: 30
try compiling with just menuconfig outside of X
 
Old 12-03-2003, 02:18 AM   #3
karthikrr
Member
 
Registered: Nov 2003
Location: India
Distribution: Slackware 13.0 32-bit
Posts: 129

Rep: Reputation: 16
u probably need to reinstall ur AGP drivers too, for the new kernel... Im a newbie too, and I've compiled and run atkeast 4 new kernels, but none of them had ALL the features that i needed! So, wait for more responses... but, I think its just a matter of reinstalling the AGP dirvers... BTW, did u get ALSA working with the new kernel??? Thats the one that has PAINED me in all my kernel compilations!!! If u did, please lemme know...
 
Old 12-03-2003, 02:31 AM   #4
muzicman82
Member
 
Registered: Nov 2003
Posts: 79

Original Poster
Rep: Reputation: 15
Well there's LOTS of stuff wrong, so much that pretty much nothing works... and I was told that installing a new kernel is easiest with Slackware.. however I am finding NOTHING easy with it or anything else...
 
Old 12-03-2003, 03:02 AM   #5
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
http://docs.rinet.ru/Slackware-Linux...6.htm#Heading6
 
Old 12-03-2003, 03:04 AM   #6
muzicman82
Member
 
Registered: Nov 2003
Posts: 79

Original Poster
Rep: Reputation: 15
That doesn't look any different than other 25 sets of directions I've followed... Also, make dep doesn't apply to 2.6.0 I thought?

So confusing!!
 
Old 12-03-2003, 03:28 AM   #7
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
These are the steps I follow when compiling a kernel on Slack 9.1.
Edit lilo.conf before you begin so that if you make a mistake you can boot your old kernel(don't run /sbin/lilo yet, make modules install will do that for you)
(After unpacking the new kernel in /usr/src)
1. rm /usr/src/linux
2. ln -s /usr/src/linux-2.6.0-test11 /usr/src/linux
3. cd /usr/src/linux
4. make mrproper(not really neccessary with new kernel source)
5. make config/xconfig/menuconfig(whatever you prefer)
6. configure the kernel how you like it(trial and error)
7. make clean(make dep no longer needed with 2.6.0)
8. make bzImage
9. make modules
10. mv /vmlinuz /vmlinuz.old
11 cat arch/i386/boot/bzImage > /vmlinuz
12. mv /boot/System.map /boot/System.map.old
13. cp System.map /boot/System.map
14. make modules install
 
Old 12-03-2003, 03:46 AM   #8
Misel
Member
 
Registered: Mar 2003
Location: Berlin
Distribution: Slackware current
Posts: 310

Rep: Reputation: 31
What is that System.map about?

I've never done that and never had problems with (better without ) it before.
 
Old 12-03-2003, 05:16 AM   #9
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
First of all, you're using the 2.6.x series... basically these are still beta builds, and if you're new at kernel compilation and troubleshooting, and not interested in filing bug reports, try to stay away from it unless you're really adventurous and willing to spend hours upon hours just troubleshooting and not actually using your computer productively.

Well, before I look like a meanie who's trying to put you down... what you need is module-init-tools. Don't ask me how to use it though, I only used it once and it was quite long ago.

Another easier way out is to compile everything into your kernel and avoid modules altogether.

P/S: This experience is what kept me on the 2.4.x builds from then on. Sure the 2.6.x series is fast... but at the expense of a near-crippled system? Nahhh... not worth it for me

Last edited by Azmeen; 12-03-2003 at 05:18 AM.
 
Old 12-03-2003, 05:20 AM   #10
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Quote:
Originally posted by Misel
What is that System.map about?

I've never done that and never had problems with (better without ) it before.
Click here for the answer
 
Old 12-03-2003, 12:26 PM   #11
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
Try this.

When you run "make config," the configuration file that you modify is called .config and it's in the root of the kernel source directory. For example, if your kernel source tree is at /usr/src/linux then its configuration file is /usr/src/linux/.config

Slackware comes with many pre-built kernels along with configuration files for them. For example, if you look in the kernels/bare.i directory on the Slackware archives, you will find a file called "config".

If one of the Slackware kernels work, then try copying its configuration file over to /usr/src/linux-2.60test11/.config and then doing "make oldconfig." That way, you'll begin with a configuration that you know will work (or at least boot), and then you can make your modifications from there.

I hope this helps.
 
Old 12-04-2003, 02:49 AM   #12
karthikrr
Member
 
Registered: Nov 2003
Location: India
Distribution: Slackware 13.0 32-bit
Posts: 129

Rep: Reputation: 16
hey, u cant use the old config files with the 2.6 series... Apparently it was Linux Torvalds himself who recommended against mixing the 2.4 and 2.6 config files...
 
  


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
the wrong kernel! TomalakBORG Slackware - Installation 5 03-30-2005 09:17 PM
rpm -qa | grep kernel gives wrong kernel version markelo Red Hat 3 07-18-2004 09:35 AM
Wrong Kernel Axsyrus Linux - Hardware 6 09-26-2003 04:13 PM
wrong kernel? nocturnal Slackware 3 06-12-2003 06:22 PM
Wrong kernel mdebolt942 Linux - General 1 01-08-2003 11:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:14 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