mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00 since 5.17
Date: Thu, 31 Mar 2022 11:36:17 -0700	[thread overview]
Message-ID: <794a9c23-d3b9-c454-8f78-760060f0b9f2@candelatech.com> (raw)
In-Reply-To: <20220331034343.GC23200@1wt.eu>

On 3/30/22 8:43 PM, Willy Tarreau wrote:
> Hi Ben,
> 
> On Wed, Mar 30, 2022 at 02:27:56PM -0700, Ben Greear wrote:
>> Run /init as init process
>> Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
>> /init: error whitsc: Refined TSC clocksource calibration: 2903.996 MHz
>> le loading shareCPU: 2 PID: 1 Comm: init Not tainted 5.17.0+ #12
>> d libraries: libclocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x29dc020bb13, max_idle_ns: 440795273180 ns
>> rt.so.1: cannot Hardware name: Default string Default string/SKYBAY, BIOS 5.12 08/04/2020
>> open shared objeCall Trace:
>> ct file: No such <TASK>
>>   file or directo dump_stack_lvl+0x47/0x5c
>> ry
> 
> The coincidence between this error about your userland "libclocksource"
> and the messages about the clock sources being refined makes me wonder
> if there could be an error experienced during this lib's initialization
> at a moment where the list of clocksources appears empty or opening one
> of the /sys file is temporarily refused. I suspect that making a much
> larger or much smaller initrd could change the initialization order
> enough to prevent such an event from happening, but that sounds a bit
> odd :-/
> 
> Willy

For whatever reason, it was quite reproducible yesterday.  I notice that it
often (50+% of the time) failed on soft reboot, but I don't think it failed
a single time when I then went and powered it down fully and powered it back on.

So possibly it is some un-initialized memory somewhere that is exacerbating
some problem.

I will keep a watch on these errors and see if they always related to libclocksource.
Looks like 'rt.so.1' is what it cannot find though?  So maybe nothing particular to
do with /sys?

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


  reply	other threads:[~2022-03-31 18:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-30 21:27 Ben Greear
2022-03-31  3:43 ` Willy Tarreau
2022-03-31 18:36   ` Ben Greear [this message]
2022-03-31 19:59     ` Willy Tarreau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=794a9c23-d3b9-c454-8f78-760060f0b9f2@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=w@1wt.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®