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.
Hi all. I've searched over these forums for the past few days, and I haven't found anything matching the problem I'm having.
A couple of days ago, I compiled the 2.6.10 kernel into my Slack 10 box here at home. I followed Shilo's instructions on his site (although I did it from command line since I can't get into X from root). Everything went smoothly with no error messages, and I updated and ran Lilo. After restarting I selected 2.6.10 from lilo and it said "Loading 2.6.10" "BIOS Data Check successful" and then restarted. This has happened to me about 5 times. I'm booting from my old 2.4.x kernel right now. I checked most of what I could think of, making sure the symlinks were right and that I copied System.map and .config over correctly.
Anyone have any ideas? I'm wondering if its a framebuffer issue maybe? I'm not real sure where to go with this, but framebuffer seems to be a common problem.
Ouch, I guess I screwed up, this being my first compile and all. Yes, I'm running initrd. Should I just recompile everything from scratch again? I have the day off, so its no biggie if I have to.
I would suspect hardware drivers not being compiled in.
Me, too.
Quote:
I'm running initrd.
Why? Try not using it before you try re-compiling. Remember to run /sbin/lilo.
Quote:
Should I just recompile everything from scratch again?
You don't have to start from scratch, really. If you have the /usr/src/linux symlinked to /usr/src/linux-2.6.10, just login as root and:
Code:
cd /usr/src/linux
make menuconfig #Easiest from CLI IMHO. Make any changes.
make bzImage
cp arch/i386/boot/bzImage vmlinuz-2.6.10
make modules
make modules_install
cp .config /boot/config-2.6.10
cp System.map /boot/System.map-2.6.10
ln -s /boot/config-2.6.10 /boot/config
ln -s /boot/System.map-2.6.10 /boot/System.map
vi /etc/lilo.conf #or whatever editor you like. No initrd.
/sbin/lilo
***EDIT***
I also:
Code:
ln -s /boot/vmlinuz-2.6.10 /boot/vmlinuz
If you do that, make sure all the entries in /etc/lilo.conf are pointing where you want them to point, i.e. the entry for the stock 2.4 kernel should not point to the symlink. My example /etc/lilo.conf reflects this change.
***/EDIT***
For me, this works. It is way faster than the initial compile, too. Here's a copy of my /etc/lilo.conf for reference.
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
#compact # faster, but won't work on all systems.
prompt
timeout = 600
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
bitmap = /boot/logo64a.bmp
bmp-colors = 15,,0;5,,15
bmp-table = 59,5,1,18,
bmp-timer= 66,28,6,8,0
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz-2.6.10-ck
root = /dev/hda1
label = Linux-2.6.10ck
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz-2.6.10
root = /dev/hda1
label = Linux-2.6.10
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz-ide-2.4.28
root = /dev/hda1
label = Linux-2.4.28
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
Sorry this has taken so long to respond; I've been busy. Shilo, I did what you said to a T, and then rebooted and nothing worked. Then, I tried to boot into my 2.4 kernel, and it did the same thing, so I'm speaking to you from my Windows partition. I've decided that I really screwed up, and I don't think I know what hardware support I'm missing. Maybe someone could help me out?
can you boot into your slack install at all? If so, can you post the output from 'dmesg' and 'ls -l /boot'
If not, unless you can nuke your current install and reinstall, you need to find a good linux boot disk (I recommend http://www.sysresccd.org/); boot into it, chroot into your existing install and run those commands listed above.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.