View previous topic :: View next topic |
Author |
Message |
castor_fou Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 23 May 2002 Posts: 249 Location: Clermont-Ferrand, France
|
Posted: Wed Jun 08, 2011 8:25 pm Post subject: Cannot boot 2.6.38-gentoo-r6 with boot option vga= |
|
|
I use genkernel to compile my kernels.
This grub option works (2.6.37-gentoo-r4)
Code: | root (hd0,0)
kernel /boot/kernel-genkernel-x86-2.6.37-gentoo-r4 root=/dev/ram0 init=/linuxrc ramdisk=8192 lvmraid=/dev/md1 real_root=/dev/mapper/VG_gentoo_root-root udev dodmraid dolvm video=vesafb:ywrap,mtrr vga=0x31A nohz=off clocksource=hpet
initrd /boot/initramfs-genkernel-x86-2.6.37-gentoo-r4 |
This grub option doesn't (2.6.38-gentoo-r6)
Code: | root (hd0,0)
kernel /boot/kernel-genkernel-x86-2.6.38-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 lvmraid=/dev/md1 real_root=/dev/mapper/VG_gentoo_root-root udev dodmraid dolvm video=vesafb:ywrap,mtrr vga=0x31A nohz=off clocksource=hpet
initrd /boot/initramfs-genkernel-x86-2.6.38-gentoo-r6 |
and this one does (2.6.38-gentoo-r6 without vga=)
Code: | root (hd0,0)
kernel /boot/kernel-genkernel-x86-2.6.38-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 lvmraid=/dev/md1 real_root=/dev/mapper/VG_gentoo_root-root udev dodmraid dolvm video=vesafb:ywrap,mtrr nohz=off clocksource=hpet
initrd /boot/initramfs-genkernel-x86-2.6.38-gentoo-r6 |
but losing nice display of TTYs.
any idea on that.
I use a nvidia card. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tclover Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 10 Apr 2011 Posts: 516
|
Posted: Fri Jun 10, 2011 8:48 pm Post subject: |
|
|
Try something like `video=uvesafb:ywrap,1280x800-24@60' where 24 it 24 bits color space (do not append 32 as 32=24+8[alpha]) and 60[hz] the refresh rate of your screen. It should work like a charm with no vga=<code> which is a bit difficultt to grasp if you don't have the meaning of those codes. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Chris W l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Simpsons/Simpsons_-_Ralph.jpg)
Joined: 25 Jun 2002 Posts: 972 Location: Brisbane, Australia
|
Posted: Mon Jun 13, 2011 6:18 am Post subject: |
|
|
I have a similar problem with these options:
vga=0x317 video=vesafb,mtrr:3,ywrap
I found that dropping the video= options made the system start with the correct resolution. I'm in the process of working out which option breaks it, but my money is on the MTRR option.
The previous poster's suggestion is for the uvesafb user-space driver and not the kernel vesafb that we are using. _________________ Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
aCOSwt Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Mon Jun 13, 2011 7:59 am Post subject: |
|
|
As far as I see, under gentoo-sources 2.6.38-r6, + vesafb and an nVidia 9800 GT I get no trouble with
Code: | vga=0x37b
append="video=vesafb:mtrr:3,ywrap" |
But... I use Lilo and do not use genkernel. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Chris W l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Simpsons/Simpsons_-_Ralph.jpg)
Joined: 25 Jun 2002 Posts: 972 Location: Brisbane, Australia
|
Posted: Mon Jun 13, 2011 10:57 pm Post subject: |
|
|
This is annoyingly inconsistent with my GeForce 8800 GTS. If I put the options into my GRUB boot line and let it boot through automatically then I get the black screen hang (no HDD activity ever seen). If I remove the vga= and video= options and allow automatic boot then the kernel comes up.
If I interrupt the boot, edit the boot options, then boot, it generally works. These are the same options that didn't work above.
When time permits I'll try a vanilla kernel or two. _________________ Cheers,
Chris W
"Common sense: The collection of prejudices acquired by age 18." -- Einstein |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
aCOSwt Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Tue Jun 14, 2011 8:04 am Post subject: |
|
|
Chris W wrote: | If I interrupt the boot, edit the boot options, then boot, it generally works. |
Timing problem ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|