Description of problem:
tried to boot computer.
BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
IP: [<ffffffffa0222ab7>] radeon_audio_detect+0x117/0x160 [radeon]
PGD 8bf4a067 PUD 8bf4b067 PMD 0
Oops: 0002 [#1] SMP
Modules linked in: radeon 8021q garp stp llc mrp i2c_algo_bit drm_kms_helper ttm drm tg3 sdhci_pci sdhci mmc_core ptp pps_core
CPU: 2 PID: 266 Comm: plymouthd Not tainted 4.0.5-300.fc22.x86_64 #1
Hardware name: Apple Inc. iMac15,1/Mac-42FD25EABCABB274, BIOS IM151.88Z.0207.B01.1411201235 11/20/2014
task: ffff88003f8209f0 ti: ffff88003f848000 task.ti: ffff88003f848000
RIP: 0010:[<ffffffffa0222ab7>] [<ffffffffa0222ab7>] radeon_audio_detect+0x117/0x160 [radeon]
RSP: 0018:ffff88003f84bbc8 EFLAGS: 00010246
RAX: ffff880262772504 RBX: ffff8802609ba000 RCX: 0000000000000006
RDX: 0000000000000000 RSI: 0000000000000292 RDI: 0000000000000292
RBP: ffff88003f84bbe8 R08: ffff8802611a0000 R09: 0000000000000100
R10: 0000000000000000 R11: 00000000000000de R12: 0000000000000000
R13: ffff880262770000 R14: ffff88003f837c00 R15: ffff880262770000
FS: 00007f98b8210700(0000) GS:ffff88026f280000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000010 CR3: 000000008bf49000 CR4: 00000000001407e0
ffff8802609ba000 0000000000000001 ffff8802612105c0 ffff88003f837e00
ffff88003f84bc28 ffffffffa016145b ffffffff81fd6f80 ffff8802609ba050
ffff8802609ba000 0000000000000001 ffff88008be36800 0000000000000001
[<ffffffffa016145b>] radeon_dp_detect+0x22b/0x2c0 [radeon]
[<ffffffffa011bcc8>] drm_helper_probe_single_connector_modes_merge_bits+0x248/0x500 [drm_kms_helper]
[<ffffffff8132ce0b>] ? cred_has_capability+0x6b/0x130
[<ffffffff81483876>] ? tty_ldisc_deref+0x16/0x20
[<ffffffffa011bf93>] drm_helper_probe_single_connector_modes+0x13/0x20 [drm_kms_helper]
[<ffffffffa00a28c0>] drm_mode_getconnector+0x340/0x3a0 [drm]
[<ffffffff8132cff2>] ? selinux_capable+0x32/0x40
[<ffffffffa0093a5b>] drm_ioctl+0x1db/0x640 [drm]
[<ffffffffa00a2580>] ? drm_mode_getcrtc+0xf0/0xf0 [drm]
[<ffffffffa013704c>] radeon_drm_ioctl+0x4c/0x80 [radeon]
[<ffffffff81789d48>] ? int_check_syscall_exit_work+0x34/0x3d
Code: b8 02 00 00 4d 8b a6 00 01 00 00 48 8b 82 68 01 00 00 48 85 c0 74 47 48 8b 48 08 31 c0 48 85 c9 74 09 48 8b 02 48 8b 78 28 ff d1 <49> 89 44 24 10 49 8b 85 e0 25 00 00 48 8b 40 10 48 85 c0 0f 84
RIP [<ffffffffa0222ab7>] radeon_audio_detect+0x117/0x160 [radeon]
Created attachment 1044124 [details]
4.0.4 works without a problem.
Can't boot 4.0.6 either.
Also happens on 4.0.7 in updates-testing.
I can't reproduce this on Radeon R9 270 with a DisplayPort (nor DVI) monitor. It probably affects only certain cards (or maybe just Macs?).
I'm not a maintainer of this component, but if you want to increase your chances of seeing this fixed, I suggest to report this to the upstream freedesktop bugzilla. See bug 1224579 (similar, but probably unrelated) for instructions how to do that.
Added bugs here:
Maybe it would be better if I tested the rawhide kernel? Can you do that in F22_
Yes, you can see them here:
You should be able to install F23 kernel on F22 just fine. (Some of them might have debugging options enabled, and be therefore considerably slower.)
Tested rawhide kernel, bug report is here: https://bugzilla.redhat.com/show_bug.cgi?id=1240566
So now I should test F23 kernels as well?
I see that you received feedback in the upstream freedesktop bug, but you haven't replied since then. If you want to see this fixed, your best chance is to study how to build your own kernel and then bisect the versions until you find the wrong commit. It requires quite some technical skills. If you don't feel up to it, you'll need to wait until someone else is able to reproduce the issue on their hardware and will do the bisecting. Or you can try to find someone technical in your surroundings, lend him your hardware and ask him/her to do it for you.
If you need help with bisect, you can experiment with some scripts I wrote for making bisection on fedora easier https://pagure.io/fedbisect
(In reply to Kamil Páral from comment #11)
> I see that you received feedback in the upstream freedesktop bug, but you
> haven't replied since then. If you want to see this fixed, your best chance
> is to study how to build your own kernel and then bisect the versions until
> you find the wrong commit. It requires quite some technical skills. If you
> don't feel up to it, you'll need to wait until someone else is able to
> reproduce the issue on their hardware and will do the bisecting. Or you can
> try to find someone technical in your surroundings, lend him your hardware
> and ask him/her to do it for you.
I would like to see if the patch in https://bugzilla.redhat.com/show_bug.cgi?id=1224579 works, but that does not seem to be applied upstream.
4.1.2-200.fc22 does not work either.
Fixed in 4.2 rc5
*** Bug 1240463 has been marked as a duplicate of this bug. ***