From 6c9c74919b7b8c6bbcaca8f64b47406d5e8e3704 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 5 Mar 2008 17:12:43 +0000 Subject: - do not load i810fb, rely on vesa xorg drive instead (it may help #37772) --- perl-install/install/any.pm | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'perl-install/install/any.pm') diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index 7cf2de647..da61cc957 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -43,22 +43,6 @@ sub is_network_install { member($o->{method}, qw(ftp http nfs)); } - -sub start_i810fb() { - my ($vga) = cat_('/proc/cmdline') =~ /vga=(\S+)/; - return if !$vga || listlength(cat_('/proc/fb')); - - my %vga_to_xres = (0x311 => '640', 0x314 => '800', 0x317 => '1024'); - my $xres = $vga_to_xres{$vga} || '800'; - - log::l("trying to load i810fb module with xres <$xres> (vga was <$vga>)"); - eval { modules::load('intel_agp') }; - eval { - my $opt = "xres=$xres hsync1=32 hsync2=48 vsync1=50 vsync2=70 vram=2 bpp=16 accel=1 mtrr=1"; #- this sucking i810fb does not accept floating point numbers in hsync! - modules::load_with_options([ 'i810fb' ], { i810fb => $opt }); - }; -} - sub spawnShell() { return if $::local_install || $::testing || dont_run_directly_stage2(); -- cgit v1.2.1