From owner-freebsd-questions@freebsd.org Fri Jan 3 23:49:08 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1CB091D01BF for ; Fri, 3 Jan 2020 23:49:08 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47qM7R0D98z4WBb for ; Fri, 3 Jan 2020 23:49:06 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 003NmxSP009287 for ; Fri, 3 Jan 2020 16:48:59 -0700 (MST) (envelope-from freebsd@dreamchaser.org) From: Gary Aitken Subject: radeon X startup problem Reply-To: freebsd@dreamchaser.org To: FreeBSD Mailing List Message-ID: <1be51f7b-1418-821c-2a9d-72394bd6d1ab@dreamchaser.org> Date: Fri, 3 Jan 2020 16:48:12 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Fri, 03 Jan 2020 16:48:59 -0700 (MST) X-Rspamd-Queue-Id: 47qM7R0D98z4WBb X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-5.62 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[dreamchaser.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; IP_SCORE(-3.32)[ip: (-8.70), ipnet: 66.109.128.0/19(-4.35), asn: 21947(-3.48), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jan 2020 23:49:08 -0000 Hi all, Running 11.3-RELEASE-p3 I just had a power failure on a machine without a ups (temporary quarters due to broken leg). The machine had been up since about Nov 6 when it was updated, running X the whole time I think. Unfortunately, ufs filesystems were messed up. Rebooted single user and ran fsck, things came up but radeon driver no longer loads. Unfortunately I don't have the last good log file from when it did load to compare with. Files in /lost+found are all zero length. from dmesg: [drm] Initialized [drm] radeon kernel modesetting enabled. drmn0: on vgapci0 vgapci0: child drmn0 requested pci_enable_io vgapci0: child drmn0 requested pci_enable_io [drm] initializing kernel modesetting (REDWOOD 0x1002:0x68DA 0x1545:0x5550 0x00). [drm] register mmio base: 0xFE9E0000 [drm] register mmio size: 131072 [drm:radeon_device_init] Unable to find PCI I/O BAR [drm:radeon_atombios_init] Unable to find PCI I/O BAR; using MMIO for ATOM IIO ATOM BIOS: REDWOOD drmn0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used) drmn0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF [drm] Detected VRAM RAM=1024M, BAR=256M [drm] RAM width 128bits DDR [drm:radeon_ttm_global_init] Failed setting up TTM memory accounting subsystem. drmn0: Fatal error during GPU init [drm] radeon: finishing device. [TTM] Memory type 2 has not been initialized device_attach: drmn0 attach returned 12 kldstat: Id Refs Address Size Name 1 34 0xffffffff80200000 206c1f8 kernel 2 1 0xffffffff8226e000 1df50 geom_journal.ko 3 1 0xffffffff82421000 4190 linprocfs.ko 4 1 0xffffffff82426000 2f78 linux_common.ko 5 1 0xffffffff82429000 15e549 radeonkms.ko 6 1 0xffffffff82588000 71530 drm.ko 7 4 0xffffffff825fa000 f750 linuxkpi.ko 8 3 0xffffffff8260a000 d490 linuxkpi_gplv2.ko 9 2 0xffffffff82618000 6b8 debugfs.ko 10 1 0xffffffff82619000 2408 ums.ko 11 1 0xffffffff8261c000 76cc tmpfs.ko From Xorg.0.log: [ 11094.913] (II) [KMS] drm report modesetting isn't supported. [ 11094.913] (EE) open /dev/dri/card0: No such file or directory [ 11094.913] (WW) Falling back to old probe method for modesetting [ 11094.913] (EE) open /dev/dri/card0: No such file or directory [ 11094.913] (WW) Falling back to old probe method for scfb [ 11094.913] scfb trace: probe start [ 11094.913] scfb trace: probe done [ 11094.913] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 11094.913] (EE) Screen 0 deleted because of no matching config section. [ 11094.913] (II) UnloadModule: "radeon" [ 11094.913] (EE) Screen 0 deleted because of no matching config section. ... [ 11095.515] (II) AIGLX: Screen 0 is not DRI2 capable [ 11095.515] (EE) AIGLX: reverting to software rendering xorg.conf has no Card0 set up, but I'm pretty sure it was running ok without it before. The particular device is a Radeon 5500, which is not (no longer?) listed in the supported devices from the driver; but I'm "somewhat confident" that it was working before because of a hardware mode change which caused the type on the display at boot time to change to a much smaller font. I have a commented out line in xorg.conf that says "Redwood PRO [Radeon 5500 series]" which I think is what Xorg.0.log used to show in the list of supported devices but no longer does. Thoughts on how to proceed? Gary