[lkml]   [2009]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] dmi_check_system can generate Warnings when no DMI table is present

* Erwan Velu <> wrote:

> When running the Linux Kernel, on some systems that doesn't have any DMI
> table (like a Xen domU), some dmi_* calls can generates Warnings like :
>> / WARNING: at /usr/src/linux-
>> / dmi_matches+0x7e/0x80()/
>> / dmi check: not initialized yet/

Empty DMI tables are common. What is not common is to call dmi_matches()
before the DMI strings code has initialized.

> Some users reported this error :

Looks like a Xen bug. DMI matching functions should be called after that
code has initialized. The warning was added to catch such early calls.

Your patch works around that bug and the warning.


 \ /
  Last update: 2009-10-23 13:05    [W:0.063 / U:1.812 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site