LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   problem after compiling my kernel (https://www.linuxquestions.org/questions/slackware-14/problem-after-compiling-my-kernel-400735/)

slazer 01-07-2006 08:22 PM

problem after compiling my kernel
 
hi all,

yesterday i compiled my kernel on slackware 10.. and i managed to compile it successfully. but the problem is when i reboot in to the newly compiled system, the display become big due to the low screen resolution (maybe 800*600). because, before this the resolution is 1024*768 and there is a penguin logo at up-left of the terminal and the font size is quite nice to my eyes.

fyi, i dont installed any x windows on my slackware.

i also changed my screen resolution size in /etc/lilo.conf to 1024*768 after noticed the big font but nothing happened when i reboot the pc...


please help/guide me to get it back to my old screen resolution.

thanks in advance....

Jeebizz 01-07-2006 08:28 PM

After making the changes in lilo.conf, did you make sure to run /sbin/lilo ?

slazer 01-07-2006 09:59 PM

yeah... i already run /sbin/lilo

Jeebizz 01-07-2006 11:18 PM

Perhaps then there is still something you forgot to compile in your kernel configuration..

This is from the 2.6 series, but there still should be something like this in the 2.4 series..(You also did not specify if you are running a recompiled 2.4 series kernel, or the new 2.6 series) this is an example taken from my .config file from 2.6.14.4, and so I don't know what graphic card chipset you are running, but this should give you an idea, but overall these are the settings you should look over again, I2C support/I2C Algorithms, Graphics support, Console Display, and Logo config.

Code:

# I2C support
#
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=y

#
# I2C Algorithms
#
CONFIG_I2C_ALGOBIT=y
CONFIG_I2C_ALGOPCF=y
CONFIG_I2C_ALGOPCA=y


Then choose the right graphics card, also notice the FB option, that is the framebuffer, and so this is what we are trying to get to work correctly.
Code:

#
# Graphics support
#
CONFIG_FB=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_SOFT_CURSOR=y
# CONFIG_FB_MACMODES is not set
CONFIG_FB_MODE_HELPERS=y
# CONFIG_FB_TILEBLITTING is not set
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
CONFIG_FB_VESA=y
CONFIG_VIDEO_SELECT=y
# CONFIG_FB_HGA is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I810 is not set
# CONFIG_FB_INTEL is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON_OLD is not set
CONFIG_FB_RADEON=m
CONFIG_FB_RADEON_I2C=y
# CONFIG_FB_RADEON_DEBUG is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_VGA16 is not set
CONFIG_FB_VESA=y
CONFIG_VIDEO_SELECT=y
# CONFIG_FB_HGA is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I810 is not set
# CONFIG_FB_INTEL is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON_OLD is not set
CONFIG_FB_RADEON=m
CONFIG_FB_RADEON_I2C=y
# CONFIG_FB_RADEON_DEBUG is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_CYBLA is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_VIRTUAL is not set

Now the next part of the config to make sure you have enabled in your kernel
Code:

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_FONT_6x11=y
CONFIG_FONT_7x14=y
CONFIG_FONT_PEARL_8x8=y
CONFIG_FONT_ACORN_8x8=y
CONFIG_FONT_MINI_4x6=y
CONFIG_FONT_SUN8x16=y
CONFIG_FONT_SUN12x22=y
CONFIG_FONT_10x18=y

And finally, the penguin on the upper lefthand corner of the screen.
Code:

#
# Logo configuration
#
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set


slazer 01-08-2006 12:08 AM

my pc use sis530 chipset for graphic card.

slazer 01-08-2006 12:09 AM

my pc use sis530 chipset for graphiccard.. built-in type of graphic card.

b0nd 01-08-2006 01:13 AM

Hello slazer,
instead of suggesting u some solution i would like to ask you about the steps u followed for compiling the kernel.
actually whenever i compile my slacware 10.0 2.4.26 kernel..i loose the sound .
i've experience of successfully compiling RH9 and except the sound issue, the new kernel of slackware works fine everytime.

regards

slazer 01-11-2006 09:25 PM

i solved it.. it was my mistake to miss including the support for agpgart and something like " graphic for console" in the menuconfig... now it's all ok.. thanks Jeebizz for giving the idea...

rudraa: sorry dude.. my slackware pc doesnt have sound card (doesnt have any windows manager, so no need sound for that pc)..


All times are GMT -5. The time now is 04:44 AM.