LinuxQuestions.org
Review your favorite Linux distribution.
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 08-14-2006, 05:45 PM   #1
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Kernel Compile problem


Has anyone ever expeirenced the problem of after compiling the kernel and rebooting your computer boots but you get no screen. These are the steps I used to compile the kernel.
Code:
cd linux-2.6.12.2
make mrproper
cp /usr/src/linux-2.4.x (Can't remeber)/config ./.config
make xconfig 

did not change anything on it. just saved. 

make
make modules_install

copy /arch/i386/bzImage /boot/vmlinuz-2.6.12
copy System.map /boot/System.map-2.6.12
copy .config /boot/config-2.6.12

removed the symlinks for System.map and config and relinked them to System.map-2.6.12 and config-2.6.12 respectevly. 

edited /etc/lilo.conf
pointed it to vmlinuz-2.6.12 (did not want to mess with vmlinuz sym link)

ran /sbin/lilo 

reboot
upon restart I get the above noted error.
 
Old 08-14-2006, 05:57 PM   #2
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Did you remember to compile your framebuffer device?
 
Old 08-14-2006, 05:57 PM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,159
Blog Entries: 1

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
Since you use a 2.4.x .config you should run make oldconfig to answer the questions about the new features (or the features changed name) in the 2.6.x kernel you're trying to compile. Also there is no need for make xconfig if you don't change anything.
 
Old 08-14-2006, 06:06 PM   #4
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Original Poster
Rep: Reputation: 102Reputation: 102
cwwilson: No I do not remeber that. Stupid question but how. This is my first time really expiermenting with a custom kernel. (The whole reason for doing this is to get my Belkin BPD7010 version 6000 wireless card working).

bathory: That is a good point but I neglected to give a detail. This is my fault. The only change I did make on it was ntfs support.
 
Old 08-14-2006, 06:12 PM   #5
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
There are many threads and websites devoted to this subject.

The best I have found is Alien Bob'sRead it thru.

Your steps are fine, but during the configure, find the device drivers and in there is frame buffer. Don't forget the chipset for video too.

Do a forum/google search for more info.

Rehashing it all here is a waste of time and effort, when it has already been done many, many, many times...
 
Old 08-14-2006, 06:43 PM   #6
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Need to use a newer config file 2.4 structure differs on 2.6. Also if you goto 2.6.15 or greater you will need to reset up the netfilter section since it changed it structure in this release and greater.

I would do as following
make mrproper
make oldconfig
make xconfig
make
make modules_install
make install to add to boot loader.

Brian1

Last edited by Brian1; 08-14-2006 at 06:44 PM.
 
Old 08-14-2006, 06:43 PM   #7
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Original Poster
Rep: Reputation: 102Reputation: 102
Understand Thanks for the insight and where to compile it at. I will give it a try tonight and post back what happens. I am currently reading the article the you provided.
 
Old 08-14-2006, 10:01 PM   #8
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Original Poster
Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by Brian1
Need to use a newer config file 2.4 structure differs on 2.6. Also if you goto 2.6.15 or greater you will need to reset up the netfilter section since it changed it structure in this release and greater.

I would do as following
make mrproper
make oldconfig
make xconfig
make
make modules_install
make install to add to boot loader.

Brian1
I really don't like using make install becuase it totally blew away my installation.
Bad news it did not work.
 
Old 08-15-2006, 09:03 AM   #9
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Original Poster
Rep: Reputation: 102Reputation: 102
Alright I got it to boot up but know I have two problems.(Well one is a problem and the other is well just an annyoance.) The annoyance is that my frame buffer is huge. How can I change that? Second I could have sworn I compilied the 8139too driver for my Dlink pcmcia NIC. but upon boot it did not start it up and when I tried modprobe 8139too it say failed module not found. Where can I go to check to see if it got installed correctly.
 
Old 08-15-2006, 09:17 AM   #10
nykey
Member
 
Registered: Nov 2003
Posts: 360

Rep: Reputation: 30
For your frambuffer issue, you could either run 'liloconfig' again and choose a better resolution or modifying by hand the /etc/lilo.conf file, if you choose the latter one, don't forget to run 'lilo -v' after you save the file. As for your network card, what does the output of 'cat /usr/src/linux/.config | grep 8139' say ? Do you have it enabled or not, built-in or module ? You could post the result of that command here if you're not sure. Ah , one more thing , that command works pressuming that /usr/src/linux is a symlink to your actual running kernel, if you have a custom kernel and the /usr/src/linux symlink is not pointing at it, modify the command acordinly. GL.
 
Old 08-15-2006, 09:29 AM   #11
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Original Poster
Rep: Reputation: 102Reputation: 102
Thanks nykey I do not have my laptop here at work so I will have to wait till tonight to try it out. Also Since I have to recompile It would probably be best to use the config I just made as it boots up and show a screen finally.
 
Old 08-15-2006, 10:07 AM   #12
nykey
Member
 
Registered: Nov 2003
Posts: 360

Rep: Reputation: 30
If you didn't enabled the right modules, and have to compile the kernel again to add them, just 'cd /path/to/kernel/source/dir' and do 'make menuconfig' (or xconfig, or gconfig, or whatever you use) mark the right modules for your card, save the configuration and you know the rest . Hope it works for you.
 
Old 08-15-2006, 10:09 AM   #13
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Original Poster
Rep: Reputation: 102Reputation: 102
Thanks I do too.
 
Old 08-16-2006, 09:01 AM   #14
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Original Poster
Rep: Reputation: 102Reputation: 102
All right here is the update. I had to build 8139too module as a module instead of right into the kernel. However when I try to do a dhclient eth1 it says something about no eth1 found. I did a cat /proc/pci and was able to find the dlink. So I know my pcmcia is enabled and it can see the card. Where should I go to add the aliases and what should it be?

maybe
alias 8139too eth1.

Thanks Everyone for your help so far. I fell I am getting close to the end.
 
Old 09-04-2006, 10:51 AM   #15
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Original Poster
Rep: Reputation: 102Reputation: 102
Well guys I stepped away for a while out of frustration. But came back to it and found out that my nic was not seting up because the pcmcia controller uses the yenta module. got that but due to me using the resiserfs I kept getting a kernel panic. I feel I am very close to having an updated Slackware laptop. (Just can't stay away from Slackware. Don't know why) but anyways I have reinstalled and used the ext3 filesystem this time. Will compile kernel tonight.
 
  


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
compile old kernel problem xpp Linux - Kernel 2 05-28-2006 12:16 AM
kernel Compile problem kudos Fedora 1 09-30-2005 07:39 PM
Kernel Compile problem sam00 Linux From Scratch 3 01-25-2004 10:59 AM
Compile Kernel Problem duddy11 Linux - Newbie 1 07-31-2003 11:03 AM
kernel compile problem Syncrm Linux - Software 3 01-23-2002 03:10 PM

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

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