Subject: Assertions in acpidump
To: None <current-users@NetBSD.org>
From: Jukka Ruohonen <drear@iki.fi>
List: current-users
Date: 02/03/2008 00:25:12
Hello,
this is not really a current issue, but acpidump fails to disassemble
data from the BIOS of my laptop due two assertions:
diff -ur ./asl_dump.c.org ./asl_dump.c
--- ./asl_dump.c.org 2008-02-03 00:14:15.000000000 +0200
+++ ./asl_dump.c 2008-02-03 00:01:00.000000000 +0200
@@ -690,7 +690,7 @@
print_indent(indent);
printf("}");
- assert(dp == end);
+// assert(dp == end);
ASL_LEAVE_SCOPE(oname);
*dpp = dp;
}
@@ -1043,7 +1043,7 @@
print_indent(indent);
printf("}");
- assert(dp == end);
+// assert(dp == end);
*dpp = dp;
}
This may be because of the comments that HP developers have included in
their great wisdom:
/*
SLIC: Length=374, Revision=1, Checksum=171,
OEMID=HPQOEM, OEM Table ID=SLIC-MPC, OEM Revision=0x1,
Creator ID=HP, Creator Revision=0x1
*/
/*
HPET: Length=56, Revision=1, Checksum=55,
OEMID=HP, OEM Table ID=30B1, OEM Revision=0x1,
Creator ID=HP, Creator Revision=0x1
*/
/*
... and the list goes on and on at the end of the dump. I don't know if
there is anything to fix really, but figured that this would be worth
mentioning nevertheless.
- Jukka R.