NetBSD Problem Report #51029
From www@NetBSD.org Wed Mar 30 16:52:14 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 186D07A221
for <gnats-bugs@gnats.NetBSD.org>; Wed, 30 Mar 2016 16:52:14 +0000 (UTC)
Message-Id: <20160330165212.DFB2C7A46B@mollari.NetBSD.org>
Date: Wed, 30 Mar 2016 16:52:12 +0000 (UTC)
From: macallan@netbsd.org
Reply-To: macallan@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: radeon DRMKMS deadlocks on my hw
X-Send-Pr-Version: www-1.0
>Number: 51029
>Category: kern
>Synopsis: radeon DRMKMS deadlocks on my hw
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: riastradh
>State: feedback
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 30 16:55:00 +0000 2016
>Closed-Date:
>Last-Modified: Sun May 15 07:04:18 +0000 2022
>Originator: Michael
>Release: 7.99.26
>Organization:
>Environment:
NetBSD paddy 7.99.26 NetBSD 7.99.26 (CONNEMARA) #3: Thu Feb 4 00:32:33 EST 2016 root@paddy:/home/build/obj_amd64/sys/arch/amd64/compile/CONNEMARA amd64
>Description:
radeondrmkms will deadlock the machine when trying to switch video modes on initialization, with the hardware in some more or less undefined state with an unreadable display.
Relevant dmesg parts with old DRM:
cpu0 at mainbus0 apid 0
cpu0: AMD Turion(tm) 64 X2 Mobile Technology TL-60, id 0x60f82
cpu1 at mainbus0 apid 1
cpu1: AMD Turion(tm) 64 X2 Mobile Technology TL-60, id 0x60f82
...
acpi0 at mainbus0: Intel ACPICA 20160108
acpi0: X/RSDT: OemId <GATEWA,SYSTEM ,20080523>, AslId < LTP,00000000>
acpi0: MCFG: segment 0, bus 0-11, address 0x00000000e0000000
acpi0: SCI interrupting at int 9
...
acpivga0 at acpi0 (VGA): ACPI Display Adapter
acpiout0 at acpivga0 (CRT, 0x0100): ACPI Display Output Device
acpiout1 at acpivga0 (TV0, 0x0210): ACPI Display Output Device
acpiout2 at acpivga0 (LCD, 0x0110): ACPI Display Output Device
acpiout2: brightness levels: [12,25,37,50,62,75,87,100]
acpivga0: connected output devices:
acpivga0: 0x0100 (acpiout0): Ext. Monitor, head 0, bios detect
acpivga0: 0x0110 (acpiout2): LCD Panel, head 0, bios detect
acpivga0: 0x0210 (acpiout1): Unknown Output Device, head 0, bios detect
...
genfb0 at pci1 dev 5 function 0: vendor 1002 product 791f (rev. 0x00)
genfb0: framebuffer at 0xf0000000, size 1024x768, depth 32, stride 4096
wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
radeondrm0 at genfb0: ATI Radeon RS690 X1270 IGP
radeondrm0: Initialized radeon 1.29.0 20080613
With old DRM at least Xorg is able to switch to the display's native resolution, but even there acceleration doesn't work ( used to though ) - the driver complains about the drawing engine never to go idle.
Some Xorg.0.log bits:
[ 2826.360] (--) PCI:*(1:1:5:0) 1002:791f:107b:0381 rev 0, Mem @ 0xf0000000/134217728, 0xf8100000/65536, 0xf8000000/1048576, I/O @ 0x00009000/256
...
[ 2826.962] (II) RADEON(0): ATOM BIOS Rom:
[ 2826.962] SubsystemVendorID: 0x107b SubsystemID: 0x0381
[ 2826.962] IOBaseAddress: 0x9000
[ 2826.962] Filename: BR27705.bin
[ 2826.962] BIOS Bootup Message:
ATI Radeon Xpress for SA1A
[ 2826.962] (II) RADEON(0): Framebuffer space used by Firmware (kb): 16
[ 2826.962] (II) RADEON(0): Start of VRAM area used by Firmware: 0x7ffc000
[ 2826.962] (II) RADEON(0): AtomBIOS requests 16kB of VRAM scratch space
[ 2826.962] (II) RADEON(0): AtomBIOS VRAM scratch base: 0x7ffc000
[ 2826.962] (II) RADEON(0): Cannot get VRAM scratch space. Allocating in main memory instead
[ 2826.962] (II) RADEON(0): Default Engine Clock: 400000
[ 2826.962] (II) RADEON(0): Default Memory Clock: 200000
[ 2826.962] (II) RADEON(0): Maximum Pixel ClockPLL Frequency Output: 1200000
[ 2826.963] (II) RADEON(0): Minimum Pixel ClockPLL Frequency Output: 0
[ 2826.963] (II) RADEON(0): Maximum Pixel ClockPLL Frequency Input: 13500
[ 2826.963] (II) RADEON(0): Minimum Pixel ClockPLL Frequency Input: 1000[ 2826.963] (II) RADEON(0): Maximum Pixel Clock: 400000
[ 2826.963] (II) RADEON(0): Reference Clock: 14320
[ 2826.963] (WW) RADEON(0): [dri] Acceleration disabled, not initializing the DRI
[ 2826.963] (II) RADEON(0): Generation 2 PCI interface, using max accessible memory
[ 2826.963] (II) RADEON(0): Detected total video RAM=131072K, accessible=131072K (PCI BAR=131072K)
[ 2826.963] (--) RADEON(0): Mapped VideoRAM: 131072 kByte (128 bit DDR SDRAM)
[ 2826.963] (II) RADEON(0): Color tiling enabled by default
>How-To-Repeat:
try to run a kernel with new radeomdrmkms on this hw
>Fix:
n/a
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->riastradh
Responsible-Changed-By: riastradh@NetBSD.org
Responsible-Changed-When: Wed, 30 Mar 2016 20:47:24 +0000
Responsible-Changed-Why:
mine
From: coypu@SDF.ORG
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/51029: radeon DRMKMS deadlocks on my hw
Date: Thu, 3 Nov 2016 00:23:51 +0000
lockdebug?
State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sun, 15 May 2022 07:04:18 +0000
State-Changed-Why:
is this one still current? guessing not
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.