  | | | help on frame buffer | help on frame buffer 2005-06-01 - By Raja.Saleru@(protected)
Back 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
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __
<br><font size=2 face="sans-serif">Hi,</font> <br> <br><font size=2 face="sans-serif">I am using redhat linux 9, I want to enable frame buffer support.</font> <br><font size=2 face="sans-serif">I followed the following steps..</font> <br> <br> <br><font size=2 face="sans-serif">1. </font><font size=3 face="Times New Roman">Make sure that you have the Linux kernel source code in </font><a href=file:///usr/src/linux/><font size=3 color=blue face= "Times New Roman"><u>/usr/src/linux/</u></font></a><font size=3 face="Times New Roman">. </font> <br><font size=2 face="sans-serif">2. </font><font size=3 face="Times New Roman">Log in as root and cd /usr/src/linux </font> <br><font size=2 face="sans-serif">3. </font><font size=3 face="Times New Roman">Configure the kernel: </font> <p><font size=3 face="Times New Roman">Run: </font> <br><font size=3 face="Courier New"> make menuconfig <br> </font> <p><font size=3 face="Times New Roman">Select "Code maturity level options " and set "Prompt for development and/or incomplete code/drivers" . </font> <p><font size=3 face="Times New Roman">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. </font> <p><font size=3 face="Times New Roman">When you are finished, chose exit and save. </font> <br><font size=2 face="sans-serif">4. </font><font size=3 face="Times New Roman">Compile the kernel </font> <p><font size=3 face="Times New Roman">First do: </font> <br><font size=3 face="Courier New"> make dep<br> </font> <p><font size=3 face="Times New Roman">then: </font> <br><font size=3 face="Courier New"> make bzImage<br> </font> <p><font size=3 face="Times New Roman">The new kernel should now be in </font> <font size=3 face="Courier New">arch/i386/boot/bzImage</font><font size=3 face= "Times New Roman"> </font> <br><font size=2 face="sans-serif">5. </font><font size=3 face="Times New Roman">Copy the kernel to the boot directory: </font> <br><font size=3 face="Courier New"> cp arch/i386 /boot/bzImage /boot/linux.vesafb<br> </font> <br><font size=2 face="sans-serif">6. </font><font size=3 face="Times New Roman">Edit </font><font size=3 face="Courier New">/etc /lilo.conf</font><font size=3 face="Times New Roman"> </font> <p><font size=3 face="Times New Roman"><i>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. </i></font> <p><font size=3 face="Times New Roman">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: </font> <br><font size=3 face="Courier New">boot = /dev/hda3<br> delay = 30 <br> image = /boot/vmlinuz<br> root = /dev/hda3<br> label = Linux<br> read-only # Non-UMSDOS filesystems should be mounted read-only for checking<br> other=/dev/hda1<br> label=nt<br> table=/dev/hda<br> </font> <p><font size=3 face="Times New Roman"><i>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. </i></font> <p><font size=3 face="Times New Roman">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. </font> <p><font size=3 face="Times New Roman">Add a line before the image section saying 'vga = 791'. (Meaning 1024x768, 16 bpp.) </font> <p><font size=3 face="Times New Roman">With the above example, lilo.conf would now be: </font> <br><font size=3 face="Courier New">boot = /dev/hda3<br> delay = 30 <br> vga = 791<br> image = /boot/linux.vesafb<br> root = /dev/hda3<br> label = Linux-vesafb<br> read-only # Non-UMSDOS filesystems should be mounted read-only for checking<br> image = /boot/vmlinuz<br> root = /dev/hda3<br> label = Linux<br> read-only # Non-UMSDOS filesystems should be mounted read-only for checking<br> other=/dev/hda1<br> label=nt<br> table=/dev/hda<br> </font> <p><font size=3 face="Times New Roman">Do not change any lines in the file; just add new ones. </font> <br><font size=2 face="sans-serif">7. </font><font size=3 face="Times New Roman">Run lilo </font> <p><font size=3 face="Times New Roman">To make the new changes take effect, run the lilo program: </font> <br><font size=3 face="Courier New"> lilo<br> </font> <br><font size=2 face="sans-serif">8. </font><font size=3 face="Times New Roman">Reboot the system </font> <br> <br><font size=2 face="sans-serif">-- ---- ---- ---- ---- ---- ---- ---- ------ -- ---- ---- -----</font> <br> <br><font size=2 face="sans-serif">after rebooting, the kernel is not booting.. .</font> <br><font size=2 face="sans-serif">it says kernel version mismatch and kernel panic, mention the correct root.</font> <br> <br><font size=2 face="sans-serif">can anybody help in this ?</font> <br> <br> <br><font size=2 face="sans-serif">Raja Saleru<br> LARSEN & TOUBRO INFOTECH LIMITED<br> Communications & Embedded Systems<br> No.4, Service Road,<br> Domlur Layout,<br> Bangalore - 560 071<br> INDIA<br> Tel : +91-80-25350510/512 Extn : 106<br> Mobile : +91-<br> Fax : +91-80-25350495<br> </font>
<BR> __ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __<BR>
-- Shrike-list mailing list Shrike-list@(protected) https://www.redhat.com/mailman/listinfo/shrike-list
|
|
 |