Skip to content

journalctl maybe missing some log between the [email protected] #17452

Closed

Description

@syyhao1994

systemd version the issue has been seen with

v246

Used distribution

fedora33

Linux kernel version used (uname -a)

4.18

CPU architecture issue was seen on

x86

Expected behaviour you didn't see

journalctl get all the log of [email protected]

Unexpected behaviour you saw

journalctl missing some log between the files of [email protected].

Steps to reproduce the problem

for reproduce the problem easily, i modify the
RuntimeMaxUse=8M
RuntimeMaxFileSize=1M

1.the test.sh is used as below
[root@localhost ~]# cat test.sh
#!/bin/bash
while true
do
for i in {0..10}
do
echo "MCE $i"
echo "CPU 0 BANK 4"
echo "MISC 0 ADDR 118abb000"
echo "MCG status:"
echo "MCi status:"
echo "Corrected error"
echo "Error enabled"
echo "MCi_MISC register valid"
echo "MCi_ADDR register valid"
echo "MCA: MEMORY CONTROLLER RD_CHANNEL2_ERR"
echo "Transaction: Memory read error"
echo "PCU: PCU internal error No Error"
echo "STATUS 9c00000000210092 MCGSTATUS 0"
echo "MCGCAP 100010a APICID 0 SOCKETID 0"
echo "MICROCODE 1"
echo "CPUID Vendor Intel Family 6 Model 79 Step 1"
echo "Hardware event. This is not a software error."
done
done

[root@localhost ~]# cat /etc/rc.local
#!/bin/bash
# THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES
#
# It is highly advisable to create own systemd services or udev rules
# to run scripts during boot instead of using this file.
#
# In contrast to previous versions due to parallel execution during boot
# this script will NOT be run after all other services.
#
# Please note that you must run 'chmod +x /etc/rc.d/rc.local' to ensure
# that this script will be executed during boot.

touch /var/lock/subsys/local
/usr/bin/bash /root/test.sh &

3
systemctl restart rc-local.service or reboot

journalctl > test.log

5.the log in different [email protected] files is continuous. But the log in test.log missing logs, such as the log after MCE 8 should be MCE 9 rather than MCE 2
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: MCE 8
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: CPU 0 BANK 4
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: MISC 0 ADDR 118abb000
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: MCG status:
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: MCi status:
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: Corrected error
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: Error enabled
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: MCi_MISC register valid
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: MCi_ADDR register valid
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: MCA: MEMORY CONTROLLER RD_CHANNEL2_ERR
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: Transaction: Memory read error
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: PCU: PCU internal error No Error
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: STATUS 9c00000000210092 MCGSTATUS 0
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: MCGCAP 100010a APICID 0 SOCKETID 0
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: MICROCODE 1
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: CPUID Vendor Intel Family 6 Model 79 Step 1
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: Hardware event. This is not a software error.
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: MCE 2
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: CPU 0 BANK 4
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: MISC 0 ADDR 118abb000
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: MCG status:
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: MCi status:
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: Corrected error
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: Error enabled
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: MCi_MISC register valid
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: MCi_ADDR register valid
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: MCA: MEMORY CONTROLLER RD_CHANNEL2_ERR
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: Transaction: Memory read error
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: PCU: PCU internal error No Error
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: STATUS 9c00000000210092 MCGSTATUS 0
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: MCGCAP 100010a APICID 0 SOCKETID 0
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: MICROCODE 1
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: CPUID Vendor Intel Family 6 Model 79 Step 1
Oct 26 21:56:25 localhost.localdomain rc.local[4985]: Hardware event. This is not a software error.

Then i tried the second time to reproduce the problem. And i used the commands as listed below to get the [email protected] and journalctl.log.

