All of lore.kernel.org
 help / color / mirror / Atom feed
* Issues with 50cdecc sysvinit-inittab_xen.inc: fix hypervisor console
@ 2019-04-04  7:36 Filipe Rinaldi
  2019-04-08  3:12 ` Bruce Ashfield
  0 siblings, 1 reply; 5+ messages in thread
From: Filipe Rinaldi @ 2019-04-04  7:36 UTC (permalink / raw)
  To: meta-virtualization, Manjukumar Matha; +Cc: Sathees Balya

[-- Attachment #1: Type: text/plain, Size: 939 bytes --]

Hi,


With regards commit "50cdecc sysvinit-inittab_xen.inc: fix hypervisor console"...


We are having issues with this patch. When using start_getty (a wrapper to getty) it will first check if the console device is a "serial" device driver [1]. It then fails because hvc0 is a "system" device, not a "serial" [2].


[1] https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-core/sysvinit/sysvinit-inittab/start_getty#L11

[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/tty/hvc/hvc_console.c#n1036


Any thoughts?


Cheers,

Filipe


IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

[-- Attachment #2: Type: text/html, Size: 3128 bytes --]

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

* Re: Issues with 50cdecc sysvinit-inittab_xen.inc: fix hypervisor console
  2019-04-04  7:36 Issues with 50cdecc sysvinit-inittab_xen.inc: fix hypervisor console Filipe Rinaldi
@ 2019-04-08  3:12 ` Bruce Ashfield
       [not found]   ` <CF877014-38CB-405B-9DCB-99E957BA0339@arm.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Bruce Ashfield @ 2019-04-08  3:12 UTC (permalink / raw)
  To: Filipe Rinaldi; +Cc: meta-virtualization, Sathees Balya

On Thu, Apr 4, 2019 at 4:11 PM Filipe Rinaldi <Filipe.Rinaldi@arm.com> wrote:
>
> Hi,
>
>
> With regards commit "50cdecc sysvinit-inittab_xen.inc: fix hypervisor console"...
>
>
> We are having issues with this patch. When using start_getty (a wrapper to getty) it will first check if the console device is a "serial" device driver [1]. It then fails because hvc0 is a "system" device, not a "serial" [2].
>
>
> [1] https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-core/sysvinit/sysvinit-inittab/start_getty#L11
>
> [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/tty/hvc/hvc_console.c#n1036
>
>
> Any thoughts?

Can you confirm that if that check is removed that the console still
functions as expected ?

Rather than bouncing back and forth between fixing one issue, and
creating another, I'm tempted to just bbappend and patch the
problematic check out of the startup. But I'm not currently setup to
test the issue.

Bruce

>
>
> Cheers,
>
> Filipe
>
>
> IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II


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

* Re: Issues with 50cdecc sysvinit-inittab_xen.inc: fix hypervisor console
       [not found]   ` <CF877014-38CB-405B-9DCB-99E957BA0339@arm.com>
@ 2019-04-08 11:34     ` Bruce Ashfield
  2019-04-10  5:06       ` Manjukumar Harthikote Matha
  0 siblings, 1 reply; 5+ messages in thread
From: Bruce Ashfield @ 2019-04-08 11:34 UTC (permalink / raw)
  To: Sathees Balya; +Cc: meta-virtualization, nd

On Mon, Apr 8, 2019 at 7:26 AM Sathees Balya <Sathees.Balya@arm.com> wrote:
>
> Hi Bruce,
>
> We reverted the commit "50cdecca7b2a0e1bb5eacbec132f26b802f950fc" and the console starts as expected. Thanks.
>

We had already established that without the commit things start, they
were starting before we made that
change. It was for fixing a different issue and for standardizing on
the use of the variable.

I'm trying to find out if we change the startup check, if the console
still works.

Bruce

>
> Regards,
> Sathees
>
> On 08/04/2019, 04:12, "Bruce Ashfield" <bruce.ashfield@gmail.com> wrote:
>
>     On Thu, Apr 4, 2019 at 4:11 PM Filipe Rinaldi <Filipe.Rinaldi@arm.com> wrote:
>     >
>     > Hi,
>     >
>     >
>     > With regards commit "50cdecc sysvinit-inittab_xen.inc: fix hypervisor console"...
>     >
>     >
>     > We are having issues with this patch. When using start_getty (a wrapper to getty) it will first check if the console device is a "serial" device driver [1]. It then fails because hvc0 is a "system" device, not a "serial" [2].
>     >
>     >
>     > [1] https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-core/sysvinit/sysvinit-inittab/start_getty#L11
>     >
>     > [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/tty/hvc/hvc_console.c#n1036
>     >
>     >
>     > Any thoughts?
>
>     Can you confirm that if that check is removed that the console still
>     functions as expected ?
>
>     Rather than bouncing back and forth between fixing one issue, and
>     creating another, I'm tempted to just bbappend and patch the
>     problematic check out of the startup. But I'm not currently setup to
>     test the issue.
>
>     Bruce
>
>     >
>     >
>     > Cheers,
>     >
>     > Filipe
>     >
>     >
>     > IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
>     > --
>     > _______________________________________________
>     > meta-virtualization mailing list
>     > meta-virtualization@yoctoproject.org
>     > https://lists.yoctoproject.org/listinfo/meta-virtualization
>
>
>
>     --
>     - Thou shalt not follow the NULL pointer, for chaos and madness await
>     thee at its end
>     - "Use the force Harry" - Gandalf, Star Trek II
>
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II


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

* Re: Issues with 50cdecc sysvinit-inittab_xen.inc: fix hypervisor console
  2019-04-08 11:34     ` Bruce Ashfield
@ 2019-04-10  5:06       ` Manjukumar Harthikote Matha
  2019-04-12 14:54         ` Bruce Ashfield
  0 siblings, 1 reply; 5+ messages in thread
From: Manjukumar Harthikote Matha @ 2019-04-10  5:06 UTC (permalink / raw)
  To: Bruce Ashfield, Sathees Balya; +Cc: meta-virtualization, nd

Hi Bruce,

> -----Original Message-----
> From: Bruce Ashfield [mailto:bruce.ashfield@gmail.com]
> Sent: Monday, April 8, 2019 4:34 AM
> To: Sathees Balya <Sathees.Balya@arm.com>
> Cc: Filipe Rinaldi <Filipe.Rinaldi@arm.com>; meta-
> virtualization@yoctoproject.org; Manjukumar Harthikote Matha
> <MANJUKUM@xilinx.com>; nd <nd@arm.com>
> Subject: Re: [meta-virtualization] Issues with 50cdecc sysvinit-inittab_xen.inc: fix
> hypervisor console
> 
> On Mon, Apr 8, 2019 at 7:26 AM Sathees Balya <Sathees.Balya@arm.com>
> wrote:
> >
> > Hi Bruce,
> >
> > We reverted the commit "50cdecca7b2a0e1bb5eacbec132f26b802f950fc" and
> the console starts as expected. Thanks.
> >

We should revert this commit, and we can update the patch later after testing it out on different cases. 

Thanks,
Manju

> 
> We had already established that without the commit things start, they were
> starting before we made that change. It was for fixing a different issue and for
> standardizing on the use of the variable.
> 
> I'm trying to find out if we change the startup check, if the console still works.
> 
> Bruce
> 
> >
> > Regards,
> > Sathees
> >
> > On 08/04/2019, 04:12, "Bruce Ashfield" <bruce.ashfield@gmail.com> wrote:
> >
> >     On Thu, Apr 4, 2019 at 4:11 PM Filipe Rinaldi <Filipe.Rinaldi@arm.com>
> wrote:
> >     >
> >     > Hi,
> >     >
> >     >
> >     > With regards commit "50cdecc sysvinit-inittab_xen.inc: fix hypervisor
> console"...
> >     >
> >     >
> >     > We are having issues with this patch. When using start_getty (a wrapper to
> getty) it will first check if the console device is a "serial" device driver [1]. It then
> fails because hvc0 is a "system" device, not a "serial" [2].
> >     >
> >     >
> >     > [1] https://github.com/openembedded/openembedded-
> core/blob/master/meta/recipes-core/sysvinit/sysvinit-inittab/start_getty#L11
> >     >
> >     > [2]
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/tt
> y/hvc/hvc_console.c#n1036
> >     >
> >     >
> >     > Any thoughts?
> >
> >     Can you confirm that if that check is removed that the console still
> >     functions as expected ?
> >
> >     Rather than bouncing back and forth between fixing one issue, and
> >     creating another, I'm tempted to just bbappend and patch the
> >     problematic check out of the startup. But I'm not currently setup to
> >     test the issue.
> >
> >     Bruce
> >
> >     >
> >     >
> >     > Cheers,
> >     >
> >     > Filipe
> >     >
> >     >
> >     > IMPORTANT NOTICE: The contents of this email and any attachments are
> confidential and may also be privileged. If you are not the intended recipient,
> please notify the sender immediately and do not disclose the contents to any
> other person, use it for any purpose, or store or copy the information in any
> medium. Thank you.
> >     > --
> >     > _______________________________________________
> >     > meta-virtualization mailing list
> >     > meta-virtualization@yoctoproject.org
> >     > https://lists.yoctoproject.org/listinfo/meta-virtualization
> >
> >
> >
> >     --
> >     - Thou shalt not follow the NULL pointer, for chaos and madness await
> >     thee at its end
> >     - "Use the force Harry" - Gandalf, Star Trek II
> >
> >
> 
> 
> --
> - Thou shalt not follow the NULL pointer, for chaos and madness await thee at
> its end
> - "Use the force Harry" - Gandalf, Star Trek II

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

* Re: Issues with 50cdecc sysvinit-inittab_xen.inc: fix hypervisor console
  2019-04-10  5:06       ` Manjukumar Harthikote Matha
@ 2019-04-12 14:54         ` Bruce Ashfield
  0 siblings, 0 replies; 5+ messages in thread
From: Bruce Ashfield @ 2019-04-12 14:54 UTC (permalink / raw)
  To: Manjukumar Harthikote Matha; +Cc: meta-virtualization, nd

On Wed, Apr 10, 2019 at 1:06 AM Manjukumar Harthikote Matha
<MANJUKUM@xilinx.com> wrote:
>
> Hi Bruce,
>
> > -----Original Message-----
> > From: Bruce Ashfield [mailto:bruce.ashfield@gmail.com]
> > Sent: Monday, April 8, 2019 4:34 AM
> > To: Sathees Balya <Sathees.Balya@arm.com>
> > Cc: Filipe Rinaldi <Filipe.Rinaldi@arm.com>; meta-
> > virtualization@yoctoproject.org; Manjukumar Harthikote Matha
> > <MANJUKUM@xilinx.com>; nd <nd@arm.com>
> > Subject: Re: [meta-virtualization] Issues with 50cdecc sysvinit-inittab_xen.inc: fix
> > hypervisor console
> >
> > On Mon, Apr 8, 2019 at 7:26 AM Sathees Balya <Sathees.Balya@arm.com>
> > wrote:
> > >
> > > Hi Bruce,
> > >
> > > We reverted the commit "50cdecca7b2a0e1bb5eacbec132f26b802f950fc" and
> > the console starts as expected. Thanks.
> > >
>
> We should revert this commit, and we can update the patch later after testing it out on different cases.

ok, I can do that. As long as you are ok with your issue popping back up!

I've pushed the revert.

Bruce

>
> Thanks,
> Manju
>
> >
> > We had already established that without the commit things start, they were
> > starting before we made that change. It was for fixing a different issue and for
> > standardizing on the use of the variable.
> >
> > I'm trying to find out if we change the startup check, if the console still works.
> >
> > Bruce
> >
> > >
> > > Regards,
> > > Sathees
> > >
> > > On 08/04/2019, 04:12, "Bruce Ashfield" <bruce.ashfield@gmail.com> wrote:
> > >
> > >     On Thu, Apr 4, 2019 at 4:11 PM Filipe Rinaldi <Filipe.Rinaldi@arm.com>
> > wrote:
> > >     >
> > >     > Hi,
> > >     >
> > >     >
> > >     > With regards commit "50cdecc sysvinit-inittab_xen.inc: fix hypervisor
> > console"...
> > >     >
> > >     >
> > >     > We are having issues with this patch. When using start_getty (a wrapper to
> > getty) it will first check if the console device is a "serial" device driver [1]. It then
> > fails because hvc0 is a "system" device, not a "serial" [2].
> > >     >
> > >     >
> > >     > [1] https://github.com/openembedded/openembedded-
> > core/blob/master/meta/recipes-core/sysvinit/sysvinit-inittab/start_getty#L11
> > >     >
> > >     > [2]
> > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/tt
> > y/hvc/hvc_console.c#n1036
> > >     >
> > >     >
> > >     > Any thoughts?
> > >
> > >     Can you confirm that if that check is removed that the console still
> > >     functions as expected ?
> > >
> > >     Rather than bouncing back and forth between fixing one issue, and
> > >     creating another, I'm tempted to just bbappend and patch the
> > >     problematic check out of the startup. But I'm not currently setup to
> > >     test the issue.
> > >
> > >     Bruce
> > >
> > >     >
> > >     >
> > >     > Cheers,
> > >     >
> > >     > Filipe
> > >     >
> > >     >
> > >     > IMPORTANT NOTICE: The contents of this email and any attachments are
> > confidential and may also be privileged. If you are not the intended recipient,
> > please notify the sender immediately and do not disclose the contents to any
> > other person, use it for any purpose, or store or copy the information in any
> > medium. Thank you.
> > >     > --
> > >     > _______________________________________________
> > >     > meta-virtualization mailing list
> > >     > meta-virtualization@yoctoproject.org
> > >     > https://lists.yoctoproject.org/listinfo/meta-virtualization
> > >
> > >
> > >
> > >     --
> > >     - Thou shalt not follow the NULL pointer, for chaos and madness await
> > >     thee at its end
> > >     - "Use the force Harry" - Gandalf, Star Trek II
> > >
> > >
> >
> >
> > --
> > - Thou shalt not follow the NULL pointer, for chaos and madness await thee at
> > its end
> > - "Use the force Harry" - Gandalf, Star Trek II



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II


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

end of thread, other threads:[~2019-04-12 14:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-04  7:36 Issues with 50cdecc sysvinit-inittab_xen.inc: fix hypervisor console Filipe Rinaldi
2019-04-08  3:12 ` Bruce Ashfield
     [not found]   ` <CF877014-38CB-405B-9DCB-99E957BA0339@arm.com>
2019-04-08 11:34     ` Bruce Ashfield
2019-04-10  5:06       ` Manjukumar Harthikote Matha
2019-04-12 14:54         ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.