[Bug 199545] New: Starting X-server leads to crash
bugzilla-daemon at bugzilla.kernel.org
bugzilla-daemon at bugzilla.kernel.org
Fri Apr 27 17:57:11 UTC 2018
https://bugzilla.kernel.org/show_bug.cgi?id=199545
Bug ID: 199545
Summary: Starting X-server leads to crash
Product: Drivers
Version: 2.5
Kernel Version: 4.9
Hardware: x86-64
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
Assignee: drivers_video-dri at kernel-bugs.osdl.org
Reporter: funatkis at posteo.de
Regression: No
Hello!
I am not a programmer, just an ordinary user who wants to improve the kernel.
So please forgive me if I make any mistakes.
Bug description:
Very often I can not boot into graphical mode. The machine gets stuck when
starting the x-server with the backtrace as shown below. This happens 60% of
all boot attempts. When I get this error I can not reboot properly but have to
use the magic sysrq key (control + alt + shift + print + B) to force a hard
reset.
This bug has been pestering for more than 3 years, running kernels from 3.6 to
now 4.9 and even the unstable kernels as well (I am using Debian stable). I
reported this bug years ago but nothing happened.
Reproducibility:
With every restart I have only a 30% chance of successfully booting into
graphical mode.
Backtrace:
11:04:38 my_machine kernel: [ 33.972406] [drm:radeon_invalid_rreg [radeon]]
*ERROR* Invalid callback to read register 0x00DC
11:04:38 my_machine kernel: [ 33.972529] ------------[ cut here
]------------
11:04:38 my_machine kernel: [ 33.972531] kernel BUG at
/build/linux-fHlJSJ/linux-4.12.6/drivers/gpu/drm/radeon/radeon_asic.c:55!
11:04:38 my_machine kernel: [ 33.972604] invalid opcode: 0000 [#1] SMP
11:04:38 my_machine kernel: [ 33.972638] Modules linked in:
cpufreq_powersave cpufreq_conservative cpufreq_userspace fuse amdkfd radeon
btusb btrtl btbcm btintel bluetooth edac_mce_amd kvm_amd msi_wmi sparse_keymap
kvm snd_hda_codec_realtek snd_hda_codec_hdmi snd_hda_codec_generic ecdh_generic
rfkill irqbypass snd_hda_intel snd_hda_codec ttm snd_hda_core evdev pcspkr
joydev drm_kms_helper snd_hwdep serio_raw k10temp drm snd_pcm sg shpchp wmi
snd_timer button battery video i2c_algo_bit sp5100_tco snd acpi_cpufreq ac
soundcore ip_tables x_tables autofs4 ext4 crc16 jbd2 fscrypto mbcache
algif_skcipher af_alg dm_crypt dm_mod hid_generic usbhid sr_mod hid cdrom
sd_mod ata_generic crct10dif_pclmul crc32_pclmul crc32c_intel
ghash_clmulni_intel pcbc ohci_pci aesni_intel aes_x86_64 crypto_simd
glue_helper cryptd psmouse ahci pata_atiixp
11:04:38 my_machine kernel: [ 33.973214] libahci sdhci_pci sdhci mmc_core
alx mdio xhci_pci xhci_hcd ehci_pci i2c_piix4 ohci_hcd libata ehci_hcd usbcore
scsi_mod usb_common thermal
11:04:38 my_machine kernel: [ 33.973332] CPU: 3 PID: 630 Comm: Xorg Not
tainted 4.12.0-1-amd64 #1 Debian 4.12.6-1
11:04:38 my_machine kernel: [ 33.973392] Hardware name: Micro-Star
International Co., Ltd. GX70 3CC/MS-176K, BIOS E176KAMS.10F 12/02/2013
11:04:38 my_machine kernel: [ 33.973467] task: ffff933ab05be040 task.stack:
ffffb4dec1544000
11:04:38 my_machine kernel: [ 33.973543] RIP:
0010:radeon_invalid_rreg+0x1c/0x20 [radeon]
11:04:38 my_machine kernel: [ 33.973590] RSP: 0018:ffffb4dec15476a8 EFLAGS:
00010286
11:04:38 my_machine kernel: [ 33.973632] RAX: 0000000000000000 RBX:
ffff933ab2f11300 RCX: 0000000000000000
11:04:38 my_machine kernel: [ 33.973687] RDX: 0000000000000000 RSI:
ffff933abed8dee8 RDI: ffff933abed8dee8
11:04:38 my_machine kernel: [ 33.973742] RBP: 0000000000000001 R08:
0000000000000000 R09: 00000000000003dd
11:04:38 my_machine kernel: [ 33.973797] R10: 000000000000f0f0 R11:
0000000000000001 R12: 0000000000000000
11:04:38 my_machine kernel: [ 33.973852] R13: 0000000000000000 R14:
0000000000000000 R15: 00000000000000dc
11:04:38 my_machine kernel: [ 33.973908] FS: 00007f8f07acaa40(0000)
GS:ffff933abed80000(0000) knlGS:0000000000000000
11:04:38 my_machine kernel: [ 33.973970] CS: 0010 DS: 0000 ES: 0000 CR0:
0000000080050033
11:04:38 my_machine kernel: [ 33.974015] CR2: 00007fbe33ad15d8 CR3:
0000000233b55000 CR4: 00000000000406e0
11:04:38 my_machine kernel: [ 33.974071] Call Trace:
11:04:38 my_machine kernel: [ 33.974127] ? atom_get_src_int+0x6b/0x680
[radeon]
11:04:38 my_machine kernel: [ 33.974200] ? atom_op_mask+0xce/0x250 [radeon]
11:04:38 my_machine kernel: [ 33.974270] ?
atom_execute_table_locked+0x132/0x380 [radeon]
11:04:38 my_machine kernel: [ 33.974347] ? atom_op_calltable+0xad/0x120
[radeon]
11:04:38 my_machine kernel: [ 33.977653] ?
atom_execute_table_locked+0x132/0x380 [radeon]
11:04:38 my_machine kernel: [ 33.980931] ? atom_op_calltable+0xad/0x120
[radeon]
11:04:38 my_machine kernel: [ 33.984178] ?
atom_execute_table_locked+0x132/0x380 [radeon]
11:04:38 my_machine kernel: [ 33.987409] ?
atom_execute_table_scratch_unlocked+0x59/0x70 [radeon]
11:04:38 my_machine kernel: [ 33.990622] ? atom_execute_table+0x2e/0x50
[radeon]
11:04:38 my_machine kernel: [ 33.993801] ? atom_asic_init+0x147/0x1b0
[radeon]
11:04:38 my_machine kernel: [ 33.996972] ? si_resume+0x19/0x80 [radeon]
11:04:38 my_machine kernel: [ 34.000092] ? radeon_resume_kms+0x98/0x3a0
[radeon]
11:04:38 my_machine kernel: [ 34.003179] ? __pci_set_master+0x31/0xd0
11:04:38 my_machine kernel: [ 34.006263] ?
vga_switcheroo_set_dynamic_switch+0x80/0x80
11:04:38 my_machine kernel: [ 34.009374] ?
radeon_pmops_runtime_resume+0x71/0xb0 [radeon]
11:04:38 my_machine kernel: [ 34.012449] ? pci_pm_runtime_resume+0x78/0xa0
11:04:38 my_machine kernel: [ 34.015501] ? __rpm_callback+0xc1/0x1f0
11:04:38 my_machine kernel: [ 34.018525] ?
vga_switcheroo_set_dynamic_switch+0x80/0x80
11:04:38 my_machine kernel: [ 34.021527] ? rpm_callback+0x1f/0x70
11:04:38 my_machine kernel: [ 34.024468] ?
vga_switcheroo_set_dynamic_switch+0x80/0x80
11:04:38 my_machine kernel: [ 34.027364] ? rpm_resume+0x4b3/0x6d0
11:04:38 my_machine kernel: [ 34.030255] ? atom_op_or+0xdc/0x1e0 [radeon]
11:04:38 my_machine kernel: [ 34.033090] ? __pm_runtime_resume+0x47/0x70
11:04:38 my_machine kernel: [ 34.035917] ?
radeon_driver_open_kms+0x33/0x190 [radeon]
11:04:38 my_machine kernel: [ 34.038731] ? drm_open+0x1f0/0x400 [drm]
11:04:38 my_machine kernel: [ 34.041518] ? drm_stub_open+0xb4/0xf0 [drm]
11:04:38 my_machine kernel: [ 34.044288] ? chrdev_open+0xbb/0x1d0
11:04:38 my_machine kernel: [ 34.047046] ? cdev_put+0x20/0x20
11:04:38 my_machine kernel: [ 34.049802] ? do_dentry_open+0x1d7/0x2d0
11:04:38 my_machine kernel: [ 34.052546] ? path_openat+0x63b/0x1440
11:04:38 my_machine kernel: [ 34.055272] ?
generic_perform_write+0x12b/0x1b0
11:04:38 my_machine kernel: [ 34.057993] ? do_filp_open+0x99/0x110
11:04:38 my_machine kernel: [ 34.060717] ? __check_object_size+0xb3/0x18e
11:04:38 my_machine kernel: [ 34.063449] ? __alloc_fd+0x44/0x170
11:04:38 my_machine kernel: [ 34.066171] ? do_sys_open+0x12e/0x210
11:04:38 my_machine kernel: [ 34.068905] ? do_sys_open+0x12e/0x210
11:04:38 my_machine kernel: [ 34.071625] ?
system_call_fast_compare_end+0xc/0x97
11:04:38 my_machine kernel: [ 34.074355] Code: 0f 1f 44 00 00 66 2e 0f 1f 84
00 00 00 00 00 0f 1f 44 00 00 89 f1 48 c7 c2 88 a0 a8 c0 31 f6 48 c7 c7 b0 80
a9 c0 e8 84 d9 d9 ff <0f> 0b 66 90 0f 1f 44 00 00 53 8b 87 68 01 00 00 48 89 fb
48 81
11:04:38 my_machine kernel: [ 34.077327] RIP: radeon_invalid_rreg+0x1c/0x20
[radeon] RSP: ffffb4dec15476a8
11:04:38 my_machine kernel: [ 34.080281] ---[ end trace 7e108cf119f9bc7c
]---
Thank you for your time and effort!
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the dri-devel
mailing list