On 5/18/2015 7:00 PM, Alex Deucher wrote: > On Mon, May 18, 2015 at 6:41 PM, Julian Margetson wrote: >> On 5/18/2015 4:59 PM, Alex Deucher wrote: >> > Snip > > > >> * Starting NTP server ntpd [ 28.819002] Unable to handle kernel >> paging request for data at address 0x00000008 >> [ 28.860330] Faulting instruction address: 0xc04a5218 >> [ 30.874910] Oops: Kernel access of bad area, sig: 11 [#1] >> [ 30.892488] PREEMPT Canyonlands >> [ 30.907764] Modules linked in: >> [ 30.922944] CPU: 0 PID: 1949 Comm: Xorg Not tainted 4.0.4-Sam460ex #4 >> [ 30.941699] task: edd7a920 ti: ee6d0000 task.ti: ee6d0000 >> [ 30.959284] NIP: c04a5218 LR: c04a5544 CTR: 00000000 >> [ 30.976315] REGS: ee6d1c30 TRAP: 0300 Not tainted (4.0.4-Sam460ex) >> [ 30.995038] MSR: 00029000 CR: 24004242 XER: 00000000 >> [ 31.013805] DEAR: 00000008 ESR: 00000000 >> GPR00: c04a5530 ee6d1ce0 edd7a920 ee984000 00000000 00000000 c0ac2c04 >> 61626c69 >> GPR08: 00000000 00000000 00000000 ee6d1ce0 24004244 b7e90afc b84d1ab0 >> b84d0530 >> GPR16: 00000000 ffffffff 6f23c730 ee6d1e18 c03add64 eea00578 00000001 >> 00004000 >> GPR24: 00004000 c0719b98 eeb62200 c08d825c ee4e4000 ee984000 00000000 >> eeaf8f00 >> [ 31.111915] NIP [c04a5218] radeon_audio_enable+0x4/0x18 >> [ 31.130834] LR [c04a5544] radeon_audio_detect+0x150/0x1bc >> [ 31.150046] Call Trace: >> [ 31.166259] [ee6d1ce0] [c04a5530] radeon_audio_detect+0x13c/0x1bc >> (unreliable) >> [ 31.187768] [ee6d1d00] [c03e69b4] radeon_dvi_detect+0x3a8/0x3cc >> [ 31.207983] [ee6d1d30] [c0391cf8] >> drm_helper_probe_single_connector_modes_merge_bits+0xf4/0x448 >> [ 31.231287] [ee6d1d70] [c03ade48] drm_mode_getconnector+0xe4/0x334 >> [ 31.252222] [ee6d1e10] [c03a0bf4] drm_ioctl+0x348/0x464 >> [ 31.272107] [ee6d1ed0] [c00ce2e4] do_vfs_ioctl+0x52c/0x6e8 >> [ 31.292084] [ee6d1f20] [c00ce4e0] SyS_ioctl+0x40/0x68 >> [ 31.311408] [ee6d1f40] [c000ab1c] ret_from_syscall+0x0/0x3c >> [ 31.331466] --- interrupt: c01 at 0x6fb001dc >> [ 31.331466] LR = 0x6fb00100 >> [ 31.368093] Instruction dump: >> [ 31.385716] 8129012c 806a0018 2f890000 419e0018 81290004 2f890000 >> 419e000c 7d2903a6 >> [ 31.408631] 4e800420 38600000 4e800020 81231cd8 <81290008> 2f890000 >> 4d9e0020 7d2903a6 >> [ 31.587312] ---[ end trace 2a6dca2844a1913c ]--- >> [ 31.591930] >> [ 32.489288] init: bluetooth main process (2051) terminated with status 1 >> [ 32.501384] init: bluetooth main process ended, respawning >> [ 33.156098] init: bluetooth main process (2076) terminated with status 1 >> [ 33.183330] init: bluetooth main process ended, respawning >> [ 33.859517] init: bluetooth main process (2124) terminated with status 1 >> [ 33.880582] init: bluetooth main process ended, respawning >> [ 34.450457] init: bluetooth main process (2177) terminated with status 1 >> [ 34.457287] init: bluetooth main process ended, respawning >> * Starting Mount filesystems on boot[ OK ] >> > Are you sure you booted the right kernel and applied both patches? I > don't see any of the debugging output from the patch. > > Alex > Restarted from scratch.Newly patched and newly compiled 4.04 kernel tested . Same result . root@julian-VirtualBox:/usr/src/linux-4.0.4# patch -p1 < ../0001-drm-radeon-properly-select-encoder-in-radeon_audio_d.patch patching file drivers/gpu/drm/radeon/radeon_audio.c patching file drivers/gpu/drm/radeon/radeon_connectors.c Hunk #1 succeeded at 1257 (offset -46 lines). Hunk #2 succeeded at 1335 (offset -46 lines). root@julian-VirtualBox:/usr/src/linux-4.0.4# patch -p1 < ../debug.diff patching file drivers/gpu/drm/radeon/radeon_audio.c root@julian-VirtualBox:/usr/src/linux-4.0.4# patch -p1 < ../Sam460ex-2.patch (Stripping trailing CRs from patch; use --binary to disable.) patching file drivers/gpu/drm/radeon/radeon_device.c Hunk #1 succeeded at 1401 with fuzz 1 (offset 335 lines). (Stripping trailing CRs from patch; use --binary to disable.) patching file include/drm/ttm/ttm_bo_api.h Hunk #1 succeeded at 92 (offset 11 lines). (Stripping trailing CRs from patch; use --binary to disable.) patching file arch/powerpc/sysdev/ppc4xx_msi.c root@julian-VirtualBox:/usr/src/linux-4.0.4# ======================================================================= [ 0.000000] Using Canyonlands machine description [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 4.0.4-Sam460ex (root@julian-VirtualBox) (gcc version 4.8.2 (Ubuntu 4.8.2-16ubuntu3) ) #1 PREEMPT Mon May 18 20:21:14 AST 2015 [ 30.102085] Unable to handle kernel paging request for data at address 0x00000008 [ 30.148251] Faulting instruction address: 0xc04a5218 [ 33.013394] Oops: Kernel access of bad area, sig: 11 [#1] [ 33.019129] PREEMPT Canyonlands [ 33.022469] Modules linked in: [ 33.025713] CPU: 0 PID: 1940 Comm: Xorg Not tainted 4.0.4-Sam460ex #1 [ 33.032516] task: edd4a920 ti: ede6a000 task.ti: ede6a000 [ 33.038216] NIP: c04a5218 LR: c04a5544 CTR: 00000000 [ 33.043460] REGS: ede6bc30 TRAP: 0300 Not tainted (4.0.4-Sam460ex) [ 33.050264] MSR: 00029000 CR: 24004442 XER: 00000000 [ 33.056818] DEAR: 00000008 ESR: 00000000 GPR00: c04a5530 ede6bce0 edd4a920 ee9c0000 00000000 00000000 c0ac2c04 61626c69 GPR08: 00000000 00000000 00000000 ede6bce0 24004444 b7f08afc b862fab0 b862e530 GPR16: 00000000 ffffffff 6f23c730 ede6be18 c03add64 ee9a2578 00000001 00004000 GPR24: 00004000 c0719b98 eeb61200 c08d825c ee4e6000 ee9c0000 00000000 ea8f9f00 [ 33.091359] NIP [c04a5218] radeon_audio_enable+0x4/0x18 [ 33.096883] LR [c04a5544] radeon_audio_detect+0x150/0x1bc [ 33.102582] Call Trace: [ 33.105164] [ede6bce0] [c04a5530] radeon_audio_detect+0x13c/0x1bc (unreliable) [ 33.112838] [ede6bd00] [c03e69b4] radeon_dvi_detect+0x3a8/0x3cc [ 33.119112] [ede6bd30] [c0391cf8] drm_helper_probe_single_connector_modes_merge_bits+0xf4/0x448 [ 33.128318] [ede6bd70] [c03ade48] drm_mode_getconnector+0xe4/0x334 [ 33.134861] [ede6be10] [c03a0bf4] drm_ioctl+0x348/0x464 [ 33.140408] [ede6bed0] [c00ce2e4] do_vfs_ioctl+0x52c/0x6e8 [ 33.146214] [ede6bf20] [c00ce4e0] SyS_ioctl+0x40/0x68 [ 33.151572] [ede6bf40] [c000ab1c] ret_from_syscall+0x0/0x3c [ 33.157472] --- interrupt: c01 at 0x6fb001dc [ 33.157472] LR = 0x6fb00100 [ 33.165272] Instruction dump: [ 33.168425] 8129012c 806a0018 2f890000 419e0018 81290004 2f890000 419e000c 7d2903a6 [ 33.176731] 4e800420 38600000 4e800020 81231cd8 <81290008> 2f890000 4d9e0020 7d2903a6 [ 33.340269] ---[ end trace 3e0a38b7fc789e38 ]--- [ 33.344890] [ 33.368364] init: bluetooth main process (2019) terminated with status 1 [ 33.399413] init: bluetooth main process ended, respawning * Starting Mount filesystems on boot