Comment 35 for bug 1691991

Revision history for this message
Zhanglei Mao (zhanglei-mao) wrote : Re: [Bug 1691991] Re: Xorg Segmentation fault on Hisilicon D05 board (arm64)

hi Danniel,

This forwarded mail are from Huawei guy which to say "PCI_BRIDGE_CTL_VGA"
are only used on X86 but not for AMR64. The English line was my translated
for Chines text.

thanks,
Mao

---------- Forwarded message ----------
From: wanghuiqiang <email address hidden>
Date: 2017-06-09 13:38 GMT+08:00
Subject: 答复: 答复: 答复: vga card question for D05
To: Zourongrong <email address hidden>, Zhanglei Mao <
<email address hidden>>, "Liuxinliang (Matthew Liu)" <
<email address hidden>>
Cc: "Xiongfanggou (James)" <email address hidden>, caesar qiu 裘赛海 <
<email address hidden>>, allan wang 王友朋 <email address hidden>,
"<email address hidden>" <email address hidden>,
"Xiazhongjun (Summer)" <email address hidden>, "kongxinwei (A)" <
<email address hidden>>, Land Lu <email address hidden>

不清楚你们这个问题是基于什么平台提出的。

在ARM里没有用这个PCI_BRIDGE_CTL_VGA。这是x86的架构设计里用来分配IO和memory地址空间的。而ARM世界是没有IO
空间的概念的,至于memory空间,也是x86里为了支持legacy VGA而一直沿用的技术。具体信息可以看以下的内容。

Translating:

I don't know which platform was this request based on.

In the ARM, PCI_BRIDGE_CTL_VGA was not used. This is a x86 architecture
design using as IO and Memory address space assign or allocation. In the
ARM word, there are no any IO space concepts, for memory address space, it
was used space technology legacy VGA supports on X86. More details can be
found from below:

Thanks!

 --------------------------------------------------------

On Thu, Jun 8, 2017 at 9:40 AM, Zhanglei Mao <email address hidden>
wrote:

> hi Daniel,
>
> Agree with you that is something they need to fix. I have sent mail to
> HiSilicon and their VGA card vendors and they replied some for confirming
> and understand questions or our requests. I will push them again.
>
> thanks,
> Mao
>
> On Thu, Jun 8, 2017 at 8:41 AM, Daniel Axtens <<email address hidden>
> > wrote:
>
>> Hi Mao,
>>
>> I have installed a version of the kernel which ignores the capabilities
>> of the PCI bridge when determining whether a device can be the boot
>> device. With this patched kernel, X starts without needing a config
>> file.
>>
>> This confirms:
>> - that the vga card is not marked as boot device because of the the PCI
>> bridge that the VGA card sits behind.
>> - not being marked as boot vga is what is causing X not to pick it up
>> the card.
>>
>> This is a debug patch only, and not a patch we will be able to get
>> upstream, so I think we will need to discuss with the HiSilicon people
>> why their hardware is behaving this way.
>>
>> Regards,
>> Daniel
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1691991
>>
>> Title:
>> Xorg Segmentation fault on Hisilicon D05 board (arm64)
>>
>> Status in xorg package in Ubuntu:
>> New
>>
>> Bug description:
>> ubuntu@ubuntu:~$ sudo /usr/lib/xorg/Xorg
>> [sudo] password for ubuntu:
>>
>> X.Org X Server 1.18.4
>> Release Date: 2016-07-19
>> X Protocol Version 11, Revision 0
>> Build Operating System: Linux 4.4.0-45-generic aarch64 Ubuntu
>> Current Operating System: Linux ubuntu 4.10.0-20.22-generic
>> #22+pearl.2-Ubuntu SMP Thu Apr 27 20:23:08 UTC 2017 aarch64
>> Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.10.0-20.22-generic
>> root=UUID=eee681c5-04ce-4cd0-a004-cae6717961ce ro debug
>> earlycon=pl011,mmio,0x602B0000 console=tty0
>> Build Date: 02 November 2016 10:05:28PM
>> xorg-server 2:1.18.4-0ubuntu0.2 (For technical support please see
>> http://www.ubuntu.com/support)
>> Current version of pixman: 0.33.6
>> Before reporting problems, check http://wiki.x.org
>> to make sure that you have the latest version.
>> Markers: (--) probed, (**) from config file, (==) default setting,
>> (++) from command line, (!!) notice, (II) informational,
>> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
>> (==) Log file: "/var/log/Xorg.0.log", Time: Fri May 19 18:10:13 2017
>> (==) Using system config directory "/usr/share/X11/xorg.conf.d"
>> pci id for fd 10: 19e5:1711, driver (null)
>> EGL_MESA_drm_image required.
>> (EE)
>> (EE) Backtrace:
>> (EE) 0: /usr/lib/xorg/Xorg (xorg_backtrace+0x58) [0xaaaad7f1cc48]
>> (EE)
>> (EE) Segmentation fault at address 0xa0
>> (EE)
>> Fatal server error:
>> (EE) Caught signal 11 (Segmentation fault). Server aborting
>> (EE)
>> (EE)
>> Please consult the The X.Org Foundation support
>> at http://wiki.x.org
>> for help.
>> (EE) Please also check the log file at "/var/log/Xorg.0.log" for
>> additional information.
>> (EE)
>> (EE) Server terminated with error (1). Closing log file.
>> Aborted (core dumped)
>> ubuntu@ubuntu:~$
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1691991/
>> +subscriptions
>>
>
>
>
> --
> Zhanglei Mao
> Solutions Architect, Sales and Business Development
> Canonical Group Ltd.
> <email address hidden>
> +86-13625010929 <+86%20136%202501%200929> (m)
> +852-6700 6026 <+852%206700%206026> (m)
> www.ubuntu.com
> www.canonical.com
>

--
Zhanglei Mao
Solutions Architect, Sales and Business Development
Canonical Group Ltd.
<email address hidden>
+86-13625010929 (m)
+852-6700 6026 (m)
www.ubuntu.com
www.canonical.com