LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-15-2007, 10:09 AM   #1
JM11
LQ Newbie
 
Registered: Jan 2007
Location: UK
Distribution: Slackware 11
Posts: 24

Rep: Reputation: 15
Exclamation New kernel boots with screen problems!


Hi, i jus recompiled the 2.6 kernel in slackware 11 to remove some unrequired modules (just some language support and networking modules) using:

make menuconfig
make
make modules_install

I then copied the image to /boot and configured lilo to boot it.

BUT when i restart and boot the new kernel, the screen continues to fill up with lines!!!!!!!!!!!

I must point out that the old kernel boots using 1024x768 resolution and the new one in a widescreen screen resolution (my laptop is widescreen) for some reason.

Anyone knw what the problem is

 
Old 02-15-2007, 03:34 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by JM11
BUT when i restart and boot the new kernel, the screen continues to fill up with lines!!!!!!!!!!!
Can you describe the lines a little more ?

Something like this ?

Code:
______________________________________________
________________________________________________
________________________________________________________
______________________________________
_______________________________________________________________
__________________________________
 
Old 02-15-2007, 04:37 PM   #3
JM11
LQ Newbie
 
Registered: Jan 2007
Location: UK
Distribution: Slackware 11
Posts: 24

Original Poster
Rep: Reputation: 15
Well they are horizontal. Like the type u get when tuning a tv i guse.
But this only seems to happen when i compile 2.6 kernel or above. Doesnt happen with 2.4.
Im thinking its to do with the graphics card but not sure. Usually console boots up in 1024x768 so doesnt use the full widescreen. However this type it i using the full screen but filling up with these lines for some reason.

Last edited by JM11; 02-15-2007 at 04:42 PM.
 
Old 02-15-2007, 05:48 PM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
check '/etc/lilo.conf' and make sure 'vga = normal' (remember to run '/sbin/lilo' after changing it) and try again.

Last edited by H_TeXMeX_H; 02-15-2007 at 05:50 PM.
 
Old 02-15-2007, 11:58 PM   #5
bird603568
Member
 
Registered: Aug 2004
Distribution: Slackware current
Posts: 250

Rep: Reputation: 30
try this:
make
make modules
make modules_install
make install

and if that doesnt work work there has to be something wrong with the kernel
 
Old 02-16-2007, 03:23 AM   #6
JM11
LQ Newbie
 
Registered: Jan 2007
Location: UK
Distribution: Slackware 11
Posts: 24

Original Poster
Rep: Reputation: 15
The lilo config was changed and i did run /sbin/lilo straight after editing the lilo.conf file.
I'll give a shot at your're suggestion bird603568, but im not sure its the kernel because it booted fine when i installed slackware with the huge26.s.
Also i downloaded the full source of the 2.6.20 kernel version and compiled that and it gives me the same thing for some reason.
 
Old 02-17-2007, 01:11 PM   #7
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
The "make install" command at the end of the steps bird603568 gave will only work if lilo.conf is set up with "/boot/vmlinuz" as one of the boot options. Otherwise there's no reason to use it.
What options to you have in "Device Drivers -> Graphics support" from menuconfig? If you've used an old .config file from a 2.4 series kernel, then some options are likely different and have been deselected. What I would do is have two terminal windows open, one with make menuconfig from the 2.4 tree (that boots fine) and the other with the 2.6 tree, and compare options.
 
Old 02-17-2007, 03:02 PM   #8
JM11
LQ Newbie
 
Registered: Jan 2007
Location: UK
Distribution: Slackware 11
Posts: 24

Original Poster
Rep: Reputation: 15
Ok after some experimenting i realised wat is causing it. I built the ati radeon option as the frame buffer device and this is using my entire screen (1280x800) for the console which is wat i wanted but it's causing this problem of lines. When i built it as a module and only build in the VESA fb it's ok but it boots using 1024x768 which is a bit annoying.
 
Old 02-19-2007, 12:21 AM   #9
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
Quote:
Originally Posted by JM11
make menuconfig
make
make modules_install
something that might help when configuring kernel is to use make xconfig, it explains these options a bit better.

also: make mrproper, make clean and make oldconfig before your make menuconfig (or xconfig) ensures you're set up for remaking your kernel.

make mrproper only once. sorry if you do these already but you didn't mention them.

I have screwed with trying to get FB support and HW acceleration but to my understanding they are mutually exclusive. In order to have a nice FB you have to compile in FB support, but to have HW acceleration you need everything to be modular.

please, anyone correct if I am wrong.
 
Old 02-19-2007, 06:19 AM   #10
ciotog
Member
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Blog Entries: 2

Rep: Reputation: 43
You ought to be able to use initrd with modular framebuffer support, then dump the framebuffer module and load the hw driver before starting X...
 
Old 02-19-2007, 10:57 AM   #11
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
Quote:
In order to have a nice FB you have to compile in FB support, but to have HW acceleration you need everything to be modular.
I am using 2.6.20 with built AGPGART and intel-agp , and HW acceleration is working fine.

My 2c:
JM11, why didn't you use "make bzImage"? thats generally recommended over make... lilo has a real problem with uncompressed images. And instead of "make install" copy over the new bzImage created to /boot/vmcustom and then appropriately change the lilo.conf (add another entry with root=/boot/vmcustom). then do /sbin/lilo twice to be sure . Thats the easiest method to get a new kernel up and running , without losing your previous one too.


EDIT : don't for make modules_install. All the steps other than this one and copying the image to /boot/ should be preferentially done as non superuser.

Last edited by duryodhan; 02-19-2007 at 10:59 AM.
 
Old 02-19-2007, 12:44 PM   #12
JM11
LQ Newbie
 
Registered: Jan 2007
Location: UK
Distribution: Slackware 11
Posts: 24

Original Poster
Rep: Reputation: 15
I did use make bzImage before hand followed by make modules, and make modules_install. Im currently running the VESA framebuffer rather than the radeonfb so can only get 1024x768 instead of the full 1280x800. I tink its jus LILO that cant handle the widescreen framebuffer resolution. I tink im gna try and install GRUB later on and see if that makes a difference.
 
  


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
problems booting a 2.6 kernel , 2.4 boots fine! dimgr Debian 2 12-27-2006 09:19 AM
installation problems, boots to black screen thing DiabloDan Mandriva 2 05-30-2006 04:38 AM
Kernel 2.6.6 boots to blank screen sharpie Linux - General 4 06-19-2004 08:54 AM
screen blanks after 2.6.6 boots dejavu_01 Slackware 1 05-20-2004 11:25 PM

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

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