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 01-04-2003, 03:58 AM   #1
BoonZie
Member
 
Registered: Oct 2002
Location: Malmoe Sweden
Distribution: Slackware 9.1
Posts: 50

Rep: Reputation: 15
Probs after compiling kernel


When I try to compile my own kernels, I always have one big problem.

Everything works well until I reboot with the new kernel. After choosing the new kernel in lilo, I can see that it starts loading, but after 2 secs my monitor turns black.
I can reach the computer with a remote ssh-client, so the kernel seems to work.
I have tried different settings for vga in lilo.conf both with and without VESA framebuffer. Sometimes it works if I write vga=ask. Then I can choose a screenfont, and the monitor works, but I cant start X. X complains about missing fonts, and shuts down again. I have tried to run XFree86 -configure, but bash wont recognize that command...
I have tried with two different computers, and kennels 2.4.18 - 2.4.20 and have the same problems.

I would like to have that nice penguin and the fonts that the "original" kernel uses, but how do I get them there?
 
Old 01-04-2003, 04:25 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
If the monitor turns off at boot it may mean there's no terminal support in your kernel. Are you sure you have it compiled? And compile without framebuffer (when you have a working one without, you can compile another one with framebuffer).
 
Old 01-04-2003, 03:45 PM   #3
BoonZie
Member
 
Registered: Oct 2002
Location: Malmoe Sweden
Distribution: Slackware 9.1
Posts: 50

Original Poster
Rep: Reputation: 15
Thanks for your answer.

I compiled with "vga text console" and "video mode selection support". I tried again with only "vga text console", and now my monitor is working.
Does this means that I can't get that nice penguin, and the hires fonts?
Are there any other choises I can make?
In my xconfig, many menus are grey. Does this mean that I dont have support for them (the framebuffer is among them), or can I make them black in some way? I'm espesially interested in the firewire support.
 
Old 01-04-2003, 03:54 PM   #4
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
You have to enable framebuffer support and then enable it in the lilo.conf.
 
Old 01-05-2003, 12:44 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
When a menu is grey it means it's choosen in a different place not to support the option. So it means you need to find out 'enable firewire' option and choose it (I'm guessing, I don't know its name, but it exists for sure ). Then firewire-related menus will be available.
 
Old 01-05-2003, 09:33 PM   #6
icyfire
Member
 
Registered: Feb 2002
Location: Bay Area, California
Distribution: Ubuntu
Posts: 110

Rep: Reputation: 15
You have to tell the kernel to prompt for development and/or incomplete code or drivers. It is in the 'Code maturity level' option at the top of the menu in menuconfig, or at the top left corner of xconfig. Hope this helps.

icy

Last edited by icyfire; 01-05-2003 at 10:38 PM.
 
Old 01-06-2003, 08:58 AM   #7
BoonZie
Member
 
Registered: Oct 2002
Location: Malmoe Sweden
Distribution: Slackware 9.1
Posts: 50

Original Poster
Rep: Reputation: 15
Worked great, thanks.
 
Old 01-09-2003, 05:17 AM   #8
BoonZie
Member
 
Registered: Oct 2002
Location: Malmoe Sweden
Distribution: Slackware 9.1
Posts: 50

Original Poster
Rep: Reputation: 15
Almost there, I think...
Seems that everything is working in "console-mode" now, but I canīt get X to start. There seems to be trouble with the nvidia driver. It works fine in the original 2.4.18 kernel, but wonīt work in my 2.4.20 kernel.
I get an error message about "Couldnīt initialize the NVIDIA kernel module".
I have read the FAQ:s from nvidia, and they are saying that the driver kernel could be built with the wrong "kernel headers" if I upgrade my system. They recommends to make a new installation of the driver kernel with the command: make install SYSINCLUDE=/path/to/kernel/headers. Where do I find these kernel headers? When I try to just write make install, I get an error about unresolved symbols in nvidia.o.
Could there be anything else to try?

When I installed Slack, I chose to have KDE as my graphical interface, but now I would like to try Blackbox instead. Where do I choose winch window manager to start?
 
Old 01-09-2003, 09:53 AM   #9
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
To change your default window manager I think the command is xwmconfig.

The kernel headers that are being requested are in the tree of the kernel that you just built in the include directory. So a typical path might look something like /usr/src/linux-2.4.20/include.

The nVidia will need to be completely rebuilt for the new kernel. The old nvidia.o was on a 2.4.18 kernel probably. So either do make clean on the nVidia drivers and start fresh or just delete the source tree and restore from fresh sources again. Then follow through on the module build.

This process will need to be completed for any other custom built modules you may have as well. For instance, alsa sound drivers.
 
Old 01-09-2003, 05:12 PM   #10
BoonZie
Member
 
Registered: Oct 2002
Location: Malmoe Sweden
Distribution: Slackware 9.1
Posts: 50

Original Poster
Rep: Reputation: 15
Thanks, it worked fine.
 
  


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
does compiling from source avoid kernel version probs? disorderly Linux - Newbie 1 03-25-2005 04:28 PM
probs with compiling kdevelop app joeman3429 Programming 1 08-27-2004 07:41 PM
Compiling Kernel 2.4.22 probs GingerPrince Linux - General 1 09-24-2003 09:30 PM
kernel compiling probs linen0ise Slackware 7 07-28-2003 07:48 PM
Gnome 2 Compiling probs Hegemon Linux - General 3 10-04-2002 06:22 AM

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

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