Send plymouth mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.freedesktop.org/mailman/listinfo/plymouth
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of plymouth digest..."


Today's Topics:

   1. Re: Keyboard input / init + questions (Ray Strode)
   2. Re: Keyboard input / init + questions (Jerome Martin)
   3. Re: Keyboard input / init + questions (Ray Strode)
   4. Re: Keyboard input / init + questions (Frederic Crozat)
   5. Re: Keyboard input / init + questions (Jerome Martin)
   6. Re: Keyboard input / init + questions (Frederic Crozat)
   7. Re: Keyboard input / init + questions (Ray Strode)


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

Message: 1
Date: Sun, 26 Sep 2010 18:22:17 -0400
From: Ray Strode <[email protected]>
Subject: Re: Keyboard input / init + questions
To: Jerome Martin <[email protected]>
Cc: [email protected]
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=UTF-8

On Sun, Sep 26, 2010 at 5:44 PM, Ray Strode <[email protected]> wrote:
> Hi,
>
> On Sun, Sep 26, 2010 at 5:09 PM, Jerome Martin <[email protected]> 
> wrote:
>> I cannot copy/paste it right now, but I have interesting messages in a
>> screenshot attached.
>> Tell me what you think.
> This logs suggests the tty hang up handling is incomplete.
>
> I'll look into it. ?I'm a little surprised, though, since mandriva
> still uses sysvinit and I thought this work around was good enough for
> them (I think we added it for them)
>
Can you try with the two commits I just pushed?

(http://cgit.freedesktop.org/plymouth/commit/?id=5b4ed8f35a1e9358d94df4b84ad49cea790f57e9
and the one before it)

--Ray


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

