Bug#1023640: screen dark, BUG: kernel NULL pointer dereference, address: 0000000000000010, when use radeon.cik_support=0 amdgpu.cik_support=1

2022-11-08 Thread Diederik de Haas
On dinsdag 8 november 2022 08:40:46 CET xiao sheng wen wrote:
> Package: src:linux
> Version: 5.10.149-2
> 
> My PC has [AMD/ATI] Kaveri [Radeon R7 Graphics]  card.
> 
> When I add radeon.cik_support=0 amdgpu.cik_support=1 in grub.cfg boot line,
> the PC can't boot, it's screen will dark, the keyboard also can't use.
> 
> I find the kernel NULL pointer infos in the kern.log after I power restart
> the PC which not use amdgpu.cik_support=1:

Is this perhaps the same as http://bugs.debian.org/1022806 ?


signature.asc
Description: This is a digitally signed message part.


Bug#1023640: screen dark, BUG: kernel NULL pointer dereference, address: 0000000000000010, when use radeon.cik_support=0 amdgpu.cik_support=1

2022-11-07 Thread xiao sheng wen
Package: src:linux
Version: 5.10.149-2
Severity: normal
Tags: upstream
X-Debbugs-Cc: atzli...@sina.com

Hi,

  My PC has [AMD/ATI] Kaveri [Radeon R7 Graphics]  card.

When I add radeon.cik_support=0 amdgpu.cik_support=1 in grub.cfg boot line, 
the PC can't boot, it's screen will dark, the keyboard also can't use.

I find the kernel NULL pointer infos in the kern.log after I power restart
the PC which not use amdgpu.cik_support=1:

The following infos copy from /var/log/kern.log:

Nov  8 15:02:33 atzlinux kernel: [6.776155] Console: switching to colour 
frame buffer device 240x67
Nov  8 15:02:33 atzlinux kernel: [6.776686] BUG: kernel NULL pointer 
dereference, address: 0010
Nov  8 15:02:33 atzlinux kernel: [6.776692] #PF: supervisor read access in 
kernel mode
Nov  8 15:02:33 atzlinux kernel: [6.776694] #PF: error_code(0x) - 
not-present page
Nov  8 15:02:33 atzlinux kernel: [6.776696] PGD 0 P4D 0 
Nov  8 15:02:33 atzlinux kernel: [6.776701] Oops:  [#1] PREEMPT_RT SMP 
NOPTI
Nov  8 15:02:33 atzlinux kernel: [6.776705] CPU: 3 PID: 78 Comm: 
kworker/3:1 Not tainted 5.10.0-19-rt-amd64 #1 Debian 5.10.149-2
Nov  8 15:02:33 atzlinux kernel: [6.776709] Hardware name: Gigabyte 
Technology Co., Ltd. To be filled by O.E.M./F2A88XM-D3H, BIOS F9 12/25/2015
Nov  8 15:02:33 atzlinux kernel: [6.776712] Workqueue: events 
drm_fb_helper_dirty_work [drm_kms_helper]
Nov  8 15:02:33 atzlinux kernel: [6.776751] RIP: 
0010:drm_atomic_helper_dirtyfb+0x151/0x260 [drm_kms_helper]
Nov  8 15:02:33 atzlinux kernel: [6.776776] Code: 48 05 98 04 00 00 4c 8d 
7a f8 48 39 c2 74 4a 4d 8d 67 20 49 8b 75 48 4c 89 e7 e8 0a 82 ea ff 85 c0 75 
3e 49 8b 87 60 02 00 00 <48> 39 68 10 75 c0 4c 89 fe 4c 89 ef e8 be 8a ea ff 48 
3d 00 f0 ff
Nov  8 15:02:33 atzlinux kernel: [6.776779] RSP: 0018:b514c0a17dd0 
EFLAGS: 00010246
Nov  8 15:02:33 atzlinux kernel: [6.776783] RAX:  RBX: 
a03f48af5c80 RCX: 
Nov  8 15:02:33 atzlinux kernel: [6.776785] RDX: b514c0a17df8 RSI: 
b514c0a17df8 RDI: a03f44076c50
Nov  8 15:02:33 atzlinux kernel: [6.776787] RBP: a03f58078988 R08: 
b514c0a17df8 R09: b514c0a17df8
Nov  8 15:02:33 atzlinux kernel: [6.776789] R10: a04173dacb80 R11: 
 R12: a03f44076c20
Nov  8 15:02:33 atzlinux kernel: [6.776791] R13: a03f48af5b00 R14: 
a03f462982b0 R15: a03f44076c00
Nov  8 15:02:33 atzlinux kernel: [6.776793] FS:  () 
GS:a04173d8() knlGS:
Nov  8 15:02:33 atzlinux kernel: [6.776796] CS:  0010 DS:  ES:  
CR0: 80050033
Nov  8 15:02:33 atzlinux kernel: [6.776798] CR2: 0010 CR3: 
000107f08000 CR4: 000506e0
Nov  8 15:02:33 atzlinux kernel: [6.776801] Call Trace:
Nov  8 15:02:33 atzlinux kernel: [6.776809]  
drm_fb_helper_dirty_work+0x188/0x1c0 [drm_kms_helper]
Nov  8 15:02:33 atzlinux kernel: [6.776835]  process_one_work+0x1ad/0x3d0
Nov  8 15:02:33 atzlinux kernel: [6.776845]  ? process_one_work+0x3d0/0x3d0
Nov  8 15:02:33 atzlinux kernel: [6.776850]  worker_thread+0x50/0x3b0
Nov  8 15:02:33 atzlinux kernel: [6.776855]  ? process_one_work+0x3d0/0x3d0
Nov  8 15:02:33 atzlinux kernel: [6.776861]  kthread+0x186/0x1a0
Nov  8 15:02:33 atzlinux kernel: [6.776865]  ? __kthread_parkme+0xa0/0xa0
Nov  8 15:02:33 atzlinux kernel: [6.776869]  ret_from_fork+0x22/0x30
Nov  8 15:02:33 atzlinux kernel: [6.776876] Modules linked in: edac_mce_amd 
kvm_amd ccp rng_core ppdev kvm irqbypass ghash_clmulni_intel 
snd_hda_codec_realtek aesni_intel libaes crypto_simd snd_hda_codec_generic 
cryptd ledtrig_audio glue_helper snd_hda_codec_hdmi pcspkr sp5100_tco k10temp 
fam15h_power watchdog amdgpu(+) snd_hda_intel snd_intel_dspcfg sg 
soundwire_intel soundwire_generic_allocation snd_soc_core snd_compress 
soundwire_cadence parport_pc snd_hda_codec parport snd_hda_core snd_hwdep evdev 
soundwire_bus gpu_sched ttm snd_pcm drm_kms_helper snd_timer cec snd 
i2c_algo_bit soundcore button acpi_cpufreq drm fuse configfs ip_tables x_tables 
autofs4 ext4 crc16 mbcache jbd2 crc32c_generic hid_generic usbhid hid sd_mod 
t10_pi crc_t10dif crct10dif_generic ohci_pci r8169 ahci libahci xhci_pci 
ohci_hcd ehci_pci crct10dif_pclmul realtek crct10dif_common ehci_hcd xhci_hcd 
libata mdio_devres crc32_pclmul crc32c_intel libphy usbcore i2c_piix4 scsi_mod 
usb_common video
Nov  8 15:02:33 atzlinux kernel: [6.776966] CR2: 0010
Nov  8 15:02:33 atzlinux kernel: [6.776970] ---[ end trace 0002 
]---
Nov  8 15:02:33 atzlinux kernel: [8.761343] RIP: 
0010:drm_atomic_helper_dirtyfb+0x151/0x260 [drm_kms_helper]
Nov  8 15:02:33 atzlinux kernel: [8.761385] Code: 48 05 98 04 00 00 4c 8d 
7a f8 48 39 c2 74 4a 4d 8d 67 20 49 8b 75 48 4c 89 e7 e8 0a 82 ea ff 85 c0 75 
3e 49 8b 87 60 02 00 00 <48> 39 68 10 75 c0 4c 89 fe 4c 89 ef e8 be 8a ea ff