From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Mariusz Janiak <mariuszjaniak@wp.pl>
Cc: Xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] Odp: Re: Xenomai 2.6.2 + Kernel 3.5.3 + AMD Phenom II X6 1055
Date: Sat, 29 Dec 2012 17:51:58 +0100 [thread overview]
Message-ID: <50DF1FAE.5090907@xenomai.org> (raw)
In-Reply-To: <50dd6f0ee3dc65.48983574@wp.pl>
On 12/28/2012 11:06 AM, Mariusz Janiak wrote:
> If you find useful please add bellow text to the TROUBLESHOOTING.adoc
> file.
>
> On AMD x86_64
> ^^^^^^^^^^^^^
> You will most likely also see the following message:
> --------------------------------------------
> I-pipe: cannot use LAPIC as a tick device
> I-pipe: disable C1E power state in your BIOS
> --------------------------------------------
> Xenomai sends this message if C1E option is enabled in a BIOS. To fix
> this issue please disable C1E support in the BIOS. In some Award BIOS
> this option is located in the +Advanced BIOS Features->+ menu (+AMD
> C1E Support+).
> On some systems, above message may not appear in the system log.
> IMPORTANT: Disabling +AMD K8 Cool&Quiet+ option in a BIOS does not
> solve the problem.
Hi Mariusz,
thanks for the help text. Could you try the following patch
to see if it restores the message?
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c
index 7f07610..6cc9208 100644
--- a/arch/x86/kernel/apic/apic.c
+++ b/arch/x86/kernel/apic/apic.c
@@ -545,7 +545,8 @@ static void __cpuinit setup_APIC_timer(void)
memcpy(levt, &lapic_clockevent, sizeof(*levt));
levt->cpumask = cpumask_of(smp_processor_id());
#ifdef CONFIG_IPIPE
- if (!(lapic_clockevent.features & CLOCK_EVT_FEAT_DUMMY))
+ if (!(lapic_clockevent.features & CLOCK_EVT_FEAT_DUMMY)
+ && !cpu_has_amd_erratum(amd_erratum_400))
levt->ipipe_timer = &__get_cpu_var(lapic_itimer);
else {
printk(KERN_INFO
--
Gilles.
next prev parent reply other threads:[~2012-12-29 16:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-28 10:06 [Xenomai] Odp: Re: Xenomai 2.6.2 + Kernel 3.5.3 + AMD Phenom II X6 1055 Mariusz Janiak
2012-12-29 16:51 ` Gilles Chanteperdrix [this message]
2012-12-30 22:34 ` Gilles Chanteperdrix
-- strict thread matches above, loose matches on Subject: below --
2012-12-29 18:06 Mariusz Janiak
2012-12-29 18:21 ` Gilles Chanteperdrix
2012-12-29 19:17 Mariusz Janiak
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=50DF1FAE.5090907@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=mariuszjaniak@wp.pl \
--cc=xenomai@xenomai.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.