From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 100058] NULL pointer dereference when blacklisting radeon
Date: Sat, 04 Mar 2017 12:45:06 +0000 [thread overview]
Message-ID: <bug-100058-502@http.bugs.freedesktop.org/> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 9871 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=100058
Bug ID: 100058
Summary: NULL pointer dereference when blacklisting radeon
Product: DRI
Version: XOrg git
Hardware: Other
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: General
Assignee: dri-devel@lists.freedesktop.org
Reporter: adam.wolk@tintagel.pl
Created attachment 130063
--> https://bugs.freedesktop.org/attachment.cgi?id=130063&action=edit
system log from multiple reboots
I noticed my external display constantly turning on and off unless a DRI app is
active (ie. running DRI_PRIME=1 glxgears).
I was suggested to blacklist the `radeon` driver as I am using `amdgpu` and I
proceeded to do this.
Blacklisting the driver results in the system not being able to boot.
>From the first attempts I caught those 2 screenshots:
https://imgur.com/AjG7IgB,xEi2L4B
https://imgur.com/xEi2L4B
my last attempt revealed a kernel null pointer dereference that was logged in
journalctl (other errors; stack traces were not logged)
https://gist.github.com/mulander/6f4d8bfc0fe73af25ee2c95014754822
I'm attaching all journalctl entries since today, search it for 'BUG' to see
the boot with the null pointer dereference. It was started
with radeon blacklisted on boot.
I tried several blacklisting methods including modprobe.conf & regenerating
initramfs.
[mulander@napalm ~]$ uname -a
Linux napalm 4.9.11-1-ARCH #1 SMP PREEMPT Sun Feb 19 13:45:52 UTC 2017 x86_64
GNU/Linux
[mulander@napalm ~]$ lspci
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated
Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev
0b)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI
mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411
PCI Express Gigabit Ethernet Controller (rev 10)
02:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network
Adapter (rev 01)
03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun LE
[Radeon HD 8550M / R5 M230]
lsmod
Module Size Used by
ctr 16384 6
ccm 20480 3
hid_generic 16384 0
usbhid 49152 0
joydev 20480 0
mousedev 20480 0
amdgpu 1499136 0
snd_hda_codec_hdmi 45056 1
amdkfd 122880 1
amd_iommu_v2 20480 1 amdkfd
intel_rapl 20480 0
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
coretemp 16384 0
kvm 524288 0
radeon 1478656 4
irqbypass 16384 1 kvm
intel_cstate 16384 0
ttm 86016 2 amdgpu,radeon
intel_rapl_perf 16384 0
snd_soc_rt5640 110592 0
snd_soc_rl6231 16384 1 snd_soc_rt5640
ppdev 20480 0
snd_soc_core 188416 1 snd_soc_rt5640
snd_hda_codec_conexant 24576 1
snd_hda_codec_generic 69632 1 snd_hda_codec_conexant
snd_hda_intel 32768 7
snd_hda_codec 106496 4
snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_codec_generic
snd_compress 20480 1 snd_soc_core
evdev 24576 15
snd_hda_core 65536 5
snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_hwdep 16384 1 snd_hda_codec
psmouse 131072 0
ideapad_laptop 24576 0
pcspkr 16384 0
input_leds 16384 0
sparse_keymap 16384 1 ideapad_laptop
arc4 16384 2
mac_hid 16384 0
r8169 77824 0
ath9k 131072 0
ath9k_common 32768 1 ath9k
ath9k_hw 442368 2 ath9k,ath9k_common
uvcvideo 86016 0
ath 28672 3 ath9k_hw,ath9k,ath9k_common
videobuf2_vmalloc 16384 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
ath3k 20480 0
btusb 40960 0
videobuf2_v4l2 20480 1 uvcvideo
mac80211 688128 1 ath9k
videobuf2_core 36864 2 uvcvideo,videobuf2_v4l2
btrtl 16384 1 btusb
btbcm 16384 1 btusb
btintel 16384 1 btusb
videodev 151552 3 uvcvideo,videobuf2_core,videobuf2_v4l2
rtsx_usb_ms 20480 0
bluetooth 499712 6 btrtl,btintel,btbcm,ath3k,btusb
media 32768 2 uvcvideo,videodev
memstick 16384 1 rtsx_usb_ms
snd_pcm 90112 9
snd_hda_intel,snd_hda_codec,snd_pcm_dmaengine,snd_hda_core,snd_soc_rt5640,snd_hda_codec_hdmi,snd_soc_core
cfg80211 516096 4 mac80211,ath9k,ath,ath9k_common
mii 16384 1 r8169
battery 20480 0
rfkill 20480 5 bluetooth,ideapad_laptop,cfg80211
wmi 16384 1 ideapad_laptop
ac97_bus 16384 1 snd_soc_core
i2c_hid 20480 0
hid 114688 3 i2c_hid,hid_generic,usbhid
fjes 28672 0
elan_i2c 32768 0
i915 1204224 12
parport_pc 28672 0
parport 40960 2 parport_pc,ppdev
video 36864 2 i915,ideapad_laptop
mei_me 36864 0
spi_pxa2xx_platform 24576 0
8250_dw 16384 0
i2c_designware_platform 16384 0
drm_kms_helper 126976 3 amdgpu,radeon,i915
drm 294912 13 amdgpu,radeon,i915,ttm,drm_kms_helper
snd_soc_sst_acpi 16384 0
intel_gtt 20480 1 i915
snd_soc_sst_match 16384 1 snd_soc_sst_acpi
syscopyarea 16384 1 drm_kms_helper
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
fb_sys_fops 16384 1 drm_kms_helper
i2c_algo_bit 16384 3 amdgpu,radeon,i915
snd_timer 28672 1 snd_pcm
snd 69632 22
snd_compress,snd_hda_intel,snd_hwdep,snd_hda_codec_conexant,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_soc_core,snd_pcm
lpc_ich 24576 0
mei 86016 1 mei_me
shpchp 32768 0
soc_button_array 16384 0
i2c_i801 24576 0
i2c_designware_core 20480 1 i2c_designware_platform
i2c_smbus 16384 1 i2c_i801
soundcore 16384 1 snd
tpm_tis 16384 0
tpm_tis_core 20480 1 tpm_tis
tpm 36864 2 tpm_tis,tpm_tis_core
ac 16384 0
button 16384 1 i915
sch_fq_codel 20480 5
ip_tables 28672 0
x_tables 28672 1 ip_tables
ext4 528384 3
crc16 16384 2 bluetooth,ext4
jbd2 90112 1 ext4
fscrypto 24576 1 ext4
mbcache 16384 4 ext4
algif_skcipher 20480 0
af_alg 16384 1 algif_skcipher
dm_crypt 28672 1
dm_mod 106496 12 dm_crypt
sr_mod 24576 0
sd_mod 36864 3
cdrom 53248 1 sr_mod
rtsx_usb_sdmmc 28672 0
rtsx_usb 20480 2 rtsx_usb_sdmmc,rtsx_usb_ms
serio_raw 16384 0
atkbd 24576 0
libps2 16384 2 atkbd,psmouse
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
crc32c_intel 24576 0
ghash_clmulni_intel 16384 0
ahci 36864 2
libahci 28672 1 ahci
aesni_intel 167936 9
xhci_pci 16384 0
aes_x86_64 20480 1 aesni_intel
lrw 16384 1 aesni_intel
xhci_hcd 172032 1 xhci_pci
gf128mul 16384 1 lrw
glue_helper 16384 1 aesni_intel
ablk_helper 16384 1 aesni_intel
cryptd 20480 4 ablk_helper,ghash_clmulni_intel,aesni_intel
libata 212992 2 ahci,libahci
ehci_pci 16384 0
ehci_hcd 73728 1 ehci_pci
usbcore 208896 9
uvcvideo,usbhid,ehci_hcd,xhci_pci,rtsx_usb,ath3k,btusb,xhci_hcd,ehci_pci
scsi_mod 159744 3 sd_mod,libata,sr_mod
usb_common 16384 1 usbcore
i8042 28672 1 ideapad_laptop
serio 20480 6 serio_raw,atkbd,psmouse,i8042
sdhci_acpi 16384 0
sdhci 40960 1 sdhci_acpi
led_class 16384 4 rtsx_usb_sdmmc,sdhci,input_leds,ath9k
mmc_core 122880 3 rtsx_usb_sdmmc,sdhci,sdhci_acpi
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 11504 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2017-03-04 12:45 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-04 12:45 bugzilla-daemon [this message]
2017-03-04 13:09 ` [Bug 100058] NULL pointer dereference when blacklisting radeon bugzilla-daemon
2017-03-04 13:19 ` bugzilla-daemon
2017-03-04 13:20 ` bugzilla-daemon
2017-03-04 13:59 ` [Bug 100058] amdgpu/dpm: NULL pointer dereference bugzilla-daemon
2017-03-06 2:31 ` bugzilla-daemon
2017-03-06 10:41 ` bugzilla-daemon
2017-03-06 14:11 ` bugzilla-daemon
2017-03-07 1:13 ` bugzilla-daemon
2017-03-07 12:54 ` bugzilla-daemon
2017-03-07 15:13 ` bugzilla-daemon
2017-03-08 1:38 ` bugzilla-daemon
2017-03-25 13:51 ` bugzilla-daemon
2017-04-21 1:16 ` bugzilla-daemon
2017-04-21 11:46 ` bugzilla-daemon
2017-04-21 12:43 ` bugzilla-daemon
2019-11-19 8:14 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-100058-502@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.