lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHVUoiQywo=iHKsXQbsVE7coc1FL9A9qy_a71SK94MKNV0GrKA@mail.gmail.com>
Date:	Sun, 3 Jun 2012 20:26:15 +0300
From:	Brian Gitonga Marete <marete@...hnix.com>
To:	LKML <linux-kernel@...r.kernel.org>
Cc:	David Airlie <airlied@...ux.ie>,
	Alex Deucher <alexander.deucher@....com>
Subject: [Regression] [Radeon] Stream command failures and render problems in
 Evergreen (Radeon HD 5600) in kernel 3.4

Hello,

3.4 breaks rendering on my Radeon evergreen card. Immediately after
logging in into the desktop, I get the following errors in the kernel
log:

radeon 0000:01:00.0: evergreen_cs_track_validate_cb:439 cb[0] bo too
small (layer size 147456, offset 0, max layer 1, bo size 143360, slice
575)
radeon 0000:01:00.0: evergreen_cs_track_validate_cb:443 problematic
surf: (192 192) (0 4 1 0 0 0 0)
radeon 0000:01:00.0: evergreen_packet3_check:2055 invalid cmd stream 461
[drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
radeon 0000:01:00.0: evergreen_cs_track_validate_cb:439 cb[0] bo too
small (layer size 147456, offset 0, max layer 1, bo size 143360, slice
575)
radeon 0000:01:00.0: evergreen_cs_track_validate_cb:443 problematic
surf: (192 192) (0 4 1 0 0 0 0)
radeon 0000:01:00.0: evergreen_packet3_check:2055 invalid cmd stream 461
[drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
radeon 0000:01:00.0: evergreen_cs_track_validate_cb:439 cb[0] bo too
small (layer size 798720, offset 0, max layer 1, bo size 794624, slice
3119)
radeon 0000:01:00.0: evergreen_cs_track_validate_cb:443 problematic
surf: (384 520) (0 4 1 0 0 0 0)
radeon 0000:01:00.0: evergreen_packet3_check:2055 invalid cmd stream 461
[drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
radeon 0000:01:00.0: evergreen_cs_track_validate_cb:439 cb[0] bo too
small (layer size 458752, offset 0, max layer 1, bo size 446464, slice
1791)
radeon 0000:01:00.0: evergreen_cs_track_validate_cb:443 problematic
surf: (512 224) (0 4 1 0 0 0 0)
radeon 0000:01:00.0: evergreen_packet3_check:2055 invalid cmd stream 7170
[drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !
radeon 0000:01:00.0: evergreen_cs_track_validate_cb:439 cb[0] bo too
small (layer size 798720, offset 0, max layer 1, bo size 790528, slice
3119)
radeon 0000:01:00.0: evergreen_cs_track_validate_cb:443 problematic
surf: (384 520) (0 4 1 0 0 0 0)
radeon 0000:01:00.0: evergreen_packet3_check:2055 invalid cmd stream 461
[drm:radeon_cs_ib_chunk] *ERROR* Invalid command stream !

Meanwhile, windows on the desktop are rendered incorrectly (with
certain regions covered by strange patterns or smudged) or not at all.
This makes the desktop unusable.

I can always reproduce this problem on 3.4

Kernels prior to 3.4 work fine.

I will try and find the time to bisect this issue but meanwhile here
are some further details:

Output of lspci -v
--------------------------

00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18)
	Subsystem: Dell Device 0447
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>
	Kernel modules: intel-agp

00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16
Root Port (rev 18) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 0000e000-0000efff
	Memory behind bridge: fbe00000-fbefffff
	Prefetchable memory behind bridge: 00000000c0000000-00000000cfffffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:16.0 Communication controller: Intel Corporation 5 Series/3400
Series Chipset HECI Controller (rev 06)
	Subsystem: Dell Device 0447
	Flags: bus master, fast devsel, latency 0, IRQ 48
	Memory at fbf09000 (64-bit, non-prefetchable) [size=16]
	Capabilities: <access denied>
	Kernel driver in use: mei
	Kernel modules: mei

00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset
USB2 Enhanced Host Controller (rev 06) (prog-if 20 [EHCI])
	Subsystem: Dell Device 0447
	Flags: bus master, medium devsel, latency 0, IRQ 16
	Memory at fbf08000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset
High Definition Audio (rev 06)
	Subsystem: Dell Device 0447
	Flags: bus master, fast devsel, latency 0, IRQ 50
	Memory at fbf00000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd-hda-intel

00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI
Express Root Port 1 (rev 06) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=11, subordinate=11, sec-latency=0
	I/O behind bridge: 00003000-00003fff
	Memory behind bridge: d1800000-d19fffff
	Prefetchable memory behind bridge: 00000000d1a00000-00000000d1bfffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI
Express Root Port 2 (rev 06) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=12, subordinate=12, sec-latency=0
	I/O behind bridge: 00002000-00002fff
	Memory behind bridge: fbd00000-fbdfffff
	Prefetchable memory behind bridge: 00000000d1600000-00000000d17fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI
Express Root Port 3 (rev 06) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=13, subordinate=13, sec-latency=0
	I/O behind bridge: 0000d000-0000dfff
	Memory behind bridge: fb300000-fbcfffff
	Prefetchable memory behind bridge: 00000000d0c00000-00000000d15fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI
Express Root Port 5 (rev 06) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=15, subordinate=15, sec-latency=0
	I/O behind bridge: 0000c000-0000cfff
	Memory behind bridge: fa900000-fb2fffff
	Prefetchable memory behind bridge: 00000000d0100000-00000000d0afffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset
USB2 Enhanced Host Controller (rev 06) (prog-if 20 [EHCI])
	Subsystem: Dell Device 0447
	Flags: bus master, medium devsel, latency 0, IRQ 23
	Memory at fbf07000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
(prog-if 01 [Subtractive decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=20, subordinate=20, sec-latency=32
	Capabilities: <access denied>

00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC
Interface Controller (rev 06)
	Subsystem: Dell Device 0447
	Flags: bus master, medium devsel, latency 0
	Capabilities: <access denied>
	Kernel modules: iTCO_wdt

00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series
Chipset 6 port SATA AHCI Controller (rev 06) (prog-if 01 [AHCI 1.0])
	Subsystem: Dell Device 0447
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 46
	I/O ports at f070 [size=8]
	I/O ports at f060 [size=4]
	I/O ports at f050 [size=8]
	I/O ports at f040 [size=4]
	I/O ports at f020 [size=32]
	Memory at fbf06000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci
	Kernel modules: ahci

00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus
Controller (rev 06)
	Subsystem: Dell Device 0447
	Flags: medium devsel, IRQ 3
	Memory at fbf05000 (64-bit, non-prefetchable) [size=256]
	I/O ports at f000 [size=32]
	Kernel modules: i2c-i801

00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400
Series Chipset Thermal Subsystem (rev 06)
	Subsystem: Dell Device 0447
	Flags: bus master, fast devsel, latency 0, IRQ 18
	Memory at fbf04000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel ips
	Kernel modules: intel_ips

01:00.0 VGA compatible controller: ATI Technologies Inc Redwood
[Radeon HD 5600 Series] (prog-if 00 [VGA controller])
	Subsystem: Dell Device 0447
	Flags: bus master, fast devsel, latency 0, IRQ 47
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Memory at fbe20000 (64-bit, non-prefetchable) [size=128K]
	I/O ports at e000 [size=256]
	Expansion ROM at fbe00000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon
	Kernel modules: radeon

01:00.1 Audio device: ATI Technologies Inc Redwood HDMI Audio [Radeon
HD 5600 Series]
	Subsystem: Dell Device 0447
	Flags: bus master, fast devsel, latency 0, IRQ 51
	Memory at fbe40000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd-hda-intel

12:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000
	Subsystem: Intel Corporation Centrino Wireless-N 1000 BGN
	Flags: bus master, fast devsel, latency 0, IRQ 49
	Memory at fbd00000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

13:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
	Subsystem: Dell Device 0447
	Flags: bus master, fast devsel, latency 0, IRQ 45
	I/O ports at d000 [size=256]
	Memory at d0c10000 (64-bit, prefetchable) [size=4K]
	Memory at d0c00000 (64-bit, prefetchable) [size=64K]
	Expansion ROM at fb300000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: r8169
	Kernel modules: r8169

ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath
Architecture Generic Non-core Registers (rev 05)
	Subsystem: Intel Corporation Device 8086
	Flags: bus master, fast devsel, latency 0

ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath
Architecture System Address Decoder (rev 05)
	Subsystem: Intel Corporation Device 8086
	Flags: bus master, fast devsel, latency 0

ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 05)
	Subsystem: Intel Corporation Device 8086
	Flags: bus master, fast devsel, latency 0

ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 05)
	Subsystem: Intel Corporation Device 8086
	Flags: bus master, fast devsel, latency 0

ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
	Subsystem: Intel Corporation Device 8086
	Flags: bus master, fast devsel, latency 0

ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
	Subsystem: Intel Corporation Device 8086
	Flags: bus master, fast devsel, latency 0

First stable kernel version exhibiting the problem
----------------------------------------------------------------------------

3.4.0 (From kernel.org)

Distribution
--------------------

Ubuntu 11.04

Xorg Packages/ Drivers
-------------------------------------

ii  xorg                                      1:7.6+4ubuntu3.2
                                 X.Org X Window System
ii  xorg-docs-core                            1:1.5.99.901-1ubuntu1
                                 Core documentation for the X.org X
Window System
ii  xorg-sgml-doctools                        1:1.6-1
                                 Common tools for building X.Org SGML
documentation
ii  xserver-xorg                              1:7.6+4ubuntu3.2
                                 the X.Org X server
ii  xserver-xorg-core                         2:1.10.1-1ubuntu1.3
                                 Xorg X server - core server
ii  xserver-xorg-core-dbg                     2:1.10.1-1ubuntu1.3
                                 Xorg - the X.Org X server (debugging
symbols)
ii  xserver-xorg-input-all                    1:7.6+4ubuntu3.2
                                 the X.Org X server -- input driver
metapackage
ii  xserver-xorg-input-evdev                  1:2.6.0-1ubuntu12
                                 X.Org X server -- evdev input driver
ii  xserver-xorg-input-mouse                  1:1.6.0-1ubuntu3
                                 X.Org X server -- mouse input driver
ii  xserver-xorg-input-synaptics
1.3.99+git20110116.0e27ce3a-0ubuntu12.1                   Synaptics
TouchPad driver for X.Org server
ii  xserver-xorg-input-vmmouse                1:12.6.99.901-1ubuntu2
                                 X.Org X server -- VMMouse input
driver to use with VMWare
ii  xserver-xorg-input-wacom                  1:0.10.11-0ubuntu4
                                 X.Org X server -- Wacom input driver
ii  xserver-xorg-video-all                    1:7.6+4ubuntu3.2
                                 the X.Org X server -- output driver
metapackage
ii  xserver-xorg-video-apm                    1:1.2.3-0ubuntu5
                                 X.Org X server -- APM display driver
ii  xserver-xorg-video-ark                    1:0.7.3-1ubuntu3
                                 X.Org X server -- ark display driver
ii  xserver-xorg-video-ati                    1:6.14.0-0ubuntu4.1
                                 X.Org X server -- AMD/ATI display
driver wrapper
ii  xserver-xorg-video-chips                  1:1.2.3-2ubuntu5
                                 X.Org X server -- Chips display
driver
ii  xserver-xorg-video-cirrus                 1:1.3.2-2ubuntu7
                                 X.Org X server -- Cirrus display
driver
ii  xserver-xorg-video-fbdev                  1:0.4.2-3ubuntu6
                                 X.Org X server -- fbdev display
driver
ii  xserver-xorg-video-i128                   1:1.3.4-1ubuntu3
                                 X.Org X server -- i128 display driver
ii  xserver-xorg-video-intel                  2:2.14.0-4ubuntu7.3
                                 X.Org X server -- Intel i8xx, i9xx
display driver
ii  xserver-xorg-video-mach64
6.8.2+git20101202.d60087f0-4ubuntu3                       X.Org X
server -- ATI Mach64 display driver
ii  xserver-xorg-video-mga                    1:1.4.13.dfsg-3build1
                                 X.Org X server -- MGA display driver
ii  xserver-xorg-video-neomagic               1:1.2.5-1ubuntu3
                                 X.Org X server -- Neomagic display
driver
ii  xserver-xorg-video-nouveau
1:0.0.16+git20110107+b795ca6e-0ubuntu7                    X.Org X
server -- Nouveau display driver (experimental)
ii  xserver-xorg-video-openchrome             1:0.2.904+svn916-1build1
                                 X.Org X server -- VIA display driver
ii  xserver-xorg-video-qxl                    0.0.12-1ubuntu4
                                 X.Org X server -- QXL display driver
ii  xserver-xorg-video-r128                   6.8.1-4ubuntu3
                                 X.Org X server -- ATI r128 display
driver
ii  xserver-xorg-video-radeon                 1:6.14.0-0ubuntu4.1
                                 X.Org X server -- AMD/ATI Radeon
display driver
ii  xserver-xorg-video-radeon-dbg             1:6.14.0-0ubuntu4.1
                                 X.Org X server -- AMD/ATI Radeon
display driver (debugging symbols)

Full dmesg output
-----------------------------

Please see attached.


'Please let me know if I should provide further details.

Thanks!

-- 
Brian Gitonga Marete
Toshnix Systems - http://toshnix.com

Download attachment "dmesg" of type "application/octet-stream" (161707 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