help on frame buffer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi,

I am using redhat linux 9,  I want to enable frame buffer support.
I followed the following steps..


1.        Make sure that you have the Linux kernel source code in /usr/src/linux/.
2.        Log in as root and cd /usr/src/linux
3.        Configure the kernel:

Run:
        make menuconfig

Select "Code maturity level options" and set "Prompt for development and/or incomplete code/drivers".

Then select "Console drivers" set "Support for frame buffer devices" to built-in (even if it says EXPERIMENTAL). Then configure the driver. Most modern graphics cards can use the "VESA VGA graphics console"; use that or a driver that specifically matches your video card. Finally enable "Advanced low level driver options" and make sure that 16 and 32 bpp packed pixel support are enabled.

When you are finished, chose exit and save.
4.        Compile the kernel

First do:
        make dep

then:
        make bzImage

The new kernel should now be in arch/i386/boot/bzImage
5.        Copy the kernel to the boot directory:
        cp arch/i386/boot/bzImage /boot/linux.vesafb

6.        Edit /etc/lilo.conf

IMPORTANT: Keep a backup of /etc/lilo.conf, and have a rescue disk available. If you make a mistake at this stage, the machine may not boot.

The file /etc/lilo.conf specifies how the system boots. The precise contents of the file varies from system to system, this is one example:
boot = /dev/hda3
delay = 30
image = /boot/vmlinuz
 root = /dev/hda3
 label = Linux
 read-only # Non-UMSDOS filesystems should be mounted read-only for checking
other=/dev/hda1
       label=nt
       table=/dev/hda

IMPORTANT: Keep a backup of /etc/lilo.conf, and have a rescue disk available. If you make a mistake here, the machine may not boot.

Make a new "image" section that is a copy of the first one, but with image = /boot/linux.vesafb and label = Linux-vesafb. Place it just above the first image section.

Add a line before the image section saying 'vga = 791'. (Meaning 1024x768, 16 bpp.)

With the above example, lilo.conf would now be:
boot = /dev/hda3
delay = 30
vga = 791
image = /boot/linux.vesafb
 root = /dev/hda3
 label = Linux-vesafb
 read-only # Non-UMSDOS filesystems should be mounted read-only for checking
image = /boot/vmlinuz
 root = /dev/hda3
 label = Linux
 read-only # Non-UMSDOS filesystems should be mounted read-only for checking
other=/dev/hda1
       label=nt
       table=/dev/hda

Do not change any lines in the file; just add new ones.
7.        Run lilo

To make the new changes take effect, run the lilo program:
        lilo

8.        Reboot the system

--------------------------------------------------------------

after rebooting, the kernel is not booting...
it says kernel version mismatch and kernel panic, mention the correct root.

can anybody help in this ?


Raja Saleru
LARSEN & TOUBRO INFOTECH LIMITED
Communications & Embedded Systems
No.4, Service Road,
Domlur Layout,
Bangalore - 560 071
INDIA
Tel : +91-80-25350510/512 Extn : 106
Mobile : +91-
Fax : +91-80-25350495

______________________________________________________________________

-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux