linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [REGRESSION] Xorg segfaults on Asus Chromebook CP101 with Linux v5.2 (was Asus C101P Chromeboot fails to boot with Linux 5.2)
       [not found]     ` <5fe66d5d-0624-323f-3bf8-56134ca85eca@gmx.co.uk>
@ 2019-07-13 11:38       ` Alex Dewar
  2019-07-13 14:47         ` Greg Kroah-Hartman
  2019-07-13 15:17         ` Heiko Stuebner
  0 siblings, 2 replies; 5+ messages in thread
From: Alex Dewar @ 2019-07-13 11:38 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Greg Kroah-Hartman, Hans Verkuil,
	Philipp Zabel, Boris Brezillon
  Cc: Heiko Stuebner, linux-arm-kernel, open list:ARM/Rockchip SoC...,
	Linux Kernel Mailing List, linux-media, devel

Hi all,

I initially thought my machine was failing to boot entirely, but it
turns out it was just failing to start the display manager. I managed to
escape to a tty by hammering the keyboard a bit.

I suspect the culprit is the rockchip_vpu driver (in staging/media),
which has been renamed to hantro in this merge window. When I run startx
from a terminal, X fails to start and Xorg segfaults (log here:
http://users.sussex.ac.uk/~ad374/xorg.log). X seems to work without any
issues in v5.1.

I've also tried running trace on the Xorg process, but the output was
pretty verbose. I can share if that would be helpful though.

Best,
Alex


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [REGRESSION] Xorg segfaults on Asus Chromebook CP101 with Linux v5.2 (was Asus C101P Chromeboot fails to boot with Linux 5.2)
  2019-07-13 11:38       ` [REGRESSION] Xorg segfaults on Asus Chromebook CP101 with Linux v5.2 (was Asus C101P Chromeboot fails to boot with Linux 5.2) Alex Dewar
@ 2019-07-13 14:47         ` Greg Kroah-Hartman
  2019-07-13 15:17         ` Heiko Stuebner
  1 sibling, 0 replies; 5+ messages in thread
From: Greg Kroah-Hartman @ 2019-07-13 14:47 UTC (permalink / raw)
  To: Alex Dewar
  Cc: Mauro Carvalho Chehab, Hans Verkuil, Philipp Zabel,
	Boris Brezillon, Heiko Stuebner, linux-arm-kernel,
	open list:ARM/Rockchip SoC...,
	Linux Kernel Mailing List, linux-media, devel

On Sat, Jul 13, 2019 at 12:38:45PM +0100, Alex Dewar wrote:
> Hi all,
> 
> I initially thought my machine was failing to boot entirely, but it
> turns out it was just failing to start the display manager. I managed to
> escape to a tty by hammering the keyboard a bit.
> 
> I suspect the culprit is the rockchip_vpu driver (in staging/media),
> which has been renamed to hantro in this merge window. When I run startx
> from a terminal, X fails to start and Xorg segfaults (log here:
> http://users.sussex.ac.uk/~ad374/xorg.log). X seems to work without any
> issues in v5.1.
> 
> I've also tried running trace on the Xorg process, but the output was
> pretty verbose. I can share if that would be helpful though.

Can you run 'git bisect' to find the offending commit?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [REGRESSION] Xorg segfaults on Asus Chromebook CP101 with Linux v5.2 (was Asus C101P Chromeboot fails to boot with Linux 5.2)
  2019-07-13 11:38       ` [REGRESSION] Xorg segfaults on Asus Chromebook CP101 with Linux v5.2 (was Asus C101P Chromeboot fails to boot with Linux 5.2) Alex Dewar
  2019-07-13 14:47         ` Greg Kroah-Hartman
@ 2019-07-13 15:17         ` Heiko Stuebner
  2019-07-13 16:43           ` Alex Dewar
  1 sibling, 1 reply; 5+ messages in thread
From: Heiko Stuebner @ 2019-07-13 15:17 UTC (permalink / raw)
  To: Alex Dewar
  Cc: Mauro Carvalho Chehab, Greg Kroah-Hartman, Hans Verkuil,
	Philipp Zabel, Boris Brezillon, linux-arm-kernel,
	open list:ARM/Rockchip SoC...,
	Linux Kernel Mailing List, linux-media, devel

Hi,

Am Samstag, 13. Juli 2019, 13:38:45 CEST schrieb Alex Dewar:
> I initially thought my machine was failing to boot entirely, but it
> turns out it was just failing to start the display manager. I managed to
> escape to a tty by hammering the keyboard a bit.
> 
> I suspect the culprit is the rockchip_vpu driver (in staging/media),
> which has been renamed to hantro in this merge window. When I run startx
> from a terminal, X fails to start and Xorg segfaults (log here:
> http://users.sussex.ac.uk/~ad374/xorg.log). X seems to work without any
> issues in v5.1.

5.2 also has support for Panfrost (Mali-Midgard GPUs) but I'm not
sure if it already can support X11 yet and your X11 log mentions
libglamoregl in the segfault stack trace.

Apart from it bisect that Greg suggested you could also just try
blacklisting either panfrost or vpu kernel modules
/etc/udev/somewhere . This would prevent them from loading

Hope that helps
Heiko



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [REGRESSION] Xorg segfaults on Asus Chromebook CP101 with Linux v5.2 (was Asus C101P Chromeboot fails to boot with Linux 5.2)
  2019-07-13 15:17         ` Heiko Stuebner
@ 2019-07-13 16:43           ` Alex Dewar
  2019-07-13 22:58             ` Ezequiel Garcia
  0 siblings, 1 reply; 5+ messages in thread
From: Alex Dewar @ 2019-07-13 16:43 UTC (permalink / raw)
  To: Heiko Stuebner
  Cc: Mauro Carvalho Chehab, Greg Kroah-Hartman, Hans Verkuil,
	Philipp Zabel, Boris Brezillon, linux-arm-kernel,
	open list:ARM/Rockchip SoC...,
	Linux Kernel Mailing List, linux-media, devel

On 13/07/2019 16:17, Heiko Stuebner wrote:
> Hi,
>
> Am Samstag, 13. Juli 2019, 13:38:45 CEST schrieb Alex Dewar:
>> I initially thought my machine was failing to boot entirely, but it
>> turns out it was just failing to start the display manager. I managed to
>> escape to a tty by hammering the keyboard a bit.
>>
>> I suspect the culprit is the rockchip_vpu driver (in staging/media),
>> which has been renamed to hantro in this merge window. When I run startx
>> from a terminal, X fails to start and Xorg segfaults (log here:
>> http://users.sussex.ac.uk/~ad374/xorg.log). X seems to work without any
>> issues in v5.1.
>
> 5.2 also has support for Panfrost (Mali-Midgard GPUs) but I'm not
> sure if it already can support X11 yet and your X11 log mentions
> libglamoregl in the segfault stack trace.
>
> Apart from it bisect that Greg suggested you could also just try
> blacklisting either panfrost or vpu kernel modules
> /etc/udev/somewhere . This would prevent them from loading
>
> Hope that helps
> Heiko
>
>

Hi Heiko,

Thanks for this. I blacklisted the panfrost driver and X magically
started working again.

I'll try to do a bisect later to find the offending commit though.

In related news, it also seems that the sound and wifi drivers aren't
working either in 5.2 (although I need to do a bit more testing to
confirm the latter).

Best,
Alex

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [REGRESSION] Xorg segfaults on Asus Chromebook CP101 with Linux v5.2 (was Asus C101P Chromeboot fails to boot with Linux 5.2)
  2019-07-13 16:43           ` Alex Dewar
@ 2019-07-13 22:58             ` Ezequiel Garcia
  0 siblings, 0 replies; 5+ messages in thread
From: Ezequiel Garcia @ 2019-07-13 22:58 UTC (permalink / raw)
  To: Alex Dewar
  Cc: Heiko Stuebner, Mauro Carvalho Chehab, Greg Kroah-Hartman,
	Hans Verkuil, Philipp Zabel, Boris Brezillon, linux-arm-kernel,
	open list:ARM/Rockchip SoC...,
	Linux Kernel Mailing List, linux-media, devel, Tomeu Vizoso

On Sat, 13 Jul 2019 at 13:43, Alex Dewar <alex.dewar@gmx.co.uk> wrote:
>
> On 13/07/2019 16:17, Heiko Stuebner wrote:
> > Hi,
> >
> > Am Samstag, 13. Juli 2019, 13:38:45 CEST schrieb Alex Dewar:
> >> I initially thought my machine was failing to boot entirely, but it
> >> turns out it was just failing to start the display manager. I managed to
> >> escape to a tty by hammering the keyboard a bit.
> >>
> >> I suspect the culprit is the rockchip_vpu driver (in staging/media),
> >> which has been renamed to hantro in this merge window. When I run startx
> >> from a terminal, X fails to start and Xorg segfaults (log here:
> >> http://users.sussex.ac.uk/~ad374/xorg.log). X seems to work without any
> >> issues in v5.1.
> >
> > 5.2 also has support for Panfrost (Mali-Midgard GPUs) but I'm not
> > sure if it already can support X11 yet and your X11 log mentions
> > libglamoregl in the segfault stack trace.
> >
> > Apart from it bisect that Greg suggested you could also just try
> > blacklisting either panfrost or vpu kernel modules
> > /etc/udev/somewhere . This would prevent them from loading
> >
> > Hope that helps
> > Heiko
> >
> >
>
> Hi Heiko,
>
> Thanks for this. I blacklisted the panfrost driver and X magically
> started working again.
>
> I'll try to do a bisect later to find the offending commit though.
>
> In related news, it also seems that the sound and wifi drivers aren't
> working either in 5.2 (although I need to do a bit more testing to
> confirm the latter).
>

Adding myself and Tomeu.

Perhaps we need to disable Panfrost from defconfig from now?

Regards,
Eze

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-07-13 22:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <59042b09-7651-be1d-347f-0dc4aa02a91b@gmx.co.uk>
     [not found] ` <CANBLGcyO5wAHgSVjYFB+hcp+SzaKY9d0QJm-hxqnSYbZ4Yv97g@mail.gmail.com>
     [not found]   ` <862e98f3-8a89-a05e-1e85-e6f6004da32b@gmx.co.uk>
     [not found]     ` <5fe66d5d-0624-323f-3bf8-56134ca85eca@gmx.co.uk>
2019-07-13 11:38       ` [REGRESSION] Xorg segfaults on Asus Chromebook CP101 with Linux v5.2 (was Asus C101P Chromeboot fails to boot with Linux 5.2) Alex Dewar
2019-07-13 14:47         ` Greg Kroah-Hartman
2019-07-13 15:17         ` Heiko Stuebner
2019-07-13 16:43           ` Alex Dewar
2019-07-13 22:58             ` Ezequiel Garcia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).