LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 02-10-2005, 12:34 PM   #1
salted
LQ Newbie
 
Registered: Sep 2003
Distribution: Slackware 10.0
Posts: 20

Rep: Reputation: 0
2.6.10 reboots


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.

Thanks in advance,
salted
 
Old 02-10-2005, 12:53 PM   #2
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
If it was just a framebuffer issue, the kernel would still boot. I would suspect hardware drivers not being compiled in.
 
Old 02-10-2005, 12:58 PM   #3
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Are you using initrd? That can cause headaches.
 
Old 02-10-2005, 01:39 PM   #4
salted
LQ Newbie
 
Registered: Sep 2003
Distribution: Slackware 10.0
Posts: 20

Original Poster
Rep: Reputation: 0
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.

Thanks,
salted
 
Old 02-10-2005, 02:13 PM   #5
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Quote:
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

Last edited by shilo; 02-10-2005 at 02:17 PM.
 
Old 02-12-2005, 07:57 PM   #6
salted
LQ Newbie
 
Registered: Sep 2003
Distribution: Slackware 10.0
Posts: 20

Original Poster
Rep: Reputation: 0
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?

Thanks,
salted
 
Old 02-12-2005, 09:30 PM   #7
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
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.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PC Reboots over and over lmanwarren Linux - Hardware 1 04-16-2005 08:26 PM
X spontaneously reboots AhtirTano Linux - Software 4 03-12-2004 11:13 AM
random reboots rclawson Mandriva 3 10-26-2003 08:09 AM
reboots itself ace135cc Slackware 3 09-13-2003 09:48 PM
RH 7.1 Reboots Tablet Linux - Newbie 1 04-27-2002 05:11 AM

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

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