LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-03-2005, 10:32 AM   #1
icpsvt
LQ Newbie
 
Registered: Oct 2004
Posts: 23

Rep: Reputation: 15
Failed attempt at 2.6.10


Alright, apparently I'm not as cool as I thought I was.

So I downloaded the new kernel sources and attempted to install it. Everything compiled fine, I edited lilo.conf - no problems.

When I boot - nothing displays on the screen. It appears to be loading stuff for a while, but at some point it just stops. It may have enetered X, but I don't really know. I can't SSH into it, so I have no access.

Thankfully, I can boot into the older kernel. In my somewhat shortsighted brilliance, I figured I could fix things by copying the older kernel to replacing the new kernel and attempt to re-build 2.6.10.

That failed. It never gets past the Lilo screen. So, how do I properly restore the older kernel? And any ideas as to what the hell I did wrong with the older one?

I'm sure this isn't all that helpful without any config files, but I don't have right now.

I guess my main concern is that if I re-compile 2.6.10 and install it, that my working 2.4.26 will be over-written since it's "old." And that's a big no-bueno 'cause I don't have all that much faith in the 2.6.10 working on the first try. So how do I properly restore the 2.4.26 to the boot instead of the old.

I hope that's not all mindless dribble. Let me know. Thanks.
 
Old 02-03-2005, 10:45 AM   #2
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
hi there,

so, you can startup with a floppy/cd .

then, when you build a new kernel, copy it to " /boot/vmlinuz-2.6.10 "
instead of overwriting the old one.

then you've got to edit your " lilo.conf " file to add it ( so at boot you'll have choice )
you need to run " lilo" to write a new mbr acc. to the new settings.

... and for the " blackscreenboot "; i think you need frame-buffer-support
build in ( not as a module )

edit: i think you just need to run " #lilo " to boot your old kernel again
( as you copied the old kernel again to /boot )

egag

Last edited by egag; 02-03-2005 at 10:48 AM.
 
Old 02-03-2005, 01:30 PM   #3
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: SuSE 8.2, Slackware current, OpenBSD 3.5-3.8, Fedora Core 2
Posts: 400

Rep: Reputation: 30
I definitely agree with egag ... I used my 2.4 .config files as starting points for my initial 2.6 builds and the "blank screen" was one of the first problems I faced. You must indeed build framebuffer support into your kernel for it to work properly. That or you must put "vga = normal" in LILO to boot into a normal text-based screen.
 
Old 02-03-2005, 03:17 PM   #4
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
yessir, definately the framebruffer
 
Old 02-03-2005, 04:54 PM   #5
oxblood
Member
 
Registered: Jan 2004
Location: Atlanta, GA
Distribution: Slackware 12.2
Posts: 82

Rep: Reputation: 15
Do not start with your 2.4.x config file for kernel 2.6.10. You need to build in VGA and frame buffer into your kernel. I had the same problem and no one apparently knew the exact configuration. Ok, here's what I have in my kernel enabled in order to take advantage of higher resolution in my console mode:

{2.6.10}
Code:
Device Drivers ->
  Graphic Support ->[*] Support for frame buffer devices
        <M> VGA 16-color graphics support[*] VESA VGA graphic support
        --- console display driver support ->[*] Video mode selection support
               <*> Framebuffer console support[*] Select compiled-in fonts[*]   VGA 8x8 font[*]   VGA 8x16 font
 
Old 02-08-2005, 07:24 PM   #6
icpsvt
LQ Newbie
 
Registered: Oct 2004
Posts: 23

Original Poster
Rep: Reputation: 15
Re: Failed attempt at 2.6.10

yes, running lilo fixed my booting the old kernel problem.

and yes it did take me over a week to try it. i'm just not at home enough

now let's try this rebuilding w/ framebuffer built in
is there a starter config file anywhere I can use?

thanks a bunch!

-Jason



Quote:
Originally posted by icpsvt
Alright, apparently I'm not as cool as I thought I was.

So I downloaded the new kernel sources and attempted to install it. Everything compiled fine, I edited lilo.conf - no problems.

When I boot - nothing displays on the screen. It appears to be loading stuff for a while, but at some point it just stops. It may have enetered X, but I don't really know. I can't SSH into it, so I have no access.

Thankfully, I can boot into the older kernel. In my somewhat shortsighted brilliance, I figured I could fix things by copying the older kernel to replacing the new kernel and attempt to re-build 2.6.10.

That failed. It never gets past the Lilo screen. So, how do I properly restore the older kernel? And any ideas as to what the hell I did wrong with the older one?

I'm sure this isn't all that helpful without any config files, but I don't have right now.

I guess my main concern is that if I re-compile 2.6.10 and install it, that my working 2.4.26 will be over-written since it's "old." And that's a big no-bueno 'cause I don't have all that much faith in the 2.6.10 working on the first try. So how do I properly restore the 2.4.26 to the boot instead of the old.

I hope that's not all mindless dribble. Let me know. Thanks.
 
Old 02-08-2005, 08:25 PM   #7
cereal83
Member
 
Registered: Feb 2004
Location: Canada
Distribution: Slackware
Posts: 478

Rep: Reputation: 30
The exact same thing happened to me. I had to change my lilo config. Nothing shows up but it still works ... boot up and wait a bit until ur sure it's booted. Then type in user name and password
then type startx and X will boot up.

edit /etc/lilo.conf and look around and change whatever looks close to this to "vga = normal" (mine was vga = 773 I changed to vga = normal and everything was ok)

 
  


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
failed to install redhat 9 (kernel panic:attempt to kill init) omnia Linux - Hardware 1 06-13-2005 05:43 AM
Failed semi attempt at making my own little distro begining Linux - Newbie 3 10-26-2004 06:21 PM
Failed Attempt to Compile 2.6.5 as Non-root User farmerdan Linux - General 3 04-06-2004 06:49 PM
every attempt has failed ed_norton Linux - Newbie 3 04-03-2004 04:59 PM
Switch to Slackware 9.0 attempt 1: FAILED Ekim Gram Slackware 8 06-02-2003 02:15 PM


All times are GMT -5. The time now is 07:26 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration