[Kernel-packages] [Bug 1587885] Re: NULL pointer dereference in radeon drm code
** Tags removed: precise trusty -- 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/1587885 Title: NULL pointer dereference in radeon drm code Status in linux package in Ubuntu: Confirmed Bug description: On one of my systems I use, display connector 0 does not have DDC. This results in the DRM code trying to use radeon_connector->ddc_bus when it is not set. This is known to have been an issue since the 3.2 series kernels. Known Problem Kernels: uBuntu 12.04 LTS (linux-3.2.55), uBuntu-MATE 14.04 LTS (linux-3.16.7) and uBuntu-MATE 16.04 LTS (linux-4.4.8) and linux-4.6.0 (git:/ /git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux). Trying to use the uBuntu-MATE 16.04 LTS LiveCD ubuntu- mate-16.04-desktop-amd64.iso (from uBuntu-MATE website) showed the problem. Using a serial console I extracted the following information when trying to boot from a uBuntu-MATE 16.04 LTS LiveCD USB Stick (it had been upgraded from 4.4.0-21-generic in an attempt to get something usable): [0.00] Linux version 4.4.0-22-generic (buildd@lgw01-41) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2 016 (Ubuntu 4.4.0-22.40-generic 4.4.8) [0.00] Command line: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu-mate.seed boot=casper locale=en_GB console-setup/layoutcode=gb console=u art,io,0x3f8,115200n8 earlyprintk=ttyS0,115200n8 debug --- [0.00] KERNEL supported cpus: [0.00] Intel GenuineIntel [0.00] AMD AuthenticAMD [0.00] Centaur CentaurHauls [0.00] efi: EFI v2.00 by Phoenix Technologies Ltd. [0.00] efi: EFI v2.00 by Phoenix Technologies Ltd. [0.00] efi: [0.00] efi: ACPI=0x973c7000 ACPI=0x973c7000 ACPI 2.0=0x973c7014 ACPI 2.0=0x973c7014 SMBIOS=0x9726b000 SMBIOS=0x9726b000 [0.00] SMBIOS 2.6 present. [0.00] SMBIOS 2.6 present. [0.00] DMI: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [0.00] DMI: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [8.262990] [drm] ib test on ring 5 succeeded [8.288897] [drm] Radeon Display Connectors [8.293175] [drm] Connector 0: [8.296252] [drm] DP-1 [8.298791] [drm] Encoders: [8.301770] [drm] DFP1: INTERNAL_UNIPHY [8.305973] [drm] Connector 1: [8.309043] [drm] DP-2 [8.311598] [drm] HPD2 [8.314169] [drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c [8.321609] [drm] Encoders: [8.324589] [drm] DFP2: INTERNAL_UNIPHY [8.328793] [drm] Connector 2: [8.331856] [drm] VGA-1 [8.332316] scsi 0:0:0:0: Direct-Access SMI USB DISK 1100 PQ: 0 ANSI: 0 CCS [8.342947] [drm] DDC: 0x64d8 0x64d8 0x64dc 0x64dc 0x64e0 0x64e0 0x64e4 0x64e4 [8.350341] [drm] Encoders: [8.353310] [drm] CRT1: INTERNAL_KLDSCP_DAC1 [8.358195] BUG: unable to handle kernel NULL pointer dereference at 0409 [8.366104] IP:[8.367176] sd 0:0:0:0: Attached scsi generic sg1 type 0 [8.368538] sd 0:0:0:0: [sdb] 7831552 512-byte logical blocks: (4.01 GB/3.73 GiB) [8.369421] sd 0:0:0:0: [sdb] Write Protect is off [8.369427] sd 0:0:0:0: [sdb] Mode Sense: 43 00 00 00 [8.370288] sd 0:0:0:0: [sdb] No Caching mode page found [8.370292] sd 0:0:0:0: [sdb] Assuming drive cache: write through [8.374944] sdb: sdb1 [8.378398] sd 0:0:0:0: [sdb] Attached SCSI removable disk [8.409733] [] radeon_dp_getsinktype+0x1a/0x30 [radeon] [8.416805] PGD 0 [8.418841] Oops: [#1] SMP [8.422104] Modules linked in: hid_generic e1000e psmouse amdkfd usbhid uas amd_iommu_v2 ptp radeon(+) pps_core e1000(+) hid i2c_algo_bit ttm drm_kms_helper usb_storage syscopyarea sysfillrect sysimgblt ahci fb_sys_fops libahci drm video fjes [8.444029] CPU: 0 PID: 131 Comm: systemd-udevd Not tainted 4.4.0-22-generic #40-Ubuntu [8.452036] Hardware name: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [8.461708] task: 88014780be80 ti: 880147888000 task.ti: 880147888000 [8.469194] RIP: 0010:[] [] radeon_dp_getsinktype+0x1a/0x30 [radeon] [8.478850] RSP: 0018:88014788b850 EFLAGS: 00010246 [8.484179] RAX: RBX: 88003485f000 RCX: [8.491321] RDX: RSI: 0001 RDI: 88003485f000 [8.498469] RBP: 88014788b850 R08: R09: c004aff6 [8.505602] R10: ead5e540 R11: R12: 0001 [8.506137] e1000 :05:0b.0 eth1: (PCI:33MHz:32-bit) 00:03:1d:09:3b:61 [8.506142] e1000
[Kernel-packages] [Bug 1587885] Re: NULL pointer dereference in radeon drm code
Can you provide some information on the status of the patch with regards to getting it merged upstream? Has it been sent upstream, what sort of feedback has it received, is it getting applied to a subsystem maintainer's tree, etc? People affected by this bug are probably wondering why the kernel team doesn't just apply the patch and fix it. The reason is that the kernel team is reluctant (not opposed) to apply any patch to a stable kernel that is not from upstream. Applying patches that don't come from upstream add greatly to the support of the kernel as other upstream patches may touch the same area as the non-upstream patch and may prevent them from applying cleanly. To submit your patch, send your patch with the detailed description/changelog and your Signoff (ending with Signed-off-by: your name ), to the emails listed from ./scripts/get_maintainer.pl drivers/SUBSYSTEM-DETAILS (the get_maintainer.pl is from the kernel sources). Once you have sent the patch upstream and it's accepted, please drop a note here so that we can cherry-pick/include the patch into Ubuntu kernel. -- 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/1587885 Title: NULL pointer dereference in radeon drm code Status in linux package in Ubuntu: Confirmed Bug description: On one of my systems I use, display connector 0 does not have DDC. This results in the DRM code trying to use radeon_connector->ddc_bus when it is not set. This is known to have been an issue since the 3.2 series kernels. Known Problem Kernels: uBuntu 12.04 LTS (linux-3.2.55), uBuntu-MATE 14.04 LTS (linux-3.16.7) and uBuntu-MATE 16.04 LTS (linux-4.4.8) and linux-4.6.0 (git:/ /git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux). Trying to use the uBuntu-MATE 16.04 LTS LiveCD ubuntu-mate-16.04 -desktop-amd64.iso (from uBuntu-MATE website) showed the problem. Using a serial console I extracted the following information when trying to boot from a uBuntu-MATE 16.04 LTS LiveCD USB Stick (it had been upgraded from 4.4.0-21-generic in an attempt to get something usable): [0.00] Linux version 4.4.0-22-generic (buildd@lgw01-41) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2 016 (Ubuntu 4.4.0-22.40-generic 4.4.8) [0.00] Command line: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu-mate.seed boot=casper locale=en_GB console-setup/layoutcode=gb console=u art,io,0x3f8,115200n8 earlyprintk=ttyS0,115200n8 debug --- [0.00] KERNEL supported cpus: [0.00] Intel GenuineIntel [0.00] AMD AuthenticAMD [0.00] Centaur CentaurHauls [0.00] efi: EFI v2.00 by Phoenix Technologies Ltd. [0.00] efi: EFI v2.00 by Phoenix Technologies Ltd. [0.00] efi: [0.00] efi: ACPI=0x973c7000 ACPI=0x973c7000 ACPI 2.0=0x973c7014 ACPI 2.0=0x973c7014 SMBIOS=0x9726b000 SMBIOS=0x9726b000 [0.00] SMBIOS 2.6 present. [0.00] SMBIOS 2.6 present. [0.00] DMI: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [0.00] DMI: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [8.262990] [drm] ib test on ring 5 succeeded [8.288897] [drm] Radeon Display Connectors [8.293175] [drm] Connector 0: [8.296252] [drm] DP-1 [8.298791] [drm] Encoders: [8.301770] [drm] DFP1: INTERNAL_UNIPHY [8.305973] [drm] Connector 1: [8.309043] [drm] DP-2 [8.311598] [drm] HPD2 [8.314169] [drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c [8.321609] [drm] Encoders: [8.324589] [drm] DFP2: INTERNAL_UNIPHY [8.328793] [drm] Connector 2: [8.331856] [drm] VGA-1 [8.332316] scsi 0:0:0:0: Direct-Access SMI USB DISK 1100 PQ: 0 ANSI: 0 CCS [8.342947] [drm] DDC: 0x64d8 0x64d8 0x64dc 0x64dc 0x64e0 0x64e0 0x64e4 0x64e4 [8.350341] [drm] Encoders: [8.353310] [drm] CRT1: INTERNAL_KLDSCP_DAC1 [8.358195] BUG: unable to handle kernel NULL pointer dereference at 0409 [8.366104] IP:[8.367176] sd 0:0:0:0: Attached scsi generic sg1 type 0 [8.368538] sd 0:0:0:0: [sdb] 7831552 512-byte logical blocks: (4.01 GB/3.73 GiB) [8.369421] sd 0:0:0:0: [sdb] Write Protect is off [8.369427] sd 0:0:0:0: [sdb] Mode Sense: 43 00 00 00 [8.370288] sd 0:0:0:0: [sdb] No Caching mode page found [8.370292] sd 0:0:0:0: [sdb] Assuming drive cache: write through [8.374944] sdb: sdb1 [8.378398] sd 0:0:0:0: [sdb] Attached SCSI removable disk [8.409733] [] radeon_dp_getsinktype+0x1a/0x30 [radeon] [8.416805] PGD 0 [8.418841] Oops: [#1] SMP [8.422104] Modules linked in: hid_generic e1000e psmouse amdkfd
[Kernel-packages] [Bug 1587885] Re: NULL pointer dereference in radeon drm code
Any chance that something is going to happen on this one. Having to patch every kernel update is going to be a real pain if the provided patch or something better does not get into the kernel. -- 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/1587885 Title: NULL pointer dereference in radeon drm code Status in linux package in Ubuntu: Confirmed Bug description: On one of my systems I use, display connector 0 does not have DDC. This results in the DRM code trying to use radeon_connector->ddc_bus when it is not set. This is known to have been an issue since the 3.2 series kernels. Known Problem Kernels: uBuntu 12.04 LTS (linux-3.2.55), uBuntu-MATE 14.04 LTS (linux-3.16.7) and uBuntu-MATE 16.04 LTS (linux-4.4.8) and linux-4.6.0 (git:/ /git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux). Trying to use the uBuntu-MATE 16.04 LTS LiveCD ubuntu-mate-16.04 -desktop-amd64.iso (from uBuntu-MATE website) showed the problem. Using a serial console I extracted the following information when trying to boot from a uBuntu-MATE 16.04 LTS LiveCD USB Stick (it had been upgraded from 4.4.0-21-generic in an attempt to get something usable): [0.00] Linux version 4.4.0-22-generic (buildd@lgw01-41) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2 016 (Ubuntu 4.4.0-22.40-generic 4.4.8) [0.00] Command line: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu-mate.seed boot=casper locale=en_GB console-setup/layoutcode=gb console=u art,io,0x3f8,115200n8 earlyprintk=ttyS0,115200n8 debug --- [0.00] KERNEL supported cpus: [0.00] Intel GenuineIntel [0.00] AMD AuthenticAMD [0.00] Centaur CentaurHauls [0.00] efi: EFI v2.00 by Phoenix Technologies Ltd. [0.00] efi: EFI v2.00 by Phoenix Technologies Ltd. [0.00] efi: [0.00] efi: ACPI=0x973c7000 ACPI=0x973c7000 ACPI 2.0=0x973c7014 ACPI 2.0=0x973c7014 SMBIOS=0x9726b000 SMBIOS=0x9726b000 [0.00] SMBIOS 2.6 present. [0.00] SMBIOS 2.6 present. [0.00] DMI: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [0.00] DMI: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [8.262990] [drm] ib test on ring 5 succeeded [8.288897] [drm] Radeon Display Connectors [8.293175] [drm] Connector 0: [8.296252] [drm] DP-1 [8.298791] [drm] Encoders: [8.301770] [drm] DFP1: INTERNAL_UNIPHY [8.305973] [drm] Connector 1: [8.309043] [drm] DP-2 [8.311598] [drm] HPD2 [8.314169] [drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c [8.321609] [drm] Encoders: [8.324589] [drm] DFP2: INTERNAL_UNIPHY [8.328793] [drm] Connector 2: [8.331856] [drm] VGA-1 [8.332316] scsi 0:0:0:0: Direct-Access SMI USB DISK 1100 PQ: 0 ANSI: 0 CCS [8.342947] [drm] DDC: 0x64d8 0x64d8 0x64dc 0x64dc 0x64e0 0x64e0 0x64e4 0x64e4 [8.350341] [drm] Encoders: [8.353310] [drm] CRT1: INTERNAL_KLDSCP_DAC1 [8.358195] BUG: unable to handle kernel NULL pointer dereference at 0409 [8.366104] IP:[8.367176] sd 0:0:0:0: Attached scsi generic sg1 type 0 [8.368538] sd 0:0:0:0: [sdb] 7831552 512-byte logical blocks: (4.01 GB/3.73 GiB) [8.369421] sd 0:0:0:0: [sdb] Write Protect is off [8.369427] sd 0:0:0:0: [sdb] Mode Sense: 43 00 00 00 [8.370288] sd 0:0:0:0: [sdb] No Caching mode page found [8.370292] sd 0:0:0:0: [sdb] Assuming drive cache: write through [8.374944] sdb: sdb1 [8.378398] sd 0:0:0:0: [sdb] Attached SCSI removable disk [8.409733] [] radeon_dp_getsinktype+0x1a/0x30 [radeon] [8.416805] PGD 0 [8.418841] Oops: [#1] SMP [8.422104] Modules linked in: hid_generic e1000e psmouse amdkfd usbhid uas amd_iommu_v2 ptp radeon(+) pps_core e1000(+) hid i2c_algo_bit ttm drm_kms_helper usb_storage syscopyarea sysfillrect sysimgblt ahci fb_sys_fops libahci drm video fjes [8.444029] CPU: 0 PID: 131 Comm: systemd-udevd Not tainted 4.4.0-22-generic #40-Ubuntu [8.452036] Hardware name: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [8.461708] task: 88014780be80 ti: 880147888000 task.ti: 880147888000 [8.469194] RIP: 0010:[] [] radeon_dp_getsinktype+0x1a/0x30 [radeon] [8.478850] RSP: 0018:88014788b850 EFLAGS: 00010246 [8.484179] RAX: RBX: 88003485f000 RCX: [8.491321] RDX: RSI: 0001 RDI: 88003485f000 [8.498469] RBP: 88014788b850 R08: R09: c004aff6 [8.505602] R10:
[Kernel-packages] [Bug 1587885] Re: NULL pointer dereference in radeon drm code
http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7-rc1-yakkety/ does not get to boot. It can't find root filing system on SATA SSD. http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7-rc2-yakkety/ boots and has the issue. See attached serial console log. ** Attachment added: "Serial Console Log" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1587885/+attachment/4679276/+files/log ** Tags added: kernel-bug-exists-upstream -- 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/1587885 Title: NULL pointer dereference in radeon drm code Status in linux package in Ubuntu: Confirmed Bug description: On one of my systems I use, display connector 0 does not have DDC. This results in the DRM code trying to use radeon_connector->ddc_bus when it is not set. This is known to have been an issue since the 3.2 series kernels. Known Problem Kernels: uBuntu 12.04 LTS (linux-3.2.55), uBuntu-MATE 14.04 LTS (linux-3.16.7) and uBuntu-MATE 16.04 LTS (linux-4.4.8) and linux-4.6.0 (git:/ /git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux). Trying to use the uBuntu-MATE 16.04 LTS LiveCD ubuntu-mate-16.04 -desktop-amd64.iso (from uBuntu-MATE website) showed the problem. Using a serial console I extracted the following information when trying to boot from a uBuntu-MATE 16.04 LTS LiveCD USB Stick (it had been upgraded from 4.4.0-21-generic in an attempt to get something usable): [0.00] Linux version 4.4.0-22-generic (buildd@lgw01-41) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2 016 (Ubuntu 4.4.0-22.40-generic 4.4.8) [0.00] Command line: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu-mate.seed boot=casper locale=en_GB console-setup/layoutcode=gb console=u art,io,0x3f8,115200n8 earlyprintk=ttyS0,115200n8 debug --- [0.00] KERNEL supported cpus: [0.00] Intel GenuineIntel [0.00] AMD AuthenticAMD [0.00] Centaur CentaurHauls [0.00] efi: EFI v2.00 by Phoenix Technologies Ltd. [0.00] efi: EFI v2.00 by Phoenix Technologies Ltd. [0.00] efi: [0.00] efi: ACPI=0x973c7000 ACPI=0x973c7000 ACPI 2.0=0x973c7014 ACPI 2.0=0x973c7014 SMBIOS=0x9726b000 SMBIOS=0x9726b000 [0.00] SMBIOS 2.6 present. [0.00] SMBIOS 2.6 present. [0.00] DMI: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [0.00] DMI: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [8.262990] [drm] ib test on ring 5 succeeded [8.288897] [drm] Radeon Display Connectors [8.293175] [drm] Connector 0: [8.296252] [drm] DP-1 [8.298791] [drm] Encoders: [8.301770] [drm] DFP1: INTERNAL_UNIPHY [8.305973] [drm] Connector 1: [8.309043] [drm] DP-2 [8.311598] [drm] HPD2 [8.314169] [drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c [8.321609] [drm] Encoders: [8.324589] [drm] DFP2: INTERNAL_UNIPHY [8.328793] [drm] Connector 2: [8.331856] [drm] VGA-1 [8.332316] scsi 0:0:0:0: Direct-Access SMI USB DISK 1100 PQ: 0 ANSI: 0 CCS [8.342947] [drm] DDC: 0x64d8 0x64d8 0x64dc 0x64dc 0x64e0 0x64e0 0x64e4 0x64e4 [8.350341] [drm] Encoders: [8.353310] [drm] CRT1: INTERNAL_KLDSCP_DAC1 [8.358195] BUG: unable to handle kernel NULL pointer dereference at 0409 [8.366104] IP:[8.367176] sd 0:0:0:0: Attached scsi generic sg1 type 0 [8.368538] sd 0:0:0:0: [sdb] 7831552 512-byte logical blocks: (4.01 GB/3.73 GiB) [8.369421] sd 0:0:0:0: [sdb] Write Protect is off [8.369427] sd 0:0:0:0: [sdb] Mode Sense: 43 00 00 00 [8.370288] sd 0:0:0:0: [sdb] No Caching mode page found [8.370292] sd 0:0:0:0: [sdb] Assuming drive cache: write through [8.374944] sdb: sdb1 [8.378398] sd 0:0:0:0: [sdb] Attached SCSI removable disk [8.409733] [] radeon_dp_getsinktype+0x1a/0x30 [radeon] [8.416805] PGD 0 [8.418841] Oops: [#1] SMP [8.422104] Modules linked in: hid_generic e1000e psmouse amdkfd usbhid uas amd_iommu_v2 ptp radeon(+) pps_core e1000(+) hid i2c_algo_bit ttm drm_kms_helper usb_storage syscopyarea sysfillrect sysimgblt ahci fb_sys_fops libahci drm video fjes [8.444029] CPU: 0 PID: 131 Comm: systemd-udevd Not tainted 4.4.0-22-generic #40-Ubuntu [8.452036] Hardware name: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [8.461708] task: 88014780be80 ti: 880147888000 task.ti: 880147888000 [8.469194] RIP: 0010:[] [] radeon_dp_getsinktype+0x1a/0x30 [radeon] [8.478850] RSP: 0018:88014788b850 EFLAGS: 00010246 [8.484179] RAX: RBX:
[Kernel-packages] [Bug 1587885] Re: NULL pointer dereference in radeon drm code
Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.7-rc1 kernel[0]. If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'. If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'. Once testing of the upstream kernel is complete, please mark this bug as "Confirmed". Thanks in advance. [0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7-rc1-yakkety/ ** Tags added: kernel-da-key -- 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/1587885 Title: NULL pointer dereference in radeon drm code Status in linux package in Ubuntu: Confirmed Bug description: On one of my systems I use, display connector 0 does not have DDC. This results in the DRM code trying to use radeon_connector->ddc_bus when it is not set. This is known to have been an issue since the 3.2 series kernels. Known Problem Kernels: uBuntu 12.04 LTS (linux-3.2.55), uBuntu-MATE 14.04 LTS (linux-3.16.7) and uBuntu-MATE 16.04 LTS (linux-4.4.8) and linux-4.6.0 (git:/ /git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux). Trying to use the uBuntu-MATE 16.04 LTS LiveCD ubuntu-mate-16.04 -desktop-amd64.iso (from uBuntu-MATE website) showed the problem. Using a serial console I extracted the following information when trying to boot from a uBuntu-MATE 16.04 LTS LiveCD USB Stick (it had been upgraded from 4.4.0-21-generic in an attempt to get something usable): [0.00] Linux version 4.4.0-22-generic (buildd@lgw01-41) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2 016 (Ubuntu 4.4.0-22.40-generic 4.4.8) [0.00] Command line: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu-mate.seed boot=casper locale=en_GB console-setup/layoutcode=gb console=u art,io,0x3f8,115200n8 earlyprintk=ttyS0,115200n8 debug --- [0.00] KERNEL supported cpus: [0.00] Intel GenuineIntel [0.00] AMD AuthenticAMD [0.00] Centaur CentaurHauls [0.00] efi: EFI v2.00 by Phoenix Technologies Ltd. [0.00] efi: EFI v2.00 by Phoenix Technologies Ltd. [0.00] efi: [0.00] efi: ACPI=0x973c7000 ACPI=0x973c7000 ACPI 2.0=0x973c7014 ACPI 2.0=0x973c7014 SMBIOS=0x9726b000 SMBIOS=0x9726b000 [0.00] SMBIOS 2.6 present. [0.00] SMBIOS 2.6 present. [0.00] DMI: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [0.00] DMI: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [8.262990] [drm] ib test on ring 5 succeeded [8.288897] [drm] Radeon Display Connectors [8.293175] [drm] Connector 0: [8.296252] [drm] DP-1 [8.298791] [drm] Encoders: [8.301770] [drm] DFP1: INTERNAL_UNIPHY [8.305973] [drm] Connector 1: [8.309043] [drm] DP-2 [8.311598] [drm] HPD2 [8.314169] [drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c [8.321609] [drm] Encoders: [8.324589] [drm] DFP2: INTERNAL_UNIPHY [8.328793] [drm] Connector 2: [8.331856] [drm] VGA-1 [8.332316] scsi 0:0:0:0: Direct-Access SMI USB DISK 1100 PQ: 0 ANSI: 0 CCS [8.342947] [drm] DDC: 0x64d8 0x64d8 0x64dc 0x64dc 0x64e0 0x64e0 0x64e4 0x64e4 [8.350341] [drm] Encoders: [8.353310] [drm] CRT1: INTERNAL_KLDSCP_DAC1 [8.358195] BUG: unable to handle kernel NULL pointer dereference at 0409 [8.366104] IP:[8.367176] sd 0:0:0:0: Attached scsi generic sg1 type 0 [8.368538] sd 0:0:0:0: [sdb] 7831552 512-byte logical blocks: (4.01 GB/3.73 GiB) [8.369421] sd 0:0:0:0: [sdb] Write Protect is off [8.369427] sd 0:0:0:0: [sdb] Mode Sense: 43 00 00 00 [8.370288] sd 0:0:0:0: [sdb] No Caching mode page found [8.370292] sd 0:0:0:0: [sdb] Assuming drive cache: write through [8.374944] sdb: sdb1 [8.378398] sd 0:0:0:0: [sdb] Attached SCSI removable disk [8.409733] [] radeon_dp_getsinktype+0x1a/0x30 [radeon] [8.416805] PGD 0 [8.418841] Oops: [#1] SMP [8.422104] Modules linked in: hid_generic e1000e psmouse amdkfd usbhid uas amd_iommu_v2 ptp radeon(+) pps_core e1000(+) hid i2c_algo_bit ttm drm_kms_helper usb_storage syscopyarea sysfillrect sysimgblt ahci fb_sys_fops libahci drm video fjes [8.444029] CPU: 0 PID: 131 Comm: systemd-udevd Not tainted 4.4.0-22-generic #40-Ubuntu [8.452036] Hardware name: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [8.461708] task: 88014780be80 ti: 880147888000 task.ti: 880147888000 [8.469194] RIP: 0010:[] []
[Kernel-packages] [Bug 1587885] Re: NULL pointer dereference in radeon drm code
** Tags added: precise trusty -- 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/1587885 Title: NULL pointer dereference in radeon drm code Status in linux package in Ubuntu: Confirmed Bug description: On one of my systems I use, display connector 0 does not have DDC. This results in the DRM code trying to use radeon_connector->ddc_bus when it is not set. This is known to have been an issue since the 3.2 series kernels. Known Problem Kernels: uBuntu 12.04 LTS (linux-3.2.55), uBuntu-MATE 14.04 LTS (linux-3.16.7) and uBuntu-MATE 16.04 LTS (linux-4.4.8) and linux-4.6.0 (git:/ /git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux). Trying to use the uBuntu-MATE 16.04 LTS LiveCD ubuntu-mate-16.04 -desktop-amd64.iso (from uBuntu-MATE website) showed the problem. Using a serial console I extracted the following information when trying to boot from a uBuntu-MATE 16.04 LTS LiveCD USB Stick (it had been upgraded from 4.4.0-21-generic in an attempt to get something usable): [0.00] Linux version 4.4.0-22-generic (buildd@lgw01-41) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2 016 (Ubuntu 4.4.0-22.40-generic 4.4.8) [0.00] Command line: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu-mate.seed boot=casper locale=en_GB console-setup/layoutcode=gb console=u art,io,0x3f8,115200n8 earlyprintk=ttyS0,115200n8 debug --- [0.00] KERNEL supported cpus: [0.00] Intel GenuineIntel [0.00] AMD AuthenticAMD [0.00] Centaur CentaurHauls [0.00] efi: EFI v2.00 by Phoenix Technologies Ltd. [0.00] efi: EFI v2.00 by Phoenix Technologies Ltd. [0.00] efi: [0.00] efi: ACPI=0x973c7000 ACPI=0x973c7000 ACPI 2.0=0x973c7014 ACPI 2.0=0x973c7014 SMBIOS=0x9726b000 SMBIOS=0x9726b000 [0.00] SMBIOS 2.6 present. [0.00] SMBIOS 2.6 present. [0.00] DMI: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [0.00] DMI: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [8.262990] [drm] ib test on ring 5 succeeded [8.288897] [drm] Radeon Display Connectors [8.293175] [drm] Connector 0: [8.296252] [drm] DP-1 [8.298791] [drm] Encoders: [8.301770] [drm] DFP1: INTERNAL_UNIPHY [8.305973] [drm] Connector 1: [8.309043] [drm] DP-2 [8.311598] [drm] HPD2 [8.314169] [drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c [8.321609] [drm] Encoders: [8.324589] [drm] DFP2: INTERNAL_UNIPHY [8.328793] [drm] Connector 2: [8.331856] [drm] VGA-1 [8.332316] scsi 0:0:0:0: Direct-Access SMI USB DISK 1100 PQ: 0 ANSI: 0 CCS [8.342947] [drm] DDC: 0x64d8 0x64d8 0x64dc 0x64dc 0x64e0 0x64e0 0x64e4 0x64e4 [8.350341] [drm] Encoders: [8.353310] [drm] CRT1: INTERNAL_KLDSCP_DAC1 [8.358195] BUG: unable to handle kernel NULL pointer dereference at 0409 [8.366104] IP:[8.367176] sd 0:0:0:0: Attached scsi generic sg1 type 0 [8.368538] sd 0:0:0:0: [sdb] 7831552 512-byte logical blocks: (4.01 GB/3.73 GiB) [8.369421] sd 0:0:0:0: [sdb] Write Protect is off [8.369427] sd 0:0:0:0: [sdb] Mode Sense: 43 00 00 00 [8.370288] sd 0:0:0:0: [sdb] No Caching mode page found [8.370292] sd 0:0:0:0: [sdb] Assuming drive cache: write through [8.374944] sdb: sdb1 [8.378398] sd 0:0:0:0: [sdb] Attached SCSI removable disk [8.409733] [] radeon_dp_getsinktype+0x1a/0x30 [radeon] [8.416805] PGD 0 [8.418841] Oops: [#1] SMP [8.422104] Modules linked in: hid_generic e1000e psmouse amdkfd usbhid uas amd_iommu_v2 ptp radeon(+) pps_core e1000(+) hid i2c_algo_bit ttm drm_kms_helper usb_storage syscopyarea sysfillrect sysimgblt ahci fb_sys_fops libahci drm video fjes [8.444029] CPU: 0 PID: 131 Comm: systemd-udevd Not tainted 4.4.0-22-generic #40-Ubuntu [8.452036] Hardware name: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [8.461708] task: 88014780be80 ti: 880147888000 task.ti: 880147888000 [8.469194] RIP: 0010:[] [] radeon_dp_getsinktype+0x1a/0x30 [radeon] [8.478850] RSP: 0018:88014788b850 EFLAGS: 00010246 [8.484179] RAX: RBX: 88003485f000 RCX: [8.491321] RDX: RSI: 0001 RDI: 88003485f000 [8.498469] RBP: 88014788b850 R08: R09: c004aff6 [8.505602] R10: ead5e540 R11: R12: 0001 [8.506137] e1000 :05:0b.0 eth1: (PCI:33MHz:32-bit) 00:03:1d:09:3b:61 [8.506142] e1000 :05:0b.0
[Kernel-packages] [Bug 1587885] Re: NULL pointer dereference in radeon drm code
** Changed in: linux (Ubuntu) Importance: Undecided => High -- 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/1587885 Title: NULL pointer dereference in radeon drm code Status in linux package in Ubuntu: Confirmed Bug description: On one of my systems I use, display connector 0 does not have DDC. This results in the DRM code trying to use radeon_connector->ddc_bus when it is not set. This is known to have been an issue since the 3.2 series kernels. Known Problem Kernels: uBuntu 12.04 LTS (linux-3.2.55), uBuntu-MATE 14.04 LTS (linux-3.16.7) and uBuntu-MATE 16.04 LTS (linux-4.4.8) and linux-4.6.0 (git:/ /git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux). Trying to use the uBuntu-MATE 16.04 LTS LiveCD ubuntu-mate-16.04 -desktop-amd64.iso (from uBuntu-MATE website) showed the problem. Using a serial console I extracted the following information when trying to boot from a uBuntu-MATE 16.04 LTS LiveCD USB Stick (it had been upgraded from 4.4.0-21-generic in an attempt to get something usable): [0.00] Linux version 4.4.0-22-generic (buildd@lgw01-41) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2 016 (Ubuntu 4.4.0-22.40-generic 4.4.8) [0.00] Command line: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu-mate.seed boot=casper locale=en_GB console-setup/layoutcode=gb console=u art,io,0x3f8,115200n8 earlyprintk=ttyS0,115200n8 debug --- [0.00] KERNEL supported cpus: [0.00] Intel GenuineIntel [0.00] AMD AuthenticAMD [0.00] Centaur CentaurHauls [0.00] efi: EFI v2.00 by Phoenix Technologies Ltd. [0.00] efi: EFI v2.00 by Phoenix Technologies Ltd. [0.00] efi: [0.00] efi: ACPI=0x973c7000 ACPI=0x973c7000 ACPI 2.0=0x973c7014 ACPI 2.0=0x973c7014 SMBIOS=0x9726b000 SMBIOS=0x9726b000 [0.00] SMBIOS 2.6 present. [0.00] SMBIOS 2.6 present. [0.00] DMI: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [0.00] DMI: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [8.262990] [drm] ib test on ring 5 succeeded [8.288897] [drm] Radeon Display Connectors [8.293175] [drm] Connector 0: [8.296252] [drm] DP-1 [8.298791] [drm] Encoders: [8.301770] [drm] DFP1: INTERNAL_UNIPHY [8.305973] [drm] Connector 1: [8.309043] [drm] DP-2 [8.311598] [drm] HPD2 [8.314169] [drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c [8.321609] [drm] Encoders: [8.324589] [drm] DFP2: INTERNAL_UNIPHY [8.328793] [drm] Connector 2: [8.331856] [drm] VGA-1 [8.332316] scsi 0:0:0:0: Direct-Access SMI USB DISK 1100 PQ: 0 ANSI: 0 CCS [8.342947] [drm] DDC: 0x64d8 0x64d8 0x64dc 0x64dc 0x64e0 0x64e0 0x64e4 0x64e4 [8.350341] [drm] Encoders: [8.353310] [drm] CRT1: INTERNAL_KLDSCP_DAC1 [8.358195] BUG: unable to handle kernel NULL pointer dereference at 0409 [8.366104] IP:[8.367176] sd 0:0:0:0: Attached scsi generic sg1 type 0 [8.368538] sd 0:0:0:0: [sdb] 7831552 512-byte logical blocks: (4.01 GB/3.73 GiB) [8.369421] sd 0:0:0:0: [sdb] Write Protect is off [8.369427] sd 0:0:0:0: [sdb] Mode Sense: 43 00 00 00 [8.370288] sd 0:0:0:0: [sdb] No Caching mode page found [8.370292] sd 0:0:0:0: [sdb] Assuming drive cache: write through [8.374944] sdb: sdb1 [8.378398] sd 0:0:0:0: [sdb] Attached SCSI removable disk [8.409733] [] radeon_dp_getsinktype+0x1a/0x30 [radeon] [8.416805] PGD 0 [8.418841] Oops: [#1] SMP [8.422104] Modules linked in: hid_generic e1000e psmouse amdkfd usbhid uas amd_iommu_v2 ptp radeon(+) pps_core e1000(+) hid i2c_algo_bit ttm drm_kms_helper usb_storage syscopyarea sysfillrect sysimgblt ahci fb_sys_fops libahci drm video fjes [8.444029] CPU: 0 PID: 131 Comm: systemd-udevd Not tainted 4.4.0-22-generic #40-Ubuntu [8.452036] Hardware name: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [8.461708] task: 88014780be80 ti: 880147888000 task.ti: 880147888000 [8.469194] RIP: 0010:[] [] radeon_dp_getsinktype+0x1a/0x30 [radeon] [8.478850] RSP: 0018:88014788b850 EFLAGS: 00010246 [8.484179] RAX: RBX: 88003485f000 RCX: [8.491321] RDX: RSI: 0001 RDI: 88003485f000 [8.498469] RBP: 88014788b850 R08: R09: c004aff6 [8.505602] R10: ead5e540 R11: R12: 0001 [8.506137] e1000 :05:0b.0 eth1: (PCI:33MHz:32-bit) 00:03:1d:09:3b:61 [
[Kernel-packages] [Bug 1587885] Re: NULL pointer dereference in radeon drm code
** Tags added: patch -- 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/1587885 Title: NULL pointer dereference in radeon drm code Status in linux package in Ubuntu: Confirmed Bug description: On one of my systems I use, display connector 0 does not have DDC. This results in the DRM code trying to use radeon_connector->ddc_bus when it is not set. This is known to have been an issue since the 3.2 series kernels. Known Problem Kernels: uBuntu 12.04 LTS (linux-3.2.55), uBuntu-MATE 14.04 LTS (linux-3.16.7) and uBuntu-MATE 16.04 LTS (linux-4.4.8) and linux-4.6.0 (git:/ /git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux). Trying to use the uBuntu-MATE 16.04 LTS LiveCD ubuntu-mate-16.04 -desktop-amd64.iso (from uBuntu-MATE website) showed the problem. Using a serial console I extracted the following information when trying to boot from a uBuntu-MATE 16.04 LTS LiveCD USB Stick (it had been upgraded from 4.4.0-21-generic in an attempt to get something usable): [0.00] Linux version 4.4.0-22-generic (buildd@lgw01-41) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2 016 (Ubuntu 4.4.0-22.40-generic 4.4.8) [0.00] Command line: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu-mate.seed boot=casper locale=en_GB console-setup/layoutcode=gb console=u art,io,0x3f8,115200n8 earlyprintk=ttyS0,115200n8 debug --- [0.00] KERNEL supported cpus: [0.00] Intel GenuineIntel [0.00] AMD AuthenticAMD [0.00] Centaur CentaurHauls [0.00] efi: EFI v2.00 by Phoenix Technologies Ltd. [0.00] efi: EFI v2.00 by Phoenix Technologies Ltd. [0.00] efi: [0.00] efi: ACPI=0x973c7000 ACPI=0x973c7000 ACPI 2.0=0x973c7014 ACPI 2.0=0x973c7014 SMBIOS=0x9726b000 SMBIOS=0x9726b000 [0.00] SMBIOS 2.6 present. [0.00] SMBIOS 2.6 present. [0.00] DMI: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [0.00] DMI: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [8.262990] [drm] ib test on ring 5 succeeded [8.288897] [drm] Radeon Display Connectors [8.293175] [drm] Connector 0: [8.296252] [drm] DP-1 [8.298791] [drm] Encoders: [8.301770] [drm] DFP1: INTERNAL_UNIPHY [8.305973] [drm] Connector 1: [8.309043] [drm] DP-2 [8.311598] [drm] HPD2 [8.314169] [drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c [8.321609] [drm] Encoders: [8.324589] [drm] DFP2: INTERNAL_UNIPHY [8.328793] [drm] Connector 2: [8.331856] [drm] VGA-1 [8.332316] scsi 0:0:0:0: Direct-Access SMI USB DISK 1100 PQ: 0 ANSI: 0 CCS [8.342947] [drm] DDC: 0x64d8 0x64d8 0x64dc 0x64dc 0x64e0 0x64e0 0x64e4 0x64e4 [8.350341] [drm] Encoders: [8.353310] [drm] CRT1: INTERNAL_KLDSCP_DAC1 [8.358195] BUG: unable to handle kernel NULL pointer dereference at 0409 [8.366104] IP:[8.367176] sd 0:0:0:0: Attached scsi generic sg1 type 0 [8.368538] sd 0:0:0:0: [sdb] 7831552 512-byte logical blocks: (4.01 GB/3.73 GiB) [8.369421] sd 0:0:0:0: [sdb] Write Protect is off [8.369427] sd 0:0:0:0: [sdb] Mode Sense: 43 00 00 00 [8.370288] sd 0:0:0:0: [sdb] No Caching mode page found [8.370292] sd 0:0:0:0: [sdb] Assuming drive cache: write through [8.374944] sdb: sdb1 [8.378398] sd 0:0:0:0: [sdb] Attached SCSI removable disk [8.409733] [] radeon_dp_getsinktype+0x1a/0x30 [radeon] [8.416805] PGD 0 [8.418841] Oops: [#1] SMP [8.422104] Modules linked in: hid_generic e1000e psmouse amdkfd usbhid uas amd_iommu_v2 ptp radeon(+) pps_core e1000(+) hid i2c_algo_bit ttm drm_kms_helper usb_storage syscopyarea sysfillrect sysimgblt ahci fb_sys_fops libahci drm video fjes [8.444029] CPU: 0 PID: 131 Comm: systemd-udevd Not tainted 4.4.0-22-generic #40-Ubuntu [8.452036] Hardware name: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [8.461708] task: 88014780be80 ti: 880147888000 task.ti: 880147888000 [8.469194] RIP: 0010:[] [] radeon_dp_getsinktype+0x1a/0x30 [radeon] [8.478850] RSP: 0018:88014788b850 EFLAGS: 00010246 [8.484179] RAX: RBX: 88003485f000 RCX: [8.491321] RDX: RSI: 0001 RDI: 88003485f000 [8.498469] RBP: 88014788b850 R08: R09: c004aff6 [8.505602] R10: ead5e540 R11: R12: 0001 [8.506137] e1000 :05:0b.0 eth1: (PCI:33MHz:32-bit) 00:03:1d:09:3b:61 [8.506142] e1000 :05:0b.0 eth1:
[Kernel-packages] [Bug 1587885] Re: NULL pointer dereference in radeon drm code
The appport information was extracted after booting with a modified kernel as unmodified kernels crash. ** Changed in: linux (Ubuntu) Status: Incomplete => 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/1587885 Title: NULL pointer dereference in radeon drm code Status in linux package in Ubuntu: Confirmed Bug description: On one of my systems I use, display connector 0 does not have DDC. This results in the DRM code trying to use radeon_connector->ddc_bus when it is not set. This is known to have been an issue since the 3.2 series kernels. Known Problem Kernels: uBuntu 12.04 LTS (linux-3.2.55), uBuntu-MATE 14.04 LTS (linux-3.16.7) and uBuntu-MATE 16.04 LTS (linux-4.4.8) and linux-4.6.0 (git:/ /git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux). Trying to use the uBuntu-MATE 16.04 LTS LiveCD ubuntu-mate-16.04 -desktop-amd64.iso (from uBuntu-MATE website) showed the problem. Using a serial console I extracted the following information when trying to boot from a uBuntu-MATE 16.04 LTS LiveCD USB Stick (it had been upgraded from 4.4.0-21-generic in an attempt to get something usable): [0.00] Linux version 4.4.0-22-generic (buildd@lgw01-41) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2 016 (Ubuntu 4.4.0-22.40-generic 4.4.8) [0.00] Command line: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu-mate.seed boot=casper locale=en_GB console-setup/layoutcode=gb console=u art,io,0x3f8,115200n8 earlyprintk=ttyS0,115200n8 debug --- [0.00] KERNEL supported cpus: [0.00] Intel GenuineIntel [0.00] AMD AuthenticAMD [0.00] Centaur CentaurHauls [0.00] efi: EFI v2.00 by Phoenix Technologies Ltd. [0.00] efi: EFI v2.00 by Phoenix Technologies Ltd. [0.00] efi: [0.00] efi: ACPI=0x973c7000 ACPI=0x973c7000 ACPI 2.0=0x973c7014 ACPI 2.0=0x973c7014 SMBIOS=0x9726b000 SMBIOS=0x9726b000 [0.00] SMBIOS 2.6 present. [0.00] SMBIOS 2.6 present. [0.00] DMI: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [0.00] DMI: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [8.262990] [drm] ib test on ring 5 succeeded [8.288897] [drm] Radeon Display Connectors [8.293175] [drm] Connector 0: [8.296252] [drm] DP-1 [8.298791] [drm] Encoders: [8.301770] [drm] DFP1: INTERNAL_UNIPHY [8.305973] [drm] Connector 1: [8.309043] [drm] DP-2 [8.311598] [drm] HPD2 [8.314169] [drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c [8.321609] [drm] Encoders: [8.324589] [drm] DFP2: INTERNAL_UNIPHY [8.328793] [drm] Connector 2: [8.331856] [drm] VGA-1 [8.332316] scsi 0:0:0:0: Direct-Access SMI USB DISK 1100 PQ: 0 ANSI: 0 CCS [8.342947] [drm] DDC: 0x64d8 0x64d8 0x64dc 0x64dc 0x64e0 0x64e0 0x64e4 0x64e4 [8.350341] [drm] Encoders: [8.353310] [drm] CRT1: INTERNAL_KLDSCP_DAC1 [8.358195] BUG: unable to handle kernel NULL pointer dereference at 0409 [8.366104] IP:[8.367176] sd 0:0:0:0: Attached scsi generic sg1 type 0 [8.368538] sd 0:0:0:0: [sdb] 7831552 512-byte logical blocks: (4.01 GB/3.73 GiB) [8.369421] sd 0:0:0:0: [sdb] Write Protect is off [8.369427] sd 0:0:0:0: [sdb] Mode Sense: 43 00 00 00 [8.370288] sd 0:0:0:0: [sdb] No Caching mode page found [8.370292] sd 0:0:0:0: [sdb] Assuming drive cache: write through [8.374944] sdb: sdb1 [8.378398] sd 0:0:0:0: [sdb] Attached SCSI removable disk [8.409733] [] radeon_dp_getsinktype+0x1a/0x30 [radeon] [8.416805] PGD 0 [8.418841] Oops: [#1] SMP [8.422104] Modules linked in: hid_generic e1000e psmouse amdkfd usbhid uas amd_iommu_v2 ptp radeon(+) pps_core e1000(+) hid i2c_algo_bit ttm drm_kms_helper usb_storage syscopyarea sysfillrect sysimgblt ahci fb_sys_fops libahci drm video fjes [8.444029] CPU: 0 PID: 131 Comm: systemd-udevd Not tainted 4.4.0-22-generic #40-Ubuntu [8.452036] Hardware name: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [8.461708] task: 88014780be80 ti: 880147888000 task.ti: 880147888000 [8.469194] RIP: 0010:[] [] radeon_dp_getsinktype+0x1a/0x30 [radeon] [8.478850] RSP: 0018:88014788b850 EFLAGS: 00010246 [8.484179] RAX: RBX: 88003485f000 RCX: [8.491321] RDX: RSI: 0001 RDI: 88003485f000 [8.498469] RBP: 88014788b850 R08: R09: c004aff6 [8.505602] R10: ead5e540 R11:
[Kernel-packages] [Bug 1587885] Re: NULL pointer dereference in radeon drm code
apport information ** Tags added: apport-collected xenial ** Description changed: On one of my systems I use, display connector 0 does not have DDC. This results in the DRM code trying to use radeon_connector->ddc_bus when it is not set. This is known to have been an issue since the 3.2 series kernels. Known Problem Kernels: uBuntu 12.04 LTS (linux-3.2.55), uBuntu-MATE 14.04 LTS (linux-3.16.7) and uBuntu-MATE 16.04 LTS (linux-4.4.8) and linux-4.6.0 (git:/ /git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux). Trying to use the uBuntu-MATE 16.04 LTS LiveCD ubuntu-mate-16.04 -desktop-amd64.iso (from uBuntu-MATE website) showed the problem. Using a serial console I extracted the following information when trying to boot from a uBuntu-MATE 16.04 LTS LiveCD USB Stick (it had been upgraded from 4.4.0-21-generic in an attempt to get something usable): [0.00] Linux version 4.4.0-22-generic (buildd@lgw01-41) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2 016 (Ubuntu 4.4.0-22.40-generic 4.4.8) [0.00] Command line: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu-mate.seed boot=casper locale=en_GB console-setup/layoutcode=gb console=u art,io,0x3f8,115200n8 earlyprintk=ttyS0,115200n8 debug --- [0.00] KERNEL supported cpus: [0.00] Intel GenuineIntel [0.00] AMD AuthenticAMD [0.00] Centaur CentaurHauls [0.00] efi: EFI v2.00 by Phoenix Technologies Ltd. [0.00] efi: EFI v2.00 by Phoenix Technologies Ltd. [0.00] efi: [0.00] efi: ACPI=0x973c7000 ACPI=0x973c7000 ACPI 2.0=0x973c7014 ACPI 2.0=0x973c7014 SMBIOS=0x9726b000 SMBIOS=0x9726b000 [0.00] SMBIOS 2.6 present. [0.00] SMBIOS 2.6 present. [0.00] DMI: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [0.00] DMI: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [8.262990] [drm] ib test on ring 5 succeeded [8.288897] [drm] Radeon Display Connectors [8.293175] [drm] Connector 0: [8.296252] [drm] DP-1 [8.298791] [drm] Encoders: [8.301770] [drm] DFP1: INTERNAL_UNIPHY [8.305973] [drm] Connector 1: [8.309043] [drm] DP-2 [8.311598] [drm] HPD2 [8.314169] [drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c [8.321609] [drm] Encoders: [8.324589] [drm] DFP2: INTERNAL_UNIPHY [8.328793] [drm] Connector 2: [8.331856] [drm] VGA-1 [8.332316] scsi 0:0:0:0: Direct-Access SMI USB DISK 1100 PQ: 0 ANSI: 0 CCS [8.342947] [drm] DDC: 0x64d8 0x64d8 0x64dc 0x64dc 0x64e0 0x64e0 0x64e4 0x64e4 [8.350341] [drm] Encoders: [8.353310] [drm] CRT1: INTERNAL_KLDSCP_DAC1 [8.358195] BUG: unable to handle kernel NULL pointer dereference at 0409 [8.366104] IP:[8.367176] sd 0:0:0:0: Attached scsi generic sg1 type 0 [8.368538] sd 0:0:0:0: [sdb] 7831552 512-byte logical blocks: (4.01 GB/3.73 GiB) [8.369421] sd 0:0:0:0: [sdb] Write Protect is off [8.369427] sd 0:0:0:0: [sdb] Mode Sense: 43 00 00 00 [8.370288] sd 0:0:0:0: [sdb] No Caching mode page found [8.370292] sd 0:0:0:0: [sdb] Assuming drive cache: write through [8.374944] sdb: sdb1 [8.378398] sd 0:0:0:0: [sdb] Attached SCSI removable disk [8.409733] [] radeon_dp_getsinktype+0x1a/0x30 [radeon] [8.416805] PGD 0 [8.418841] Oops: [#1] SMP [8.422104] Modules linked in: hid_generic e1000e psmouse amdkfd usbhid uas amd_iommu_v2 ptp radeon(+) pps_core e1000(+) hid i2c_algo_bit ttm drm_kms_helper usb_storage syscopyarea sysfillrect sysimgblt ahci fb_sys_fops libahci drm video fjes [8.444029] CPU: 0 PID: 131 Comm: systemd-udevd Not tainted 4.4.0-22-generic #40-Ubuntu [8.452036] Hardware name: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [8.461708] task: 88014780be80 ti: 880147888000 task.ti: 880147888000 [8.469194] RIP: 0010:[] [] radeon_dp_getsinktype+0x1a/0x30 [radeon] [8.478850] RSP: 0018:88014788b850 EFLAGS: 00010246 [8.484179] RAX: RBX: 88003485f000 RCX: [8.491321] RDX: RSI: 0001 RDI: 88003485f000 [8.498469] RBP: 88014788b850 R08: R09: c004aff6 [8.505602] R10: ead5e540 R11: R12: 0001 [8.506137] e1000 :05:0b.0 eth1: (PCI:33MHz:32-bit) 00:03:1d:09:3b:61 [8.506142] e1000 :05:0b.0 eth1: Intel(R) PRO/1000 Network Connection [8.526299] R13: 8800351f4080 R14: 88003512 R15: 8801478e7000 [8.533441] FS: 7f4ed97678c0() GS:88014ec0()
[Kernel-packages] [Bug 1587885] Re: NULL pointer dereference in radeon drm code
The patch in raw form so it can be used directly. ** Patch added: "Validate ddc_bus before use" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1587885/+attachment/4674404/+files/validate_ddc_bus_before_use.patch -- 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/1587885 Title: NULL pointer dereference in radeon drm code Status in linux package in Ubuntu: Incomplete Bug description: On one of my systems I use, display connector 0 does not have DDC. This results in the DRM code trying to use radeon_connector->ddc_bus when it is not set. This is known to have been an issue since the 3.2 series kernels. Known Problem Kernels: uBuntu 12.04 LTS (linux-3.2.55), uBuntu-MATE 14.04 LTS (linux-3.16.7) and uBuntu-MATE 16.04 LTS (linux-4.4.8) and linux-4.6.0 (git:/ /git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux). Trying to use the uBuntu-MATE 16.04 LTS LiveCD ubuntu-mate-16.04 -desktop-amd64.iso (from uBuntu-MATE website) showed the problem. Using a serial console I extracted the following information when trying to boot from a uBuntu-MATE 16.04 LTS LiveCD USB Stick (it had been upgraded from 4.4.0-21-generic in an attempt to get something usable): [0.00] Linux version 4.4.0-22-generic (buildd@lgw01-41) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2 016 (Ubuntu 4.4.0-22.40-generic 4.4.8) [0.00] Command line: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu-mate.seed boot=casper locale=en_GB console-setup/layoutcode=gb console=u art,io,0x3f8,115200n8 earlyprintk=ttyS0,115200n8 debug --- [0.00] KERNEL supported cpus: [0.00] Intel GenuineIntel [0.00] AMD AuthenticAMD [0.00] Centaur CentaurHauls [0.00] efi: EFI v2.00 by Phoenix Technologies Ltd. [0.00] efi: EFI v2.00 by Phoenix Technologies Ltd. [0.00] efi: [0.00] efi: ACPI=0x973c7000 ACPI=0x973c7000 ACPI 2.0=0x973c7014 ACPI 2.0=0x973c7014 SMBIOS=0x9726b000 SMBIOS=0x9726b000 [0.00] SMBIOS 2.6 present. [0.00] SMBIOS 2.6 present. [0.00] DMI: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [0.00] DMI: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [8.262990] [drm] ib test on ring 5 succeeded [8.288897] [drm] Radeon Display Connectors [8.293175] [drm] Connector 0: [8.296252] [drm] DP-1 [8.298791] [drm] Encoders: [8.301770] [drm] DFP1: INTERNAL_UNIPHY [8.305973] [drm] Connector 1: [8.309043] [drm] DP-2 [8.311598] [drm] HPD2 [8.314169] [drm] DDC: 0x6440 0x6440 0x6444 0x6444 0x6448 0x6448 0x644c 0x644c [8.321609] [drm] Encoders: [8.324589] [drm] DFP2: INTERNAL_UNIPHY [8.328793] [drm] Connector 2: [8.331856] [drm] VGA-1 [8.332316] scsi 0:0:0:0: Direct-Access SMI USB DISK 1100 PQ: 0 ANSI: 0 CCS [8.342947] [drm] DDC: 0x64d8 0x64d8 0x64dc 0x64dc 0x64e0 0x64e0 0x64e4 0x64e4 [8.350341] [drm] Encoders: [8.353310] [drm] CRT1: INTERNAL_KLDSCP_DAC1 [8.358195] BUG: unable to handle kernel NULL pointer dereference at 0409 [8.366104] IP:[8.367176] sd 0:0:0:0: Attached scsi generic sg1 type 0 [8.368538] sd 0:0:0:0: [sdb] 7831552 512-byte logical blocks: (4.01 GB/3.73 GiB) [8.369421] sd 0:0:0:0: [sdb] Write Protect is off [8.369427] sd 0:0:0:0: [sdb] Mode Sense: 43 00 00 00 [8.370288] sd 0:0:0:0: [sdb] No Caching mode page found [8.370292] sd 0:0:0:0: [sdb] Assuming drive cache: write through [8.374944] sdb: sdb1 [8.378398] sd 0:0:0:0: [sdb] Attached SCSI removable disk [8.409733] [] radeon_dp_getsinktype+0x1a/0x30 [radeon] [8.416805] PGD 0 [8.418841] Oops: [#1] SMP [8.422104] Modules linked in: hid_generic e1000e psmouse amdkfd usbhid uas amd_iommu_v2 ptp radeon(+) pps_core e1000(+) hid i2c_algo_bit ttm drm_kms_helper usb_storage syscopyarea sysfillrect sysimgblt ahci fb_sys_fops libahci drm video fjes [8.444029] CPU: 0 PID: 131 Comm: systemd-udevd Not tainted 4.4.0-22-generic #40-Ubuntu [8.452036] Hardware name: AMD Corporation EBrazos Platform/Persimmon, BIOS LV-683 Version: 1.1 02/14/2012 [8.461708] task: 88014780be80 ti: 880147888000 task.ti: 880147888000 [8.469194] RIP: 0010:[] [] radeon_dp_getsinktype+0x1a/0x30 [radeon] [8.478850] RSP: 0018:88014788b850 EFLAGS: 00010246 [8.484179] RAX: RBX: 88003485f000 RCX: [8.491321] RDX: RSI: 0001 RDI: 88003485f000 [8.498469] RBP: 88014788b850 R08: R09: c004aff6 [