<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 5/22/2015 7:57 AM, Julian Margetson
wrote:<br>
</div>
<blockquote cite="mid:555F19BF.1010203@candw.ms" type="cite">On
5/18/2015 7:00 PM, Alex Deucher wrote:
<br>
<blockquote type="cite">On Mon, May 18, 2015 at 6:41 PM, Julian
Margetson <a class="moz-txt-link-rfc2396E" href="mailto:runaway@candw.ms"><runaway@candw.ms></a> wrote:
<br>
<blockquote type="cite">On 5/18/2015 4:59 PM, Alex Deucher
wrote:
<br>
<br>
</blockquote>
Snip
<br>
<br>
<br>
<br>
<blockquote type="cite"> * Starting NTP server ntpd [
28.819002] Unable to handle kernel
<br>
paging request for data at address 0x00000008
<br>
[ 28.860330] Faulting instruction address: 0xc04a5218
<br>
[ 30.874910] Oops: Kernel access of bad area, sig: 11 [#1]
<br>
[ 30.892488] PREEMPT Canyonlands
<br>
[ 30.907764] Modules linked in:
<br>
[ 30.922944] CPU: 0 PID: 1949 Comm: Xorg Not tainted
4.0.4-Sam460ex #4
<br>
[ 30.941699] task: edd7a920 ti: ee6d0000 task.ti: ee6d0000
<br>
[ 30.959284] NIP: c04a5218 LR: c04a5544 CTR: 00000000
<br>
[ 30.976315] REGS: ee6d1c30 TRAP: 0300 Not tainted
(4.0.4-Sam460ex)
<br>
[ 30.995038] MSR: 00029000 <CE,EE,ME> CR: 24004242
XER: 00000000
<br>
[ 31.013805] DEAR: 00000008 ESR: 00000000
<br>
GPR00: c04a5530 ee6d1ce0 edd7a920 ee984000 00000000 00000000
c0ac2c04
<br>
61626c69
<br>
GPR08: 00000000 00000000 00000000 ee6d1ce0 24004244 b7e90afc
b84d1ab0
<br>
b84d0530
<br>
GPR16: 00000000 ffffffff 6f23c730 ee6d1e18 c03add64 eea00578
00000001
<br>
00004000
<br>
GPR24: 00004000 c0719b98 eeb62200 c08d825c ee4e4000 ee984000
00000000
<br>
eeaf8f00
<br>
[ 31.111915] NIP [c04a5218] radeon_audio_enable+0x4/0x18
<br>
[ 31.130834] LR [c04a5544] radeon_audio_detect+0x150/0x1bc
<br>
[ 31.150046] Call Trace:
<br>
[ 31.166259] [ee6d1ce0] [c04a5530]
radeon_audio_detect+0x13c/0x1bc
<br>
(unreliable)
<br>
[ 31.187768] [ee6d1d00] [c03e69b4]
radeon_dvi_detect+0x3a8/0x3cc
<br>
[ 31.207983] [ee6d1d30] [c0391cf8]
<br>
drm_helper_probe_single_connector_modes_merge_bits+0xf4/0x448
<br>
[ 31.231287] [ee6d1d70] [c03ade48]
drm_mode_getconnector+0xe4/0x334
<br>
[ 31.252222] [ee6d1e10] [c03a0bf4] drm_ioctl+0x348/0x464
<br>
[ 31.272107] [ee6d1ed0] [c00ce2e4] do_vfs_ioctl+0x52c/0x6e8
<br>
[ 31.292084] [ee6d1f20] [c00ce4e0] SyS_ioctl+0x40/0x68
<br>
[ 31.311408] [ee6d1f40] [c000ab1c] ret_from_syscall+0x0/0x3c
<br>
[ 31.331466] --- interrupt: c01 at 0x6fb001dc
<br>
[ 31.331466] LR = 0x6fb00100
<br>
[ 31.368093] Instruction dump:
<br>
[ 31.385716] 8129012c 806a0018 2f890000 419e0018 81290004
2f890000
<br>
419e000c 7d2903a6
<br>
[ 31.408631] 4e800420 38600000 4e800020 81231cd8
<81290008> 2f890000
<br>
4d9e0020 7d2903a6
<br>
[ 31.587312] ---[ end trace 2a6dca2844a1913c ]---
<br>
[ 31.591930]
<br>
[ 32.489288] init: bluetooth main process (2051) terminated
with status 1
<br>
[ 32.501384] init: bluetooth main process ended, respawning
<br>
[ 33.156098] init: bluetooth main process (2076) terminated
with status 1
<br>
[ 33.183330] init: bluetooth main process ended, respawning
<br>
[ 33.859517] init: bluetooth main process (2124) terminated
with status 1
<br>
[ 33.880582] init: bluetooth main process ended, respawning
<br>
[ 34.450457] init: bluetooth main process (2177) terminated
with status 1
<br>
[ 34.457287] init: bluetooth main process ended, respawning
<br>
* Starting Mount filesystems on boot[ OK ]
<br>
<br>
</blockquote>
Are you sure you booted the right kernel and applied both
patches? I
<br>
don't see any of the debugging output from the patch.
<br>
<br>
Alex
<br>
<br>
</blockquote>
<br>
The issues started with HDMI from Kernel 4.0.0-rc1. Could not get
the git bisect completed.
<br>
Any suggestions to get around the error below ?
<br>
<br>
(.text+0x865dc): undefined reference to `__get_user_bad'
<br>
<br>
================================================================================================
<br>
<br>
More issues with Kernel 4.0.0-rc1
<br>
<br>
[ 33.535692] Unable to handle kernel paging request for data at
address 0x00000008
<br>
[ 33.566786] Faulting instruction address: 0xc049db84
<br>
[ 33.574188] Vector: 300 (Data Access) at [eeb13c20]
<br>
[ 33.579086] pc: c049db84: radeon_audio_enable+0x4/0x18
<br>
[ 33.584630] lr: c049e2f4: radeon_audio_detect+0x288/0x290
<br>
[ 33.590429] sp: eeb13cd0
<br>
[ 33.593310] msr: 29000
<br>
[ 33.595931] dar: 8
<br>
[ 33.598207] dsisr: 0
<br>
[ 33.600480] current = 0xeea93ac0
<br>
[ 33.603885] pid = 2311, comm = Xorg
<br>
[ 33.607922] enter ? for help
<br>
[ 33.610806] [link register ] c049e2f4
radeon_audio_detect+0x288/0x290
<br>
[ 33.617469] [eeb13cd0] c049e254 radeon_audio_detect+0x1e8/0x290
(unreliable)
<br>
[ 33.624571] [eeb13d00] c03dfe7c radeon_dvi_detect+0x388/0x3ac
<br>
[ 33.630369] [eeb13d30] c038b9d4
drm_helper_probe_single_connector_modes_merge_bits+0xf4/0x434
<br>
[ 33.638954] [eeb13d70] c03a7670
drm_mode_getconnector+0xf4/0x334
<br>
[ 33.645022] [eeb13e10] c039a8c0 drm_ioctl+0x348/0x464
<br>
[ 33.650135] [eeb13ed0] c00d0ca0 do_vfs_ioctl+0x52c/0x6e8
<br>
[ 33.655507] [eeb13f20] c00d0e9c SyS_ioctl+0x40/0x68
<br>
[ 33.660438] [eeb13f40] c000ab04 ret_from_syscall+0x0/0x3c
<br>
[ 33.665896] --- Exception: c01 (System Call) at 6fb1b8dc
<br>
[ 33.671253] SP (bfa56d20) is in userspace
<br>
[ 33.675263] mon> <no input ...>
<br>
[ 35.703835] Oops: Kernel access of bad area, sig: 11 [#1]
<br>
[ 35.709554] PREEMPT Canyonlands
<br>
[ 35.712876] Modules linked in: cfg80211 snd_ice1724
snd_hda_codec_hdmi snd_ak4113 snd_pt2258 snd_ak4114 snd_i2c
snd_ice17xx_ak4xxx snd_ak4xxx_adda snd_ac97_codec snd_hda_intel
ac97_bus snd_hda_controller snd_rawmidi snd_hda_codec
snd_seq_device snd_pcm snd_timer snd
<br>
[ 35.738047] CPU: 0 PID: 2311 Comm: Xorg Not tainted
4.0.0-rc1-Sam460ex #1
<br>
[ 35.745189] task: eea93ac0 ti: eeb12000 task.ti: eeb12000
<br>
[ 35.750872] NIP: c049db84 LR: c049e2f4 CTR: 00000000
<br>
[ 35.756098] REGS: eeb13c20 TRAP: 0300 Not tainted
(4.0.0-rc1-Sam460ex)
<br>
[ 35.763241] MSR: 00029000 <CE,EE,ME> CR: 24004422 XER:
20000000
<br>
[ 35.769778] DEAR: 00000008 ESR: 00000000
<br>
GPR00: c049e254 eeb13cd0 eea93ac0 eaa84000 00000000 0000000f
ee0532c0 000190d6
<br>
GPR08: eab6da00 00000000 00000000 eeb13cb0 28004422 b7a11ff4
b7a87a98 b7a87988
<br>
GPR16: 00000000 ffffffff 00000000 eeb13e18 eaa08194 eaa08178
00000001 00004000
<br>
GPR24: 00004000 c071cd28 fffffff2 00000000 eab6c000 eaa84000
eab6da00 eab80400
<br>
[ 35.804302] NIP [c049db84] radeon_audio_enable+0x4/0x18
<br>
[ 35.809799] LR [c049e2f4] radeon_audio_detect+0x288/0x290
<br>
[ 35.815480] Call Trace:
<br>
[ 35.818053] [eeb13cd0] [c049e254]
radeon_audio_detect+0x1e8/0x290 (unreliable)
<br>
[ 35.825694] [eeb13d00] [c03dfe7c] radeon_dvi_detect+0x388/0x3ac
<br>
[ 35.831956] [eeb13d30] [c038b9d4]
drm_helper_probe_single_connector_modes_merge_bits+0xf4/0x434
<br>
[ 35.841137] [eeb13d70] [c03a7670]
drm_mode_getconnector+0xf4/0x334
<br>
[ 35.847663] [eeb13e10] [c039a8c0] drm_ioctl+0x348/0x464
<br>
[ 35.853183] [eeb13ed0] [c00d0ca0] do_vfs_ioctl+0x52c/0x6e8
<br>
[ 35.858974] [eeb13f20] [c00d0e9c] SyS_ioctl+0x40/0x68
<br>
[ 35.864307] [eeb13f40] [c000ab04] ret_from_syscall+0x0/0x3c
<br>
[ 35.870196] --- interrupt: c01 at 0x6fb1b8dc
<br>
[ 35.870196] LR = 0x6fb1b800
<br>
[ 35.877971] Instruction dump:
<br>
[ 35.881106] 8129012c 806a0018 2f890000 419e0018 81290004
2f890000 419e000c 7d2903a6
<br>
[ 35.889403] 4e800420 38600000 4e800020 81231c70
<81290008> 2f890000 4d9e0020 7d2903a6
<br>
[ 36.042121] ---[ end trace 3e83f5fa0d05c678 ]---
<br>
[ 36.046739]
<br>
<br>
<br>
With Kernel 3.19
<br>
<br>
[ 2.454668] Linux agpgart interface v0.103
<br>
[ 2.458979] [drm] Initialized drm 1.1.0 20060810
<br>
[ 2.463814] [drm] radeon kernel modesetting enabled.
<br>
[ 2.469870] [drm] initializing kernel modesetting (TURKS
0x1002:0x6758 0x1682:0x318B).
<br>
[ 2.478007] [drm] register mmio base: 0xe90000000
<br>
[ 2.482774] [drm] register mmio size: 131072
<br>
[ 2.665432] ATOM BIOS: TURKS
<br>
[ 2.668602] radeon 0001:81:00.0: VRAM: 1024M 0x0000000000000000
- 0x000000003FFFFFFF (1024M used)
<br>
[ 2.677521] radeon 0001:81:00.0: GTT: 1024M 0x0000000040000000
- 0x000000007FFFFFFF
<br>
[ 2.685201] [drm] Detected VRAM RAM=1024M, BAR=256M
<br>
[ 2.690094] [drm] RAM width 128bits DDR
<br>
[ 2.694109] [TTM] Zone kernel: Available graphics memory:
379192 kiB
<br>
[ 2.700596] [TTM] Zone highmem: Available graphics memory:
1034552 kiB
<br>
[ 2.707147] [TTM] Initializing pool allocator
<br>
[ 2.711540] [TTM] Initializing DMA pool allocator
<br>
[ 2.716359] [drm] radeon: 1024M of VRAM memory ready
<br>
[ 2.721355] [drm] radeon: 1024M of GTT memory ready.
<br>
[ 2.726395] [drm] Loading TURKS Microcode
<br>
[ 2.730457] [drm] Internal thermal controller with fan control
<br>
[ 2.741697] [drm] radeon: dpm initialized
<br>
[ 2.745907] [drm] GART: num cpu pages 262144, num gpu pages
262144
<br>
[ 2.787690] [drm] PCIE GART of 1024M enabled (table at
0x0000000000274000).
<br>
[ 2.794953] radeon 0001:81:00.0: WB enabled
<br>
[ 2.799182] radeon 0001:81:00.0: fence driver on ring 0 use gpu
addr 0x0000000040000c00 and cpu addr 0xffc01c00
<br>
[ 2.809300] radeon 0001:81:00.0: fence driver on ring 3 use gpu
addr 0x0000000040000c0c and cpu addr 0xffc01c0c
<br>
[ 2.839260] radeon 0001:81:00.0: fence driver on ring 5 use gpu
addr 0x0000000000072118 and cpu addr 0xf9032118
<br>
[ 2.849411] [drm] Supports vblank timestamp caching Rev 2
(21.10.2013).
<br>
[ 2.856067] [drm] Driver supports precise vblank timestamp
query.
<br>
[ 2.862183] radeon 0001:81:00.0: radeon: MSI limited to 32-bit
<br>
[ 2.868058] ppc4xx_setup_msi_irqs: fail allocating msi
interrupt
<br>
[ 2.874153] [drm] radeon: irq initialized.
<br>
[ 3.103973] [drm:r600_ring_test] *ERROR* radeon: ring 0 test
failed (scratch(0x8504)=0xCAFEDEAD)
<br>
[ 3.112806] radeon 0001:81:00.0: disabling GPU acceleration
<br>
[ 3.128627] [drm] Radeon Display Connectors
<br>
[ 3.133369] [drm] Connector 0:
<br>
[ 3.136481] [drm] DP-1
<br>
[ 3.139089] [drm] HPD1
<br>
[ 3.141665] [drm] DDC: 0x6470 0x6470 0x6474 0x6474 0x6478
0x6478 0x647c 0x647c
<br>
[ 3.149146] [drm] Encoders:
<br>
[ 3.152157] [drm] DFP1: INTERNAL_UNIPHY2
<br>
[ 3.156473] [drm] Connector 1:
<br>
[ 3.159570] [drm] HDMI-A-1
<br>
[ 3.162469] [drm] HPD5
<br>
[ 3.165019] [drm] DDC: 0x6480 0x6480 0x6484 0x6484 0x6488
0x6488 0x648c 0x648c
<br>
[ 3.172436] [drm] Encoders:
<br>
[ 3.175415] [drm] DFP2: INTERNAL_UNIPHY2
<br>
[ 3.179703] [drm] Connector 2:
<br>
[ 3.182766] [drm] DVI-I-1
<br>
[ 3.185570] [drm] HPD4
<br>
[ 3.188117] [drm] DDC: 0x6450 0x6450 0x6454 0x6454 0x6458
0x6458 0x645c 0x645c
<br>
[ 3.195535] [drm] Encoders:
<br>
[ 3.198513] [drm] DFP3: INTERNAL_UNIPHY
<br>
[ 3.202706] [drm] CRT1: INTERNAL_KLDSCP_DAC1
<br>
[ 3.352245] [drm] fb mappable at 0x80475000
<br>
[ 3.356458] [drm] vram apper at 0x80000000
<br>
[ 3.360570] [drm] size 8294400
<br>
[ 3.363634] [drm] fb depth is 24
<br>
[ 3.366873] [drm] pitch is 7680
<br>
[ 3.575080] Console: switching to colour frame buffer device
240x67
<br>
[ 3.649278] radeon 0001:81:00.0: fb0: radeondrmfb frame buffer
device
<br>
[ 3.656071] radeon 0001:81:00.0: registered panic notifier
<br>
[ 3.666472] [drm] Initialized radeon 2.40.0 20080528 for
0001:81:00.0 on minor 0
<br>
<br>
<br>
<br>
<br>
Problems with the Gib bisect
<br>
Kernel wont compile after 10th bisect .
<br>
<br>
drivers/built-in.o: In function `drm_mode_atomic_ioctl':
<br>
(.text+0x865dc): undefined reference to `__get_user_bad'
<br>
make: *** [vmlinux] Error 1
<br>
root@julian-VirtualBox:/usr/src/linux# git bisect log
<br>
git bisect start
<br>
# bad: [c517d838eb7d07bbe9507871fab3931deccff539] Linux 4.0-rc1
<br>
git bisect bad c517d838eb7d07bbe9507871fab3931deccff539
<br>
# good: [bfa76d49576599a4b9f9b7a71f23d73d6dcff735] Linux 3.19
<br>
git bisect good bfa76d49576599a4b9f9b7a71f23d73d6dcff735
<br>
# good: [02f1f2170d2831b3233e91091c60a66622f29e82] kernel.h:
remove ancient __FUNCTION__ hack
<br>
git bisect good 02f1f2170d2831b3233e91091c60a66622f29e82
<br>
# bad: [796e1c55717e9a6ff5c81b12289ffa1ffd919b6f] Merge branch
'drm-next' of git://people.freedesktop.org/~airlied/linux
<br>
git bisect bad 796e1c55717e9a6ff5c81b12289ffa1ffd919b6f
<br>
# good: [9682ec9692e5ac11c6caebd079324e727b19e7ce] Merge tag
'driver-core-3.20-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
<br>
git bisect good 9682ec9692e5ac11c6caebd079324e727b19e7ce
<br>
# good: [a9724125ad014decf008d782e60447c811391326] Merge tag
'tty-3.20-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
<br>
git bisect good a9724125ad014decf008d782e60447c811391326
<br>
# good: [f43dff0ee00a259f524ce17ba4f8030553c66590] Merge tag
'drm-amdkfd-next-fixes-2015-01-25' of
git://people.freedesktop.org/~gabbayo/linux into drm-next
<br>
git bisect good f43dff0ee00a259f524ce17ba4f8030553c66590
<br>
# bad: [cffe1e89dc9bf541a39d9287ced7c5addff07084] drm: sti: HDMI
add audio infoframe
<br>
git bisect bad cffe1e89dc9bf541a39d9287ced7c5addff07084
<br>
# good: [2f5b4ef15c60bc5292a3f006c018acb3da53737b] Merge tag
'drm/tegra/for-3.20-rc1' of
git://anongit.freedesktop.org/tegra/linux into drm-next
<br>
git bisect good 2f5b4ef15c60bc5292a3f006c018acb3da53737b
<br>
# bad: [865844448ce80ccd714793e9ba4140d7ae214229] drm/udl:
optimize udl_compress_hline16 (v2)
<br>
git bisect bad 865844448ce80ccd714793e9ba4140d7ae214229
<br>
# bad: [d47df63393ed81977e0f6435988d9cbd70c867f7] drm/panel:
simple: Add AVIC TM070DDH03 panel support
<br>
git bisect bad d47df63393ed81977e0f6435988d9cbd70c867f7
<br>
# bad: [9469244d869623e8b54d9f3d4d00737e377af273] drm/atomic: Fix
potential use of state after free
<br>
git bisect bad 9469244d869623e8b54d9f3d4d00737e377af273
<br>
<br>
<br>
Kernel 4.0.0-rc1 boots when DVI output used but not when HDMI
output used.
<br>
<br>
<br>
git bisect skip
<br>
There are only 'skip'ped commits left to test.
<br>
The first bad commit could be any of:
<br>
b486e0e6d599b9ca8667fb9a7d49b7383ee963c7
<br>
eab3bbeffd152125ae0f90863b8e9bc8eef49423
<br>
960cd9d4fef6dd9e235c0e5c0d4ed027f8a48025
<br>
f02ad907cd9e7fe3a6405d2d005840912f1ed258
<br>
6a425c2a9b37ca3d2c37e3c1cdf973dba53eaa79
<br>
ee0a89cf3c2c550e6d877dda21dd2947afb90cb6
<br>
92890583627ee2a0518e55b063fcff86826fef96
<br>
95d6eb3b134e1826ed04cc92b224d93de13e281f
<br>
9469244d869623e8b54d9f3d4d00737e377af273
<br>
We cannot bisect more!
<br>
<br>
<br>
<br>
</blockquote>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<pre class="western">
Thank you.
While the issue when using DVI video output is now ok with the latest
fixes the oops still happens when using HDMI video output.
[ 31.224167] Unable to handle kernel paging request for data at address 0x00000008
[ 31.273597] Faulting instruction address: 0xc04bf264
[ 39.225572] Oops: Kernel access of bad area, sig: 11 [#1]
[ 39.231310] PREEMPT Canyonlands
[ 39.234650] Modules linked in:
[ 39.237894] CPU: 0 PID: 2009 Comm: Xorg Not tainted 4.1.0-rc5-Sam460ex-00161-gaaa20fc-dirty #24
[ 39.247084] task: edf0bac0 ti: eddd8000 task.ti: eddd8000
[ 39.252784] NIP: c04bf264 LR: c03fedf4 CTR: c03eff70
[ 39.258028] REGS: eddd9c50 TRAP: 0300 Not tainted (4.1.0-rc5-Sam460ex-00161-gaaa20fc-dirty)
[ 39.267124] MSR: 00029000 <CE,EE,ME> CR: 24004442 XER: 00000000
[ 39.273678] DEAR: 00000008 ESR: 00000000
GPR00: c03fedf4 eddd9d00 edf0bac0 eeb10000 00000000 0000000f eddd9be8 00000000
GPR08: 0000f6a3 00000000 eeb14800 eddd9cc0 20004422 208bbafc 208b3b30 20d4b530
GPR16: 00000000 ffffffff 1f88a730 00000000 eddd9e18 eeb14978 00000001 00004000
GPR24: 00004000 c076d878 c0761b20 00000000 eeb10000 00000001 00000001 eeb7b000
[ 39.308222] NIP [c04bf264] radeon_audio_enable+0x4/0x18
[ 39.313751] LR [c03fedf4] radeon_dvi_detect+0x388/0x3ac
[ 39.319267] Call Trace:
[ 39.321850] [eddd9d00] [c03fedf4] radeon_dvi_detect+0x388/0x3ac (unreliable)
[ 39.329340] [eddd9d30] [c03a985c] drm_helper_probe_single_connector_modes_merge_bits+0xf4/0x448
[ 39.338548] [eddd9d70] [c03c5afc] drm_mode_getconnector+0xe4/0x334
[ 39.345099] [eddd9e10] [c03b89a0] drm_ioctl+0x374/0x458
[ 39.350639] [eddd9ed0] [c00d9ff0] do_vfs_ioctl+0x52c/0x6e8
[ 39.356450] [eddd9f20] [c00da1ec] SyS_ioctl+0x40/0x68
[ 39.361800] [eddd9f40] [c000ac24] ret_from_syscall+0x0/0x3c
[ 39.367701] --- interrupt: c01 at 0x2014e1dc
[ 39.367701] LR = 0x2014e100
[ 39.375501] Instruction dump:
[ 39.378653] 8129012c 806a0018 2f890000 419e0018 81290004 2f890000 419e000c 7d2903a6
[ 39.386958] 4e800420 38600000 4e800020 81231cf0 <81290008> 2f890000 4d9e0020 7d2903a6
[ 39.550838] ---[ end trace 3836187126bca8ff ]---
[ 39.555457] </pre>
<title></title>
<meta name="generator" content="LibreOffice 4.3.7.2 (Windows)">
<style type="text/css">
@page { margin: 0.79in }
pre.cjk { font-family: "NSimSun", monospace }
p { margin-bottom: 0.1in; line-height: 120% }
</style>
</body>
</html>