journalctl --file system@d62db8d1cdfd4c54a01f9dafba710337-00000000000277a9-0005b29e02ae604d.journal > /home/[email protected]
journalctl --file system@d62db8d1cdfd4c54a01f9dafba710337-0000000000027c10-0005b29e02aeb88c.journal >> /home/[email protected]
journalctl --file system@d62db8d1cdfd4c54a01f9dafba710337-000000000002807b-0005b29e02af0bf1.journal >> /home/[email protected]
journalctl --file system@d62db8d1cdfd4c54a01f9dafba710337-00000000000284e6-0005b29e02af582b.journal >> /home/[email protected]
journalctl --file system@d62db8d1cdfd4c54a01f9dafba710337-000000000002894d-0005b29e02afabcc.journal >> /home/[email protected]
journalctl --file system@d62db8d1cdfd4c54a01f9dafba710337-0000000000028db8-0005b29e02affdba.journal >> /home/[email protected]
journalctl --file system@d62db8d1cdfd4c54a01f9dafba710337-0000000000029223-0005b29e02b050de.journal >> /home/[email protected]
journalctl --file system@d62db8d1cdfd4c54a01f9dafba710337-000000000002968e-0005b29e02b09d43.journal >> /home/[email protected]
journalctl --file system.journal >> /home/[email protected]

journalctl > /home/journalctl.log

I will use [email protected] as the first journal file and the [email protected] as the second journal file listed above.

I compared these two files, it seems that journalctl.log got from journactl command missed some logs that logging at the tail of [email protected] and the beginning of the [email protected].
We have eight [email protected] files and one system.journal, so there was eight intervals of journals. The seven of eight intervals missing the logs of the tail of [email protected] and the beginning of the system@x+1.journal. The log of "-- Journal begins at Wed 2020-10-28 16:18:22 CST, ends at Wed 2020-10-28 16:18:22 CST. --" is the beginning of each single [email protected]. The missing logs is listed as below:

tail of [email protected] and the beginning of [email protected] was missing:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCE 8
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPU 0 BANK 4
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MISC 0 ADDR 118abb000
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCG status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Corrected error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Error enabled
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_MISC register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_ADDR register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCA: MEMORY CONTROLLER RD_CHANNEL2_ERR
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Transaction: Memory read error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: PCU: PCU internal error No Error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: STATUS 9c00000000210092 MCGSTATUS 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCGCAP 100010a APICID 0 SOCKETID 0
-- Journal begins at Wed 2020-10-28 16:18:22 CST, ends at Wed 2020-10-28 16:18:22 CST. --
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MICROCODE 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPUID Vendor Intel Family 6 Model 79 Step 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Hardware event. This is not a software error.

tail of [email protected] and the beginning of [email protected] was missing:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCE 6
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPU 0 BANK 4
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MISC 0 ADDR 118abb000
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCG status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Corrected error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Error enabled
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_MISC register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_ADDR register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCA: MEMORY CONTROLLER RD_CHANNEL2_ERR
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Transaction: Memory read error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: PCU: PCU internal error No Error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: STATUS 9c00000000210092 MCGSTATUS 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCGCAP 100010a APICID 0 SOCKETID 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MICROCODE 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPUID Vendor Intel Family 6 Model 79 Step 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Hardware event. This is not a software error.
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCE 7
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPU 0 BANK 4
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MISC 0 ADDR 118abb000
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCG status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Corrected error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Error enabled
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_MISC register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_ADDR register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCA: MEMORY CONTROLLER RD_CHANNEL2_ERR
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Transaction: Memory read error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: PCU: PCU internal error No Error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: STATUS 9c00000000210092 MCGSTATUS 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCGCAP 100010a APICID 0 SOCKETID 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MICROCODE 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPUID Vendor Intel Family 6 Model 79 Step 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Hardware event. This is not a software error.
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCE 8
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPU 0 BANK 4
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MISC 0 ADDR 118abb000
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCG status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Corrected error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Error enabled
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_MISC register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_ADDR register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCA: MEMORY CONTROLLER RD_CHANNEL2_ERR
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Transaction: Memory read error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: PCU: PCU internal error No Error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: STATUS 9c00000000210092 MCGSTATUS 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCGCAP 100010a APICID 0 SOCKETID 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MICROCODE 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPUID Vendor Intel Family 6 Model 79 Step 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Hardware event. This is not a software error.
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCE 9
-- Journal begins at Wed 2020-10-28 16:18:22 CST, ends at Wed 2020-10-28 16:18:22 CST. --
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPU 0 BANK 4
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MISC 0 ADDR 118abb000
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCG status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Corrected error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Error enabled
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_MISC register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_ADDR register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCA: MEMORY CONTROLLER RD_CHANNEL2_ERR
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Transaction: Memory read error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: PCU: PCU internal error No Error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: STATUS 9c00000000210092 MCGSTATUS 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCGCAP 100010a APICID 0 SOCKETID 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MICROCODE 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPUID Vendor Intel Family 6 Model 79 Step 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Hardware event. This is not a software error.

