Solaris ACPI CA debug output options

Solaris ACPI CA debug output options Build 36 of Solaris Nevada added support for the ACPI CA debug output component in both DEBUG and non-DEBUG builds of the kernel; this way, anyone can control ACPI CA debug output using AcpiDbgLevel with an entry in /etc/system - for example:

set acpica:AcpiDbgLevel = 0x7

AcpiDbgLevel is a bit-mask documented in usr/src/uts/intel/sys/acpi/acoutput.h

Well, it didn't take long to notice that many BIOSes contain a fair bit of Debug() object output, which is the ACPI table equivalent of a kernel printf(), which I blogged about a while back.

Build 38 of Solaris Nevada (and Solaris 10 Update 2) contain an additional switch for DEBUG and non-DEBUG kernels.  Non-DEBUG builds disable ACPI CA debug output by clamping AcpiDbgLevel to 0 by default; DEBUG builds leave the ACPI CA default intact.

If you want to enable ACPI CA debug output on non-DEBUG kernels, you need to add the following lines to /etc/system:

set acpica:acpica_muzzle_debug_output = 0
set acpica:AcpiDbgLevel = <desired debug level>

On DEBUG kernels, you need only add:

set acpica:AcpiDbgLevel = <desired debug level>

Normally, all ACPI CA debug output is sent to /var/adm/messages; if you want the output on the system console as well, you can add the following line to /etc/system:

set acpica:acpica_console_out = 1


Comments:

Post a Comment:
Comments are closed for this entry.
About

danasblog

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
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
News
Blogroll