From: Christian Zigotzky <hidden> Date: 2017-11-18 22:27:51
Hi All,
I tested the latest Git kernel version on my Varisys Cyrus Plus board
(A-EON AmigaOne X5000) [1][2] with a Qoriq P5020 PowerPC CPU from NXP
today. Unfortunately it doesn't boot anymore.
My Varisys Nemo board (A-EON AmigaOne X1000) [3], boots without any
problems.
I bisected between the final kernel 4.14.0 and the git version from Mon
Nov 13 21:14:07 2017 -0800.
a8a217c22116eff6c120d753c9934089fb229af0 is the first bad commit. [4]
Please find attached the git bisect log.
I tried to revert the bad commit I have found with bisect but
unfortunately it doesn't work because of some conflicts.
git revert a8a217c22116eff6c120d753c9934089fb229af0
error: could not revert a8a217c... locking/core: Remove
{read,spin,write}_can_lock()
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'
I tried to revert the bad commit in the git version from Mon Nov 13
21:14:07 2017 -0800 but unfortunately it doesn't work either.
error: could not revert a8a217c... locking/core: Remove
{read,spin,write}_can_lock()
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'
Could you please help me to find the bug?
Thanks,
Christian
[1] http://www.amigaos.net/hardware/133/amigaone-x5000
[2] http://wiki.amiga.org/index.php?title=AmigaONE_X5000
[3] https://en.wikipedia.org/wiki/AmigaOne_X1000
[4]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a8a217c22116eff6c120d753c9934089fb229af0
From: Christian Zigotzky <hidden> Date: 2017-11-19 23:34:21
Hi All,
I created a patch for the git kernel today. (see attachment)
Without the patch, the latest git kernel doesn't boot on my Cyrus Plus
board.
Cheers,
Christian
On 19 November 2017 at 5:57PM, Christian Zigotzky wrote:
From: Michael Ellerman <mpe@ellerman.id.au> Date: 2017-11-22 11:28:51
Christian Zigotzky [off-list ref] writes:
Hi All,
I created a patch for the git kernel today. (see attachment)
Without the patch, the latest git kernel doesn't boot on my Cyrus Plus
board.
Hi Christian,
This doesn't make much sense.
Are you running any out of tree drivers or patches on this machine? Or
just 100% upstream.
I have a freescale p5020ds machine, but I don't have this Cyrus Plus
board.
What kernel config are you using, can you attach it?
When you say it "doesn't boot" what happens exactly? Do you see any
output at all?
cheers
From: Christian Zigotzky <hidden> Date: 2017-11-22 12:44:38
On 22 November 2017 at 12:28PM, Michael Ellerman wrote:
Christian Zigotzky [off-list ref] writes:
quoted
Hi All,
I created a patch for the git kernel today. (see attachment)
Without the patch, the latest git kernel doesn't boot on my Cyrus Plus
board.
Hi Christian,
This doesn't make much sense.
Are you running any out of tree drivers or patches on this machine? Or
just 100% upstream.
I have a freescale p5020ds machine, but I don't have this Cyrus Plus
board.
What kernel config are you using, can you attach it?
When you say it "doesn't boot" what happens exactly? Do you see any
output at all?
cheers
From: Christian Zigotzky <hidden> Date: 2017-11-25 23:33:56
Hi All,
I compiled the latest git kernel today. Unfortunately my Varisys Cyrus
Plus board still doesn't boot with the latest git kernel.
After that I patched the kernel source code with the spinlock patch and
compiled the kernel again. With the spinlock patch, the latest git
kernel boots without any problems.
Please find attached the spinlock patch.
Cheers,
Christian
On 20 November 2017 at 00:34AM, Christian Zigotzky wrote:
Hi All,
I created a patch for the git kernel today. (see attachment)
Without the patch, the latest git kernel doesn't boot on my Cyrus Plus
board.
Cheers,
Christian
On 19 November 2017 at 5:57PM, Christian Zigotzky wrote:
From: Michael Ellerman <mpe@ellerman.id.au> Date: 2017-11-28 10:37:45
Christian Zigotzky [off-list ref] writes:
Hi All,
I compiled the latest git kernel today. Unfortunately my Varisys Cyrus
Plus board still doesn't boot with the latest git kernel.
After that I patched the kernel source code with the spinlock patch and
compiled the kernel again. With the spinlock patch, the latest git
kernel boots without any problems.
Please find attached the spinlock patch.
Can you remove the patch, and then build your kernel with
CONFIG_PREEMPT=n.
cheers
From: Christian Zigotzky <hidden> Date: 2017-11-29 10:36:10
Hi Michael,
Success! :-)
I disabled PREEMPT in the kernel config and I removed the spinlock patch
today. After that I compiled the RC1 again. With 'CONFIG_PREEMPT=n' and
without the spinlock patch, the RC1 boots on my Qoriq P5020 PowerPC
board without any problems.
Many thanks for your help. :-)
Cheers,
Christian
On 28 November 2017 at 11:37AM, Michael Ellerman wrote:
Christian Zigotzky [off-list ref] writes:
quoted
Hi All,
I compiled the latest git kernel today. Unfortunately my Varisys Cyrus
Plus board still doesn't boot with the latest git kernel.
After that I patched the kernel source code with the spinlock patch and
compiled the kernel again. With the spinlock patch, the latest git
kernel boots without any problems.
Please find attached the spinlock patch.
Can you remove the patch, and then build your kernel with
CONFIG_PREEMPT=n.
cheers