SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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:
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.
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.
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.
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.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.