[Bug 107595] amd-staging-drm-next: BUG: unable to handle kernel NULL pointer dereference at 0000000000000018 - R4 Mullins

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 10 11:00:55 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=107595

Pontus Gråskæg <graaskaeg.via.forwarder at neverbox.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |graaskaeg.via.forwarder at nev
                   |                            |erbox.com

--- Comment #11 from Pontus Gråskæg <graaskaeg.via.forwarder at neverbox.com> ---
I appear to be experiencing the same bug. Same set of internal and external
connectors. My hardware is Lenovo G75 A10-7300 [Kaveri]

Kernel booted with 
 - amdgpu.cik_support=1 
 - radeon.cik_support=0 
 - amdgpu.dc=1 
 - drm.debug=1

The internal (eDP) display fails to work. The VGA display doesn't work either
(as expected), and I can't comment on the HDMI as I don't have an HDMI monitor.
Used ssh to get in and copy the dmesg buffer.

I do not have the capability to compile kernel+patches. Sorry.

graaskaeg

[    1.963843] [drm] radeon kernel modesetting enabled.
[    1.965577] checking generic (e0000000 7f0000) vs hw (e0000000 10000000)
[    1.965579] fb: switching to radeondrmfb from EFI VGA
[    1.967248] Console: switching to colour dummy device 80x25
[    1.967463] [drm:drm_get_pci_dev [drm]] 
[    1.967928] [drm:drm_minor_register [drm]] 
[    1.968070] [drm:drm_minor_register [drm]] new minor registered 128
[    1.968084] [drm:drm_minor_register [drm]] 
[    1.968157] [drm:drm_minor_register [drm]] new minor registered 0
[    1.968163] radeon 0000:00:01.0: CIK support disabled by module param
[    2.019315] [drm] amdgpu kernel modesetting enabled.
[    2.022536] AMD IOMMUv2 driver by Joerg Roedel <jroedel at suse.de>
[    2.022542] AMD IOMMUv2 functionality not available on this system
[    2.027931] CRAT table not found
[    2.027941] Virtual CRAT table created for CPU
[    2.027944] Parsing CRAT table with 1 nodes
[    2.027948] Creating topology SYSFS entries
[    2.027967] Topology: Add CPU node
[    2.027970] Finished initializing topology
[    2.028045] kfd kfd: Initialized module
[    2.028770] [drm:drm_minor_register [drm]] 
[    2.028930] [drm:drm_minor_register [drm]] new minor registered 128
[    2.028939] [drm:drm_minor_register [drm]] 
[    2.029042] [drm:drm_minor_register [drm]] new minor registered 0
[    2.029066] [drm] initializing kernel modesetting (KAVERI 0x1002:0x130A
0x17AA:0x3988 0x00).
[    2.068203] [drm] register mmio base: 0xF0B00000
[    2.068212] [drm] register mmio size: 262144
[    2.068221] [drm] add ip block number 0 <cik_common>
[    2.068225] [drm] add ip block number 1 <gmc_v7_0>
[    2.068227] [drm] add ip block number 2 <cik_ih>
[    2.068229] [drm] add ip block number 3 <kv_dpm>
[    2.068232] [drm] add ip block number 4 <dm>
[    2.068234] [drm] add ip block number 5 <gfx_v7_0>
[    2.068237] [drm] add ip block number 6 <cik_sdma>
[    2.068239] [drm] add ip block number 7 <uvd_v4_2>
[    2.068241] [drm] add ip block number 8 <vce_v2_0>
[    2.093099] [drm] BIOS signature incorrect 0 0
[    2.093117] resource sanity check: requesting [mem 0x000c0000-0x000dffff],
which spans more than PCI Bus 0000:00 [mem 0x000c0000-0x000c3fff window]
[    2.093126] caller pci_map_rom+0x71/0x1c0 mapping multiple BARs
[    2.093295] [drm:check_atom_bios [amdgpu]] ATOMBIOS detected
[    2.093299] ATOM BIOS: 113-SPEC-X24
[    2.093354] [drm:amdgpu_atombios_init [amdgpu]] atom firmware requested
000fffe0 32kb
[    2.093419] [drm:amdgpu_atombios_get_clock_info [amdgpu]] Changing default
dispclk from 514Mhz to 600Mhz
[    2.093453] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment
size is 9-bit
[    2.093611] [drm:gmc_v7_0_sw_init [amdgpu]] 
[    2.093619] amdgpu 0000:00:01.0: VRAM: 1024M 0x000000F400000000 -
0x000000F43FFFFFFF (1024M used)
[    2.093625] amdgpu 0000:00:01.0: GART: 1024M 0x0000000000000000 -
0x000000003FFFFFFF
[    2.093636] [drm] Detected VRAM RAM=1024M, BAR=1024M
[    2.093639] [drm] RAM width 64bits UNKNOWN
[    2.093950] [TTM] Zone  kernel: Available graphics memory: 3531364 kiB
[    2.093958] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[    2.093961] [TTM] Initializing pool allocator
[    2.093975] [TTM] Initializing DMA pool allocator
[    2.094057] [drm] amdgpu: 1024M of VRAM memory ready
[    2.094061] [drm] amdgpu: 3072M of GTT memory ready.
[    2.094081] [drm] GART: num cpu pages 262144, num gpu pages 262144
[    2.094120] [drm] PCIE GART of 1024M enabled (table at 0x000000F4007E9000).
[    2.094242] [drm:drm_irq_install [drm]] irq=35
[    2.094387] [drm:amdgpu_irq_init [amdgpu]] amdgpu: irq initialized.
[    2.094398] [drm] Internal thermal controller without fan control
[    2.094402] [drm] amdgpu: dpm initialized
[    2.094468] [drm:gfx_v7_0_sw_init [amdgpu]] 
[    2.095601] [drm:cik_sdma_sw_init [amdgpu]] 
[    2.095932] [drm] Found UVD firmware Version: 1.55 Family ID: 9
[    2.096349] [drm] Found VCE firmware Version: 50.10 Binary ID: 2
[    2.098025] usb 1-4: New USB device found, idVendor=050d, idProduct=0307,
bcdDevice= 0.00
[    2.098037] usb 1-4: New USB device strings: Mfr=0, Product=0,
SerialNumber=0
[    2.098328] hub 1-4:1.0: USB hub found
[    2.098508] hub 1-4:1.0: 7 ports detected
[    2.102463] [drm:dm_pp_get_static_clocks [amdgpu]] *ERROR* DM_PPLIB: invalid
powerlevel state: 0!
[    2.102568] [drm] Unsupported Connector type:5!
[    2.102688] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:3! type 0 expected 3
[    2.102764] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:4! type 0 expected 3
[    2.102840] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:5! type 0 expected 3
[    2.102916] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:6! type 0 expected 3
[    2.113620] [drm] Display Core initialized with v3.1.59!
[    2.114117] [drm:drm_sysfs_connector_add [drm]] adding "HDMI-A-1" to sysfs
[    2.114131] [drm:drm_sysfs_hotplug_event [drm]] generating hotplug event
[    2.114356] [drm:drm_sysfs_connector_add [drm]] adding "eDP-1" to sysfs
[    2.114369] [drm:drm_sysfs_hotplug_event [drm]] generating hotplug event
[    2.114478] [drm:drm_dp_aux_register_devnode [drm_kms_helper]]
drm_dp_aux_dev: aux [dmdc] registered as minor 0
[    2.114616] BUG: unable to handle kernel NULL pointer dereference at
0000000000000018
[    2.114624] PGD 0 P4D 0 
[    2.114630] Oops: 0000 [#1] SMP NOPTI
[    2.114635] CPU: 1 PID: 171 Comm: systemd-udevd Not tainted
4.19.0-041900rc2-generic #201809022230
[    2.114640] Hardware name: LENOVO 80EC/Lancer 5B3, BIOS A4CN40WW (V 2.09)
08/24/2015
[    2.114777] RIP: 0010:dc_link_aux_transfer+0x88/0x160 [amdgpu]
[    2.114782] Code: 00 00 48 c7 45 a8 00 00 00 00 48 c7 45 a0 00 00 00 00 48
8b 16 48 8b 00 8b 52 14 48 8b 80 38 01 00 00 48 8b 9c d0 b0 01 00 00 <48> 8b 43
18 48 89 df 48 8b 40 48 e8 68 99 7d dd 8b 45 10 4c 89 6d
[    2.114788] RSP: 0018:ffff9e2d810ef590 EFLAGS: 00010246
[    2.114791] RAX: ffff8f724a995c00 RBX: 0000000000000000 RCX:
ffff9e2d810ef708
[    2.114794] RDX: 0000000000000000 RSI: ffff8f724b1fcae0 RDI:
ffff8f724a994c00
[    2.114797] RBP: ffff9e2d810ef600 R08: 0000000000000001 R09:
0000000000000000
[    2.114800] R10: ffffe5bb482c7f00 R11: 0000000000000001 R12:
0000000000000001
[    2.114803] R13: ffff9e2d810ef708 R14: 0000000000000000 R15:
0000000000000000
[    2.114807] FS:  00007f81a0db38c0(0000) GS:ffff8f7257a80000(0000)
knlGS:0000000000000000
[    2.114810] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    2.114813] CR2: 0000000000000018 CR3: 000000020a8b2000 CR4:
00000000000406e0
[    2.114816] Call Trace:
[    2.114899]  dm_dp_aux_transfer+0x61/0x130 [amdgpu]
[    2.114914]  drm_dp_dpcd_access+0x75/0x110 [drm_kms_helper]
[    2.114922]  drm_dp_dpcd_read+0x33/0xc0 [drm_kms_helper]
[    2.114998]  dm_helpers_dp_read_dpcd+0x2b/0x50 [amdgpu]
[    2.115071]  core_link_read_dpcd+0x23/0x30 [amdgpu]
[    2.115144]  retrieve_link_cap+0x55/0x440 [amdgpu]
[    2.115217]  detect_edp_sink_caps+0x12/0x40 [amdgpu]
[    2.115291]  dc_link_detect+0x54a/0xb30 [amdgpu]
[    2.115300]  ? drm_dp_mst_topology_mgr_init+0x345/0x430 [drm_kms_helper]
[    2.115370]  amdgpu_dm_initialize_drm_device+0x68d/0xb22 [amdgpu]
[    2.115443]  ? setup_x_points_distribution+0x72/0x100 [amdgpu]
[    2.115528]  dm_hw_init.cold.55+0x8c/0x116 [amdgpu]
[    2.115589]  amdgpu_device_init.cold.28+0x113a/0x12e9 [amdgpu]
[    2.115597]  ? kmalloc_order+0x18/0x40
[    2.115600]  ? kmalloc_order_trace+0x24/0xb0
[    2.115647]  amdgpu_driver_load_kms+0x8b/0x2d0 [amdgpu]
[    2.115671]  drm_dev_register+0x11f/0x160 [drm]
[    2.115718]  amdgpu_pci_probe+0x140/0x1c0 [amdgpu]
[    2.115723]  local_pci_probe+0x46/0x90
[    2.115726]  pci_device_probe+0x18d/0x1a0
[    2.115731]  really_probe+0x243/0x3b0
[    2.115735]  driver_probe_device+0xba/0x100
[    2.115738]  __driver_attach+0xe4/0x110
[    2.115742]  ? driver_probe_device+0x100/0x100
[    2.115745]  bus_for_each_dev+0x74/0xb0
[    2.115749]  ? kmem_cache_alloc_trace+0x1c8/0x1e0
[    2.115753]  driver_attach+0x1e/0x20
[    2.115756]  bus_add_driver+0x159/0x230
[    2.115759]  ? 0xffffffffc0964000
[    2.115762]  driver_register+0x70/0xc0
[    2.115765]  ? 0xffffffffc0964000
[    2.115768]  __pci_register_driver+0x57/0x60
[    2.115815]  amdgpu_init+0x87/0x89 [amdgpu]
[    2.115820]  do_one_initcall+0x4a/0x1c4
[    2.115824]  ? _cond_resched+0x19/0x30
[    2.115827]  ? kmem_cache_alloc_trace+0x172/0x1e0
[    2.115830]  ? vfree+0x2e/0x70
[    2.115834]  do_init_module+0x60/0x220
[    2.115838]  load_module+0x16c1/0x1930
[    2.115842]  __do_sys_finit_module+0xbd/0x120
[    2.115845]  ? __do_sys_finit_module+0xbd/0x120
[    2.115849]  __x64_sys_finit_module+0x1a/0x20
[    2.115852]  do_syscall_64+0x5a/0x110
[    2.115856]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[    2.115859] RIP: 0033:0x7f819fc094d9
[    2.115862] Code: 00 f3 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89
f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01
f0 ff ff 73 01 c3 48 8b 0d 8f 29 2c 00 f7 d8 64 89 01 48
[    2.115866] RSP: 002b:00007ffe01054bc8 EFLAGS: 00000246 ORIG_RAX:
0000000000000139
[    2.115870] RAX: ffffffffffffffda RBX: 000055e7f2e1d5e0 RCX:
00007f819fc094d9
[    2.115872] RDX: 0000000000000000 RSI: 000055e7f2e1cc60 RDI:
0000000000000016
[    2.115875] RBP: 000055e7f2e1cc60 R08: 0000000000000000 R09:
0000000000000012
[    2.115877] R10: 0000000000000016 R11: 0000000000000246 R12:
0000000000000000
[    2.115880] R13: 000055e7f2e1d7e0 R14: 0000000000020000 R15:
0000000000000000
[    2.115883] Modules linked in: amdkfd amd_iommu_v2 amdgpu(+)
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel chash gpu_sched pcbc radeon
aesni_intel aes_x86_64 crypto_simd i2c_algo_bit ttm cryptd glue_helper psmouse
ahci drm_kms_helper libahci syscopyarea r8169 sysfillrect sysimgblt fb_sys_fops
drm video rtsx_usb_sdmmc rtsx_usb
[    2.115908] CR2: 0000000000000018
[    2.115912] ---[ end trace a8f1451fdd1bab9d ]---
[    2.115974] RIP: 0010:dc_link_aux_transfer+0x88/0x160 [amdgpu]
[    2.115978] Code: 00 00 48 c7 45 a8 00 00 00 00 48 c7 45 a0 00 00 00 00 48
8b 16 48 8b 00 8b 52 14 48 8b 80 38 01 00 00 48 8b 9c d0 b0 01 00 00 <48> 8b 43
18 48 89 df 48 8b 40 48 e8 68 99 7d dd 8b 45 10 4c 89 6d
[    2.115982] RSP: 0018:ffff9e2d810ef590 EFLAGS: 00010246
[    2.115985] RAX: ffff8f724a995c00 RBX: 0000000000000000 RCX:
ffff9e2d810ef708
[    2.115987] RDX: 0000000000000000 RSI: ffff8f724b1fcae0 RDI:
ffff8f724a994c00
[    2.115990] RBP: ffff9e2d810ef600 R08: 0000000000000001 R09:
0000000000000000
[    2.115992] R10: ffffe5bb482c7f00 R11: 0000000000000001 R12:
0000000000000001
[    2.115995] R13: ffff9e2d810ef708 R14: 0000000000000000 R15:
0000000000000000
[    2.115998] FS:  00007f81a0db38c0(0000) GS:ffff8f7257a80000(0000)
knlGS:0000000000000000
[    2.116001] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    2.116003] CR2: 0000000000000018 CR3: 000000020a8b2000 CR4:
00000000000406e0

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180910/74efec05/attachment-0001.html>


More information about the dri-devel mailing list