Skip to contentSkip to conversation

call traces in xl dmesg during boot

DISCUSSION Olaf Hering 3 participants 5 messages Oct 29, 2020

lore
Share & tools
lore
#0 lore raw

During boot of xen.git#staging, Xen seems to think something pressed debug keys very early, which shows various call traces in 'xl dmesg'. A reboot may "fix" it, and no traces are printed.

Any idea what may cause this behavior? I do not see it on a slightly smaller box.

Olaf

#1 lore raw
Quoted 1 line · Olaf Hering

During boot of xen.git#staging, Xen seems to think something pressed debug keys very early, which shows various call traces in 'xl dmesg'. A reboot may "fix" it, and no traces are printed.

I'm seeing the same every now and then, albeit only with a single 'A' so far, iirc.

Quoted 1 line

Any idea what may cause this behavior? I do not see it on a slightly smaller box.

I've been assuming this is stuff left in the serial port's input latch or FIFO. So far I didn't have a good idea how to tell left over garbage from actual input that was sent very early, so I've no good idea how to work around it. A command line option triggering the discarding of initially present input doesn't look very attractive to me ...

Jan

#2 lore raw

Am Thu, 29 Oct 2020 10:10:51 +0100
schrieb Jan Beulich <[email protected]>:

Quoted 2 lines

I've been assuming this is stuff left in the serial port's input latch or FIFO.

Weird, there is no ipmitool attached to this host.

Maybe the firmware does funny things...

Olaf

#3 lore raw
In reply to Olaf Hering
Quoted 3 lines · Olaf Hering

During boot of xen.git#staging, Xen seems to think something pressed debug keys very early, which shows various call traces in 'xl dmesg'. A reboot may "fix" it, and no traces are printed.

Any idea what may cause this behavior? I do not see it on a slightly smaller box.

That means Xen is receiving real keystrokes on the UART.

I've seen it before on hardware with floating wires in place of a properly connected UART, but I've also seen it on systems with an incorrectly configured BAUD rate.  Looking at your command line, you probably want com1=115200,8n1 although this should also be the default.

Totally unrelated to the problem at hand, but an observation.

(XEN) [000000d6b68c0ecc] WARNING: NR_CPUS limit of 256 reached - ignoring further processors

You'll need NR_CPUS configured to 512 to boot properly on this system.

~Andrew

#4 lore raw

Am Thu, 29 Oct 2020 09:13:08 +0000
schrieb Andrew Cooper <[email protected]>:

Quoted 1 line

You'll need NR_CPUS configured to 512 to boot properly on this system.

Ah, thanks. My builds use the built-in defaults. I will adjust my future builds.

Olaf