Re: Error on boot with Raven Ridge

2018-07-16 Thread Bráulio Bhavamitra
Yep, https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next

On Mon, Jul 16, 2018 at 12:32 PM Harry Wentland 
wrote:

> What kernel are you running? amd-staging-drm-next?
>
> Harry
>
> On 2018-07-15 07:02 PM, Bráulio Bhavamitra wrote:
> > Although it is reported on dmesg, the system still boots normally
> >
> > [8.253073] amdgpu: [powerplay] dpm has been enabled
> > [8.253210] [drm] DM_PPLIB:   40 in kHz
> > [8.253211] [drm] DM_PPLIB:   933000 in kHz
> > [8.253212] [drm] DM_PPLIB:   1067000 in kHz
> > [8.253380] WARNING: CPU: 6 PID: 361 at
> drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:1355
> dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu]
> > [8.253381] Modules linked in: ext4 mbcache jbd2 fscrypto joydev
> mousedev amdkfd amd_iommu_v2 amdgpu(+) arc4 r8822be(C) uvcvideo btusb btrtl
> btbcm btintel videobuf2_vmalloc videobuf2_memops hid_sensor_accel_3d
> hid_sensor_magn_3d videobuf2_v4l2 chash hid_sensor_rotation
> hid_sensor_incl_3d hid_sensor_gyro_3d bluetooth videobuf2_common gpu_sched
> hid_sensor_trigger industrialio_triggered_buffer videodev i2c_algo_bit
> kfifo_buf hid_sensor_iio_common ecdh_generic industrialio media crc16 ttm
> mac80211 drm_kms_helper hp_wmi edac_mce_amd snd_hda_codec_realtek
> sparse_keymap snd_hda_codec_generic drm wmi_bmof snd_hda_codec_hdmi kvm_amd
> snd_hda_intel ccp snd_hda_codec rng_core cfg80211 snd_hda_core snd_hwdep
> kvm snd_pcm snd_timer psmouse agpgart snd syscopyarea sysfillrect irqbypass
> rtsx_pci_ms sysimgblt input_leds
> > [8.253444]  fb_sys_fops rfkill memstick soundcore sp5100_tco k10temp
> hp_accel lis3lv02d i2c_piix4 battery ac rtc_cmos wmi input_polldev
> led_class i2c_hid evdev acpi_cpufreq pinctrl_amd mac_hid i2c_scmi
> hp_wireless vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) msr sg
> crypto_user ip_tables x_tables dm_crypt dm_mod btrfs libcrc32c
> crc32c_generic xor zstd_decompress zstd_compress xxhash hid_sensor_hub
> hid_generic usbhid hid raid6_pq sd_mod crct10dif_pclmul crc32_pclmul
> crc32c_intel ghash_clmulni_intel pcbc rtsx_pci_sdmmc serio_raw atkbd libps2
> mmc_core ahci libahci aesni_intel xhci_pci aes_x86_64 libata crypto_simd
> xhci_hcd cryptd glue_helper usbcore scsi_mod usb_common rtsx_pci i8042
> serio lz4 lz4_compress
> > [8.253511] CPU: 6 PID: 361 Comm: systemd-udevd Tainted: G C
> O  4.18.0-1-custom+ #7
> > [8.253512] Hardware name: HP HP ENVY x360 Convertible
> 15m-bq1xx/83C6, BIOS F.17 03/29/2018
> > [8.253630] RIP: 0010:dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu]
> > [8.253631] Code: d8 ca d8 f1 d9 5a 50 8b 44 fc 14 49 8b 94 24 70 01
> 00 00 48 89 04 24 df 2c 24 d8 f1 db 42 78 de c9 de ca de f9 d9 5a 4c eb 02
> <0f> 0b 48 89 da be 04 00 00 00 48 89 ef e8 13 5b fe ff 84 c0 0f 84
> > [8.253675] RSP: 0018:9bc383b037b8 EFLAGS: 00010246
> > [8.253678] RAX: 0001 RBX: 9bc383b03818 RCX:
> 
> > [8.253679] RDX:  RSI: 0004 RDI:
> 
> > [8.253681] RBP: 918c85651a40 R08: 0001 R09:
> 039f
> > [8.253683] R10: 0004 R11:  R12:
> 918c733ae000
> > [8.253684] R13: 918c73293300 R14: 918c733ae000 R15:
> 
> > [8.253687] FS:  77f85d40() GS:918c8ab8()
> knlGS:
> > [8.253688] CS:  0010 DS:  ES:  CR0: 80050033
> > [8.253690] CR2: 77a28000 CR3: 000505f02000 CR4:
> 003406e0
> > [8.253692] Call Trace:
> > [8.253817]  dcn10_create_resource_pool+0x756/0x990 [amdgpu]
> > [8.253933]  dc_create_resource_pool+0x42/0x180 [amdgpu]
> > [8.253940]  ? __kmalloc+0x1aa/0x230
> > [8.254053]  ? dal_gpio_service_create+0x7c/0x110 [amdgpu]
> > [8.254165]  dc_create+0x228/0x650 [amdgpu]
> > [8.254273]  ? amdgpu_cgs_create_device+0x23/0x50 [amdgpu]
> > [8.254385]  dm_hw_init+0xc8/0x130 [amdgpu]
> > [8.254496]  amdgpu_device_init.cold.15+0x1041/0x1253 [amdgpu]
> > [8.254585]  amdgpu_driver_load_kms+0x86/0x2c0 [amdgpu]
> > [8.254607]  drm_dev_register+0x109/0x140 [drm]
> > [8.254693]  amdgpu_pci_probe+0x13c/0x1c0 [amdgpu]
> > [8.254699]  ? _raw_spin_unlock_irqrestore+0x20/0x40
> > [8.254704]  local_pci_probe+0x41/0x90
> > [8.254709]  pci_device_probe+0x189/0x1a0
> > [8.254715]  driver_probe_device+0x2b9/0x460
> > [8.254719]  __driver_attach+0xdd/0x110
> > [8.254722]  ? driver_probe_device+0x460/0x460
> > [8.254725]  bus_for_each_dev+0x76/0xc0
> > [8.254729]  bus_add_driver+0x152/0x230
> > [8.254732]  ? 0xc124
> > [8.254735]  driver_register+0x6b/0xb0
> > [8.254738]  ? 0xc124
> > [8.254742]  do_one_initcall+0x46/0x1f5
> > [8.254746]  ? kmem_cache_alloc_trace+0x181/0x1d0
> > [8.254751]  ? do_init_module+0x22/0x210
> > [8.254755]  do_init_module+0x5a/0x210
> > [8.254759]  

Re: Error on boot with Raven Ridge

2018-07-16 Thread Harry Wentland
What kernel are you running? amd-staging-drm-next?

Harry

On 2018-07-15 07:02 PM, Bráulio Bhavamitra wrote:
> Although it is reported on dmesg, the system still boots normally
> 
> [    8.253073] amdgpu: [powerplay] dpm has been enabled
> [    8.253210] [drm] DM_PPLIB:   40 in kHz
> [    8.253211] [drm] DM_PPLIB:   933000 in kHz
> [    8.253212] [drm] DM_PPLIB:   1067000 in kHz
> [    8.253380] WARNING: CPU: 6 PID: 361 at 
> drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:1355 
> dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu]
> [    8.253381] Modules linked in: ext4 mbcache jbd2 fscrypto joydev mousedev 
> amdkfd amd_iommu_v2 amdgpu(+) arc4 r8822be(C) uvcvideo btusb btrtl btbcm 
> btintel videobuf2_vmalloc videobuf2_memops hid_sensor_accel_3d 
> hid_sensor_magn_3d videobuf2_v4l2 chash hid_sensor_rotation 
> hid_sensor_incl_3d hid_sensor_gyro_3d bluetooth videobuf2_common gpu_sched 
> hid_sensor_trigger industrialio_triggered_buffer videodev i2c_algo_bit 
> kfifo_buf hid_sensor_iio_common ecdh_generic industrialio media crc16 ttm 
> mac80211 drm_kms_helper hp_wmi edac_mce_amd snd_hda_codec_realtek 
> sparse_keymap snd_hda_codec_generic drm wmi_bmof snd_hda_codec_hdmi kvm_amd 
> snd_hda_intel ccp snd_hda_codec rng_core cfg80211 snd_hda_core snd_hwdep kvm 
> snd_pcm snd_timer psmouse agpgart snd syscopyarea sysfillrect irqbypass 
> rtsx_pci_ms sysimgblt input_leds
> [    8.253444]  fb_sys_fops rfkill memstick soundcore sp5100_tco k10temp 
> hp_accel lis3lv02d i2c_piix4 battery ac rtc_cmos wmi input_polldev led_class 
> i2c_hid evdev acpi_cpufreq pinctrl_amd mac_hid i2c_scmi hp_wireless 
> vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) msr sg crypto_user 
> ip_tables x_tables dm_crypt dm_mod btrfs libcrc32c crc32c_generic xor 
> zstd_decompress zstd_compress xxhash hid_sensor_hub hid_generic usbhid hid 
> raid6_pq sd_mod crct10dif_pclmul crc32_pclmul crc32c_intel 
> ghash_clmulni_intel pcbc rtsx_pci_sdmmc serio_raw atkbd libps2 mmc_core ahci 
> libahci aesni_intel xhci_pci aes_x86_64 libata crypto_simd xhci_hcd cryptd 
> glue_helper usbcore scsi_mod usb_common rtsx_pci i8042 serio lz4 lz4_compress
> [    8.253511] CPU: 6 PID: 361 Comm: systemd-udevd Tainted: G         C O     
>  4.18.0-1-custom+ #7
> [    8.253512] Hardware name: HP HP ENVY x360 Convertible 15m-bq1xx/83C6, 
> BIOS F.17 03/29/2018
> [    8.253630] RIP: 0010:dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu]
> [    8.253631] Code: d8 ca d8 f1 d9 5a 50 8b 44 fc 14 49 8b 94 24 70 01 00 00 
> 48 89 04 24 df 2c 24 d8 f1 db 42 78 de c9 de ca de f9 d9 5a 4c eb 02 <0f> 0b 
> 48 89 da be 04 00 00 00 48 89 ef e8 13 5b fe ff 84 c0 0f 84
> [    8.253675] RSP: 0018:9bc383b037b8 EFLAGS: 00010246
> [    8.253678] RAX: 0001 RBX: 9bc383b03818 RCX: 
> 
> [    8.253679] RDX:  RSI: 0004 RDI: 
> 
> [    8.253681] RBP: 918c85651a40 R08: 0001 R09: 
> 039f
> [    8.253683] R10: 0004 R11:  R12: 
> 918c733ae000
> [    8.253684] R13: 918c73293300 R14: 918c733ae000 R15: 
> 
> [    8.253687] FS:  77f85d40() GS:918c8ab8() 
> knlGS:
> [    8.253688] CS:  0010 DS:  ES:  CR0: 80050033
> [    8.253690] CR2: 77a28000 CR3: 000505f02000 CR4: 
> 003406e0
> [    8.253692] Call Trace:
> [    8.253817]  dcn10_create_resource_pool+0x756/0x990 [amdgpu]
> [    8.253933]  dc_create_resource_pool+0x42/0x180 [amdgpu]
> [    8.253940]  ? __kmalloc+0x1aa/0x230
> [    8.254053]  ? dal_gpio_service_create+0x7c/0x110 [amdgpu]
> [    8.254165]  dc_create+0x228/0x650 [amdgpu]
> [    8.254273]  ? amdgpu_cgs_create_device+0x23/0x50 [amdgpu]
> [    8.254385]  dm_hw_init+0xc8/0x130 [amdgpu]
> [    8.254496]  amdgpu_device_init.cold.15+0x1041/0x1253 [amdgpu]
> [    8.254585]  amdgpu_driver_load_kms+0x86/0x2c0 [amdgpu]
> [    8.254607]  drm_dev_register+0x109/0x140 [drm]
> [    8.254693]  amdgpu_pci_probe+0x13c/0x1c0 [amdgpu]
> [    8.254699]  ? _raw_spin_unlock_irqrestore+0x20/0x40
> [    8.254704]  local_pci_probe+0x41/0x90
> [    8.254709]  pci_device_probe+0x189/0x1a0
> [    8.254715]  driver_probe_device+0x2b9/0x460
> [    8.254719]  __driver_attach+0xdd/0x110
> [    8.254722]  ? driver_probe_device+0x460/0x460
> [    8.254725]  bus_for_each_dev+0x76/0xc0
> [    8.254729]  bus_add_driver+0x152/0x230
> [    8.254732]  ? 0xc124
> [    8.254735]  driver_register+0x6b/0xb0
> [    8.254738]  ? 0xc124
> [    8.254742]  do_one_initcall+0x46/0x1f5
> [    8.254746]  ? kmem_cache_alloc_trace+0x181/0x1d0
> [    8.254751]  ? do_init_module+0x22/0x210
> [    8.254755]  do_init_module+0x5a/0x210
> [    8.254759]  load_module+0x2295/0x24b0
> [    8.254766]  ? vmap_page_range_noflush+0x243/0x320
> [    8.254772]  ? __se_sys_init_module+0x10c/0x170
> [    8.254776]  __se_sys_init_module+0x10c/0x170
> [    8.254781]  do_syscall_64+0x5b/0x170

