Bug#689266: grub-pc: graphics mode sends VGA signal out of range on ATI Rage 128 Pro Ultra TR

Daniel Kahn Gillmor dkg at fifthhorseman.net
Mon Oct 1 00:06:43 UTC 2012


Package: grub-pc
Version: 2.00-7
Severity: normal

Control: notfound -1 1.99-23

On grub-pc 1.99-23, this machine boots with a graphical grub menu just
fine.

Upon upgrading to 2.00-7, the attached monitor (a Norwood Micro M17CBA
LCD flatpanel connected via VGA) shows "signal out of range".  if i
have set GRUB_GFXPAYLOAD_LINUX=keep in /etc/default/grub, this
persists until the display manager takes over, and puts the video in a
reasonable range.

A functional workaround is to set GRUB_TERMINAL=console in
/etc/default/grub, but most users probably won't know to do this, and
if they're used to a graphical boot sequence, they might wonder why
their monitor isn't showing anything for a while after boot.  They
might even think that the system upgrade failed entirely, which would
be bad.

Some diagnostic info that i think might be relevant (i'm happy to
gather more if it would be useful -- please let me know what you'd
like):

Once booted, i can see what the X server believes about the graphics
card/monitor combination:

/var/log/Xorg.0.log shows:

[    38.473] (II) R128(0): Supported established timings:
[    38.473] (II) R128(0): 720x400 at 70Hz
[    38.473] (II) R128(0): 640x480 at 60Hz
[    38.473] (II) R128(0): 640x480 at 72Hz
[    38.473] (II) R128(0): 640x480 at 75Hz
[    38.473] (II) R128(0): 800x600 at 56Hz
[    38.473] (II) R128(0): 800x600 at 60Hz
[    38.473] (II) R128(0): 800x600 at 72Hz
[    38.473] (II) R128(0): 800x600 at 75Hz
[    38.473] (II) R128(0): 1024x768 at 60Hz
[    38.473] (II) R128(0): 1024x768 at 70Hz
[    38.473] (II) R128(0): 1024x768 at 75Hz
[    38.473] (II) R128(0): 1280x1024 at 75Hz
[    38.473] (II) R128(0): Manufacturer's mask: 0
[    38.473] (II) R128(0): Supported standard timings:
[    38.473] (II) R128(0): #0: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[    38.473] (II) R128(0): Supported detailed timing:
[    38.473] (II) R128(0): clock: 108.0 MHz   Image Size:  338 x 270 mm
[    38.473] (II) R128(0): h_active: 1280  h_sync: 1328  h_sync_end 1440 h_blank_end 1688 h_border: 0
[    38.473] (II) R128(0): v_active: 1024  v_sync: 1025  v_sync_end 1028 v_blanking: 1066 v_border: 0
[    38.473] (II) R128(0):  
[    38.473] (II) R128(0):  
[    38.473] (II) R128(0): Monitor name: 
[    38.473] (II) R128(0): EDID (in hex):
[    38.473] (II) R128(0): 	00ffffffffffff003aac010001000000
[    38.473] (II) R128(0): 	200c010308221b00ca0b329c5a4d8c26
[    38.474] (II) R128(0): 	204e57afcf0081800101010101010101
[    38.474] (II) R128(0): 	010101010101302a009851002a403070
[    38.474] (II) R128(0): 	1300520e1100001e000000fe000a2020
[    38.474] (II) R128(0): 	20202020202020202020000000fe000a
[    38.474] (II) R128(0): 	202020202020202020202020000000fc
[    38.474] (II) R128(0): 	000a20202020202020202020202000d6
[    38.474] (II) R128(0): EDID vendor "NUL", prod id 1
[    38.509] (II) R128(0): Printing DDC gathered Modelines:
[    38.509] (II) R128(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz eP)
[    38.509] (II) R128(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[    38.509] (II) R128(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[    38.509] (II) R128(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[    38.509] (II) R128(0): Modeline "640x480"x0.0   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
[    38.509] (II) R128(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[    38.509] (II) R128(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[    38.509] (II) R128(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[    38.509] (II) R128(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[    38.509] (II) R128(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[    38.509] (II) R128(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[    38.509] (II) R128(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[    38.509] (II) R128(0): Modeline "800x600"x0.0   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)



I'm running with the following hardware:

dkg at tiny-monster:/tmp$ lspci
00:00.0 Host bridge: Intel Corporation 82845 845 [Brookdale] Chipset Host Bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 82845 845 [Brookdale] Chipset AGP Bridge (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 12)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 12)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 Controller (rev 12)
00:1f.2 USB controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 12)
00:1f.4 USB controller: Intel Corporation 82801BA/BAM USB Controller #1 (rev 12)
00:1f.5 Multimedia audio controller: Intel Corporation 82801BA/BAM AC'97 Audio Controller (rev 12)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Rage 128 Pro Ultra TR
02:08.0 Ethernet controller: Intel Corporation 82801BA/BAM/CA/CAM Ethernet Controller (rev 03)
dkg at tiny-monster:/tmp$ 

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/33242b53-ec2d-4ff1-991d-83c424f12bcc / ext3 rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 0
/dev/sda6 /home ext3 rw,relatime,errors=continue,barrier=1,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/disk/by-id/ata-ST340016A_3HS4YEPR
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

terminal_input console
terminal_output console
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-33242b53-ec2d-4ff1-991d-83c424f12bcc' {
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  33242b53-ec2d-4ff1-991d-83c424f12bcc
	else
	  search --no-floppy --fs-uuid --set=root 33242b53-ec2d-4ff1-991d-83c424f12bcc
	fi
	echo	'Loading Linux 3.2.0-3-686-pae ...'
	linux	/boot/vmlinuz-3.2.0-3-686-pae root=UUID=33242b53-ec2d-4ff1-991d-83c424f12bcc ro  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/boot/initrd.img-3.2.0-3-686-pae
}
submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-33242b53-ec2d-4ff1-991d-83c424f12bcc' {
	menuentry 'Debian GNU/Linux, with Linux 3.2.0-3-686-pae' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-3-686-pae-advanced-33242b53-ec2d-4ff1-991d-83c424f12bcc' {
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  33242b53-ec2d-4ff1-991d-83c424f12bcc
		else
		  search --no-floppy --fs-uuid --set=root 33242b53-ec2d-4ff1-991d-83c424f12bcc
		fi
		echo	'Loading Linux 3.2.0-3-686-pae ...'
		linux	/boot/vmlinuz-3.2.0-3-686-pae root=UUID=33242b53-ec2d-4ff1-991d-83c424f12bcc ro  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.2.0-3-686-pae
	}
	menuentry 'Debian GNU/Linux, with Linux 3.2.0-3-686-pae (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.0-3-686-pae-recovery-33242b53-ec2d-4ff1-991d-83c424f12bcc' {
		insmod gzio
		insmod part_msdos
		insmod ext2
		set root='hd0,msdos1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  33242b53-ec2d-4ff1-991d-83c424f12bcc
		else
		  search --no-floppy --fs-uuid --set=root 33242b53-ec2d-4ff1-991d-83c424f12bcc
		fi
		echo	'Loading Linux 3.2.0-3-686-pae ...'
		linux	/boot/vmlinuz-3.2.0-3-686-pae root=UUID=33242b53-ec2d-4ff1-991d-83c424f12bcc ro single 
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initrd.img-3.2.0-3-686-pae
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  33242b53-ec2d-4ff1-991d-83c424f12bcc
	else
	  search --no-floppy --fs-uuid --set=root 33242b53-ec2d-4ff1-991d-83c424f12bcc
	fi
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  33242b53-ec2d-4ff1-991d-83c424f12bcc
	else
	  search --no-floppy --fs-uuid --set=root 33242b53-ec2d-4ff1-991d-83c424f12bcc
	fi
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  33242b53-ec2d-4ff1-991d-83c424f12bcc
	else
	  search --no-floppy --fs-uuid --set=root 33242b53-ec2d-4ff1-991d-83c424f12bcc
	fi
	multiboot	/boot/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
	insmod part_msdos
	insmod ext2
	set root='hd0,msdos1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1'  33242b53-ec2d-4ff1-991d-83c424f12bcc
	else
	  search --no-floppy --fs-uuid --set=root 33242b53-ec2d-4ff1-991d-83c424f12bcc
	fi
	multiboot	/boot/memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
*********************** END /boot/grub/grub.cfg

*********************** BEGIN /proc/mdstat
Personalities : 
unused devices: <none>
*********************** END /proc/mdstat

*********************** BEGIN /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Sep 30 19:48 ata-SR243T -> ../../sr0
lrwxrwxrwx 1 root root  9 Sep 30 19:48 ata-ST340016A_3HS4YEPR -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 30 19:48 ata-ST340016A_3HS4YEPR-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 30 19:48 ata-ST340016A_3HS4YEPR-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep 30 19:48 ata-ST340016A_3HS4YEPR-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Sep 30 19:48 ata-ST340016A_3HS4YEPR-part6 -> ../../sda6
lrwxrwxrwx 1 root root  9 Sep 30 19:48 scsi-SATA_ST340016A_3HS4YEPR -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 30 19:48 scsi-SATA_ST340016A_3HS4YEPR-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 30 19:48 scsi-SATA_ST340016A_3HS4YEPR-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep 30 19:48 scsi-SATA_ST340016A_3HS4YEPR-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Sep 30 19:48 scsi-SATA_ST340016A_3HS4YEPR-part6 -> ../../sda6
*********************** END /dev/disk/by-id

*********************** BEGIN /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Sep 30 19:48 33242b53-ec2d-4ff1-991d-83c424f12bcc -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 30 19:48 baeb1fcb-1e13-4749-9008-4eef282ab30a -> ../../sda6
lrwxrwxrwx 1 root root 10 Sep 30 19:48 fe4f0677-b328-4465-a730-de4013d527d5 -> ../../sda5
*********************** END /dev/disk/by-uuid

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]  1.5.46
ii  grub-common            2.00-7
ii  grub-pc-bin            2.00-7
ii  grub2-common           2.00-7
ii  ucf                    3.0025+nmu3

grub-pc recommends no packages.

grub-pc suggests no packages.

-- debconf information:
  grub2/kfreebsd_cmdline:
  grub2/device_map_regenerated:
* grub2/linux_cmdline:
  grub-pc/install_devices_failed: false
  grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: false
  grub-pc/postrm_purge_boot_grub: false
  grub-pc/disk_description:
  grub2/kfreebsd_cmdline_default: quiet
  grub2/linux_cmdline_default: quiet
  grub-pc/install_devices_empty: false
* grub-pc/install_devices: /dev/disk/by-id/ata-ST340016A_3HS4YEPR
  grub-pc/install_devices_failed_upgrade: true
  grub-pc/partition_description:
  grub-pc/install_devices_disks_changed:
  grub-pc/mixed_legacy_and_grub2: true



More information about the Pkg-grub-devel mailing list