Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot boot 2.6.38-gentoo-r6 with boot option vga=
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
castor_fou
Apprentice
Apprentice


Joined: 23 May 2002
Posts: 249
Location: Clermont-Ferrand, France

PostPosted: Wed Jun 08, 2011 8:25 pm    Post subject: Cannot boot 2.6.38-gentoo-r6 with boot option vga= Reply with quote

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
View user's profile Send private message
tclover
Guru
Guru


Joined: 10 Apr 2011
Posts: 516

PostPosted: Fri Jun 10, 2011 8:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
Chris W
l33t
l33t


Joined: 25 Jun 2002
Posts: 972
Location: Brisbane, Australia

PostPosted: Mon Jun 13, 2011 6:18 am    Post subject: Reply with quote

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
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Mon Jun 13, 2011 7:59 am    Post subject: Reply with quote

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
View user's profile Send private message
Chris W
l33t
l33t


Joined: 25 Jun 2002
Posts: 972
Location: Brisbane, Australia

PostPosted: Mon Jun 13, 2011 10:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Tue Jun 14, 2011 8:04 am    Post subject: Reply with quote

Chris W wrote:
If I interrupt the boot, edit the boot options, then boot, it generally works.

Timing problem ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum