Re: After exiting weston all consoles not working anymore

2015-03-23 Thread Thilo Cestonaro
Am 20.03.2015 15:24, schrieb Pekka Paalanen: On Fri, 20 Mar 2015 15:13:43 +0100 Thilo Cestonaro wrote: Am 20.03.2015 12:54, schrieb Thilo Cestonaro: > Am 20.03.2015 11:32, schrieb Thilo Cestonaro: >> Further debuggin. >> >> I added some debug output to weston-launch. >> When the parent part (o

Re: After exiting weston all consoles not working anymore

2015-03-20 Thread Pekka Paalanen
On Fri, 20 Mar 2015 15:13:43 +0100 Thilo Cestonaro wrote: > Am 20.03.2015 12:54, schrieb Thilo Cestonaro: > > Am 20.03.2015 11:32, schrieb Thilo Cestonaro: > >> Further debuggin. > >> > >> I added some debug output to weston-launch. > >> When the parent part (of the forks) recieves the SIGCHILD

Re: Fwd: Re: After exiting weston all consoles not working anymore

2015-03-20 Thread Thilo Cestonaro
Am 20.03.2015 12:54, schrieb Thilo Cestonaro: Am 20.03.2015 11:32, schrieb Thilo Cestonaro: Further debuggin. I added some debug output to weston-launch. When the parent part (of the forks) recieves the SIGCHILD it calls the quit function. And in there I added the debug output and the ioctl to

Re: Fwd: Re: After exiting weston all consoles not working anymore

2015-03-20 Thread Thilo Cestonaro
Am 20.03.2015 11:32, schrieb Thilo Cestonaro: Further debuggin. I added some debug output to weston-launch. When the parent part (of the forks) recieves the SIGCHILD it calls the quit function. And in there I added the debug output and the ioctl to set the text mode, never returns. So it hangs

Re: After exiting weston all consoles not working anymore

2015-03-20 Thread Pekka Paalanen
On Fri, 20 Mar 2015 09:47:54 +0100 Thilo Cestonaro wrote: > > >> Further debugging. > >> > >> I managed to start weston-launch from tty1 without --tty, --user and > >> openvt as a normal user. > >> > >> While weston is running I can switch between tty1-6 with Ctrl+Alt+FX. > >> When I stop west

Re: Fwd: Re: After exiting weston all consoles not working anymore

2015-03-20 Thread Thilo Cestonaro
le(1) ? If the script is just weston-launch, how did you hook up gdbserver? gdbserver has an option to attach to a PID. gdbserver [OPTIONS] --attach COMM PID Any ideas how I can debug this? Cheers, Thilo Originalnachricht ---- Betreff: Re: After exiting weston all console

Re: After exiting weston all consoles not working anymore

2015-03-20 Thread Thilo Cestonaro
Further debugging. I managed to start weston-launch from tty1 without --tty, --user and openvt as a normal user. While weston is running I can switch between tty1-6 with Ctrl+Alt+FX. When I stop weston (Ctrl+Alt+Backspace), the display gets black and switching the consoles isn't possible anymo

Re: Fwd: Re: After exiting weston all consoles not working anymore

2015-03-20 Thread Thilo Cestonaro
weston-launch, how did you hook up gdbserver? gdbserver has an option to attach to a PID. gdbserver [OPTIONS] --attach COMM PID Any ideas how I can debug this? Cheers, Thilo Originalnachricht ---- Betreff: Re: After exiting weston all consoles not working anymore Datum: 19.

Re: Fwd: Re: After exiting weston all consoles not working anymore

2015-03-19 Thread Derek Foreman
ing fork while(1) ? If the script is just weston-launch, how did you hook up gdbserver? > Any ideas how I can debug this? > > Cheers, > > Thilo > > > Originalnachricht > Betreff: Re: After exiting weston all consoles not working anymore >

Re: After exiting weston all consoles not working anymore

2015-03-19 Thread Pekka Paalanen
On Thu, 19 Mar 2015 15:58:59 +0100 Thilo Cestonaro wrote: > Further debugging. > > I managed to start weston-launch from tty1 without --tty, --user and > openvt as a normal user. > > While weston is running I can switch between tty1-6 with Ctrl+Alt+FX. > When I stop weston (Ctrl+Alt+Backspace)

Fwd: Re: After exiting weston all consoles not working anymore

2015-03-19 Thread Thilo Cestonaro
ne which is the launch of weston-launch) is still running fork while(1) ? Any ideas how I can debug this? Cheers, Thilo Originalnachricht ---- Betreff: Re: After exiting weston all consoles not working anymore Datum: 19.03.2015 14:00 Von: Thilo Cestonaro An: Pekka Paalanen

Re: After exiting weston all consoles not working anymore

2015-03-19 Thread Thilo Cestonaro
> Is anything actually switching to vt7? I'm not sure what weston-launch > does there, usually it takes the current VT and you don't seem to be > telling openvt to switch. Nothing is switching to tty7 as I'm connected via UART so different output. Anyway weston starts properly on tty7 and is dis

Re: After exiting weston all consoles not working anymore

2015-03-18 Thread Pekka Paalanen
On Wed, 18 Mar 2015 14:42:39 +0100 Thilo Cestonaro wrote: > > > Is anything actually switching to vt7? I'm not sure what weston-launch > > does there, usually it takes the current VT and you don't seem to be > > telling openvt to switch. > > Nothing is switching to tty7 as I'm connected via UAR

Re: After exiting weston all consoles not working anymore

2015-03-18 Thread Thilo Cestonaro
Is anything actually switching to vt7? I'm not sure what weston-launch does there, usually it takes the current VT and you don't seem to be telling openvt to switch. Nothing is switching to tty7 as I'm connected via UART so different output. Anyway weston starts properly on tty7 and is displa

Re: After exiting weston all consoles not working anymore

2015-03-18 Thread Pekka Paalanen
On Wed, 18 Mar 2015 12:19:46 +0100 Thilo Cestonaro wrote: > AFAI can see, it is the weston-launch which does the bad thing. > > If i, being root, start weston directly, it does work fine. > If i, being root, start weston indirect via weston-launch, the process > never returns to console and I c

Re: After exiting weston all consoles not working anymore

2015-03-18 Thread Thilo Cestonaro
AFAI can see, it is the weston-launch which does the bad thing. If i, being root, start weston directly, it does work fine. If i, being root, start weston indirect via weston-launch, the process never returns to console and I can't login from via other shells. This behave is the same with 1.7.

After exiting weston all consoles not working anymore

2015-03-18 Thread Thilo Cestonaro
Hey! with the master HEAD + Dereks patches for FBDev transformation fix and mine for the right pixman type, I can't use the machine after hitting Ctrl+Alt+Backspace in weston. Doesn't matter what I want to do, open a new ssh session, editing a file with vi, or doing a local login. It all jus