NetBSD Problem Report #55318

From www@netbsd.org  Sat May 30 10:05:39 2020
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 "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id D82DD1A921A
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 30 May 2020 10:05:39 +0000 (UTC)
Message-Id: <20200530100538.7E2291A9227@mollari.NetBSD.org>
Date: Sat, 30 May 2020 10:05:38 +0000 (UTC)
From: rm@gnu.org
Reply-To: rm@gnu.org
To: gnats-bugs@NetBSD.org
Subject: Radeon R100/R300 issues - rint test fail cp not working no installed handler
X-Send-Pr-Version: www-1.0

>Number:         55318
>Category:       port-amd64
>Synopsis:       Radeon R100/R300 issues - rint test fail cp not working no installed handler
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 30 10:10:00 +0000 2020
>Originator:     Riccardo
>Release:        9.0
>Organization:
>Environment:
NetBSD crossbar.westernesse.arda 9.0 NetBSD 9.0 (GENERIC) #0: Fri Feb 14 00:06:28 UTC 2020  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
Radeon card reports several errors on boot:

[     4.775180] kern.module.path=/stand/amd64/9.0/modules
[     4.775180] kern info: [drm] initializing kernel modesetting (RS480 0x1002:0x5955 0x103C:0x308B).
[     4.775180] kern info: [drm] register mmio base: 0xd8300000
[     4.775180] kern info: [drm] register mmio size: 65536
[     4.775180] kern info: [drm] Generation 2 PCI interface, using max accessible memory
[     4.775180] radeon0: info: VRAM: 128M 0x0000000058000000 - 0x000000005FFFFFFF (128M used)
[     4.775180] radeon0: info: GTT: 512M 0x0000000060000000 - 0x000000007FFFFFFF
[     4.775180] kern info: [drm] Detected VRAM RAM=80M, BAR=256M
[     4.775180] kern info: [drm] RAM width 128bits DDR
[     4.775180] Zone  kernel: Available graphics memory: 216894 kiB
[     4.775180] kern info: [drm] radeon: 128M of VRAM memory ready
[     4.775180] kern info: [drm] radeon: 512M of GTT memory ready.
[     4.775180] kern info: [drm] GART: num cpu pages 131072, num gpu pages 131072
[     4.785193] kern info: [drm] radeon: 1 quad pipes, 1 z pipes initialized.
[     4.785193] kern info: [drm] PCIE GART of 512M enabled (table at 0x0000000042D10000).
[     4.785193] radeon0: info: WB enabled
[     4.785193] radeon0: info: fence driver on ring 0 use gpu addr 0x0000000060000000 and cpu addr 0x0xfffffc264fef3000
[     4.785193] kern info: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[     4.785193] kern info: [drm] Driver supports precise vblank timestamp query.
[     4.785193] radeon0: info: radeon: MSI limited to 32-bit
[     4.785193] radeon0: interrupting at ioapic0 pin 17 (radeon0)
[     4.785193] kern info: [drm] radeon: irq initialized.
[     4.785193] kern info: [drm] Loading R300 Microcode
[     4.835217] kern info: [drm] radeon: ring at 0x0000000060001000
[     4.975304] kern error: [drm:(/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:3701)r100_ring_test] *ERROR* radeon: ring test failed (scratch(0x15E4)=0xCAFEDEAD)
[     4.975304] kern error: [drm:(/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:1232)r100_cp_init] *ERROR* radeon: cp isn't working (-22).
[     4.975304] radeon0: autoconfiguration error: error: failed initializing CP (-22).
[     4.975304] radeon0: autoconfiguration error: error: Disabling GPU acceleration
[     5.105385] kern error: [drm:(/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:1252)r100_cp_fini] *ERROR* Wait for CP idle timeout, shutting down CP.
[     5.235467] kern warning: Failed to wait GUI idle while programming pipes. Bad things might happen.
[     5.235467] kern info: [drm] radeon: cp finalized
[     5.235467] kern info: [drm] Panel ID String: LGP                     
[     5.235467] kern info: [drm] Panel Size 1400x1050
[     5.235467] kern info: [drm] Radeon Display Connectors
[     5.235467] kern info: [drm] Connector 0:
[     5.235467] kern info: [drm]   VGA-1
[     5.235467] kern info: [drm]   DDC: 0x68 0x68 0x68 0x68 0x68 0x68 0x68 0x68
[     5.235467] kern info: [drm]   Encoders:
[     5.235467] kern info: [drm]     CRT1: INTERNAL_DAC2
[     5.235467] kern info: [drm] Connector 1:
[     5.235467] kern info: [drm]   LVDS-1
[     5.235467] kern info: [drm]   DDC: 0x198 0x198 0x19c 0x19c 0x1a0 0x1a0 0x1a4 0x1a4
[     5.235467] kern info: [drm]   Encoders:
[     5.235467] kern info: [drm]     LCD1: INTERNAL_LVDS
[     5.235467] kern info: [drm] Connector 2:
[     5.235467] kern info: [drm]   SVIDEO-1
[     5.235467] kern info: [drm]   Encoders:
[     5.235467] kern info: [drm]     TV1: INTERNAL_DAC2
[     5.285498] radeondrmkmsfb0 at radeon0
[     5.285498] radeondrmkmsfb0: framebuffer at 0xffffdb00399a0000, size 1400x1050, depth 32, stride 5632
[     5.305510] warning: /usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't enable IRQ/MSI because no handler is installed



Then the last message repeat on the while using:
[ 45749.996753] warning: /usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't enable IRQ/MSI because no handler is installed
[ 45750.006759] warning: /usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't enable IRQ/MSI because no handler is installed
[ 49278.021059] warning: /usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't enable IRQ/MSI because no handler is installed
[ 49278.041072] warning: /usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_r100.c:714: Can't enable IRQ/MSI because no handler is installed


pcictl pci0 list (even with pciverbose loaded)
Reports very generic information:
000:01:0: ATI Technologies RS480 PCI Express Bridge (PCI bridge)
001:05:0: ATI Technologies product 5955 (VGA display)


I suppose it is an R300 card (compatible with the Xpress200 480 chipset of ID 5955)
>How-To-Repeat:

>Fix:
No fix known.

NetBSD Home
NetBSD PR Database Search

(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.