All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Pasi Kärkkäinen" <pasik@iki.fi>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: David Vrabel <david.vrabel@citrix.com>, xen-devel@lists.xen.org
Subject: Re: Linux 3.4 dom0 kernel error loading xen-acpi-processor: Input/output error
Date: Tue, 12 Mar 2013 22:51:18 +0200	[thread overview]
Message-ID: <20130312205118.GN8912@reaktio.net> (raw)
In-Reply-To: <20130308221820.GE8912@reaktio.net>

On Sat, Mar 09, 2013 at 12:18:20AM +0200, Pasi Kärkkäinen wrote:
> > > 
> > > I don't seem to have _PCT on my Ivy Bridge i7 laptop.. 
> > > 
> > > > In your case then .. lets go back to the start - the driver failed with -EIO
> > > > and it was v3.4.x kernel? Now that I've figured out the regression with v3.9
> > > > I can take a look at this.
> > > > 
> > > 
> > > Ok.
> > > 
> > > So the problem for me with Linux 3.4.32 kernel is "modprobe xen-acpi-processor" fails:
> > > initcall xen_acpi_processor_init+0x0/0x6b0 [xen_acpi_processor] returned with error code -5
> > > 
> > 
> > Great :-( On my box (SandyBridge i3 2100, MS-7680) it installs just fine. This is
> > v3.4.22 with 
> > 
> > cat linux-build/.config|grep PROCESSOR
> > CONFIG_ACPI_PROCESSOR=y
> > CONFIG_ACPI_PROCESSOR_AGGREGATOR=m
> > CONFIG_XEN_ACPI_PROCESSOR=m
> > 
> 
> I'm using:
> 
> CONFIG_ACPI_PROCESSOR=y
> CONFIG_ACPI_PROCESSOR_AGGREGATOR=m
> CONFIG_XEN_ACPI_PROCESSOR=m
> 

Do you see _PCT on your SandyBridge i3 DSDT? 

> 
> > 
> > > The error deeper down in the ACPI internals is:
> > > processor_perflib-0430 [00] processor_get_performa: ACPI-based processor performance control unavailable
> > 
> > I think looking at the code, that even on baremetal you would not have
> > any P-states.
> > 
> > I am looking at the code, and the one thing that caught my eye is this comment:
> > 
> > /*
> >  * Do a quick check if the systems looks like it should use ACPI
> >  * cpufreq. We look at a _PCT method being available, but don't
> >  * do a whole lot of sanity checks.
> >  */
> > 
> > And since your machine has no _PCT, it just bypasses it.
> > 
> > Is there a BIOS option for power saving? Perhaps its off? 
> >
> 
> Hmm, good question, I'll have to check.. 
>

My Dell R510 BIOS has these settings:

Turbo Mode: Enabled.
C States: Enabled.
Power Management: "Active Power Controller".

Other options for "Power Management" include: "Custom", "OS Control" and "Maximum Performance".

I tried changing it to "OS Control", but then "modprobe xen-acpi-processor" gives error -19, "No such device".


> 
> > > 
> > > Function call path is this:
> > > 
> > > xen_acpi_processor_init()
> > > 	acpi_processor_register_performance(perf, i) 			<-- returns -EIO
> > > 		acpi_processor_get_performance_info(pr)			<-- returns -ENODEV and prints the error to dmesg
> > > 			acpi_get_handle(pr->handle, "_PCT", &handle);	
> > > 				acpi_ns_get_node()			<-- doesn't find _PCT
> > > 
> > > 	goto err_out;							<-- modprobe xen-acpi-processor fails
> > > 
> > > 
> > > The CPU in question is:
> > > Intel(R) Xeon(R) CPU L5640
> > > 
> > > ACPI DSDT.dsl is here:
> > > http://pasik.reaktio.net/dell-r510-acpi-dsdt.dsl
> > 
> > Oh wait, this is not an laptop! It is some rack-server.
> > 
> 
> Correct. It's a Dell R510 rack server.
> 

Did you mean that xen-acpi-processor driver is not needed on servers? 


-- Pasi

  reply	other threads:[~2013-03-12 20:51 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-21  9:24 Linux 3.4 dom0 kernel error loading xen-acpi-processor: Input/output error Pasi Kärkkäinen
2013-02-21 12:29 ` Konrad Rzeszutek Wilk
2013-02-21 12:42   ` Pasi Kärkkäinen
2013-02-25 17:03     ` Konrad Rzeszutek Wilk
2013-02-25 19:08       ` Pasi Kärkkäinen
2013-02-24 22:05   ` Pasi Kärkkäinen
2013-03-03 18:53     ` Pasi Kärkkäinen
2013-03-05 17:45       ` Konrad Rzeszutek Wilk
2013-03-06 20:41         ` Pasi Kärkkäinen
2013-03-06 21:01           ` Pasi Kärkkäinen
2013-03-06 21:21             ` Pasi Kärkkäinen
2013-03-07  0:29               ` Konrad Rzeszutek Wilk
2013-03-07  7:48                 ` Pasi Kärkkäinen
2013-03-08 20:24                   ` Konrad Rzeszutek Wilk
2013-03-08 22:18                     ` Pasi Kärkkäinen
2013-03-12 20:51                       ` Pasi Kärkkäinen [this message]
2013-03-15 15:05                         ` Konrad Rzeszutek Wilk
2013-03-15 15:19                           ` Pasi Kärkkäinen
2013-03-15 19:37                             ` Pasi Kärkkäinen
2013-03-15 21:15                               ` Konrad Rzeszutek Wilk
2013-03-15 21:32                                 ` Pasi Kärkkäinen
2013-03-17 17:00                                   ` Konrad Rzeszutek Wilk
2013-03-18 13:06                                     ` Konrad Rzeszutek Wilk
2013-03-18 17:02                                       ` Pasi Kärkkäinen
2013-03-18 20:20                                         ` Konrad Rzeszutek Wilk
2013-05-12 16:51                                           ` Pasi Kärkkäinen
2013-05-13 13:46                                             ` Konrad Rzeszutek Wilk
2013-05-13 15:03                                               ` Pasi Kärkkäinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130312205118.GN8912@reaktio.net \
    --to=pasik@iki.fi \
    --cc=david.vrabel@citrix.com \
    --cc=konrad.wilk@oracle.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.