Comment 4 for bug 1271649

Revision history for this message
Sumit Semwal (sumit-semwal) wrote : Re: [Bug 1271649] Re: arm64: Bus error on startx

 ~ sent from my mobile; kindly excuse typos and brevity
On Feb 5, 2014 3:45 AM, "Tom Gall" <email address hidden> wrote:

> I seem to have this fixed and have been able to run both normal boring X
> as well as xfce4. Taking out the memcpy seems to do the trick and doing
> the copying of memory in a loop "by hand". It's obviously a step back in
> speed but OTOH no more SIGBUS' due to alignment rules being broken.
>
> I managed to fix the long mis-rendering bug as well.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1271649
>
> Title:
> arm64: Bus error on startx
>
> Status in Linaro Linux Baseline:
> New
> Status in Linaro Linux:
> New
>
> Bug description:
> In GWG-land working on getting armv8 framebuffer working again on the
> model.
>
> We've noticed that in the device tree dma needs to be turned on for
> clc.
>
> Trying to startx currently causes the following:
>
> [ 1540.493404] Unhandled fault: alignment fault (0x92000061) at
> 0x0000007fae2027ec
> [ 1541.147941] xfce4-panel[1475]: unhandled level 2 translation fault
> (11) at 0x000000e4, esr 0x92000006
> [ 1541.147953] pgd = ffffffc078840000
> [ 1541.147983] [000000e4] *pgd=00000000f8ae3003, *pmd=0000000000000000
> [ 1541.147987]
> [ 1541.148019] CPU: 4 PID: 1475 Comm: xfce4-panel Not tainted 3.13.0+ #1
> [ 1541.148047] task: ffffffc079042140 ti: ffffffc078a5c000 task.ti:
> ffffffc078a5c000
> [ 1541.148063] PC is at 0x7fb2c57d8c
> [ 1541.148077] LR is at 0x4142a4
> [ 1541.148101] pc : [<0000007fb2c57d8c>] lr : [<00000000004142a4>]
> pstate: 80000000
> [ 1541.148112] sp : 0000007fc5b7ab80
> [ 1541.148144] x29: 0000007fc5b7ab80 x28: 0000000000000000
> [ 1541.148175] x27: 0000000000000000 x26: 0000000000000000
> [ 1541.148208] x25: 0000000038021c70 x24: 0000000000454758
> [ 1541.148240] x23: 0000000038049400 x22: 0000000000431000
> [ 1541.148273] x21: 000000003803b9c0 x20: 0000000038021f50
> [ 1541.148306] x19: 0000000000000000 x18: 0000007fc5b7a920
> [ 1541.148339] x17: 0000000000453b10 x16: 0000007fb2c57d8c
> [ 1541.148373] x15: 0000007fb2bf9598 x14: 003b6bc138000000
> [ 1541.148404] x13: 0000000000000002 x12: 0000000000000004
> [ 1541.148437] x11: 0000000000000030 x10: 0101010101010101
> [ 1541.148469] x9 : 0000007fc5b7a520 x8 : 0000000000000039
> [ 1541.148499] x7 : 0000000000000001 x6 : 0000000000000001
> [ 1541.148531] x5 : 00000000000003a0 x4 : 0000007fb2bf7cf0
> [ 1541.148563] x3 : 000000003804e670 x2 : 0000007fb2bf75b0
> [ 1541.148593] x1 : 0000000000000000 x0 : 0000000000000000
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/linaro-linux-baseline/+bug/1271649/+subscriptions
>