On Fri, 2010-07-23 at 15:43 +0100, Richard W.M. Jones wrote:
On Fri, Jul 23, 2010 at 04:02:59PM +0200, Carl-Daniel Hailfinger wrote:
On 23.07.2010 15:06, Richard W.M. Jones wrote:
flashrom v0.9.2-r1099 on Linux 2.6.33.6-147.fc13.x86_64 (x86_64), built with libpci 3.1.6, GCC 4.4.4 20100630 (Red Hat 4.4.4-10), little endian Calibrating delay loop... OS timer resolution is 999 usecs, 1406M loops per second, 10 myus = 0 us, 100 myus = 0 us, 1000 myus = 999 us, 10000 myus = 9999 us, 3996 myus = 3999 us, OK.
It is highly unusual for a halfway modern Linux system to have a timer resolution of 1 ms. Usually the Linux kernel will use a time source which has 10 us accuracy or better. Is this some special distribution kernel?
It's Fedora 13's standard kernel:
Linux amd.home.annexia.org 2.6.33.6-147.fc13.x86_64 #1 SMP Tue Jul 6 22:32:17 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
I've attached the boot messages.
DMI string system-manufacturer: "# SMBIOS implementations newer than version 2.6 are not" DMI string system-product-name: "# SMBIOS implementations newer than version 2.6 are not" DMI string system-version: "# SMBIOS implementations newer than version 2.6 are not" DMI string baseboard-manufacturer: "# SMBIOS implementations newer than version 2.6 are not" DMI string baseboard-product-name: "# SMBIOS implementations newer than version 2.6 are not" DMI string baseboard-version: "# SMBIOS implementations newer than version 2.6 are not" DMI string chassis-type: "# SMBIOS implementations newer than version 2.6 are not"
Now this is a serious problem. Apparently dmidecode in Fedora has a patch in the RPM (dmidecode-warn-on-unsupported-smbios-version.patch) which breaks the original documented output format. If this only affected the board enables, it wouldn't be that bad (failing/corrupting writes on a few dozen boards which can be fixed interactively), but it also completely disables laptop detection and that means Fedora will get bug reports about hard lockups and/or disabled fans on laptops. I don't want to blame Fedora because this is a patch hand-picked from upstream dmidecode. We'll add a workaorund to flashrom ASAP.
Nice ...
CC-ing the dmidecode maintainer in Fedora.
Thanks for putting me in copy. I will update the dmidecode to understand the new specification and take a look at the mentioned patch to figure out how to handle the situation better.
thanks! Anton.
Rich.