| |
David Chieu's Weblog
David Chieu's Weblog
Tuesday June 14, 2005 |
|
An Antidote to ACPI Table Replacement
table
As a contrarian, I figure I would give a real hardcore and a bit
obscured,
but down-to-earth part of Solaris as my OpenSolaris Opening blog.
I've been working on ACPI (Advanced
Configuration and Power Interface) of Solaris x86. In particular,
we've implemented ACPI table replacement for problem machines. What I
mean is, on those hard-to-boot machines, Solaris has capabilities to
read and use alternate ACPI tables from a file system rather than from
the BIOS. I can tell you this is a real godsend, if you just can't
re-flash your BIOS.
The source code can be found at AcpiOsTableOverride()
However, the process of actually using the alternate table is a bit
mysterious because, currently, Sun doesn't supply any alternate tables
yet. By default, the directory is empty at /boot/acpi/tables.
So, here is the recipe to create and boot with your own ACPI tables:
1) You need to use iasl
utility (I use iasl -g) to generate your own ascii based ASL
(ACPI source language)
2) Edit your ascii file to reflect your fix for the new table
3) Use iasl utility again to generate AML (AML machine language). This
file must be of the form signature_oemid_oemtableid.dat
4) Copy the dat file to /boot/acpi/tables.
5) Reboot your machine and check /var/adm/messages to see if your table
replacement is successful or not.
BTW, please refer to Jan
Setje-Eiler's blog for more general overview of boot.
Technorati Tag: OpenSolaris
Technorati Tag: Solaris
( Jun 14 2005, 02:52:38 PM PDT / Jun 14 2005, 08:41:10 AM PDT )
Permalink
Trackback: http://blogs.sun.com/chewmyblog/entry/an_antidote_to_acpi_table
|
|
|
Trackback URL: http://blogs.sun.com/chewmyblog/entry/an_antidote_to_acpi_table
|
| « November 2009 | | Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | | | | | | | | | | | | | | | Today |
Today's Page Hits: 23
|
Posted by Richard Skelton on September 26, 2005 at 06:34 AM PDT #
Posted by fdasfdsa on October 12, 2006 at 07:16 AM PDT #
Posted by wrwerwe on October 17, 2006 at 11:26 PM PDT #
alternate tables
Posted by runescape money on November 10, 2007 at 01:03 AM PST #