Toni Mueller <[email protected]> wrote:
Hi,
> Jul 15 21:44:02 spruce mcelog: Failed to parse DMI data
OK, new patch, new output ;)
JB.
--
Julien BLACHE <[email protected]> | Debian, because code matters more
Debian & GNU/Linux Developer | <http://www.debian.org>
Public key available on <http://www.jblache.org> - KeyID: F5D6 5169
GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169
--- mcelog-1.0~pre3.orig/memdb.c
+++ mcelog-1.0~pre3/memdb.c
@@ -374,6 +374,9 @@ void prefill_memdb(void)
if (!bl || sscanf(bl + strcspn(bl, "_"),
"_Node%u_Channel%u_Dimm%u", &socketid,
&channel, &dimm) != 3) {
+
+ Eprintf("Failed to parse DMI data: [%s]", (bl) ? bl : "NULL");
+
missed++;
continue;
}