Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Jan 2020 16:48:12 -0700
From:      Gary Aitken <freebsd@dreamchaser.org>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   radeon X startup problem
Message-ID:  <1be51f7b-1418-821c-2a9d-72394bd6d1ab@dreamchaser.org>

Next in thread | Raw E-Mail | Index | Archive | Help
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: <drmn> 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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?1be51f7b-1418-821c-2a9d-72394bd6d1ab>