Re: How to read BIOS information



Arjan van de Ven wrote:

On Mon, 2006-05-08 at 19:44 +0530, Madhukar Mythri wrote:


Hi,
Im new to this group.
I want to get some information from BIOS. i.e i want to know whether Hyperthreading is Enabled/Disabled(as per BIOS settings) from an user applications program.



there is no standard way to do this. You can use /proc/cpuinfo to see if
the kernel found ht'd processors. But that's the best you can do.
(well you could grovel through the acpi tables just like the kernel
does, but you really don't want to do that from userspace)




"proc/cpuinfo" says only HT support is their or not but, it will not say whether HT is Enalbled/Disabled..
How to read ACPI tables ? Can you give little info on this...
even from Driver program, if its possible please tell me...


--
Thanks & Regards
Madhukar Mythri
Wipro Technologies
Bangalore.
Off: +91 80 30294361.
M: +91 9886442416.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: 5.1-BETA2 FAILURE on IBM A30p Thinkpad
    ... > These kernel panics still occur with the 1.16 BIOS. ... neither ACPI or APM works. ...
    (freebsd-current)
  • Re: [APIC] Kernel panic, rsync corruption, intel q8200, 2.6.28-rc8
    ... Messages on boot using Intrepid, Jaunty Alpha 3, or Fedora 10: ... I assume this is an ACPI problem. ... the kernel about the APIC, hwo it's wired up, etc. ... Did you try updating the BIOS? ...
    (Linux-Kernel)
  • Re: [PATCH] x86: update mptable v7
    ... There are a number of ways that the resulting kernel may fail, ... In the common case if not in general the MP table and the ACPI ... In the normal kexec case not the kexec on panic we should ... That however is a BIOS bug. ...
    (Linux-Kernel)
  • Re: [PATCH] x86: update mptable v7
    ... There are a number of ways that the resulting kernel may fail, ... In the common case if not in general the MP table and the ACPI ... In the normal kexec case not the kexec on panic we should ... That however is a BIOS bug. ...
    (Linux-Kernel)
  • Re: Power off machine become halt only in FC3
    ... I found that the poweroff option because halt ... Powering off implies BIOS support using either APM or ACPI. ... off, either by a kernel option, or the kernel not liking your BIOS. ...
    (Fedora)