OpenSolaris

Printable Version Enter a New Search
Bug ID 6811793
Synopsis hald crashes because supported_frequencies_Hz is null
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:pm
Keywords suncloud | xen
Responsible Engineer Napanda Pemmaiah
Reported Against 1.0.0 , snv_110 , osol_2008.11
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_111
Fixed In snv_111
Release Fixed solaris_nevada(snv_111)
Related Bugs 6567156 , 6814250 , 6815402
Submit Date 2-March-2009
Last Update Date 25-March-2009
Description
With current Nevada, under Xen (and presumably earlier CPUs
without frequency management), I get:

    supported_frequencies_Hz        null

This is causing hald's parsing to crash, as it's expecting
a single frequency, like this:

    supported_frequencies_Hz        2600047000

This appears to be due to the PAD putback:

+void
+cpupm_set_supp_freqs(cpu_t *cp, int *speeds, uint_t nspeeds)
+{
+       char            *supp_freqs = NULL;
...
+       if (speeds == NULL) {
+               cpu_set_supp_freqs(cp, supp_freqs);
+               return;
+       }
Work Around
N/A
Comments
N/A