tail of [email protected] and the beginning of [email protected] was missing:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCE 8
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPU 0 BANK 4
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MISC 0 ADDR 118abb000
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCG status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Corrected error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Error enabled
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_MISC register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_ADDR register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCA: MEMORY CONTROLLER RD_CHANNEL2_ERR
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Transaction: Memory read error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: PCU: PCU internal error No Error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: STATUS 9c00000000210092 MCGSTATUS 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCGCAP 100010a APICID 0 SOCKETID 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MICROCODE 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPUID Vendor Intel Family 6 Model 79 Step 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Hardware event. This is not a software error.
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCE 9
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPU 0 BANK 4
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MISC 0 ADDR 118abb000
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCG status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Corrected error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Error enabled
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_MISC register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_ADDR register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCA: MEMORY CONTROLLER RD_CHANNEL2_ERR
-- Journal begins at Wed 2020-10-28 16:18:22 CST, ends at Wed 2020-10-28 16:18:22 CST. --
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Transaction: Memory read error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: PCU: PCU internal error No Error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: STATUS 9c00000000210092 MCGSTATUS 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCGCAP 100010a APICID 0 SOCKETID 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MICROCODE 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPUID Vendor Intel Family 6 Model 79 Step 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Hardware event. This is not a software error.

tail of [email protected] and the beginning of [email protected] was missing:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCE 10
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPU 0 BANK 4
-- Journal begins at Wed 2020-10-28 16:18:22 CST, ends at Wed 2020-10-28 16:18:22 CST. --
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MISC 0 ADDR 118abb000
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCG status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Corrected error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Error enabled
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_MISC register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_ADDR register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCA: MEMORY CONTROLLER RD_CHANNEL2_ERR
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Transaction: Memory read error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: PCU: PCU internal error No Error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: STATUS 9c00000000210092 MCGSTATUS 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCGCAP 100010a APICID 0 SOCKETID 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MICROCODE 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPUID Vendor Intel Family 6 Model 79 Step 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Hardware event. This is not a software error.

tail of [email protected] and the beginning of [email protected] was missing:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCE 7
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPU 0 BANK 4
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MISC 0 ADDR 118abb000
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCG status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Corrected error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Error enabled
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_MISC register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_ADDR register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCA: MEMORY CONTROLLER RD_CHANNEL2_ERR
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Transaction: Memory read error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: PCU: PCU internal error No Error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: STATUS 9c00000000210092 MCGSTATUS 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCGCAP 100010a APICID 0 SOCKETID 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MICROCODE 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPUID Vendor Intel Family 6 Model 79 Step 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Hardware event. This is not a software error.
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCE 8
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPU 0 BANK 4
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MISC 0 ADDR 118abb000
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCG status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Corrected error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Error enabled
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_MISC register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_ADDR register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCA: MEMORY CONTROLLER RD_CHANNEL2_ERR
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Transaction: Memory read error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: PCU: PCU internal error No Error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: STATUS 9c00000000210092 MCGSTATUS 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCGCAP 100010a APICID 0 SOCKETID 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MICROCODE 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPUID Vendor Intel Family 6 Model 79 Step 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Hardware event. This is not a software error.
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCE 9
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPU 0 BANK 4
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MISC 0 ADDR 118abb000
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCG status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Corrected error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Error enabled
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_MISC register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_ADDR register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCA: MEMORY CONTROLLER RD_CHANNEL2_ERR
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Transaction: Memory read error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: PCU: PCU internal error No Error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: STATUS 9c00000000210092 MCGSTATUS 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCGCAP 100010a APICID 0 SOCKETID 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MICROCODE 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPUID Vendor Intel Family 6 Model 79 Step 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Hardware event. This is not a software error.
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCE 10
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPU 0 BANK 4
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MISC 0 ADDR 118abb000
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCG status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Corrected error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Error enabled
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_MISC register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_ADDR register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCA: MEMORY CONTROLLER RD_CHANNEL2_ERR
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Transaction: Memory read error
-- Journal begins at Wed 2020-10-28 16:18:22 CST, ends at Wed 2020-10-28 16:18:22 CST. --
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: PCU: PCU internal error No Error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: STATUS 9c00000000210092 MCGSTATUS 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCGCAP 100010a APICID 0 SOCKETID 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MICROCODE 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPUID Vendor Intel Family 6 Model 79 Step 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Hardware event. This is not a software error.

