Bug#623266: [mcelog] outputs wrong event times (current instead of actual)

2011-04-20 Thread Filipus Klutiero

On 2011-04-19 06:24, Julien BLACHE wrote:

notfound 623266 1.0~pre3-3
close 623266
thanks

Filipus Klutiero  wrote:

Hi,


TIME 1303155852 Mon Apr 18 15:44:12 2011 is when I ran mcelog, rather
than when each error occured. I have seen this issue every time mcelog
outputted errors.

This is the expected and documented behaviour.

It's certainly not expected, but where would it be documented?

  MCE events don't come
with wall time attached to them, the best you can have is the time the
kernel collected them from the CPU.

...so why isn't mcelog using that time?

mcelog runs as a daemon (by default) or trigger (user configurable)
these days, so the time you get in the log is the time the kernel
collected the event.
OK but note that I'm not talking about the time in the log, but the time 
outputted when running mcelog.




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#623266: [mcelog] outputs wrong event times (current instead of actual)

2011-04-19 Thread Julien BLACHE
notfound 623266 1.0~pre3-3
close 623266
thanks

Filipus Klutiero  wrote:

Hi,

> TIME 1303155852 Mon Apr 18 15:44:12 2011 is when I ran mcelog, rather
> than when each error occured. I have seen this issue every time mcelog
> outputted errors.

This is the expected and documented behaviour. MCE events don't come
with wall time attached to them, the best you can have is the time the
kernel collected them from the CPU.

mcelog runs as a daemon (by default) or trigger (user configurable)
these days, so the time you get in the log is the time the kernel
collected the event.

JB.

-- 
 Julien BLACHE - Debian & GNU/Linux Developer -  
 
 Public key available on  - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#623266: [mcelog] outputs wrong event times (current instead of actual)

2011-04-18 Thread Filipus Klutiero

Package: mcelog
Version: 1.0~pre3-3
Severity: normal

When running mcelog to decode exceptions, events are output but with the 
wrong time. For the corresponding events written in kern.log or syslog:


Apr 18 15:32:20 vinci kernel: [41688.957686] CPU3: Core temperature 
above threshold, cpu clock throttled (total events = 922)
Apr 18 15:32:20 vinci kernel: [41688.957691] CPU1: Core temperature 
above threshold, cpu clock throttled (total events = 922)
Apr 18 15:32:20 vinci kernel: [41688.959791] CPU3: Core 
temperature/speed normal
Apr 18 15:32:20 vinci kernel: [41688.959795] CPU1: Core 
temperature/speed normal
Apr 18 15:34:43 vinci kernel: [41831.986684] [Hardware Error]: Machine 
check events logged


mcelog outputs:

# mcelog
mcelog: Unsupported new Family 6 Model 25 CPU: only decoding 
architectural errors

HARDWARE ERROR. This is *NOT* a software problem!
Please contact your hardware vendor
MCE 0
CPU 1 THERMAL EVENT TSC 50bffc18f4dc
TIME 1303155852 Mon Apr 18 15:44:12 2011
Processor 1 heated above trip temperature. Throttling enabled.
Please check your system cooling. Performance will be impacted
STATUS 880003c3 MCGSTATUS 0
MCGCAP c09 APICID 4 SOCKETID 0
CPUID Vendor Intel Family 6 Model 37
mcelog: Unsupported new Family 6 Model 25 CPU: only decoding 
architectural errors

HARDWARE ERROR. This is *NOT* a software problem!
Please contact your hardware vendor
MCE 1
CPU 3 THERMAL EVENT TSC 50bffc18fcb0
TIME 1303155852 Mon Apr 18 15:44:12 2011
Processor 3 heated above trip temperature. Throttling enabled.
Please check your system cooling. Performance will be impacted
STATUS 880003c3 MCGSTATUS 0
MCGCAP c09 APICID 5 SOCKETID 0
CPUID Vendor Intel Family 6 Model 37
mcelog: Unsupported new Family 6 Model 25 CPU: only decoding 
architectural errors

HARDWARE ERROR. This is *NOT* a software problem!
Please contact your hardware vendor
MCE 2
CPU 3 THERMAL EVENT TSC 50bffc5d4268
TIME 1303155852 Mon Apr 18 15:44:12 2011
Processor 3 below trip temperature. Throttling disabled
STATUS 88010282 MCGSTATUS 0
MCGCAP c09 APICID 5 SOCKETID 0
CPUID Vendor Intel Family 6 Model 37
mcelog: Unsupported new Family 6 Model 25 CPU: only decoding 
architectural errors

HARDWARE ERROR. This is *NOT* a software problem!
Please contact your hardware vendor
MCE 3
CPU 1 THERMAL EVENT TSC 50bffc5d3f18
TIME 1303155852 Mon Apr 18 15:44:12 2011
Processor 1 below trip temperature. Throttling disabled
STATUS 88010282 MCGSTATUS 0
MCGCAP c09 APICID 4 SOCKETID 0
CPUID Vendor Intel Family 6 Model 37
root@vinci:~#


TIME 1303155852 Mon Apr 18 15:44:12 2011 is when I ran mcelog, rather 
than when each error occured. I have seen this issue every time mcelog 
outputted errors.


--- System information. ---
Architecture: i386
Kernel: Linux 2.6.38-2-686-bigmem

Debian Release: wheezy/sid
990 testing security.debian.org
990 testing ftp.ca.debian.org
500 unstable ftp.ca.debian.org
1 experimental ftp.ca.debian.org

--- Package information. ---
Depends (Version) | Installed
=-+-==
libc6 (>= 2.4) | 2.11.2-11
debconf (>= 0.5) | 1.5.38
OR debconf-2.0 |
udev | 167-1
OR makedev (>= 2.3.1-81) |


Package's Recommends field is empty.

Package's Suggests field is empty.






--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org