Activity log for bug #1579374

Date Who What changed Old value New value Message
2016-05-07 14:12:25 Paulo Matias bug added bug
2016-05-07 14:30:15 Brad Figg linux (Ubuntu): status New Confirmed
2016-05-09 16:22:11 СЛМ 33 bug added subscriber СЛМ 33
2016-05-09 18:17:32 Joseph Salisbury linux (Ubuntu): importance Undecided Medium
2016-05-09 18:17:32 Joseph Salisbury linux (Ubuntu): status Confirmed Incomplete
2016-05-15 14:23:02 Paulo Matias tags amd64 apport-bug xenial amd64 apport-bug kernel-fixed-upstream xenial
2016-05-15 14:23:18 Paulo Matias linux (Ubuntu): status Incomplete Confirmed
2016-05-17 07:25:20 Gary Teh bug added subscriber Gary Teh
2016-05-21 11:30:15 giannis androulidakis linux (Ubuntu): status Confirmed Fix Released
2016-05-21 11:47:05 Paulo Matias linux (Ubuntu): status Fix Released Confirmed
2016-06-05 14:36:08 penalvch tags amd64 apport-bug kernel-fixed-upstream xenial amd64 apport-bug kernel-fixed-upstream kernel-fixed-upstream-4.6-rc7 latest-bios-a06 needs-reverse-bisect xenial
2016-06-05 14:37:03 penalvch linux (Ubuntu): status Confirmed Incomplete
2016-06-05 15:22:43 Paulo Matias tags amd64 apport-bug kernel-fixed-upstream kernel-fixed-upstream-4.6-rc7 latest-bios-a06 needs-reverse-bisect xenial amd64 apport-bug kernel-fixed-upstream kernel-fixed-upstream-4.5.0 latest-bios-a06 needs-reverse-bisect xenial
2016-06-13 14:12:09 Raymond Jelierse bug added subscriber Raymond Jelierse
2016-07-27 06:29:50 Tenten36 bug added subscriber Tenten36
2016-08-01 00:28:19 Alexander bug added subscriber Alexander
2016-08-03 03:47:54 Yuri Ribeiro Sucupira bug added subscriber Yuri Ribeiro Sucupira
2016-08-12 23:35:18 João Paulo Just Peixoto bug added subscriber João Paulo Just Peixoto
2016-08-22 17:58:42 Paulo Matias linux (Ubuntu): status Incomplete Confirmed
2016-08-29 06:41:57 penalvch linux (Ubuntu): status Confirmed Incomplete
2016-10-06 14:28:40 Damon Kropf-Untucht bug added subscriber Damon Kropf-Untucht
2016-10-29 04:17:35 Launchpad Janitor linux (Ubuntu): status Incomplete Expired
2016-10-29 15:42:37 Yuri Ribeiro Sucupira marked as duplicate 1608042
2016-10-29 19:08:15 penalvch removed duplicate marker 1608042
2016-10-29 20:36:35 Paulo Matias linux (Ubuntu): status Expired Incomplete
2016-12-29 04:17:27 Launchpad Janitor linux (Ubuntu): status Incomplete Expired
2016-12-29 07:58:51 Raymond Jelierse removed subscriber Raymond Jelierse
2016-12-29 12:28:12 penalvch tags amd64 apport-bug kernel-fixed-upstream kernel-fixed-upstream-4.5.0 latest-bios-a06 needs-reverse-bisect xenial amd64 apport-bug bios-outdated-a07 kernel-fixed-upstream kernel-fixed-upstream-4.5 needs-reverse-bisect xenial
2016-12-30 18:42:38 penalvch linux (Ubuntu): importance Medium Low
2016-12-30 18:44:44 penalvch 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. 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), has an issue in Xenial where 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. ---[cut]--- $ 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 ]--- WORKAROUND: Kernel http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.5-wily fixes the crashes and oopses. 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.
2016-12-30 20:06:54 penalvch tags amd64 apport-bug bios-outdated-a07 kernel-fixed-upstream kernel-fixed-upstream-4.5 needs-reverse-bisect xenial amd64 apport-bug bios-outdated-a07 kernel-fixed-upstream-4.5 needs-reverse-bisect needs-upstream-testing xenial yakkety
2016-12-30 20:09:21 penalvch 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), has an issue in Xenial where 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. ---[cut]--- $ 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 ]--- WORKAROUND: Kernel http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.5-wily fixes the crashes and oopses. 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. 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), has an issue in Xenial where 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. ---[cut]--- $ 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 ]--- WORKAROUND: Kernel http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.5-wily fixes the crashes and oopses. WORKAROUND: In /etc/default/grub add amdgpu.runpm=0 to: GRUB_CMDLINE_LINUX_DEFAULT In /etc/rc.local add the following command: echo OFF > /sys/kernel/debug/vgaswitcheroo/switch Create the file /etc/X11/xorg.conf if it doesn't exist, and add the following in order to get the backlight controls working: Section "Device" Identifier "Card0" Driver "intel" Option "Backlight" "intel_backlight" EndSection 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.
2017-03-18 12:15:42 Paras Avkirkar bug task added linux