Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381057 - kexec + x11-drivers/xf86-video-ati + sys-kernel/gentoo-sources-3.* + RadeonHD results in corrupted display
Summary: kexec + x11-drivers/xf86-video-ati + sys-kernel/gentoo-sources-3.* + RadeonHD...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
Depends on:
Reported: 2011-08-29 13:04 UTC by Phil Stracchino (Unix Ronin)
Modified: 2015-02-22 02:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Phil Stracchino (Unix Ronin) 2011-08-29 13:04:51 UTC
I'm using an XFX RadeonHD 5570 card, currently with kernel 3.0.3.  CONFIG_DRM_RADEON and CONFIG_DRM_RADEON_KMS are set.  See below for specific hardware and software details.

The problem:
If I perform a normal cold reboot, the system comes up correctly, X starts up normally, and everything is fine.
If I reboot with kexec, the system comes back up fine and all services start, the console is fine, but X11 display is hopelessly corrupted and unusable.

If memory serves, this problem appeared when I upgraded from kernel 2.6.39-r3 to kernel 3.0.  It has remained present up through kernel 3.0.3.

04:00.0 VGA compatible controller: ATI Technologies Inc Device 68d9 (prog-if 00 [VGA controller])
        Subsystem: XFX Pine Group Inc. Device 3050
        Flags: bus master, fast devsel, latency 0, IRQ 40
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Memory at fbfc0000 (64-bit, non-prefetchable) [size=128K]
        I/O ports at e800 [size=256]
        Expansion ROM at fbfa0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: radeon

[I] x11-drivers/radeon-ucode
     Available versions:  20110302 ~20110531
     Installed versions:  20110302(13:23:44 07/23/11)
     Description:         IRQ microcode for r6xx/r7xx/Evergreen/Northern Islands Radeon GPUs and APUs

[I] x11-drivers/xf86-video-ati
     Available versions:  6.13.2 [m]6.14.0 6.14.1 6.14.2
     Installed versions:  6.14.2(14:45:23 07/23/11)
     Description:         ATI video driver

[I] sys-apps/kexec-tools
     Available versions:  2.0.0-r1 (~)2.0.0-r2 (~)2.0.1 (~)2.0.1-r1 (~)2.0.2 (~)2.0.2-r1 **9999 {lzma xen zlib}
     Installed versions:  2.0.2-r1(10:13:52 07/13/11)(lzma zlib -xen)
     Description:         Load another kernel from the currently executing Linux kernel

[I] media-libs/mesa
     Available versions:  7.9.2 7.10.2 ~7.10.2-r1 7.10.3 ~7.11 {bindist +classic debug +egl +gallium gbm gles hardened kernel_FreeBSD (+)llvm motif +nptl openvg pax_kernel pic selinux shared-dricore +shared-glapi video_cards_intel video_cards_mach64 video_cards_mga video_cards_nouveau video_cards_r128 video_cards_radeon video_cards_savage video_cards_sis video_cards_tdfx video_cards_via video_cards_vmware}
     Installed versions:  7.10.3(09:29:11 06/24/11)(classic gallium nptl video_cards_radeon -debug -gles -hardened -kernel_FreeBSD -llvm -motif -pic -selinux -video_cards_intel -video_cards_mach64 -video_cards_mga -video_cards_nouveau -video_cards_r128 -video_cards_savage -video_cards_sis -video_cards_tdfx -video_cards_via -video_cards_vmware)
     Description:         OpenGL-like graphic library for Linux

[D] sys-kernel/gentoo-sources
     Available versions:
        (2.6.32-r29)    2.6.32-r29!b!s
        (2.6.32-r32)    (~)2.6.32-r32!b!s
        (2.6.32-r33)    (~)2.6.32-r33!b!s
        (2.6.32-r34)    (~)2.6.32-r34!b!s
        (2.6.37-r4)     2.6.37-r4!b!s
        (2.6.37-r6)     (~)2.6.37-r6!b!s
        (2.6.38-r6)     2.6.38-r6!b!s
        (2.6.38-r7)     (~)2.6.38-r7!b!s
        (2.6.39-r3)     2.6.39-r3!b!s
        (2.6.39-r4)     (~)2.6.39-r4!b!s
        (3.0.0) (~)3.0.0!b!s
        (3.0.1) (~)3.0.1!b!s
        (3.0.3) (~)3.0.3!b!s
        {build deblob symlink}
     Installed versions:  2.6.39-r3(2.6.39-r3)!b!s(09:54:09 07/13/11)(-build -deblob -symlink) 3.0(3.0)!b!s(12:04:10 07/23/11)(-build -deblob -symlink) 3.0.3(3.0.3)!b!s(09:14:02 08/18/11)(-build -deblob -symlink)
     Description:         Full sources including the Gentoo patchset for the 3.0 kernel tree

Portage (default/linux/amd64/10.0/desktop, gcc-4.4.5, glibc-2.12.2-r0, 3.0.3-gentoo-babylon5 x86_64)
System uname: Linux-3.0.3-gentoo-babylon5-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.0.3
Timestamp of tree: Mon, 29 Aug 2011 05:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/ccache:          2.4-r9
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo perl-experimental overlay-dev-robbat2 mysql x-alaric
CFLAGS="-O2 -march=amdfam10 -mfpmath=sse -pipe"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=amdfam10 -mfpmath=sse -pipe"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="                                                                  "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/var/lib/layman/perl-experimental /var/lib/layman/robbat2 /var/lib/layman/mysql /var/lib/alaric"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif ffmpeg firefox flac fltk fortran gdbm gdu gif gpm gtk iconv id3tag imagemagick ipv6 java jpeg jpeg2k kde lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl session speex spell sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff tk tools truetype udev unicode usb utils vorbis x264 xcb xml xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="emu10k1 hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-08-29 17:23:18 UTC
See if the problem persists if you set CONFIG_DRM_RADEON=m in the kernel config, and run "vbetool post" after kexec before loading the radeon kernel module.

You may also want to report this problem upstream at and add the URL to this bug.
Comment 2 Claudio Roberto França Pereira 2011-09-11 02:03:24 UTC
I have a HD4850, with the same setup, except I don't you radeonhd, but radeon video driver, and I don't have this issue.
Maybe it's specifically bound to your video card or firmware?
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-11-16 15:55:17 UTC

Is this still a problem? Can you try the above? Can you try newer versions?

Thank you in advance.
Comment 4 Phil Stracchino (Unix Ronin) 2013-11-17 21:45:55 UTC
(In reply to Tom Wijsman (TomWij) from comment #3)
> Hello.
> Is this still a problem? Can you try the above? Can you try newer versions?
> Thank you in advance.

I'm unable to retest because I'm no longer using a Radeon card.  I switched to an nVidia card some months back in [unsuccessful] hopes of cleaning up some display artifacts.
Comment 5 Matt Turner gentoo-dev 2015-02-22 02:06:37 UTC
There's not really anything Gentoo developers can do to solve this. Please file a bug upstream if the problem persists.