Re: Error on boot with Raven Ridge

2018-07-15 Thread Bráulio Bhavamitra
Now with the latest kernel from staging-next branch

[   13.244876] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   13.244877] Bluetooth: BNEP filters: protocol multicast
[   13.244882] Bluetooth: BNEP socket layer initialized
[   14.709064] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[   15.282470] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[   15.282533] bridge: filtering via arp/ip/ip6tables is no longer
available by default. Update your scripts to load br_netfilter if you need
this.
[   15.722052] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[   15.722118] Bridge firewalling registered
[   15.833492] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[   16.021385] fuse init (API version 7.27)
[   16.317799] Initializing XFRM netlink socket
[   16.413054] IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready
[   20.588915] Bluetooth: RFCOMM TTY layer initialized
[   20.588925] Bluetooth: RFCOMM socket layer initialized
[   20.588934] Bluetooth: RFCOMM ver 1.11
[   22.388724] core[1379]: segfault at 0 ip 00441058 sp
7fffd2f0 error 4
[   22.388730] Code: 40 00 31 c0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00
55 48 89 f5 53 48 89 fb 48 83 ec 08 e8 8f ec fd ff 89 c7 e8 f8 f0 fd ff
<48> 8b 30 48 89 ea 48 89 df e8 fa eb fd ff 48 83 c4 08 b8 01 00 00



