LinuxQuestions.org
Visit Jeremy's Blog.
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 05-22-2005, 04:38 PM   #1
adamb10
Member
 
Registered: Aug 2003
Posts: 86

Rep: Reputation: 15
Kernel won't boot


I decided to compile the 2.6.11 kernel in Slackware 10.1. Well all goes dandy until its time to reboot. I choose Slackware020611 from LILO and I get a black screen. NOTHING happens. Why? :P
 
Old 05-22-2005, 04:45 PM   #2
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
You must compile in VESA Framebuffer support
 
Old 05-22-2005, 04:54 PM   #3
adamb10
Member
 
Registered: Aug 2003
Posts: 86

Original Poster
Rep: Reputation: 15
And how does 1 do that?
 
Old 05-22-2005, 05:05 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
My questions are: how did you comile it? was it a Slack compiled kernel or from kernel.org? Can you post your lilo.conf?
 
Old 05-22-2005, 05:08 PM   #5
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Device Drivers > Graphics support ->
Code:
[*] Support for frame buffer devices[*]   VESA VGA graphics support
Console display driver support ->
Code:
[*]   Video mode selection support 
<*> Framebuffer Console support[*]   Select compiled-in fonts[*]     VGA 8x8 font[*]     VGA 8x16 font
Edit: choose all those selections as built-in not modules

Last edited by keefaz; 05-22-2005 at 05:12 PM.
 
Old 05-22-2005, 05:26 PM   #6
adamb10
Member
 
Registered: Aug 2003
Posts: 86

Original Poster
Rep: Reputation: 15
I used the kernel.org kernel.

Thanks all.
 
Old 05-22-2005, 05:33 PM   #7
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
So did it boot correctly now?
 
Old 05-22-2005, 05:35 PM   #8
adamb10
Member
 
Registered: Aug 2003
Posts: 86

Original Poster
Rep: Reputation: 15
Well thats my next question. I did the way by using bzImage and vmlinuz. Will I have to do ll that stuff again or can I just edit the config, remake the modules and reinstall them?
 
Old 05-22-2005, 05:42 PM   #9
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
You have to redo the kernel compilation and install to enable framebuffer
as built-in in kernel (as any feature you mark as built-in in config is to be
compiled in the kernel, so bzImage, vmlinuz)
 
Old 05-22-2005, 05:47 PM   #10
adamb10
Member
 
Registered: Aug 2003
Posts: 86

Original Poster
Rep: Reputation: 15
So I take it I do have to do the vmlinuz and bzImage thing again.


ps.

Didn't understand your post. My brain has been off today.
 
Old 05-22-2005, 05:55 PM   #11
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Sorry, I find it not so clear too...

- You want framebuffer support so you run the configure step
enabling the options I mentioned above, as built-in
(there are 2 ways to add a feature in the kernel, built-in
and module)

- Because the framebuffer feature is enabled as built-in into
the kernel, the kernel will be recompiled so you have to
install the kernel image after the compilation
(cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.11 or
/boot/vmlinuz, up to you)

- there is a way to enable framebuffer as module and make
an initrd to load it at boot, but I never tested that
 
Old 05-22-2005, 06:25 PM   #12
adamb10
Member
 
Registered: Aug 2003
Posts: 86

Original Poster
Rep: Reputation: 15
Still does not work.

What I did:

Enabled options as built in kernel.
make vmImage
make modules
make install_modules
/sbin/lilo
 
Old 05-22-2005, 06:28 PM   #13
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
It should be: make modules_install
Anyway, it should've worked since you don't need that stuff as module. A quick way to get your console again is to set vga=normal in your lilo.conf and then run lilo. You won't get a "graphical" resolution in your console but you'll be able to see the messages, and if you're always on X you won't notice the difference.

Of course, if you really want to solve this (I personally prefer this ) you can try using the options in this thread (you can see/change them by editing the .config manually): http://www.linuxquestions.org/questi...postid=1655489
They're almost equal to the ones keefaz said, recheck them.

Last edited by gbonvehi; 05-22-2005 at 06:33 PM.
 
Old 05-22-2005, 06:41 PM   #14
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
Quote:
Originally posted by adamb10
Still does not work.

What I did:

Enabled options as built in kernel.
make vmImage
make modules
make install_modules
/sbin/lilo
did you copy the bzImage you made to /boot ?

egag
 
Old 05-22-2005, 07:20 PM   #15
adamb10
Member
 
Registered: Aug 2003
Posts: 86

Original Poster
Rep: Reputation: 15
Yes.
I found the problem. LILO says /vmlinuz is not found even though I'm staring right at it.
 
  


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
DSL Kernel Wont detect Flash drive on boot, cant boot =( Javahulk Linux - General 1 03-24-2005 02:59 PM
Kernel update boot problems, no boot loader StaticSage Red Hat 2 01-09-2004 06:05 AM
CAVEAT: /boot/kernel.h & how not to clobber your kernel sources (Conectiva, Red Hat) JCCyC LinuxQuestions.org Member Success Stories 0 08-07-2003 07:49 AM
Kernel Compile Boot Loader? boot disk? SPMcRuube Linux - Newbie 3 12-03-2002 07:02 PM
What to do with /boot/System.map on dual Kernel boot? cathodion Linux - General 2 05-17-2002 11:19 AM

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

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