[systemd-devel] systemd-analyze-197 broken

Kay Sievers kay at vrfy.org
Wed Jan 23 15:24:08 PST 2013


On Wed, Jan 23, 2013 at 9:45 PM, Lennart Poettering
<lennart at poettering.net> wrote:
> On Wed, 23.01.13 12:43, Kok, Auke-jan H (auke-jan.h.kok at intel.com) wrote:
>> On Wed, Jan 23, 2013 at 12:16 PM, Lennart Poettering
>> <lennart at poettering.net> wrote:
>> > On Wed, 23.01.13 12:03, Kok, Auke-jan H (auke-jan.h.kok at intel.com) wrote:
>> >
>> >>
>> >> On Tue, Jan 22, 2013 at 10:05 PM, Kok, Auke-jan H
>> >> <auke-jan.h.kok at intel.com> wrote:
>> >> > On Tue, Jan 22, 2013 at 7:33 PM, Kay Sievers <kay at vrfy.org> wrote:
>> >> >> On Wed, Jan 23, 2013 at 4:21 AM, Lennart Poettering
>> >> >>>
>> >> >>> Check if you have
>> >> >>> /sys/firmware/efi/efivars/LoaderTicksExec-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
>> >> >>> on your system.
>> >> >>
>> >> >> Yeah, gummiboot now exports "readable" values. But I guess the issue
>> >> >> you see is just the kernel version ...
>> >> >
>> >> > nod... I was still on 3.6 :^) - time for a kernel upgrade. I'll do a
>> >> > full round - I really like where the C rewrite is going so I want to
>> >> > make sure it covers the EFI stuff properly.
>> >>
>> >> I just updated to 3.8rc4 and still don't see this value -
>> >> gummiboot-15-1-g9112053.
>> >>
>> >> I assume it's still floating in some git repo?
>> >
>> > You need a very recent kernel to have the "/sys/firmware/efi/efivars"
>> > directory.
>> >
>> > And you need a very recent gummiboot to get the "Loader*" files in
>> > them. Do you see any "Loader*" files in there?
>>
>> both /sys/firmware/efi/efvars and Loader* entries are all there, e.g.
>> LoaderVersion* has "gummiboot 15" in it.
>>
>> I see Loader::ConfigTimeout, -DeviceIdentifier, -DevicePartUUID,
>> -EntriesAuto/Default/Selected, -TimeExecUsec, -TimeInitUsec,
>> -TimeMenuUsec and LoaderVersion
>>
>> maybe TicksExec is set conditionally?
>
> Nah, the Ticks stuff is just the old version of
> TimeExecUsec/TimeInitUsec. That's due to the rework Kay did regarding
> TSC vs. usec values.
>
> If you have these fields in the EFI vars then all you need is the
> current git version of systemd and "systemd-analyze" should show you
> firmware information.

Right, it's only in systemd git now, the new variables. Sorry for the confusion.

After we found out that even ACPI 5 will export timestamps in
nanoseconds I felt really bad for just lazily exporting the raw TSC
from the bootloader, and fixed it last night to export proper
timestamps. Some things just need a little bit of competition to get
people thinking and working. :)

Should be all much better now, besides the confusion the new renaming
has caused. Sorry for that again.

Kay


More information about the systemd-devel mailing list