On Sun, Jul 15, 2018 at 8:02 PM Bráulio Bhavamitra 
wrote:

> Although it is reported on dmesg, the system still boots normally
>
> [8.253073] amdgpu: [powerplay] dpm has been enabled
> [8.253210] [drm] DM_PPLIB:   40 in kHz
> [8.253211] [drm] DM_PPLIB:   933000 in kHz
> [8.253212] [drm] DM_PPLIB:   1067000 in kHz
> [8.253380] WARNING: CPU: 6 PID: 361 at
> drivers/gpu/drm/amd/amdgpu/../display/dc/calcs/dcn_calcs.c:1355
> dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu]
> [8.253381] Modules linked in: ext4 mbcache jbd2 fscrypto joydev
> mousedev amdkfd amd_iommu_v2 amdgpu(+) arc4 r8822be(C) uvcvideo btusb btrtl
> btbcm btintel videobuf2_vmalloc videobuf2_memops hid_sensor_accel_3d
> hid_sensor_magn_3d videobuf2_v4l2 chash hid_sensor_rotation
> hid_sensor_incl_3d hid_sensor_gyro_3d bluetooth videobuf2_common gpu_sched
> hid_sensor_trigger industrialio_triggered_buffer videodev i2c_algo_bit
> kfifo_buf hid_sensor_iio_common ecdh_generic industrialio media crc16 ttm
> mac80211 drm_kms_helper hp_wmi edac_mce_amd snd_hda_codec_realtek
> sparse_keymap snd_hda_codec_generic drm wmi_bmof snd_hda_codec_hdmi kvm_amd
> snd_hda_intel ccp snd_hda_codec rng_core cfg80211 snd_hda_core snd_hwdep
> kvm snd_pcm snd_timer psmouse agpgart snd syscopyarea sysfillrect irqbypass
> rtsx_pci_ms sysimgblt input_leds
> [8.253444]  fb_sys_fops rfkill memstick soundcore sp5100_tco k10temp
> hp_accel lis3lv02d i2c_piix4 battery ac rtc_cmos wmi input_polldev
> led_class i2c_hid evdev acpi_cpufreq pinctrl_amd mac_hid i2c_scmi
> hp_wireless vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) msr sg
> crypto_user ip_tables x_tables dm_crypt dm_mod btrfs libcrc32c
> crc32c_generic xor zstd_decompress zstd_compress xxhash hid_sensor_hub
> hid_generic usbhid hid raid6_pq sd_mod crct10dif_pclmul crc32_pclmul
> crc32c_intel ghash_clmulni_intel pcbc rtsx_pci_sdmmc serio_raw atkbd libps2
> mmc_core ahci libahci aesni_intel xhci_pci aes_x86_64 libata crypto_simd
> xhci_hcd cryptd glue_helper usbcore scsi_mod usb_common rtsx_pci i8042
> serio lz4 lz4_compress
> [8.253511] CPU: 6 PID: 361 Comm: systemd-udevd Tainted: G C O
> 4.18.0-1-custom+ #7
> [8.253512] Hardware name: HP HP ENVY x360 Convertible 15m-bq1xx/83C6,
> BIOS F.17 03/29/2018
> [8.253630] RIP: 0010:dcn_bw_update_from_pplib+0x16b/0x280 [amdgpu]
> [8.253631] Code: d8 ca d8 f1 d9 5a 50 8b 44 fc 14 49 8b 94 24 70 01 00
> 00 48 89 04 24 df 2c 24 d8 f1 db 42 78 de c9 de ca de f9 d9 5a 4c eb 02
> <0f> 0b 48 89 da be 04 00 00 00 48 89 ef e8 13 5b fe ff 84 c0 0f 84
> [8.253675] RSP: 0018:9bc383b037b8 EFLAGS: 00010246
> [8.253678] RAX: 0001 RBX: 9bc383b03818 RCX:
> 
> [8.253679] RDX:  RSI: 0004 RDI:
> 
> [8.253681] RBP: 918c85651a40 R08: 0001 R09:
> 039f
> [8.253683] R10: 0004 R11:  R12:
> 918c733ae000
> [8.253684] R13: 918c73293300 R14: 918c733ae000 R15:
> 
> [8.253687] FS:  77f85d40() GS:918c8ab8()
> knlGS:
> [8.253688] CS:  0010 DS:  ES:  CR0: 80050033
> [8.253690] CR2: 77a28000 CR3: 000505f02000 CR4:
> 003406e0
> [8.253692] Call Trace:
> [8.253817]  dcn10_create_resource_pool+0x756/0x990 [amdgpu]
> [8.253933]  dc_create_resource_pool+0x42/0x180 [amdgpu]
> [8.253940]  ? __kmalloc+0x1aa/0x230
> [8.254053]  ? dal_gpio_service_create+0x7c/0x110 [amdgpu]
> [8.254165]  dc_create+0x228/0x650 [amdgpu]
> [8.254273]  ? amdgpu_cgs_create_device+0x23/0x50