LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-10-2004, 04:23 PM   #1
usr
Member
 
Registered: Oct 2003
Posts: 44

Rep: Reputation: 15
kernel 2.6.0 doesn't boot right


I just compiled kernel 2.6.0 on a Slacware 9.1 box and it runs well if I boot it in normal mode but if I boot with vga=792 in 1024x768 I receive an error on screen "Attention! Out of range: H:84.5khz V:160hz"(and my monitor supports H: 30-70 khz V:50-160 hz). Where is the problem? I also compiled as a module driver for my ac'97 onboard sound codec. How can I enable it?

Thanks!
 
Old 01-10-2004, 04:32 PM   #2
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
try vga=773. according to my lilo.conf, that's 1024x768x256.

for the sound issue, try
modprobe ac97_codec

if that loads it, add it to /etc/rc.d/rc.modules

Last edited by synaptical; 01-10-2004 at 04:33 PM.
 
Old 01-10-2004, 04:42 PM   #3
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
What a co-insidance. I did the same thing today (installed the 2.6.1 kernel on my slackware 9.1 installation and set the boot-up screen res to 791) . Went alright with me though.
How did you configure the kernel? Post the relevent sections of the kernel config file here.
I don't know if it is nessesery to get an 1024x768 res. on the console, but I applied a patch on the kernel sources I found at www.bootsplash.org . It enables you to use the frame buffer device so you can get pretty pictures on your console. Maby it is also nessery to apply the patch to get an 1024x768 resolution, but I don't know that for sure.

Last edited by qanopus; 01-10-2004 at 04:44 PM.
 
Old 01-10-2004, 05:02 PM   #4
usr
Member
 
Registered: Oct 2003
Posts: 44

Original Poster
Rep: Reputation: 15
I tried with vga=773 but now "Attention! Out of range: H:84.5khz V:160.2hz". And another problem with sound codec. I don't have ac97_codec, just snd-ac97-codec. What should I select from kernel configuration in order to obtain this module?

Thanks for your replies!
 
Old 01-10-2004, 05:14 PM   #5
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by usr
I tried with vga=773 but now "Attention! Out of range: H:84.5khz V:160.2hz".
Did you remember to compile framebuffer support in your kernel? Most likely that's the problem.
 
Old 01-10-2004, 05:33 PM   #6
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
Quote:
Originally posted by trickykid
Did you remember to compile framebuffer support in your kernel? Most likely that's the problem.
yep, was just going to mention that, but trickykid beat me to it. gotta have that framebuffer, or else only normal will work.
 
Old 01-10-2004, 05:48 PM   #7
usr
Member
 
Registered: Oct 2003
Posts: 44

Original Poster
Rep: Reputation: 15
Yes I compiled with framebuffer
Code:
#
# Graphics support
#
CONFIG_FB=y
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_IMSTT is not set
CONFIG_FB_VGA16=y
CONFIG_FB_VESA=y
CONFIG_VIDEO_SELECT=y
# CONFIG_FB_HGA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_MATROX is not set
CONFIG_FB_RADEON=m
CONFIG_FB_ATY128=m
CONFIG_FB_ATY=m
CONFIG_FB_ATY_CT=y
CONFIG_FB_ATY_GX=y
# CONFIG_FB_ATY_XL_INIT is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_VIRTUAL is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_PCI_CONSOLE=y
CONFIG_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
# CONFIG_FONT_6x11 is not set
# CONFIG_FONT_PEARL_8x8 is not set
# CONFIG_FONT_ACORN_8x8 is not set
# CONFIG_FONT_MINI_4x6 is not set
CONFIG_FONT_SUN8x16=y
CONFIG_FONT_SUN12x22=y
And what should I select in kernel configuration in order to obtain a ac97_codec module?
 
Old 01-10-2004, 07:10 PM   #8
usr
Member
 
Registered: Oct 2003
Posts: 44

Original Poster
Rep: Reputation: 15
I fixed the problem: the kernel must be compiled with CONFIG_FB_VGA16=m not CONFIG_FB_VGA16=y in order to work.
 
Old 01-11-2004, 06:34 AM   #9
qanopus
Senior Member
 
Registered: Jul 2002
Location: New York
Distribution: Slackware
Posts: 1,358

Rep: Reputation: 45
No I think the CONFIG_FB_VGA16 and the CONFIG_FB_VESA option just arn't compatible. You should specify one or the other.
 
Old 01-11-2004, 10:57 AM   #10
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
Quote:
Originally posted by schatoor
No I think the CONFIG_FB_VGA16 and the CONFIG_FB_VESA option just arn't compatible. You should specify one or the other.
yes, i believe that's correct, because i don't have the VGA16 option selected at all.
 
  


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 On
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 - General

All times are GMT -5. The time now is 09:02 AM.

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