LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-03-2006, 07:47 AM   #1
shamim_ec
LQ Newbie
 
Registered: May 2006
Posts: 7

Rep: Reputation: 0
FrameBuffer:How to enable


hi
[I m using ubuntu,P4-512Mb Ram]
I was trying to enable the Frame buffer ,for this I did the following steps
1-Install the Linux source-2.6.12 in /usr/src
2-make menucofig
3-make
4-make module_install
5-make install
this created one image and I copied this image into /boot folder
6-I wrote the following line into my grub(menu.lst)
title frame buffer enable
kernel /boot/bzImage root=/hda/sda1 ro quiet splash
7-upgrdae the grub
Now If I upgrade the grub watever changes I made in the grub does not come on the boot option and If I dont upgrade the grub the New added title comes into boot option If I select new option
then Kernel Panic occur
there is one more thing If I write vga=791 in the menu.lst file nothing come on the monitor
Hope I explained the problem,Can anybody help
8-Once i wrote initrd /initrd....
in the menu.lst then it fatal errors started coming says that device is not present,Do i need to create a file related to frame buffer
Thanx in advance
 
Old 05-04-2006, 12:40 AM   #2
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Framebuffer support needs to be compiled into the kernel. Its not an option you put in your menu.lst. You don't need to upgrade grub everytime you compile a new kernel. You only need to update your menu.lst with the option to use your new kernel. If you write vga=791 either you monitor and/or hardware won't support that resolution or you've not written everything in everything you need or, finally, you've not written it in correctly.
 
Old 05-04-2006, 05:14 AM   #3
shamim_ec
LQ Newbie
 
Registered: May 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Hi penguin of wonder
thanx for ur reply
yeah to enable the FB I made the changes while make menuconfig
My monitor is latest Dell and H/w is P4
How can I check wether my h/w or monitor supports the framebuffer
On compliation I m getting the bzImage,Is it ok to use bzImage for booting
Thanx n Regards
 
Old 05-04-2006, 05:45 AM   #4
ioerror
Member
 
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 34
Quote:
How can I check wether my h/w or monitor supports the framebuffer
I think you have that backwards, hardware cannot support software, it's up to the software to support the hardware. Your monitor is new, so there is no problem using the framebuffer. Be sure that you enabled all the relevant options. As well as framebuffer support you also need to enable framebuffer console support.

A non-functioning framebuffer should not cause a kernel panic. You should post the precise error message you get so we can see exactly what the problem is.

Quote:
8-Once i wrote initrd /initrd....
in the menu.lst then it fatal errors started coming says that device is not present
What device? If you are getting hardware errors trying to load a file, that sounds like a hard drive problem, or maybe you specified the wrong root device?
 
Old 05-04-2006, 11:10 PM   #5
shamim_ec
LQ Newbie
 
Registered: May 2006
Posts: 7

Original Poster
Rep: Reputation: 0
I have used the default configuration
the error was
Kernel Panic:Not Syncing:unable to mount root fs on unknown-block(0,0)
 
Old 05-04-2006, 11:29 PM   #6
shamim_ec
LQ Newbie
 
Registered: May 2006
Posts: 7

Original Poster
Rep: Reputation: 0
I am struggling with two types of error
(1)When I do not write
initrd /initrd-2.6......
line in menu.lst
this error is Kernel Panic error and the error message is
Kernel Panic:Not Syncing:unable to mount root fs on unknown-block(0,0)
(2)If i write the initrd option in menu.lst then I get fatal error
the messae was
FATAL:Could not load /lib/modules/2.6.12/modules.dep:No such file or directory
FATAL:Could not load /lib/modules/2.6.12/modules.dep:No such file or directory
Done
Begin:Mounting root file system...
Begin:Running /scripts/local-top....
Done.
Alert! /dev/sda1 does not exist .Dropping to shell
 
Old 05-04-2006, 11:31 PM   #7
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Post your fstab, and the parts of the menu.lst that are in question. Perhaps you've written something wrong?
 
Old 05-05-2006, 02:26 AM   #8
shamim_ec
LQ Newbie
 
Registered: May 2006
Posts: 7

Original Poster
Rep: Reputation: 0
/etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda1 / ext3 defaults,errors=remount-ro 0 1
/dev/sda6 /backup ext3 defaults 0 2
/dev/sda5 none swap sw 0 0
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
*****************************************************
part of menu.lst
title Framebuffer(5may bzImage2)
root (hd0,0)
#vga=0x317
kernel /boot/bzImage root=/dev/sda1 ro quiet splash vga=0x317
#initrd /boot/initrd.img-2.6.12-10-386
savedefault
boot


please note that when I hide initrd line then Kernel panic occurs when I unhide then Fatal error occurs as I mentioned in my previous mai,I tried vga-791 also insted of hex values
 
  


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
how can I enable bootplash and framebuffer? LittlesnowLinux Debian 16 09-14-2005 09:34 PM
Enable framebuffer to have read/write access vidhyapria Red Hat 0 08-11-2005 07:26 AM
VESA framebuffer vs Intel framebuffer in Slackware 10.0 with default kernel brancalessio Slackware 3 01-20-2005 03:21 PM
what is framebuffer? rgiggs Mandriva 1 04-17-2004 05:12 AM
Framebuffer nrunge Linux - Newbie 4 11-05-2003 12:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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