Message: 2
Date: Mon, 27 Sep 2010 00:40:57 +0200
From: Jerome Martin <[email protected]>
Subject: Re: Keyboard input / init + questions
To: Ray Strode <[email protected]>
Cc: [email protected]
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Just tried, init still wins.
Sorry :-(

On Mon, Sep 27, 2010 at 12:22 AM, Ray Strode <[email protected]> wrote:

> On Sun, Sep 26, 2010 at 5:44 PM, Ray Strode <[email protected]> wrote:
> > Hi,
> >
> > On Sun, Sep 26, 2010 at 5:09 PM, Jerome Martin <[email protected]>
> wrote:
> >> I cannot copy/paste it right now, but I have interesting messages in a
> >> screenshot attached.
> >> Tell me what you think.
> > This logs suggests the tty hang up handling is incomplete.
> >
> > I'll look into it.  I'm a little surprised, though, since mandriva
> > still uses sysvinit and I thought this work around was good enough for
> > them (I think we added it for them)
> >
> Can you try with the two commits I just pushed?
>
> (
> http://cgit.freedesktop.org/plymouth/commit/?id=5b4ed8f35a1e9358d94df4b84ad49cea790f57e9
> and the one before it)
>
> --Ray
>



-- 
J?r?me Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.freedesktop.org/archives/plymouth/attachments/20100927/357c5747/attachment-0001.html>

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

Message: 3
Date: Sun, 26 Sep 2010 19:22:34 -0400
From: Ray Strode <[email protected]>
Subject: Re: Keyboard input / init + questions
To: Jerome Martin <[email protected]>
Cc: [email protected]
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=UTF-8

Hi,

On Sun, Sep 26, 2010 at 6:40 PM, Jerome Martin <[email protected]> wrote:
> Just tried, init still wins.
> Sorry :-(

Is the debug spew the same?

One thing I don't immediately understand is that most of your debug
output isn't showing up.

We see ply_terminal_session_attach in the debug log.  This happens as
soon as you run "plymouth show-splash"

Then immediately after that I see ply_terminal_session_detach is
getting called. This could be because of the tty disconnect, or it
could be because ply_terminal_session_attach failed.  I feel like
there should be some debug messages between attach and detach though,
so I'm curious what's going on there.

Do you have a /var/log/plymouth-debug.log file?  If not does, putting
the log file somewhere else with, e.g.,

plymouth:debug=file:/tmp/log

produce a complete debug log?

I just pushed a commit to add some more verbosity arround the terminal
session handling.

--Ray


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

Message: 4
Date: Mon, 27 Sep 2010 07:16:21 +0200
From: Frederic Crozat <[email protected]>
Subject: Re: Keyboard input / init + questions
To: plymouth <[email protected]>
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

2010/9/26 Ray Strode <[email protected]>:
> Hi,
>
> On Sun, Sep 26, 2010 at 5:09 PM, Jerome Martin <[email protected]> 
> wrote:
>> I cannot copy/paste it right now, but I have interesting messages in a
>> screenshot attached.
>> Tell me what you think.
> This logs suggests the tty hang up handling is incomplete.
>
> I'll look into it. ?I'm a little surprised, though, since mandriva
> still uses sysvinit and I thought this work around was good enough for
> them (I think we added it for them)

Well, I still had to use
http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/sysvinit/current/SOURCES/sysvinit-2.87-speedboot-ioctl.patch?view=markup
to ensure init wasn't taking console when X was started by rc.sysinit.
Funny, I now have a similar issue on MeeGo with plymouth-lite (I have
to double check ;)

-- 
Frederic Crozat


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

Message: 5
Date: Mon, 27 Sep 2010 09:13:50 +0200
From: Jerome Martin <[email protected]>
Subject: Re: Keyboard input / init + questions
To: Frederic Crozat <[email protected]>, Ray Strode <[email protected]>
Cc: plymouth <[email protected]>
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Ray,

Fred here is using a patch very similar to my own, basically moving
the TIOCSCTTY of init out of plymouth's way.
As for the logs, I use a much stripped down system environment, with a ro
root and a COW on top of it that does not get mounted right away, so that
might explain the log issues.

Fred, with a more complete environment and better logging, maybe it would be
easier for you to try Ray last rev. and send him the full log without your
sysvinit patch ? I can still do it, but really am unsure I do get all of the
logs.

I will still do my best to extract proper messages meanwhile, and will keep
you posted. It sure would be better not to have to patch init :-)

Best Regards,
Jerome

On Mon, Sep 27, 2010 at 7:16 AM, Frederic Crozat <[email protected]> wrote:

> 2010/9/26 Ray Strode <[email protected]>:
> > Hi,
> >
> > On Sun, Sep 26, 2010 at 5:09 PM, Jerome Martin <[email protected]>
> wrote:
> >> I cannot copy/paste it right now, but I have interesting messages in a
> >> screenshot attached.
> >> Tell me what you think.
> > This logs suggests the tty hang up handling is incomplete.
> >
> > I'll look into it.  I'm a little surprised, though, since mandriva
> > still uses sysvinit and I thought this work around was good enough for
> > them (I think we added it for them)
>
> Well, I still had to use
>
> http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/sysvinit/current/SOURCES/sysvinit-2.87-speedboot-ioctl.patch?view=markup
> to ensure init wasn't taking console when X was started by rc.sysinit.
> Funny, I now have a similar issue on MeeGo with plymouth-lite (I have
> to double check ;)
>
> --
> Frederic Crozat
> _______________________________________________
> plymouth mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/plymouth
>



-- 
J?r?me Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.freedesktop.org/archives/plymouth/attachments/20100927/a0098409/attachment.htm>

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

Message: 6
Date: Mon, 27 Sep 2010 10:00:40 +0200
From: Frederic Crozat <[email protected]>
Subject: Re: Keyboard input / init + questions
To: plymouth <[email protected]>
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1

2010/9/27 Jerome Martin <[email protected]>:
> Ray,
> Fred here is using a patch very similar to my own, basically moving
> the?TIOCSCTTY of init out of plymouth's way.
> As for the logs, I use a much stripped down system environment, with a ro
> root and a COW on top of it that does not get mounted right away, so that
> might explain the log issues.
> Fred, with a more complete environment and better logging, maybe it would be
> easier for you to try Ray last rev. and send him the full log without your
> sysvinit patch ? I can still do it, but really am unsure I do get all of the
> logs.

Since Mandriva is dead (despite what keypeople might say), I don't
plan to work on plymouth for Mandriva anymore..

I'm planning to implement plymouth for openSUSE, but it is another topic.
-- 
Frederic Crozat


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

Message: 7
Date: Mon, 27 Sep 2010 10:18:50 -0400
From: Ray Strode <[email protected]>
Subject: Re: Keyboard input / init + questions
To: Jerome Martin <[email protected]>
Cc: plymouth <[email protected]>
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset=UTF-8

Hi,

On Mon, Sep 27, 2010 at 3:13 AM, Jerome Martin
<[email protected]> wrote:
> Fred here is using a patch very similar to my own, basically moving
> the?TIOCSCTTY of init out of plymouth's way.
> As for the logs, I use a much stripped down system environment, with a ro
> root and a COW on top of it that does not get mounted right away, so that
> might explain the log issues.
Oh, okay.  So, if the file system might be read-only at the time
plymouth quits, then you should be able to boot with

plymouth.debug=file:/dev/kmsg printk.time log_bug_len=1M

on your kernel command line and the debug output will go to "dmesg"
along wth nice timestamps.  Then you can just

dmesg > output.txt

and post it here.

--Ray


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

_______________________________________________
plymouth mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/plymouth


End of plymouth Digest, Vol 23, Issue 9
***************************************

Reply via email to