Summary: | unable to handle kernel NULL pointer dereference in dce6_bandwidth_update | ||||||
---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Frederik Himpe <fhimpe> | ||||
Component: | DRM/Radeon | Assignee: | Default DRI bug account <dri-devel> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | major | ||||||
Priority: | medium | ||||||
Version: | XOrg git | ||||||
Hardware: | x86-64 (AMD64) | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Frederik Himpe
2014-11-02 19:33:13 UTC
(In reply to Frederik Himpe from comment #0) > [ 6.440842] BUG: unable to handle kernel NULL pointer dereference at > 0000000000000090 > [ 6.441017] IP: [<ffffffffa04e08c3>] dce6_bandwidth_update+0x43/0x100 > [radeon] > [ 6.441143] PGD 0 > [ 6.441241] Oops: 0000 [#1] SMP > [ 6.441380] Modules linked in: snd_hda_codec_hdmi x86_pkg_temp_thermal > evdev intel_powerclamp snd_hda_codec_realtek iTCO_wdt intel_rapl > iTCO_vendor_support snd_hda_codec_generic acpi_cpufreq(-) coretemp kvm_intel > kvm crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul > glue_helper ablk_helper psmouse cryptd pcspkr serio_raw snd_hda_intel(+) > snd_hda_controller sr_mod sg cdrom radeon(+) snd_hda_codec ttm snd_hwdep > drm_kms_helper snd_pcm nuvoton_cir video intel_smartconnect drm rc_core > battery tpm_tis i2c_algo_bit tpm i2c_i801 snd_timer ehci_pci ehci_hcd snd > i2c_core xhci_hcd mei_me soundcore processor button mei usbcore lpc_ich > ie31200_edac usb_common mfd_core edac_core thermal_sys fuse autofs4 btrfs > xor raid6_pq dm_mod netconsole configfs sd_mod crc_t10dif crct10dif_generic > ahci libahci crct10dif_pclmul crct10dif_common crc32c_intel libata scsi_mod > r8169 mii shpchp > [ 6.445512] CPU: 3 PID: 933 Comm: laptop_mode Not tainted 3.17.2.1 #1 [...] > [ 6.447200] [<ffffffffa04b8ffe>] ? radeon_set_dpm_state+0x6e/0xe0 > [radeon] > [ 6.447255] [<ffffffff81222f23>] ? kernfs_fop_write+0xe3/0x160 > [ 6.447307] [<ffffffff811b0bd2>] ? vfs_write+0xb2/0x1f0 [...] So this is triggered by laptop_mode writing to the dpm_state attribute. Presumably that doesn't happen if the driver fails to initialise at boot (as it will with modeset=0) and is reloaded after booting. Could this be the same bug?: https://bugzilla.kernel.org/show_bug.cgi?id=83611 Created attachment 108842 [details] [review] possible fix Does this patch help? I can confirm that this patch fixes the problem: Linux 3.17.2 boots fine with KMS and laptop-mode-tools enabled. Will this patch be included in Linux 3.18? (In reply to Frederik Himpe from comment #5) > Will this patch be included in Linux 3.18? Yes. It's already upstream: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8efe82ca908400785253c8f0dfcf301e6bd93488 |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.