Re: Part of Spinning up disk... ....ready logged on separate line and as warning (default level)
From: Bart Van Assche
Date: Mon Dec 06 2021 - 23:13:44 EST
On 12/3/21 06:48, Paul Menzel wrote:
Also, there are four dots in `....ready`, but the log timestamps only
differ by one seconds.
/* Wait 1 second for next try */
msleep(1000);
printk(KERN_CONT ".");
Any idea, how that can be?
Not sure what is going on. All I know is that KERN_CONT is considered
deprecated and that it should be avoided. From commit 45c55e92fcee
("checkpatch: warn on logging continuations"):
pr_cont(...) and printk(KERN_CONT ...) uses should be discouraged
as their output can be interleaved by multiple logging processes.
Thanks,
Bart.