Radeon pci probe error

Не запускается система из-за проблем с драйверами видеокарты radeon 7700


ja33

  • Новичок форума
  • Сообщения: 3
  • Записан

Здравствуйте. Прошу помощи или ссылки на решение моей проблемы. Очень надо. Жене отчет завтра сдавать, а я систему не запущу… Чистая установка на новый HDD Debian 8.2 запустил установку с live cd kde. Установилась без проблем по ходу установки. После перезагрузки меню запуска debian — затем черный экран и вот такая надпись:

[  2.881890.] [drm:radeon_pci_probe]
ERROR radeon kernel modesetting for R600
or later requires firmware-linux-nonfree.
Gave up waiting for root device. Common problems:
-boot args (cat /proc/cmd line)
-Check rootdelay= (did the system wait long enought?)
-check root= (did the system wait right device)
- missing modules ( и еще чего-то, не успел записать)

Всё усугубляется отсутствием знаний и в Linux и english.
сам драйвер у меня на флешке есть но как его поставить? Пробовал в grub команды на insall firmware- linux- nonfree запустить, но не в root зайти, ни вообще ничего не получается.
одно слово- паника. Помогите люди добрые…
Спасибо и за ругань тоже.
Какие данные я должен предоставить, и как их получить? В интернет выхожу с того же компьютера (2HDD-2OS. на одном диске w7 на другом надо Debian. )
Ну хоть как в консоль зайти?

* Используйте теги для оформления сообщения, ihammers.


Вовремя запуска в grub попробуйте выбрать другой режим загрузки, где написано debian.
Если система запускается но неработают иксы, то переключитесь на терминал ctrl-alt-f1 (или другой) войдите под пользователем, скорей всего вы не создавали пароль для root. Если это так, то пробуйте установить, как указано выше, слеудющий пакет:

~$ sudo apt-get install firmware-linux-free firmware-linux-nonfree
После чего должна запустить система со свободными драйверами.

PS: Используйте поиск, информации по установки fgrlx на форуме полно и на wiki.deiban.org:

PS:: и не забудте добавить секции non-free и contrib, у вас должно получиться что-то типа следующего (для jessie):


~$ sudo nano /etc/apt/sources.list
deb http://ftp.ru.debian.org/debian/ jessie main non-free contrib
deb-src http://ftp.ru.debian.org/debian/ jessie main non-free contrib

deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free

# jessie-updates, previously known as 'volatile'
deb http://ftp.ru.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.ru.debian.org/debian/ jessie-updates main contrib non-free

# jessie-backports, previously on backports.debian.org
deb http://ftp.ru.debian.org/debian/ jessie-backports main contrib non-free
deb-src http://ftp.ru.debian.org/debian/ jessie-backports main contrib non-free

Debian GNU/Linux Stretch, kernel 4.9.0-5-amd64,
LXQt/KDE/OpenBox AMD Phenon X4 / 16Gb RAM / ATI HD7750 Silent
_______________________________
Debian GNU/Linux Stretch, kernel 4.9.0-5-amd64, LXQt/KDE/OpenBox
Acer Aspire One 722 AMD C60 / 4Gb RAM / ATI HD6290



ja33

  • Новичок форума
  • Сообщения: 3
  • Записан

Roota при установке я зарегистрировал, если можно так выразиться


Цитата: ja33 от 24 сентября 2015, 19:46:06
Roota при установке я зарегистрировал, если можно так выразиться

Данный косяк реально имеет место быть на данном чипе.
Мать: M5A78L-M/USB3
Проц: Phenom X4 955 3,2 Ггц (Через неделю замена на FX-8320 или FX-8300, смотря что будет в наличии).
Оператива: 12 Гб.
Видео:
1 — Мать — AMD Radeon HD3000
2 — Дискрет — Nvidia GT630 (Через неделю замена на ASUS GTX960).
Проблему обнаружил при принудительно включении интегрированной карты с целью последующего проброса дискретной к виртуальной машине.

Вам надо найти, или купить, самую дешёвую карту и запуститься с неё. После чего добавить секции nonfree и contrib, и поставить пакеты firmware-linux-free firmware-linux-nonfree. После чего можно либо убрать видюху, либо принудительно включить интерированную и пробрасыть дискрет на виртуалку. Либо пробовать качать предыдущие дистры и обновляться с них.

P.S. Была мысль скачать 7.9 и попробовать с него обновиться, но так как есть дискретная, то не стал запариваться.


Cообщение объединено 02 ноября 2015, 14:00:30