tail of [email protected] and the beginning of [email protected] was missing:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCE 10
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPU 0 BANK 4
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MISC 0 ADDR 118abb000
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCG status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Corrected error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Error enabled
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_MISC register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_ADDR register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCA: MEMORY CONTROLLER RD_CHANNEL2_ERR
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Transaction: Memory read error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: PCU: PCU internal error No Error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: STATUS 9c00000000210092 MCGSTATUS 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCGCAP 100010a APICID 0 SOCKETID 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MICROCODE 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPUID Vendor Intel Family 6 Model 79 Step 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Hardware event. This is not a software error.
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCE 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPU 0 BANK 4
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MISC 0 ADDR 118abb000
-- Journal begins at Wed 2020-10-28 16:18:22 CST, ends at Wed 2020-10-28 16:18:22 CST. --
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCG status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Corrected error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Error enabled
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_MISC register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_ADDR register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCA: MEMORY CONTROLLER RD_CHANNEL2_ERR
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Transaction: Memory read error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: PCU: PCU internal error No Error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: STATUS 9c00000000210092 MCGSTATUS 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCGCAP 100010a APICID 0 SOCKETID 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MICROCODE 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPUID Vendor Intel Family 6 Model 79 Step 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Hardware event. This is not a software error.

tail of [email protected] and the beginning of [email protected] was no missing:

tail of [email protected] and the beginning of [email protected] was no missing:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCE 10
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPU 0 BANK 4
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MISC 0 ADDR 118abb000
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCG status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Corrected error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Error enabled
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_MISC register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_ADDR register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCA: MEMORY CONTROLLER RD_CHANNEL2_ERR
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Transaction: Memory read error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: PCU: PCU internal error No Error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: STATUS 9c00000000210092 MCGSTATUS 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCGCAP 100010a APICID 0 SOCKETID 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MICROCODE 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPUID Vendor Intel Family 6 Model 79 Step 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Hardware event. This is not a software error.
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCE 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPU 0 BANK 4
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MISC 0 ADDR 118abb000
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCG status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Corrected error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Error enabled
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_MISC register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_ADDR register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCA: MEMORY CONTROLLER RD_CHANNEL2_ERR
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Transaction: Memory read error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: PCU: PCU internal error No Error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: STATUS 9c00000000210092 MCGSTATUS 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCGCAP 100010a APICID 0 SOCKETID 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MICROCODE 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPUID Vendor Intel Family 6 Model 79 Step 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Hardware event. This is not a software error.
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCE 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPU 0 BANK 4
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MISC 0 ADDR 118abb000
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCG status:
-- Journal begins at Wed 2020-10-28 16:18:22 CST, ends at Wed 2020-10-28 16:18:22 CST. --
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi status:
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Corrected error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Error enabled
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_MISC register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCi_ADDR register valid
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCA: MEMORY CONTROLLER RD_CHANNEL2_ERR
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Transaction: Memory read error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: PCU: PCU internal error No Error
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: STATUS 9c00000000210092 MCGSTATUS 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MCGCAP 100010a APICID 0 SOCKETID 0
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: MICROCODE 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: CPUID Vendor Intel Family 6 Model 79 Step 1
Oct 28 16:18:22 localhost.localdomain rc.local[8079]: Hardware event. This is not a software error.

