[systemd-devel] PATCH: fix logind on xen

Kay Sievers kay.sievers at vrfy.org
Fri Jan 6 18:18:38 PST 2012


On Sat, Jan 7, 2012 at 00:21, Lennart Poettering <lennart at poettering.net> wrote:

>> 4. xencons=ttyS
>>    creates: /dev/ttyS0
>>    implied defaults: console=tty0
>>    <sysfs>/active: "ttyS-1 tty0" (bug...)
>>    /dev/tty0..63 exist.
>
> Judging by this the implied default is actually "console=ttyS-1 console=tty0".
>
> Thinking a bit about this my guess is Xen stores -1 as a number for
> the device somewhere and the code that formats the "active" string is a
> bit confused about that. While it probably means that no such console is
> configured the kernel just formats it as-is. Kay, you wrote that code,
> say something!

It just uses console->name + console->index. Unless someone tells us
there is a bug in the generic part, I tend to ignore all Xen issues,
this looks really too broken to work around it.

Kay


More information about the systemd-devel mailing list