arm64: Bus error on startx
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Linux |
New
|
Undecided
|
Unassigned | ||
Linaro Linux Baseline |
New
|
Undecided
|
Unassigned |
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=00000000f8
[ 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 : [<0000007fb2c57
[ 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
Some more data, captured via gdb attached to X. Note the 0x007f8bb85bdc address is within the /dev/fb0 address range.
[14252.047301] Unhandled fault: alignment fault (0x92000061) at 0x0000007f8bb85bdc 7f8aef3000 r-xp 00000000 fe:02 9250 /usr/lib/ libmtdev. so.1.0. 0 7f8af02000 ---p 00004000 fe:02 9250 /usr/lib/ libmtdev. so.1.0. 0 7f8af03000 rwxp 00003000 fe:02 9250 /usr/lib/ libmtdev. so.1.0. 0 7f8af0e000 r-xp 00000000 fe:02 9588 /usr/lib/ xorg/modules/ input/evdev_ drv.so 7f8af1e000 ---p 0000b000 fe:02 9588 /usr/lib/ xorg/modules/ input/evdev_ drv.so 7f8af1f000 rwxp 0000b000 fe:02 9588 /usr/lib/ xorg/modules/ input/evdev_ drv.so 7f8bb6c000 rwxp 00000000 00:00 0 7f8bcec000 rwxs 00000000 00:05 1145 /dev/fb0
(gdb) ^CQuit
(gdb) shell cat /proc/2607/maps
00400000-00590000 r-xp 00000000 fe:02 10942 /usr/bin/Xorg
00590000-0059e000 rwxp 00190000 fe:02 10942 /usr/bin/Xorg
0059e000-005ac000 rwxp 00000000 00:00 0
0f451000-0f5e0000 rwxp 00000000 00:00 0 [heap]
7f8aeef000-
7f8aef3000-
7f8af02000-
7f8af03000-
7f8af0e000-
7f8af1e000-
7f8af1f000-
7f8bb6c000-