This problem is similiar to the issue listed below, but they are different.
#14898

Activity

  1. syyhao1994 commented on Nov 2, 2020

    @syyhao1994
    ContributorAuthor

    @poettering @georgmu @keszybz @yuwata Does any one provides any suggestion or discussion about this problem?

  2. georgmu commented on Nov 2, 2020

    @georgmu
    Contributor

    Can you please help me to understand it correctly (since the timestamps are different from your first example and the second, I don't know if I understand it right):

    If you produce journalctl output without specifying a journal (journalctl will loop through all available files) the data is missing.
    If you do it manually, the data is there?

    If not, could you please provide a shorter example, maybe also by sharing the journal files so that it is possible to reproduce

  3. syyhao1994 commented on Nov 3, 2020

    @syyhao1994
    ContributorAuthor

    Can you please help me to understand it correctly (since the timestamps are different from your first example and the second, I don't know if I understand it right):

    If you produce journalctl output without specifying a journal (journalctl will loop through all available files) the data is missing.
    If you do it manually, the data is there?

    If not, could you please provide a shorter example, maybe also by sharing the journal files so that it is possible to reproduce

    You are understand it correctly. The timestamps are different because i tried the several times. Actually this problem is easily to reproduce with the method i provided before.

    If you produce journalctl output without specifying a journal (journalctl will loop through all available files) the data is missing.
    If you do it manually, the data is there?

    I got the journalctl.log and [email protected] with the method below, and then i compared them. The result is journalctl.log would miss the log between two journal files frequently, but not the every gap between two journal files.

    journalctl > /home/journalctl.log

    journalctl --file system@d62db8d1cdfd4c54a01f9dafba710337-00000000000277a9-0005b29e02ae604d.journal > /home/[email protected]
    journalctl --file system@d62db8d1cdfd4c54a01f9dafba710337-0000000000027c10-0005b29e02aeb88c.journal >> /home/[email protected]
    journalctl --file system@d62db8d1cdfd4c54a01f9dafba710337-000000000002807b-0005b29e02af0bf1.journal >> /home/[email protected]
    journalctl --file system@d62db8d1cdfd4c54a01f9dafba710337-00000000000284e6-0005b29e02af582b.journal >> /home/[email protected]
    journalctl --file system@d62db8d1cdfd4c54a01f9dafba710337-000000000002894d-0005b29e02afabcc.journal >> /home/[email protected]
    journalctl --file system@d62db8d1cdfd4c54a01f9dafba710337-0000000000028db8-0005b29e02affdba.journal >> /home/[email protected]
    journalctl --file system@d62db8d1cdfd4c54a01f9dafba710337-0000000000029223-0005b29e02b050de.journal >> /home/[email protected]
    journalctl --file system@d62db8d1cdfd4c54a01f9dafba710337-000000000002968e-0005b29e02b09d43.journal >> /home/[email protected]
    journalctl --file system.journal >> /home/[email protected]
    @poettering @georgmu @keszybz @yuwata

  4. changed the title [-]journalctl maybe missing some log between the [email protected][/-] [+]journalctl maybe missing some log between the [email protected][/+] on Nov 4, 2020
  5. syyhao1994 commented on Nov 7, 2020

    @syyhao1994
    ContributorAuthor

    I made the new logs of journactl_all.log and systemxxx_all.log. You could get it from https://github.com/syyhao1994/files
    @poettering @georgmu @keszybz @yuwata

  6. poettering commented on Feb 15, 2021

    @poettering
    Member

    Apparently replaced by #17540

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions