← Back to team overview

kernel-packages team mailing list archive

[Bug 1579374] Status changed to Confirmed

 

This change was made by a bot.

** Changed in: linux (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1579374

Title:
  amdgpu causes NULL pointer dereference when trying to use Topaz
  (Radeon R7 M265) GPU

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  A Dell Inspiron 5448 / 0YDTG3 laptop (BIOS A06 10/12/2015), which used
  to work well with Ubuntu trusty and Ubuntu wily releases (using fglrx
  driver), presents multiple issues with Ubuntu xenial.

  When the amdgpu driver tries to activate the Radeon GPU, a NULL
  pointer dereference occurs, causing the caller process to hang. This
  practically causes the system to hang when trying a logoff or
  shutdown.

  The bug can be easily reproduced by calling:

  DRI_PRIME=1 glxgears

  Which hangs the glxgears process and causes the stacktrace attached
  below.

  The system also crashes with a kernel panic (capslock key blinking and
  system does not answer to magic SysRq keys) when coming back from a
  suspend.

  The bug reported in this forum post
  http://ubuntuforums.org/showthread.php?t=2318640 appears to be the
  same.

  Kernel 4.5.0-050400 from http://kernel.ubuntu.com/~kernel-
  ppa/mainline/v4.5-wily fixes the crashes and oopses, although the
  Radeon GPU still does not work (DRI_PRIME=1 glxgears opens a black
  window). However, at least the system can be used with the Intel GPU
  in a stable fashion.

  
  ---[cut]---

  $ lspci
  [...]
  04:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265]
  $ dmesg
  [...]
  [  129.188685] [drm] PCIE GART of 2048M enabled (table at 0x0000000000040000).
  [  129.429667] [drm] ring test on 0 succeeded in 14 usecs
  [  131.087501] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: cp failed to lock ring 1 (-2).
  [  131.087520] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: cp failed to lock ring 2 (-2).
  [  131.087533] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: cp failed to lock ring 3 (-2).
  [  131.087547] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: cp failed to lock ring 4 (-2).
  [  131.087558] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: cp failed to lock ring 5 (-2).
  [  131.087571] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: cp failed to lock ring 6 (-2).
  [  131.087582] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: cp failed to lock ring 7 (-2).
  [  131.087595] [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: cp failed to lock ring 8 (-2).
  [  131.191024] [drm:sdma_v2_4_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 9 test failed (0xCAFEDEAD)
  [  131.191034] [drm:amdgpu_resume [amdgpu]] *ERROR* resume 5 failed -22
  [  131.191043] [drm:amdgpu_resume_kms [amdgpu]] *ERROR* amdgpu_resume failed (-22).
  [  131.191149] amdgpu 0000:04:00.0: couldn't schedule ib
  [  131.191179] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
  [  131.191203] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
  [  131.201417] amdgpu 0000:04:00.0: couldn't schedule ib
  [  131.201444] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
  [  131.201462] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
  [  131.201465] amdgpu 0000:04:00.0: couldn't schedule ib
  [  131.201479] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
  [  131.201493] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
  [  131.201494] amdgpu 0000:04:00.0: couldn't schedule ib
  [  131.201508] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
  [  131.201523] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
  [  131.201524] amdgpu 0000:04:00.0: couldn't schedule ib
  [  131.201535] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
  [  131.201546] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
  [  131.201548] amdgpu 0000:04:00.0: couldn't schedule ib
  [  131.201558] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
  [  131.201569] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
  [  131.201571] amdgpu 0000:04:00.0: couldn't schedule ib
  [  131.201581] [drm:amdgpu_sched_run_job [amdgpu]] *ERROR* Error scheduling IBs (-22)
  [  131.201592] [drm:amd_sched_main [amdgpu]] *ERROR* Failed to run job!
  [  131.201616] BUG: unable to handle kernel NULL pointer dereference at 0000000000000248
  [  131.201648] IP: [<ffffffffc041ceb2>] amdgpu_vm_grab_id+0x122/0x310 [amdgpu]
  [  131.201684] PGD 0 
  [  131.201693] Oops: 0000 [#1] SMP 
  [  131.201707] Modules linked in: ctr ccm rfcomm pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) bnep binfmt_misc rtsx_usb_ms memstick nls_iso8859_1 dell_wmi sparse_keymap dell_laptop intel_rapl x86_pkg_temp_thermal arc4 intel_powerclamp dcdbas dell_smm_hwmon coretemp dell_led iwlmvm btusb uvcvideo btrtl btbcm btintel mac80211 bluetooth kvm_intel videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core snd_soc_rt5640 v4l2_common videodev snd_hda_codec_realtek snd_hda_codec_hdmi media snd_soc_ssm4567 snd_hda_codec_generic snd_soc_rl6231 kvm snd_soc_core snd_hda_intel hid_multitouch snd_hda_codec iwlwifi irqbypass snd_hda_core snd_compress ac97_bus snd_hwdep snd_pcm_dmaengine cfg80211 snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq joydev input_leds snd_seq_device mei_me
  [  131.202004]  serio_raw snd_timer mei snd shpchp lpc_ich elan_i2c soundcore spi_pxa2xx_platform snd_soc_sst_acpi dw_dmac acpi_pad dw_dmac_core dell_rbtn i2c_designware_platform 8250_dw i2c_designware_core mac_hid parport_pc ppdev lp parport autofs4 drbg ansi_cprng algif_skcipher af_alg dm_crypt rtsx_usb_sdmmc usbhid rtsx_usb amdkfd amd_iommu_v2 amdgpu crct10dif_pclmul crc32_pclmul i915 aesni_intel i2c_algo_bit ttm aes_x86_64 lrw gf128mul glue_helper ablk_helper drm_kms_helper cryptd syscopyarea r8169 sysfillrect mii psmouse sysimgblt fb_sys_fops ahci drm libahci wmi sdhci_acpi sdhci video i2c_hid hid fjes
  [  131.202242] CPU: 3 PID: 189 Comm: gfx Tainted: G           OE   4.4.0-22-generic #39-Ubuntu
  [  131.202268] Hardware name: Dell Inc. Inspiron 5448/0YDTG3, BIOS A06 10/12/2015
  [  131.202291] task: ffff88024ee544c0 ti: ffff880035088000 task.ti: ffff880035088000
  [  131.202317] RIP: 0010:[<ffffffffc041ceb2>]  [<ffffffffc041ceb2>] amdgpu_vm_grab_id+0x122/0x310 [amdgpu]
  [  131.202389] RSP: 0018:ffff88003508bce0  EFLAGS: 00010246
  [  131.202418] RAX: 0000000000000000 RBX: ffff88024f348000 RCX: ffff88024d472000
  [  131.202457] RDX: 000003e8000003e8 RSI: ffff88024f34ad78 RDI: ffff88024b030240
  [  131.202498] RBP: ffff88003508bdb0 R08: ffff88024d472000 R09: 0000000000000000
  [  131.202533] R10: 00000000ffff5b25 R11: 0000000000001061 R12: ffff88024f34ad78
  [  131.202575] R13: ffff88024b030240 R14: ffff88024f348838 R15: 0000000000000001
  [  131.202617] FS:  0000000000000000(0000) GS:ffff88025ecc0000(0000) knlGS:0000000000000000
  [  131.202664] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  [  131.202698] CR2: 0000000000000248 CR3: 0000000002e0a000 CR4: 00000000003406e0
  [  131.202741] Stack:
  [  131.202754]  ffff8802506e8648 0000000000000000 ffff88024d472000 0000000000000000
  [  131.202804]  0000000000000000 0000000000000000 0000000000000000 0000000000000000
  [  131.202855]  0000000000000000 0000000000000000 0000000000000000 0000000000000000
  [  131.202905] Call Trace:
  [  131.202942]  [<ffffffffc041ecf0>] amdgpu_ib_schedule+0x90/0x390 [amdgpu]
  [  131.203004]  [<ffffffffc045b466>] amdgpu_sched_run_job+0x36/0x140 [amdgpu]
  [  131.203065]  [<ffffffffc045ac7f>] amd_sched_main+0x23f/0x400 [amdgpu]
  [  131.203107]  [<ffffffff810c3a70>] ? wake_atomic_t_function+0x60/0x60
  [  131.203163]  [<ffffffffc045aa40>] ? amd_sched_entity_wakeup+0x70/0x70 [amdgpu]
  [  131.203207]  [<ffffffff810a0588>] kthread+0xd8/0xf0
  [  131.203238]  [<ffffffff810a04b0>] ? kthread_create_on_node+0x1e0/0x1e0
  [  131.203278]  [<ffffffff8182568f>] ret_from_fork+0x3f/0x70
  [  131.203311]  [<ffffffff810a04b0>] ? kthread_create_on_node+0x1e0/0x1e0
  [  131.203350] Code: c0 44 89 bc 85 48 ff ff ff 41 83 c7 01 44 39 bb 1c 09 00 00 76 4f 49 83 c6 10 4d 8b 6e f0 4d 85 ed 74 66 4c 89 ef e8 fe 2e ff ff <8b> b8 48 02 00 00 48 8b b4 fd 50 ff ff ff 48 85 f6 74 b2 41 8b 
  [  131.203558] RIP  [<ffffffffc041ceb2>] amdgpu_vm_grab_id+0x122/0x310 [amdgpu]
  [  131.203628]  RSP <ffff88003508bce0>
  [  131.203645] CR2: 0000000000000248
  [  131.208801] ---[ end trace 8aa5d3e55e43b8c1 ]---

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: linux-image-4.4.0-22-generic 4.4.0-22.39
  ProcVersionSignature: Ubuntu 4.4.0-22.39-generic 4.4.8
  Uname: Linux 4.4.0-22-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  matias     2141 F.... pulseaudio
   /dev/snd/controlC0:  matias     2141 F.... pulseaudio
  CurrentDesktop: i3
  Date: Sat May  7 10:56:56 2016
  HibernationDevice: RESUME=UUID=60147c89-0820-48f0-9b56-033547cfbae8
  InstallationDate: Installed on 2015-08-12 (268 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  MachineType: Dell Inc. Inspiron 5448
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-22-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro quiet splash
  RelatedPackageVersions:
   linux-restricted-modules-4.4.0-22-generic N/A
   linux-backports-modules-4.4.0-22-generic  N/A
   linux-firmware                            1.157
  SourcePackage: linux
  UpgradeStatus: Upgraded to xenial on 2016-04-26 (11 days ago)
  dmi.bios.date: 10/12/2015
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A06
  dmi.board.name: 0YDTG3
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.chassis.version: A06
  dmi.modalias: dmi:bvnDellInc.:bvrA06:bd10/12/2015:svnDellInc.:pnInspiron5448:pvrA06:rvnDellInc.:rn0YDTG3:rvrA00:cvnDellInc.:ct8:cvrA06:
  dmi.product.name: Inspiron 5448
  dmi.product.version: A06
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1579374/+subscriptions


References