Цитировать$ lspci | grep VGA
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS780L [Radeon 3000]
02:00.0 VGA compatible controller: NVIDIA Corporation GF108 [GeForce GT 630] (rev a1)

это после установки non-free.
Есть ещё одни момент при этом: карлсон на видюхе Nvidia почему то робит на полных оборотах, хотя по факту работает видюха Radeon.
А что будет когда я ASUS GTX960 поставлю?

Таки не думайте, шо ви самый умный. Здесь все Евреи!!!


Yesterday, I did an update of the system through sudo pacman -Syu.
Today, my computer won’t boot. I can’t even switch from ttys. The error is: [drm:amdgpu_pci_probe [amdgpu]] *ERROR* Mixing atomic and non atomic capable GPUs! .
My hardware didn’t change, so as usual, I suspected an update error. But I don’t see any amd driver related update. So I guess it is not that?

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1576
	Subsystem: Acer Incorporated [ALI] Device 109f
	Flags: bus master, fast devsel, latency 0

00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 1577
	Subsystem: Acer Incorporated [ALI] Device 109f
	Flags: bus master, fast devsel, latency 0, IRQ 24
	Capabilities: <access denied>

00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Carrizo (rev c8) (prog-if 00 [VGA controller])
	Subsystem: Acer Incorporated [ALI] Carrizo
	Flags: bus master, fast devsel, latency 0, IRQ 48
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Memory at d2800000 (64-bit, prefetchable) [size=8M]
	I/O ports at 5000 [size=256]
	Memory at d3500000 (32-bit, non-prefetchable) [size=256K]
	Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio
	Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Kabini HDMI/DP Audio
	Flags: bus master, fast devsel, latency 0, IRQ 44
	Memory at d3560000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157b
	Flags: fast devsel

00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 26
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 00004000-00004fff
	Memory behind bridge: d3400000-d34fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 27
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	Memory behind bridge: d3300000-d33fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 28
	Bus: primary=00, secondary=03, subordinate=06, sec-latency=0
	I/O behind bridge: 00003000-00003fff
	Memory behind bridge: d2000000-d20fffff
	Prefetchable memory behind bridge: 00000000d1000000-00000000d10fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157b
	Flags: fast devsel

00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 157c (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 30
	Bus: primary=00, secondary=07, subordinate=07, sec-latency=0
	I/O behind bridge: 00002000-00002fff
	Memory behind bridge: d3200000-d32fffff
	Prefetchable memory behind bridge: 00000000c0000000-00000000d01fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:08.0 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 1578
	Subsystem: Acer Incorporated [ALI] Device 109f
	Flags: bus master, fast devsel, latency 0, IRQ 3
	Memory at d3540000 (64-bit, prefetchable) [size=128K]
	Memory at d3100000 (32-bit, non-prefetchable) [size=1M]
	Memory at d356f000 (32-bit, non-prefetchable) [size=4K]
	Memory at d356a000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>

00:09.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 157d
	Flags: fast devsel

00:09.2 Audio device: Advanced Micro Devices, Inc. [AMD] Device 157a
	Subsystem: Acer Incorporated [ALI] Device 109f
	Flags: bus master, fast devsel, latency 0, IRQ 43
	Memory at d3564000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 20) (prog-if 30 [XHCI])
	Subsystem: Acer Incorporated [ALI] FCH USB XHCI Controller
	Flags: bus master, fast devsel, latency 0, IRQ 18
	Memory at d3568000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 49) (prog-if 01 [AHCI 1.0])
	Subsystem: Acer Incorporated [ALI] FCH SATA Controller [AHCI mode]
	Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 19
	I/O ports at 5118 [size=8]
	I/O ports at 5124 [size=4]
	I/O ports at 5110 [size=8]
	I/O ports at 5120 [size=4]
	I/O ports at 5100 [size=16]
	Memory at d356c000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ahci
	Kernel modules: ahci

00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 49) (prog-if 20 [EHCI])
	Subsystem: Acer Incorporated [ALI] FCH USB EHCI Controller
	Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 18
	Memory at d356d000 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>
	Kernel driver in use: ehci-pci
	Kernel modules: ehci_pci

00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 4a)
	Subsystem: Acer Incorporated [ALI] FCH SMBus Controller
	Flags: 66MHz, medium devsel
	Kernel driver in use: piix4_smbus
	Kernel modules: i2c_piix4, sp5100_tco

00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
	Subsystem: Acer Incorporated [ALI] FCH LPC Bridge
	Flags: bus master, 66MHz, medium devsel, latency 0

