openbmc / obmc-console

OpenBMC host console infrastructure
Apache License 2.0
17 stars 25 forks source link

console log is not wrapping like it should #14

Closed geissonator closed 6 years ago

geissonator commented 6 years ago

On our system, we do not configure the new logsize parameter so we should get the default of 16KB.

[witherspoon]# cat /etc/obmc-console.conf  
lpc-address = 0x3f8
sirq = 4
local-tty = ttyS0
local-tty-baud = 115200
[witherspoon]# ls -al /var/log/obmc-console.log 
-rw-r--r--    1 root     root        200428 Aug 23 04:39 /var/log/obmc-console.log
[witherspoon]# cat /etc/os-release 
ID="openbmc-phosphor"
NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"
VERSION="v2.3-188"
VERSION_ID="v2.3-188-g9c3cf82"
PRETTY_NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro) v2.3-188"
BUILD_ID="v2.3

Thoughts @kunyi731 ?

kunyi731 commented 6 years ago

I will take a look at this today.

kunyi731 commented 6 years ago

What's the output of 'systemctl status obmc-console@' ?

kunyi731 commented 6 years ago

Sent https://gerrit.openbmc-project.xyz/#/c/openbmc/obmc-console/+/12124/