LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   FrameBuffer:How to enable (https://www.linuxquestions.org/questions/linux-newbie-8/framebuffer-how-to-enable-441222/)

shamim_ec 05-03-2006 07:47 AM

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

Penguin of Wonder 05-04-2006 12:40 AM

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.

shamim_ec 05-04-2006 05:14 AM

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

ioerror 05-04-2006 05:45 AM

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?

shamim_ec 05-04-2006 11:10 PM

I have used the default configuration
the error was
Kernel Panic:Not Syncing:unable to mount root fs on unknown-block(0,0)

shamim_ec 05-04-2006 11:29 PM

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

Penguin of Wonder 05-04-2006 11:31 PM

Post your fstab, and the parts of the menu.lst that are in question. Perhaps you've written something wrong?

shamim_ec 05-05-2006 02:26 AM

/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


All times are GMT -5. The time now is 04:59 PM.