00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1570
	Flags: fast devsel

00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1571
	Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1572
	Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1573
	Flags: fast devsel
	Capabilities: <access denied>
	Kernel driver in use: k10temp
	Kernel modules: k10temp

00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1574
	Flags: fast devsel
	Kernel driver in use: fam15h_power
	Kernel modules: fam15h_power

00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1575
	Flags: fast devsel

01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTL8411B PCI Express Card Reader (rev 01)
	Subsystem: Acer Incorporated [ALI] RTL8411B PCI Express Card Reader
	Flags: bus master, fast devsel, latency 0, IRQ 32
	Memory at d3405000 (32-bit, non-prefetchable) [size=4K]
	Expansion ROM at d3410000 [disabled] [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci

01:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
	Subsystem: Acer Incorporated [ALI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
	Flags: bus master, fast devsel, latency 0, IRQ 41
	I/O ports at 4000 [size=256]
	Memory at d3404000 (64-bit, non-prefetchable) [size=4K]
	Memory at d3400000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: r8169
	Kernel modules: r8169

02:00.0 Network controller: Intel Corporation Wireless 3165 (rev 81)
	Subsystem: Intel Corporation Dual Band Wireless AC 3165
	Flags: bus master, fast devsel, latency 0, IRQ 46
	Memory at d3300000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

03:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02) (prog-if 01 [AHCI 1.0])
	Subsystem: Acer Incorporated [ALI] ASM1062 Serial ATA Controller
	Flags: bus master, fast devsel, latency 0, IRQ 34
	I/O ports at 3028 [size=8]
	I/O ports at 3034 [size=4]
	I/O ports at 3020 [size=8]
	I/O ports at 3030 [size=4]
	I/O ports at 3000 [size=32]
	Memory at d2000000 (32-bit, non-prefetchable) [size=512]
	Capabilities: <access denied>
	Kernel driver in use: ahci
	Kernel modules: ahci

07:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445] (rev ff) (prog-if ff)
	!!! Unknown header type 7f
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

I tried to update again from the archlinux CD. It didn’t solve the problem… a mkinitcpio -p linux didn’t solve my problem…

journalctl -r -p err
— Logs begin at Fri 2019-07-19 21:43:39 CEST, end at Fri 2019-07-19 21:50:57 CE
juil. 19 21:44:00 lolo wpa_supplicant[474]: bgscan simple: Failed to enable sign
juil. 19 21:43:58 lolo kernel: rtl8192c_common: Firmware is not ready to run!
juil. 19 21:43:58 lolo kernel: rtl8192c_common: chksum report fail! REG_MCUFWDL:
juil. 19 21:43:56 lolo kernel: rtl8192c_common: Firmware is not ready to run!
juil. 19 21:43:56 lolo kernel: rtl8192c_common: chksum report fail! REG_MCUFWDL:
juil. 19 21:43:56 lolo kernel: rtl8192c_common: Firmware is not ready to run!
juil. 19 21:43:56 lolo kernel: rtl8192c_common: Polling FW ready fail! REG_MCUFW
juil. 19 21:43:55 lolo kernel: r8169 0000:02:00.0: firmware: failed to load rtl_
juil. 19 21:43:46 lolo kernel: firmware_class: See https://wiki.debian.org/Firmw
juil. 19 21:43:46 lolo kernel: rtl8192ce 0000:03:00.0: firmware: failed to load
juil. 19 21:43:39 lolo kernel: See https://wiki.debian.org/Firmware for informat
juil. 19 21:43:39 lolo kernel: [drm:radeon_pci_probe [radeon]] *ERROR* radeon ke
lines 1-13/13 (END)…skipping…
— Logs begin at Fri 2019-07-19 21:43:39 CEST, end at Fri 2019-07-19 21:50:57 CEST. —
juil. 19 21:44:00 lolo wpa_supplicant[474]: bgscan simple: Failed to enable signal strength monitoring
juil. 19 21:43:58 lolo kernel: rtl8192c_common: Firmware is not ready to run!
juil. 19 21:43:58 lolo kernel: rtl8192c_common: chksum report fail! REG_MCUFWDL:0x0c000000 .
juil. 19 21:43:56 lolo kernel: rtl8192c_common: Firmware is not ready to run!
juil. 19 21:43:56 lolo kernel: rtl8192c_common: chksum report fail! REG_MCUFWDL:0x0c000000 .
juil. 19 21:43:56 lolo kernel: rtl8192c_common: Firmware is not ready to run!
juil. 19 21:43:56 lolo kernel: rtl8192c_common: Polling FW ready fail! REG_MCUFWDL:0x0c000002.
juil. 19 21:43:55 lolo kernel: r8169 0000:02:00.0: firmware: failed to load rtl_nic/rtl8168e-3.fw (-2)
juil. 19 21:43:46 lolo kernel: firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
juil. 19 21:43:46 lolo kernel: rtl8192ce 0000:03:00.0: firmware: failed to load rtlwifi/rtl8192cfw.bin (-2)
juil. 19 21:43:39 lolo kernel: See https://wiki.debian.org/Firmware for information about missing firmware
juil. 19 21:43:39 lolo kernel: [drm:radeon_pci_probe [radeon]] *ERROR* radeon kernel modesetting for R600 or later requires fi

lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Complex
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Port
00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Port
00:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Root Port
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 09)
00:10.1 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 09)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 40)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 16)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD] FCH IDE Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] FCH PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h (Models 10h-1fh) Processor Function 5
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series]
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter (rev 01)

From: Ben Hutchings <ben@decadent.org.uk> Subject: radeon: Firmware is required for DRM and KMS on R600 onward Date: Tue, 08 Jan 2013 03:25:52 +0000 Bug-Debian: http://bugs.debian.org/607194 Bug-Debian: http://bugs.debian.org/607471 Bug-Debian: http://bugs.debian.org/610851 Bug-Debian: http://bugs.debian.org/627497 Bug-Debian: http://bugs.debian.org/632212 Bug-Debian: http://bugs.debian.org/637943 Bug-Debian: http://bugs.debian.org/649448 Bug-Debian: http://bugs.debian.org/697229 Forwarded: no radeon requires firmware/microcode for the GPU in all chips, but for newer chips (apparently R600 ‘Evergreen’ onward) it also expects firmware for the memory controller and other sub-blocks. radeon attempts to gracefully fall back and disable some features if the firmware is not available, but becomes unstable — the framebuffer and/or system memory may be corrupted, or the display may stay black. This does not seem to happen if KMS is disabled, but with both KMS and GPU acceleration disabled radeon is not doing anything useful! Therefore, perform a basic check for the existence of /lib/firmware/radeon when a device is probed, and abort if it is missing, except for the pre-R600 KMS case. — a/drivers/gpu/drm/radeon/radeon_drv.c +++ b/drivers/gpu/drm/radeon/radeon_drv.c @@ -36,6 +36,8 @@ #include <drm/drm_pciids.h> #include <linux/console.h> #include <linux/module.h> +#include <linux/namei.h> +#include <linux/path.h> /* @@ -301,6 +303,37 @@ static struct drm_driver driver_old = { static struct drm_driver kms_driver; +/* Test that /lib/firmware/radeon is a directory (or symlink to a + * directory). We could try to match the udev search path, but let’s + * assume people take the easy route and install + * firmware-linux-nonfree. + */ +static bool radeon_firmware_installed(void) +{ + struct path path; + + if (kern_path(«/lib/firmware/radeon», LOOKUP_DIRECTORY | LOOKUP_FOLLOW, + &path) == 0) { + path_put(&path); + return true; + } + + return false; +} + +#ifdef CONFIG_DRM_RADEON_UMS +static int +radeon_ums_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) +{ + if (!radeon_firmware_installed()) { + DRM_ERROR(«radeon DRM requires firmware-linux-nonfree.n»); + return -ENODEV; + } + + return 0; +} +#endif + static int radeon_kick_out_firmware_fb(struct pci_dev *pdev) { struct apertures_struct *ap; @@ -327,6 +360,12 @@ static int radeon_pci_probe(struct pci_d { int ret; + if ((ent->driver_data & RADEON_FAMILY_MASK) >= CHIP_R600 && + !radeon_firmware_installed()) { + DRM_ERROR(«radeon kernel modesetting for R600 or later requires firmware-linux-nonfree.n»); + return -ENODEV; + } + /* Get rid of things like offb */ ret = radeon_kick_out_firmware_fb(pdev); if (ret) @@ -435,6 +474,7 @@ static struct pci_driver *pdriver; static struct pci_driver radeon_pci_driver = { .name = DRIVER_NAME, .id_table = pciidlist, + .probe = radeon_ums_pci_probe, }; #endif

Понравилась статья? Поделить с друзьями:
  • Radeon kernel modesetting for r600 or later requires firmware installed error
  • Radar pre leak 64 windows 10 как исправить
  • Radar blip sprite filename loader ошибка
  • Rad video tools error opening что делать
  • Rad studio install error